home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- Path: sparky!uunet!cis.ohio-state.edu!azu.informatik.uni-stuttgart.de!mattes
- From: mattes@azu.informatik.uni-stuttgart.de (Eberhard Mattes)
- Subject: Wrong line number info generated by GCC 2.3.1
- Message-ID: <9301031656.AA03443@azu.informatik.uni-stuttgart.de>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Sun, 3 Jan 1993 18:56:00 GMT
- Approved: bug-gcc@prep.ai.mit.edu
- Lines: 18
-
- 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)
-
-