OSDN Git Service

Provide support for (Ada) task-specific breakpoints.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 31 Mar 2009 16:44:17 +0000 (16:44 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 31 Mar 2009 16:44:17 +0000 (16:44 +0000)
commit9c3a1d66a1cf9ad0b565ca9a9421ddcb6e074dfe
tree1276017204008ecdabb7074602887827ffe79240
parentf890dfe48b075970744089b96086cae8a523e7f3
    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