From c5f69ff8a70159539b3f3a249cec77563677d2a4 Mon Sep 17 00:00:00 2001 From: Roland Pesch Date: Fri, 7 May 1993 19:00:17 +0000 Subject: [PATCH] * gdbinv-s.texi (Remote Serial): describe new ^C behavior in target remote. * gdb.texinfo (Machine Code): more index entries for disassemble --- gdb/doc/ChangeLog | 7 +++++++ gdb/doc/gdb.texinfo | 4 ++++ gdb/doc/gdbinv-s.texi | 19 ++++++++++++++++++- 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 01e5b49387e..210f1bd50c7 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,10 @@ +Fri May 7 11:56:18 1993 Roland H. Pesch (pesch@fowanton.cygnus.com) + + * gdbinv-s.texi (Remote Serial): describe new ^C behavior in + target remote. + + * gdb.texinfo (Machine Code): more index entries for disassemble + Fri May 7 10:12:30 1993 Fred Fish (fnf@cygnus.com) * Clarify the intended use of the gdb-testers and gdb-patches diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 4993ff7ca5e..5bb663c7db5 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -3516,6 +3516,10 @@ variables}). @table @code @kindex disassemble @item disassemble +@cindex assembly instructions +@cindex instructions, assembly +@cindex machine instructions +@cindex listing machine instructions This specialized command dumps a range of memory as machine instructions. The default memory range is the function surrounding the program counter of the selected frame. A single argument to this diff --git a/gdb/doc/gdbinv-s.texi b/gdb/doc/gdbinv-s.texi index e5fd907f51c..d653ce2aac2 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 -- 2.30.2