-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Labels
Description
After attaching to a process on Linux+GDB (Ubuntu 7.7.1-0ubuntu5~14.04.2), we don't have a way of breaking into the target process.
The result of this bug is that we can't get into break state to set breakpoints, or any of the other tasks we might want. So only breakpoints set before start debugging will work.
The only way I found that we could work around this is to -
- Configure gdb to stop on SIGINT using: handle SIGINT stop
- Using kill from the shell to interrupt the target:
kill -TRAP
Some of the things I tried:
- Enabling target-async before the attach. I tried both on the command line and before issuing the command.
- Sending Ctrl-C. My debuggee has signal handlers installed, which could be the problem, but I couldn't get this to work.