This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Use -qualified flag when setting temporary breakpoint in start command
- From: Simon Marchi <simon dot marchi at efficios dot com>
- To: Tom Tromey <tom at tromey dot com>, Simon Marchi <simon dot marchi at polymtl dot ca>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 25 Apr 2019 11:31:59 -0400
- Subject: Re: [PATCH] Use -qualified flag when setting temporary breakpoint in start command
- Dkim-filter: OpenDKIM Filter v2.10.3 mail.efficios.com 460AA1DB139
- References: <20190409025557.28846-1-simon.marchi@polymtl.ca> <87tvemch0n.fsf@tromey.com>
On 2019-04-25 10:10 a.m., Tom Tromey wrote:
> This seems like a good idea to me, with the possible caveat that it
> should be tested for Rust and Ada main programs as well. (Though
> probably there are already test cases covering this...?)
I presume there is no Ada or Rust test that specifically check the situation
where a non-qualified breakpoint on "main" (or equivalent for the language) would
result in a multi-location breakpoint.
Can you help by providing Ada and Rust snippets that would result in multi-location
breakpoints on main (or whatever the entry point is called)? I could then convert
them to test cases.
Thanks,
Simon