* ada-lang.c (_initialize_ada_language): Attach executable_changed
authorJoel Brobecker <brobecker@gnat.com>
Sat, 29 Dec 2007 05:37:25 +0000 (05:37 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sat, 29 Dec 2007 05:37:25 +0000 (05:37 +0000)
        observer.

gdb/ChangeLog
gdb/ada-lang.c

index cf6379078fa655b84c3f96a03564e7b68c12d52a..af088213de69888256efa5370c6e7a78b46fb58c 100644 (file)
@@ -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
index 93b5dec67ffa32c92874593421079496aca8634e..d61476225a3508c4c362b0825b538245e67d432b 100644 (file)
@@ -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);
 }