Provide support for (Ada) task-specific breakpoints.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 31 Mar 2009 16:44:18 +0000 (16:44 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 31 Mar 2009 16:44:18 +0000 (16:44 +0000)
commit4a306c9a890a18d28bd88e18937a1061223201d0
tree8442520f78d8a1273ac9dd1ebead19a1dd79c045
parent32cd1edcd2a5540d88d5dff3743dc58090cb0bd8
    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/ChangeLog
gdb/ada-lang.h
gdb/ada-tasks.c
gdb/breakpoint.c
gdb/breakpoint.h