summaryrefslogtreecommitdiff
path: root/gdb/ada-lang.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-03-31 16:44:17 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-03-31 16:44:17 +0000
commit9c3a1d66a1cf9ad0b565ca9a9421ddcb6e074dfe (patch)
tree1276017204008ecdabb7074602887827ffe79240 /gdb/ada-lang.h
parentf890dfe48b075970744089b96086cae8a523e7f3 (diff)
downloadgdb-9c3a1d66a1cf9ad0b565ca9a9421ddcb6e074dfe.tar.gz
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.
Diffstat (limited to 'gdb/ada-lang.h')
-rw-r--r--gdb/ada-lang.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index 88b6c16cd47..c9554a4dd32 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -461,14 +461,14 @@ extern char *ada_main_name (void);
extern int valid_task_id (int);
+extern int ada_get_task_number (ptid_t);
+
extern void ada_adjust_exception_stop (bpstat bs);
extern void ada_print_exception_stop (bpstat bs);
extern int ada_get_current_task (ptid_t);
-extern int breakpoint_ada_task_match (CORE_ADDR, ptid_t);
-
extern int ada_print_exception_breakpoint_nontask (struct breakpoint *);
extern void ada_print_exception_breakpoint_task (struct breakpoint *);