This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Powerpc and software single step


On Tue, Aug 19, 2003 at 11:21:28PM -0400, Jimi Xenidis wrote:
> >>>>> "DJ" == Daniel Jacobowitz <drow@mvista.com> writes:
> 
>  DJ> On Tue, Aug 19, 2003 at 10:57:29PM -0400, Jimi Xenidis wrote:
> 
>  DJ> set_gdbarch_software_single_step?  You couldn't do it
>  DJ> architecture-independently, perhaps.
> 
> I could not figure out how to trigger, from user space, a call to this
> function toggeling between some known function pointer and NULL.
> Did I miss it or perhaps another command (not "set") would suffice?

If you write a set command that has an associated sfunc, the sfunc can
call whatever you wish. Take a look at the end of cp-abi.c.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]