Re: Powerpc and software single step

Daniel Jacobowitz
2003-08-20T13:07:14Z

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