This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12857] New: Output of "info line variable" needsimprovement
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 7 Jun 2011 20:21:56 +0000
- Subject: [Bug gdb/12857] New: Output of "info line variable" needsimprovement
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12857
Summary: Output of "info line variable" needs improvement
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: dje@google.com
play$ cat info-line-var.c
int foo;
int main () { return 0; }
play$ gcc -g info-line-var.c
play$ gdb a.out
(gdb) info line foo
Line 1 of "info-line-var.c" is at address 0x4004c4 <main> but contains no code.
The line number and file name are correct,
but the address is wrong, and printing "but contains no code"
is kinda lame.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.