This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Add task-specific breakpoint capability...
> Date: Wed, 25 Mar 2009 12:56:33 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb-patches@sourceware.org
>
> OK, here is a new version of the patch. Hopefully, everything that we
> discussed earlier should be incorporated, and I also tried to fix
> a few tab/spaces issues (my favorite :). I'm also adding a testcase.
Thanks.
> gdb/:
> 2009-03-25 Joel Brobecker <brobecker@adacore.com>
>
> Provide support for (Ada) task-specific breakpoints.
>
> * ada-lang.h (ada_get_task_number): Add declaration.
> (breakpoint_ada_task_match): Delete declaration.
> * ada-tasks.c (ada_get_task_number): Make non-static.
> * breakpoint.h (struct breakpoint): Add field "task".
> * breakpoint.c (print_one_breakpoint_location): Add handling of
> task-specific breakpoints.
> (create_breakpoint, create_breakpoints, find_condition_and_thread):
> New parameter "task".
> (break_command_really): Update calls to find_condition_and_thread
> and create_breakpoints.
> (breakpoint_re_set_one): Update call to find_condition_and_thread.
> Set b->task.
>
> gdb/testsuite/:
> 2009-03-25 Joel Brobecker <brobecker@adacore.com>
>
> * gdb.ada/tasks: New testcase.
Hmm?... no documentation?