2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
authorJeff Johnston <jjohnstn@redhat.com>
Wed, 1 Sep 2004 18:00:29 +0000 (18:00 +0000)
committerJeff Johnston <jjohnstn@redhat.com>
Wed, 1 Sep 2004 18:00:29 +0000 (18:00 +0000)
commit84acb35a5a97c28b24b1d61541dc1ee01a7d8a43
tree050360ea3daaaec3647333216ad72302a7d934c2
parentf3bb67042f67aa346efa2cb025a8705ed838d24d
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.
gdb/ChangeLog
gdb/Makefile.in
gdb/breakpoint.c
gdb/observer.sh
gdb/solib.c