[RFC stub-side break conditions 5/5] Group agent expression-specific code in its own file

Luis Machado luis_gustavo@mentor.com
Thu Jan 5 14:57:00 GMT 2012


Hi,

This patch makes GDBServer advertise support for evaluating breakpoint 
conditions and understand and interpret agent expressions sent from GDB 
via the z0/z1 packets.

GDBServer's behavior upon receiving a z0/z1 packet is still idempotent 
as it will drop any previous conditions it knows about and will consider 
only the ones contained within this received packet. If the packet does 
not contain conditions, it is considered an unconditional breakpoint.

I ran the testsuite with GDBServer and only one regression showed up in 
gdb.cp/mb-templates.exp. It may be a hidden bug that was exposed by 
these changes since it gives me an internal error when trying to parse 
the conditional expression.

Luis
lgustavo@codesourcery.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-break_condition_gdbserver.diff
Type: text/x-patch
Size: 9961 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20120105/28b099a0/attachment.bin>


More information about the Gdb-patches mailing list