This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Reporting proper line for breakpoints of non-executable lines
- From: Tom Tromey <tromey at redhat dot com>
- To: "Marc Khouzam" <marc dot khouzam at ericsson dot com>
- Cc: <gdb at sourceware dot org>
- Date: Fri, 17 Apr 2009 13:48:35 -0600
- Subject: Re: Reporting proper line for breakpoints of non-executable lines
- References: <6D19CA8D71C89C43A057926FE0D4ADAA0748B502@ecamlmw720.eamcs.ericsson.se>
- Reply-to: tromey at redhat dot com
>>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:
Marc> I also noticed that in MI in HEAD, there is a new field to the reply
Marc> of break-insert which is "original-location" which was added for a
Marc> different reason
Marc> http://sourceware.org/ml/gdb-patches/2008-04/msg00272.html
Marc> But I was thinking it would be nice to use that field to show where
Marc> the user set the bp, while showing where the bp was really set by
Marc> GDB in the other fields.
Marc> Do it make sense?
Yeah. For MI, I think the best thing would be to always report both
locations, and then let the UI authors decide what to display.
Tom