[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
breaking C++ by line numbers
From: |
Scott Johnston |
Subject: |
breaking C++ by line numbers |
Date: |
Mon, 10 Sep 2001 11:08:14 -0700 |
Using the latest versions of gdb (9/10/01, from both the 5.0 and 5.1 branch,
compiled on i686-pc-linux-gnu), there is a consistent problem setting break
points by line number in any
C++ module compiled with gcc-3.0 or gcc-3.0.1, i.e.:
(gdb) break main.c:263
No line 263 in file "/home/scott/src/ivtools-0.9/src/drawtool/LINUX/../main.c".
Apologies if this is redundant bug post. Is there a way to browse the entire
GNATS database without resorting to keyword guesswork? This is not obvious
from the
http://sources.redhat.com/gdb/ entry point.
Scott Johnston
http://www.ivtools.org