Expanding macros in breakpoint conditions

Keith Seitz keiths@redhat.com
Wed Oct 23 17:33:00 GMT 2013


On 10/23/2013 10:04 AM, Eli Zaretskii wrote:
> What I don't understand is why didn't GDB issue an error message in
> this case.  There's no label '707' in that function.  Looks like the
> linespec parser silently rejected the ":707" part, without telling
> me.  It would be nice if it didn't do this silently.

My original submission for the linespec rewrite did actually do this, 
but to maintain backward compatibility, I was asked to remove it.

Perhaps a warning or complaint might be a suitable compromise until this 
is properly implemented?

Keith



More information about the Gdb mailing list