Messages in this thread | | | Date | Tue, 29 Apr 2008 15:35:53 -0700 (PDT) | Subject | Re: kgdb with sw single-step... | From | David Miller <> |
| |
From: Jason Wessel <jason.wessel@windriver.com> 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.
| |