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. gdb/: 2009-03-25 Joel Brobecker 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 * gdb.ada/tasks: New testcase. All tested on x86_64-linux. Will commit in a day or two... -- Joel