This is the mail archive of the gdb-patches@sourceware.org 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: [RFA] arm-pikeos: software single step


On 09/11/2018 12:04 PM, Joel Brobecker wrote:
> Hi Pedro,
> 
>> It seems to me we can take a better approach here, that eliminates
>> this particular problem not just for PikeOS, but for all other cases
>> of random RTOS's.
>>
>> That is, you should be able to make your stub tell GDB that it
>> can or can't hardware single step, and then GDB adjusts itself.
> 
> Unfortunately, the problem is that we do not control the stub (muxa),
> it is a tool that the vendor provides.
Did you check whether it is already reporting the RSP packets as I
had suggested?  We wouldn't be adding new packets, but instead using
some that are already defined.

If the stub really needs modification, I'm not opposed to your patch
as stop gap.  Would there be any chance to forward the information to
the sysgo folks, see if they're willing to tweak the stub?  It should
be a trivial change.

IWBN to fix the infrastructure, so that the next time a similar
patch comes in we could just "no, fix your stub".  :-)

Thanks,
Pedro Alves


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