This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]