From 84acb35a5a97c28b24b1d61541dc1ee01a7d8a43 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 1 Sep 2004 18:00:29 +0000 Subject: 2004-09-01 Jeff Johnston * 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. --- gdb/observer.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/observer.sh') diff --git a/gdb/observer.sh b/gdb/observer.sh index 2cc0e7fe90..b23f15e044 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 -- cgit v1.2.1