[PATCH] Use -qualified flag when setting temporary breakpoint in start command

Tom Tromey tom@tromey.com
Thu Apr 25 15:52:00 GMT 2019


>>>>> "Simon" == Simon Marchi <simon.marchi@efficios.com> writes:

Simon> I presume there is no Ada or Rust test that specifically check the situation
Simon> where a non-qualified breakpoint on "main" (or equivalent for the language) would
Simon> result in a multi-location breakpoint.

Probably not.  I think my main concern is just that it continues to work
when the name of "main" is something that already has qualifiers.

Simon> Can you help by providing Ada and Rust snippets that would result in multi-location
Simon> breakpoints on main (or whatever the entry point is called)?  I could then convert
Simon> them to test cases.

I think actually my worry would be addressed by any "start" test in
those languages, because the main to stop at is always qualified.

Tom



More information about the Gdb-patches mailing list