diff options
author | Jeff Law <law@redhat.com> | 1996-05-02 18:43:28 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-05-02 18:43:28 +0000 |
commit | e51481f96757303b0f4e7034de800b1fb5c87aa7 (patch) | |
tree | fb0d6dddf9d93cfa78d5dc241ee6293cc3a08081 /gdb/i386ly-tdep.c | |
parent | d124785e82f44000d0dcfad95388c767a54b46d6 (diff) | |
download | gdb-e51481f96757303b0f4e7034de800b1fb5c87aa7.zip gdb-e51481f96757303b0f4e7034de800b1fb5c87aa7.tar.gz gdb-e51481f96757303b0f4e7034de800b1fb5c87aa7.tar.bz2 |
* From Peter Schauer:
* breakpoint.h (enum bpdisp): Add del_at_next_stop.
* breakpoint.c (insert_breakpoints, watchpoint_check,
bpstat_stop_status): Avoid bad references to memory freed via
delete_breakpoint on watchpoints going out of scope.
Do not delete these watchpoints, disable them and change their
disposition to del_at_next_stop instead.
(breakpoint_auto_delete): Delete all breakpoints whose disposition
is del_at_next_stop.
(breakpoint_init_inferior): Use switch to avoid reference to
already deleted breakpoint.
Fixes dangling pointer problems with watchpoints.
Diffstat (limited to 'gdb/i386ly-tdep.c')
0 files changed, 0 insertions, 0 deletions