From: Jim Kingdon Date: Wed, 27 Oct 1993 05:48:39 +0000 (+0000) Subject: * remote.texi (Bootstrapping): Talk about getting the serial driver X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66ad6ec894a4b1086cffc9514bd5fc1497c7d6d5;p=binutils-gdb.git * remote.texi (Bootstrapping): Talk about getting the serial driver to deal with ^C sent by gdb to stop the remote system. --- 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: