[PATCH v2 7/7] Support software breakpoints for ARM linux in GDBServer.

Pedro Alves palves@redhat.com
Fri Oct 16 12:11:00 GMT 2015


On 10/16/2015 10:30 AM, Yao Qi wrote:
> On 15/10/15 17:07, Pedro Alves wrote:
>>> +* Support for software breakpoints on ARM linux was added in GDBServer.
>> Putting a user hat on, what does this mean?  Why is it news worthy?
>>
> 
> Supporting software breakpoint on ARM Linux GDBserver isn't user
> visible, but isn't it a user-visible change that ARM Linux GDBserver 
> supports Z0 packet?

How can the user tell?  Is there any user-visible functionality or feature
that this enables?  Something the user couldn't do before but now can?
It just looks like an implementation detail to me.

If we're going to mention it, then I think it should be described
in terms of the packet, otherwise we're back to "but I could always
set software breakpoints before, what's new?".

BTW, I think we should move all the new gdbserver features
to a new section, like in previous releases.  Then the end result
would be something like:

* New features in the GDB remote stub, GDBserver

   ** Support for software breakpoint packets (Z0) on ARM Linux.

   ** Support for tracepoints on Aarch64 Linux.

   ** Support for fast tracepoints on Aarch64 Linux, including JIT compiling
     fast tracepoint's conditional expression bytecode into native code.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list