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 3.5/6] Multiple Ada task-specific breakpoints at the same address.


Hi Pedro,

> gdb/
> 2014-02-26  Pedro Alves  <palves@redhat.com>
> 
> 	* breakpoint.c (bpstat_check_breakpoint_conditions): Handle
> 	task-specific breakpoints.

Interesting bug.

> gdb/testsuite/
> 2014-02-26  Pedro Alves  <palves@redhat.com>
> 
> 	* gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
> 	that won't ever trigger.  Make sure that GDB reports the correct
> 	breakpoint that caused the stop.

It all looks good to me. Just a few nits I happen to notice:

> +# Insert a breakpoint that should stop only if task 1 stops.  Since
> +# task 1 never calls break_me, this shouldn't actually ever trigger.
> +# The fact this this breakpoint is created _before_ the next one
              ^^^^^^^^^
              that this?

> +# matter.  GDB used to have a bug where it would report the first
     ^^^^^^
     matters

Thank you,
-- 
Joel


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