Re: Powerpc and software single step

Andrew Cagney
2003-08-20T15:51:31Z

> I do not see a way to assign this function pointer off of the set
>> command, unless there is a some trick I did not see.
>> maybe we could fix this with more code, but sadly I'm limited in my
>> ability to push out patches under the current circumstances.
>>
>> But all of these solutions are not the real one which probably takes
>> more commitment then available (at least from me at the moment ;-)
>
>
> set_gdbarch_software_single_step? You couldn't do it
> architecture-independently, perhaps.

That would be wrong. An architecture vector should not change
underneath GDB's feet.

It may be possible to wrap software single step's predicate in a
function that, like the remote protocol, returns the predicate, or
always false.

Andrew