aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-02-06 18:29:38 +0000
committerMichael Snyder <msnyder@vmware.com>2002-02-06 18:29:38 +0000
commit81d4647008f8d3b66ae5dacf985d7f887294e231 (patch)
tree902fcd01e65b8e7693cd92bf3bbc737d7ceb9ff0 /gdb
parent9f77fa061470c3a871ebcac8c5d381aa42ab432f (diff)
downloadfsf-binutils-gdb-81d4647008f8d3b66ae5dacf985d7f887294e231.zip
fsf-binutils-gdb-81d4647008f8d3b66ae5dacf985d7f887294e231.tar.gz
fsf-binutils-gdb-81d4647008f8d3b66ae5dacf985d7f887294e231.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog6
-rw-r--r--gdb/doc/gdb.texinfo9
2 files changed, 15 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 3959c6b..891851c 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 260d2f1..902d765 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -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