Re: Problems interrupting remote target on powerpc
Joel Brobecker via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
FWIW, the way I remember things on how it's supposed to work is
the following:
- The Ctrl-c sequence triggers a SIGINT
- GDB has a handler and the remote layer sends a single
interrupt character to GDBserver
- The interrupt character arriving on the GDBserver side of the
connection triggers a SIGINT in GDBserver
- GDBserver has a handler that sends a SIGINT to the inferior.
- The inferior receives the SIGINT, and thus stops, and the kernel
informs GDBserver, and GDBserver then sends a stop packet back
to GDB, who then tells the user the inferior has stopped on
a SIGINT.
One typically workaround when the above doesn't work is to log onto
the remote machine, and send the inferior process a SIGINT signal
by hand, by using the "kill -INT <PID>" command.
--
Joel