[patch] doc: GDB exit detaches the inferior

Jan Kratochvil jan.kratochvil@redhat.com
Sat Jun 30 15:36:00 GMT 2007


Hi,

I found in the doc that GDB exit should kill the formerly attached inferior
while in fact it detaches it.


Regards,
Jan
-------------- next part --------------
2007-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.texinfo (Attach): Fixed GDB exit inferior detachment.

--- ./gdb/doc/gdb.texinfo	21 Jun 2007 15:18:50 -0000	1.417
+++ ./gdb/doc/gdb.texinfo	30 Jun 2007 14:10:18 -0000
@@ -2179,11 +2179,11 @@ are ready to @code{attach} another proce
 executing the command.
 @end table
 
-If you exit @value{GDBN} or use the @code{run} command while you have an
-attached process, you kill that process.  By default, @value{GDBN} asks
-for confirmation if you try to do either of these things; you can
-control whether or not you need to confirm by using the @code{set
-confirm} command (@pxref{Messages/Warnings, ,Optional Warnings and
+If you exit @value{GDBN} while you have an attached process, you detach
+that process.  If you use the @code{run} command, you kill that process.
+By default, @value{GDBN} asks for confirmation if you try to do either of these
+things; you can control whether or not you need to confirm by using the
+@code{set confirm} command (@pxref{Messages/Warnings, ,Optional Warnings and
 Messages}).
 
 @node Kill Process


More information about the Gdb-patches mailing list