aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-24 13:49:00 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-24 13:49:00 +0000
commitafcad54a90445ba65ca91b13341b75facc96521c (patch)
treefc90a9c47d68bdf243ba26027fc7e27283c9660d /gdb/doc
parentfbf1f3f1f6982710c5e379679ac4f18e795aeeb7 (diff)
downloadgdb-afcad54a90445ba65ca91b13341b75facc96521c.zip
gdb-afcad54a90445ba65ca91b13341b75facc96521c.tar.gz
gdb-afcad54a90445ba65ca91b13341b75facc96521c.tar.bz2
CARP: *BREAKPOINT*
Convert mn10300, MIPS and powerpc/rs6000 targets to use BREAKPOINT_FROM_PC Delete global variable memory_breakpoint_size. Use BREAKPOINT_FROM_PC instead.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdbint.texinfo20
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index bbc5437..d7dfa17 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -1140,6 +1140,26 @@ longer than the shortest instruction of the architecture.
@item LITTLE_BREAKPOINT
Similar to BREAKPOINT, but used for bi-endian targets.
+@item REMOTE_BREAKPOINT
+@item LITTLE_REMOTE_BREAKPOINT
+@item BIG_REMOTE_BREAKPOINT
+Similar to BREAKPOINT, but used for remote targets.
+
+@item BREAKPOINT_FROM_PC (pcptr, lenptr)
+
+Use the program counter to determine the contents and size of a
+breakpoint instruction. It returns a pointer to a string of bytes that
+encode a breakpoint instruction, stores the length of the string to
+*lenptr, and adjusts pc (if necessary) to point to the actual memory
+location where the breakpoint should be inserted.
+
+Although it is common to use a trap instruction for a breakpoint, it's
+not required; for instance, the bit pattern could be an invalid
+instruction. The breakpoint must be no longer than the shortest
+instruction of the architecture.
+
+Replaces all the other BREAKPOINTs.
+
@item CALL_DUMMY
valops.c
@item CALL_DUMMY_LOCATION