aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-09-28 21:39:03 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-09-28 21:39:03 +0000
commit474011fbad9ea70b37691b05202488ee9904d65e (patch)
tree34ed98c8c6dd6cf713149fc7329cbcc10285c9f4 /gdb/ada-lang.h
parentc95e9f279130c09af2c427065700e3e08500b168 (diff)
downloadgdb-474011fbad9ea70b37691b05202488ee9904d65e.zip
gdb-474011fbad9ea70b37691b05202488ee9904d65e.tar.gz
gdb-474011fbad9ea70b37691b05202488ee9904d65e.tar.bz2
[Ada] Add ada-tasks.c:iterate_over_live_ada_tasks
This new function is needed by the ravenscar-thread layer. gdb/ChangeLog: * ada-tasks.c (iterate_over_live_ada_tasks): New function. * ada-lang.h (iterate_over_live_ada_tasks): Declare.
Diffstat (limited to 'gdb/ada-lang.h')
-rw-r--r--gdb/ada-lang.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index d1e8ca5..935c2e1 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -378,6 +378,10 @@ extern int valid_task_id (int);
extern int ada_get_task_number (ptid_t);
+typedef void (ada_task_list_iterator_ftype) (struct ada_task_info *task);
+extern void iterate_over_live_ada_tasks
+ (ada_task_list_iterator_ftype *iterator);
+
extern int ada_build_task_list (int warn_if_null);
extern int ada_exception_catchpoint_p (struct breakpoint *b);