aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/gdbinv-s.texi
diff options
context:
space:
mode:
authorRoland Pesch <pesch@cygnus>1993-05-07 19:00:17 +0000
committerRoland Pesch <pesch@cygnus>1993-05-07 19:00:17 +0000
commitc5f69ff8a70159539b3f3a249cec77563677d2a4 (patch)
tree76f52f0dcb483acfc612e3e0aa488fe8ce28b5c4 /gdb/doc/gdbinv-s.texi
parenta372dbb985de8499511b540048a23fcbcb6fcfa7 (diff)
downloadgdb-c5f69ff8a70159539b3f3a249cec77563677d2a4.zip
gdb-c5f69ff8a70159539b3f3a249cec77563677d2a4.tar.gz
gdb-c5f69ff8a70159539b3f3a249cec77563677d2a4.tar.bz2
* gdbinv-s.texi (Remote Serial): describe new ^C behavior in
target remote. * gdb.texinfo (Machine Code): more index entries for disassemble
Diffstat (limited to 'gdb/doc/gdbinv-s.texi')
-rw-r--r--gdb/doc/gdbinv-s.texi19
1 files changed, 18 insertions, 1 deletions
diff --git a/gdb/doc/gdbinv-s.texi b/gdb/doc/gdbinv-s.texi
index e5fd907..d653ce2 100644
--- a/gdb/doc/gdbinv-s.texi
+++ b/gdb/doc/gdbinv-s.texi
@@ -237,7 +237,6 @@ if the serial line is connected to the device named @file{/dev/ttyb}.
@c seen an example... pesch 4sep1992
This will stop the remote machine if it is not already stopped.
@end ignore
-
@end enumerate
Now you can use all the usual commands to examine and change data and to
@@ -246,6 +245,24 @@ step and continue the remote program.
To resume the remote program and stop debugging it, use the @code{detach}
command.
+@cindex interrupting remote programs
+@cindex remote programs, interrupting
+Whenever @value{GDBN} is waiting for the remote program, if you type the
+interrupt character (often @key{C-C}), @value{GDBN} attempts to stop the
+program. This may or may not succeed, depending in part on the hardware
+and the serial drivers the remote system uses. If you type the
+interrupt character once again, @value{GDBN} displays this prompt:
+
+@example
+Interrupted while waiting for the program.
+Give up (and stop debugging it)? (y or n)
+@end example
+
+If you type @kbd{y}, @value{GDBN} abandons the remote debugging session.
+(If you decide you want to try again later, you can use @samp{target
+remote} again to connect once more.) If you type @kbd{n}, @value{GDBN}
+goes back to waiting.
+
@node Protocol
@subsubsection Outline of the communication protocol