Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Eberhard Mattes
Sun, 03 Jan 1993 18:56
Wrong line number info generated by GCC 2.3.1
Author: Eberhard Mattes
Date: Sun, 03 Jan 1993 18:56
Date: Sun, 03 Jan 1993 18:56
17 lines
988 bytes
988 bytes
The debugging info generated by GCC 2.2.2 treated the following two
lines as two lines:
for (i = 0; i < 10; ++i)
j += i;
The debugging info generated by GCC 2.3.1 thru 2.3.3 treats those two
lines as *ONE* line. The debugger doesn't let one step into the body
of the loop, the GDB STEP command executes the entire loop. Correct
debugging information is generated for the following rewritten code:
for (i = 0; i < 10; ++i)
{
j += i;
}
Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads