Fails to break in a XTerm started by another program
Teodor Petrov
fuscated@gmail.com
Thu Oct 17 07:40:00 GMT 2013
Hi,
I have one very bizarre problem with GDB (not GDB fault probably). The
problem is that if I
have a terminal started by Code::Blocks (wxWidgets based IDE) and I run
GDB from this
terminal, the debugger fails to break on breakpoints in a simple console
c++ program.
The steps are as follows:
1. start Code::Blocks
2. start a terminal from inside it (Code::Blocks will start the terminal)
3. start GDB
The problem happens randomly, so if I repeat the 3 steps several times,
most of the times
the debugger won't work and some of them - it will.
I've asked about this problem in the IRC channel and people there
advised me to gather some
strace logs. I have the logs and they can be found here:
1. GDB works - http://pastebin.com/ubqv5XbX
2. GDB fails - http://pastebin.com/zkeJzTya
By looking at them I cannot tell where the problem is.
Can someone suggest what else can I do to find the root cause for this
problem?
I'm running Gentoo linux 64bit, kernel 3.10.5 (for quite a while),
up-to-date unstable system.
Best regards,
Teodor
More information about the Gdb
mailing list