2002-02-06 Michael Snyder <msnyder@redhat.com>

* gdb.texinfo (overlays): Mention new magic symbol
	'_ovly_debug_event', which allows GDB to keep better track
	of overlays.
This commit is contained in:
Michael Snyder 2002-02-06 18:29:38 +00:00
parent 9f77fa0614
commit 81d4647008
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2002-02-06 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (overlays): Mention new magic symbol
'_ovly_debug_event', which allows GDB to keep better track
of overlays.
2002-02-03 Eli Zaretskii <eliz@is.elta.co.il>
* gdb.texinfo (Memory Region Attributes): Fix the wording.

View File

@ -6646,6 +6646,15 @@ executable file. When @value{GDBN} finds a matching entry, it consults
the entry's @code{mapped} member to determine whether the overlay is
currently mapped.
In addition, your overlay manager may define a function called
@var{_ovly_debug_event}. If this function is defined, @value{GDBN}
will silently set a breakpoint there. If the overlay manager then
calls this function whenever it has changed the overlay table, this
will enable @value{GDBN} to accurately keep track of which overlays
are in program memory, and update any breakpoints that may be set
in overlays. This will allow breakpoints to work even if the
overlays are kept in ROM or other non-writable memory while they
are not being executed.
@node Overlay Sample Program
@section Overlay Sample Program