aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-12-29 05:37:25 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-12-29 05:37:25 +0000
commit6b69afc449b9cd217584fc1569e5aec4b86954c8 (patch)
treed7080e361a7d17a16a3d5c9f3baed134e8d5a37b /gdb
parent17b939cdc85bb902fca4b4e21cb5939d37c60c78 (diff)
downloadgdb-6b69afc449b9cd217584fc1569e5aec4b86954c8.zip
gdb-6b69afc449b9cd217584fc1569e5aec4b86954c8.tar.gz
gdb-6b69afc449b9cd217584fc1569e5aec4b86954c8.tar.bz2
* ada-lang.c (_initialize_ada_language): Attach executable_changed
observer.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ada-lang.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cf63790..af08821 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-29 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (_initialize_ada_language): Attach executable_changed
+ observer.
+
2007-12-28 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (ada_evaluate_subexp): Break two large expressions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 93b5dec..d614762 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -10534,4 +10534,6 @@ _initialize_ada_language (void)
decoded_names_store = htab_create_alloc
(256, htab_hash_string, (int (*)(const void *, const void *)) streq,
NULL, xcalloc, xfree);
+
+ observer_attach_executable_changed (ada_executable_changed_observer);
}