2002-02-04 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 6 Feb 2002 18:31:07 +0000 (18:31 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 6 Feb 2002 18:31:07 +0000 (18:31 +0000)
commit1900040cf3086ac919a5088dca1ad5de52f33693
treef315e472a6bab924e4f0adec2ff0bd54857a539d
parent81d4647008f8d3b66ae5dacf985d7f887294e231
2002-02-04  Michael Snyder  <msnyder@redhat.com>

* breakpoint.h (enum bptype): Add new overlay event bp type.
(enable_overlay_breakpoints, disable_overlay_breakpoints): Export.

* breakpoint.c (create_internal_breakpoint): New function.
(internal_breakpoint_number): Moved into create_internal_breakpoint.
(create_longjmp_breakpoint): Use create_internal_breakpoint.
(create_thread_event_breakpoint): Ditto.
(create_solib_event_breakpoint): Ditto.
(create_overlay_event_breakpoint): New function.
(enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
(update_breakpoints_after_exec): Delete and re-initialize
overlay event breakpoints after an exec.  Add FIXME comment
about longjmp breakpoint.
(print_it_typical): Ignore overlay event breakpoints.
(print_one_breakpoint): Ditto.
(mention): Ditto.
(bpstat_what): Do not stop for overlay event breakpoints.
(delete_breakpoint): Don't delete overlay event breakpoints.
(breakpoint_re_set_one): Delete the overlay event breakpoint.
(breakpoint_re_set): Re-create overlay event breakpoint.

* symfile.c (overlay_auto_command): Enable overlay breakpoints.
(overlay_manual_command): Disable overlay breakpoints.
(overlay_off_command): Disable overlay breakpoints.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/symfile.c