This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gdb shows wrong line numbers for the sourcecode


On Mon, Jun 20, 2011 at 02:31:11PM -0400, Paul Koning wrote:
> Probably the fact that your GDB is an antique.
> 
> I found that a version of GDB not nearly so out of date was unuseable with current GCC.  Updated to the current (7.2) and all is well.

ARGH!

Thanks for the hint, Paul!

Actually, I _had_ built gdb-7.2. But after that, I built insight-6.8-1 (that's
the latest available version of insight, AFAIK). And insight installed the old
gdb over the new one :-/ (that I wrote 6.0 instead of 6.8 was just a typo).

Now I kicked insight 6.8-1 into the trash can and rebuilt gdb-7.2 and
everything looks good so far.

Thanks!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]