Hi,
I have a piece of code that I was trying to compile and debug with gcc 4.7 and gdb 6.3.
Maybe these two versions are not compatible?
The problem is that when debugging code compiled with the -g option the debugger does not stop in main.
Rather it stops at a line of code that is about 1/3 of the way through the source file.
Anyone else seen this?
Cheers
I have a piece of code that I was trying to compile and debug with gcc 4.7 and gdb 6.3.
Maybe these two versions are not compatible?
The problem is that when debugging code compiled with the -g option the debugger does not stop in main.
Rather it stops at a line of code that is about 1/3 of the way through the source file.
Anyone else seen this?
Cheers