From 66ad6ec894a4b1086cffc9514bd5fc1497c7d6d5 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 27 Oct 1993 05:48:39 +0000 Subject: [PATCH] * remote.texi (Bootstrapping): Talk about getting the serial driver to deal with ^C sent by gdb to stop the remote system. --- gdb/doc/remote.texi | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gdb/doc/remote.texi b/gdb/doc/remote.texi index 350c52fa986..907352300c3 100644 --- a/gdb/doc/remote.texi +++ b/gdb/doc/remote.texi @@ -170,9 +170,12 @@ different name is used to allow you to distinguish the two if you wish. If you want @value{GDBN} to be able to stop your program while it is running, you need to use an interrupt-driven serial driver, and arrange -for it to execute a breakpoint instruction when it receives a control C -character. That is the character which @value{GDBN} uses to tell the -remote system to stop. +for it to stop when it receives a control C character (getting it to +return the proper status to GDB probably requires changes to the +standard stub; one quick and dirty way is to just execute a breakpoint +instruction. @value{GDBN} will return a SIGTRAP instead of a SIGINT). +That is the character which @value{GDBN} uses to tell the remote system +to stop. Other routines you need to supply are: -- 2.30.2