aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1992-09-14 18:53:57 +0000
committerRoland Pesch <pesch@cygnus>1992-09-14 18:53:57 +0000
commitcdb1858641da3cf449d324799100d4f45ff860f7 (patch)
tree426c3564293429c8b52a35fbf050879fa75d44ec /gdb/doc
parente41474b77db9e86cbc8b4e2860b74fa8b647cffc (diff)
downloadgdb-cdb1858641da3cf449d324799100d4f45ff860f7.zip
gdb-cdb1858641da3cf449d324799100d4f45ff860f7.tar.gz
gdb-cdb1858641da3cf449d324799100d4f45ff860f7.tar.bz2
Fix typos and thinkos reported by Sun Ming (and one reported by John).
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdbinv-s.m4.in32
1 files changed, 18 insertions, 14 deletions
diff --git a/gdb/doc/gdbinv-s.m4.in b/gdb/doc/gdbinv-s.m4.in
index f77e26d..2bd4c2d 100644
--- a/gdb/doc/gdbinv-s.m4.in
+++ b/gdb/doc/gdbinv-s.m4.in
@@ -60,11 +60,11 @@ These working remote stubs are distributed with _GDBN__:
@kindex sparc-stub.c
For @sc{sparc} architectures.
-@item m68-stub.c
+@item m68k-stub.c
@kindex m68-stub.c
For Motorola 680x0 architectures.
-@item i36-stub.c
+@item i386-stub.c
@kindex i36-stub.c
For Intel 386 and compatible architectures.
@end table
@@ -87,6 +87,13 @@ The debugging stub for your architecture supplies these three
subroutines:
@table @code
+@item set_debug_traps
+@kindex set_debug_traps
+@cindex remote serial stub, initialization
+This routine arranges to transfer control to @code{handle_exception}
+when your program stops. You must call this subroutine explicitly near
+the beginning of your program.
+
@item handle_exception
@kindex handle_exception
@cindex remote serial stub, main routine
@@ -105,13 +112,6 @@ execute a _GDBN__ command that makes your program resume; at that point,
@code{handle_exception} returns control to your own code on the target
machine.
-@item set_debug_traps
-@kindex set_debug_traps
-@cindex remote serial stub, initialization
-You must call this subroutine explicitly near the beginning of your
-program. This is the routine that arranges to transfer control to
-@code{handle_exception} when your program stops.
-
@item breakpoint
@cindex @code{breakpoint} subroutine, remote
Use this auxiliary subroutine to make your program contain a
@@ -137,8 +137,7 @@ start of your debugging session.
The debugging stubs that come with _GDBN__ are set up for a particular
chip architecture, but they have no information about the rest of your
debugging target machine. To allow the stub to work, you must supply
-three special low-level subroutines, and make sure one library routine
-is available.
+these special low-level subroutines:
@table @code
@item int getDebugChar()
@@ -161,7 +160,12 @@ be a no-op.
On target machines that have instruction caches, _GDBN__ requires this
function to make certain that the state of your program is stable.
+@end table
+@noindent
+You must also make sure this library routine is available:
+
+@table @code
@item void *memset(void *, int, int)
@kindex memset
This is the standard library function @code{memset} that sets an area of
@@ -170,9 +174,9 @@ memory to a known value. If you have one of the free versions of
either obtain it from your hardware manufacturer, or write your own.
@end table
-If you do not use the GNU C compiler, you may also need other standard
-library subroutines; this will vary from one stub to another, but in
-general the stubs are likely to use any of the common library
+If you do not use the GNU C compiler, you may need other standard
+library subroutines as well; this will vary from one stub to another,
+but in general the stubs are likely to use any of the common library
subroutines which @code{gcc} generates as inline code.