This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug remote/18772] gdb does not respond to CTRL-C
- From: "massimo.b at gmx dot net" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 23 Feb 2017 10:41:05 +0000
- Subject: [Bug remote/18772] gdb does not respond to CTRL-C
- Auto-submitted: auto-generated
- References: <bug-18772-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18772
Massimo B. <massimo.b at gmx dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |massimo.b at gmx dot net
--- Comment #1 from Massimo B. <massimo.b at gmx dot net> ---
This is 7.12.1 server and client.
Having no breakpoints it is not possible to pause execution by CTRL+c at all,
as it is done using the native gdb:
server $ gdbserver --multi --attach localhost:8888 $(pgrep -f my_app)
client $ gdb
target extended-remote localhost:8888
Remote debugging using localhost:8888
Reading /lib64/libdl.so.2 from remote target...
Reading /lib64/libSegFault.so from remote target...
...
Reading /lib64/ld-linux-x86-64.so.2 from remote target...
0x00007f6b26857923 in __select_nocancel () from target:/lib64/libc.so.6
(gdb) where
#0 0x00007f6b26857923 in __select_nocancel () from target:/lib64/libc.so.6
...
#9 0x00000000004497ee in main (argc=14, argv=0x7ffe8e4b0af8) at main.cpp:245
(gdb) c
Continuing.
^C^CThe target is not responding to interrupt requests.
Stop debugging it? (y or n) y
Disconnected from target.
--
You are receiving this mail because:
You are on the CC list for the bug.