Re: kgdb with sw single-step...

From: David Miller
Date: Tue Apr 29 2008 - 18:36:09 EST


From: Jason Wessel <jason.wessel@xxxxxxxxxxxxx>
Date: Tue, 29 Apr 2008 10:01:38 -0500

> I don't think you have to actually change gdb, because for sparc64 gdb
> is set to "set_gdbarch_software_single_step (gdbarch, NULL);" This
> means it is always going to ask the stub to perform the single
> stepping.

You're reading the wrong code.

The generic sparc stuff in sparc-tdep.c sets it to
sparc_software_single_step.

Only the Solaris specific sparc target code in sparc-sol2-tdep.c
overrides this setting to NULL.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/