summaryrefslogtreecommitdiff
path: root/gdb/observer.sh
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-09-01 18:00:29 +0000
committerJeff Johnston <jjohnstn@redhat.com>2004-09-01 18:00:29 +0000
commit56ce570627c073cbf96a483c0be95ce6bbb10098 (patch)
tree4a7aa8d0a80eb74669131010255d3475a35158ce /gdb/observer.sh
parentb18f90c8d87a448995b17088d81741edf5388290 (diff)
downloadgdb-56ce570627c073cbf96a483c0be95ce6bbb10098.tar.gz
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* observer.sh: Add struct so_list declaration. * Makefile.in: Add dependencies on observer.h for solib.c and breakpoint.c. * breakpoint.c (disable_breakpoints_in_unloaded_shlib): New function. (_initialize_breakpoint): Register disable_breakpoints_in_unloaded_shlib as an observer of the "solib unloaded" observation event. (re_enable_breakpoints_in_shlibs): For bp_shlib_disabled breakpoints, call decode_line_1 so unfound breakpoint errors are silent. * solib.c (update_solib_list): When a solib is discovered to have been unloaded by the program, notify all observers of the "solib unloaded" observation event.
Diffstat (limited to 'gdb/observer.sh')
-rwxr-xr-xgdb/observer.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/observer.sh b/gdb/observer.sh
index 2cc0e7fe90a..b23f15e044a 100755
--- a/gdb/observer.sh
+++ b/gdb/observer.sh
@@ -52,6 +52,7 @@ case $lang in
struct observer;
struct bpstats;
+struct so_list;
EOF
;;
esac