This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: gdb/2082: line shown in the GUI does not match the line ofcode being executed
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 3 Jan 2007 08:58:01 -0000
- Subject: Re: gdb/2082: line shown in the GUI does not match the line ofcode being executed
- Reply-to: Nick Roberts <nickrob at snap dot net dot nz>
The following reply was made to PR gdb/2082; it has been noted by GNATS.
From: Nick Roberts <nickrob@snap.net.nz>
To: gdb-gnats@sources.redhat.com, nobody@sources.redhat.com,
ewlouie@us.ibm.com, ashutoshvsingh@gmail.com
Cc:
Subject: Re: gdb/2082: line shown in the GUI does not match the line of
code being executed
Date: Wed, 03 Jan 2007 21:54:00 +1300
http://sourceware.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=2082
> Hi,
> In the emacs GUI as well as the DDD GUI, when I hit next the pointer,
> instead of going to the next line of code being executed jumps
> backwards or forward couple of lines, it is very erratic. Looks
> like the way lines are marked in the DEBUG symbol is not read properly
> by GDB. If you need more info please let me know, I will help you
> recreate it. We are using intel's 9.0 complier.
It looks like you have compiled with optimisation (-0). Try recompiling
just with -g. Please e-mail such reports to gdb@sources.redhat.com
first.