diff options
author | Joel Brobecker <brobecker@adacore.com> | 2014-01-31 17:56:12 +0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2014-02-10 13:44:01 +0400 |
commit | 143adbbfa31d98b59c0a1509ac3819cc64b241c8 (patch) | |
tree | 29a5cb6c6232a5ee669b21e88142e042d2707d11 /gdb/ada-tasks.c | |
parent | aa4fb036e90f5c976f57cd08f2c024cb0fe24897 (diff) | |
download | gdb-143adbbfa31d98b59c0a1509ac3819cc64b241c8.zip gdb-143adbbfa31d98b59c0a1509ac3819cc64b241c8.tar.gz gdb-143adbbfa31d98b59c0a1509ac3819cc64b241c8.tar.bz2 |
[Ada] Rename some observer callbacks in ada-tasks.c
This patch is mostly cosmetic, avoiding us to use the same callback
names as in ada-lang.c.
gdb/ChangeLog:
* ada-tasks.c (ada_tasks_new_objfile_observer): Renames
ada_new_objfile_observer.
(ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
(_initialize_tasks): Update uses of ada_new_objfile_observer
and ada_tasks_normal_stop_observer.
Diffstat (limited to 'gdb/ada-tasks.c')
-rw-r--r-- | gdb/ada-tasks.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c index a83035f..8af6da1 100644 --- a/gdb/ada-tasks.c +++ b/gdb/ada-tasks.c @@ -1385,7 +1385,7 @@ ada_tasks_invalidate_inferior_data (struct inferior *inf) /* The 'normal_stop' observer notification callback. */ static void -ada_normal_stop_observer (struct bpstats *unused_args, int unused_args2) +ada_tasks_normal_stop_observer (struct bpstats *unused_args, int unused_args2) { /* The inferior has been resumed, and just stopped. This means that our task_list needs to be recomputed before it can be used again. */ @@ -1395,7 +1395,7 @@ ada_normal_stop_observer (struct bpstats *unused_args, int unused_args2) /* A routine to be called when the objfiles have changed. */ static void -ada_new_objfile_observer (struct objfile *objfile) +ada_tasks_new_objfile_observer (struct objfile *objfile) { struct inferior *inf; @@ -1438,8 +1438,8 @@ _initialize_tasks (void) ada_tasks_inferior_data_handle = register_inferior_data (); /* Attach various observers. */ - observer_attach_normal_stop (ada_normal_stop_observer); - observer_attach_new_objfile (ada_new_objfile_observer); + observer_attach_normal_stop (ada_tasks_normal_stop_observer); + observer_attach_new_objfile (ada_tasks_new_objfile_observer); /* Some new commands provided by this module. */ add_info ("tasks", info_tasks_command, |