public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/15118] New: list foo.h:lineno doesn't work
@ 2013-02-07 23:38 dje at google dot com
2013-10-30 13:42 ` [Bug symtab/15118] " delcypher at gmail dot com
2013-10-30 15:02 ` delcypher at gmail dot com
0 siblings, 2 replies; 3+ messages in thread
From: dje at google dot com @ 2013-02-07 23:38 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15118
Bug #: 15118
Summary: list foo.h:lineno doesn't work
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: symtab
AssignedTo: unassigned@sourceware.org
ReportedBy: dje@google.com
Classification: Unclassified
$ gcc -g hello.c
$ gdb a.out
(gdb) start
(gdb) list stdio.h:10
-->
file: "../libio/stdio.h", line number: 10
file: "../libio/stdio.h", line number: 10
file: "../libio/stdio.h", line number: 10
file: "../libio/stdio.h", line number: 10
file: "../libio/bits/stdio.h", line number: 10
file: "../libio/stdio.h", line number: 10
file: "../libio/bits/stdio.h", line number: 10
file: "../libio/stdio.h", line number: 10
file: "../libio/stdio.h", line number: 10
file: "../libio/stdio.h", line number: 10
file: "../libio/bits/stdio.h", line number: 10
file: "../libio/stdio.h", line number: 10
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug symtab/15118] list foo.h:lineno doesn't work
2013-02-07 23:38 [Bug symtab/15118] New: list foo.h:lineno doesn't work dje at google dot com
@ 2013-10-30 13:42 ` delcypher at gmail dot com
2013-10-30 15:02 ` delcypher at gmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: delcypher at gmail dot com @ 2013-10-30 13:42 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=15118
delcypher at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |delcypher at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug symtab/15118] list foo.h:lineno doesn't work
2013-02-07 23:38 [Bug symtab/15118] New: list foo.h:lineno doesn't work dje at google dot com
2013-10-30 13:42 ` [Bug symtab/15118] " delcypher at gmail dot com
@ 2013-10-30 15:02 ` delcypher at gmail dot com
1 sibling, 0 replies; 3+ messages in thread
From: delcypher at gmail dot com @ 2013-10-30 15:02 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=15118
--- Comment #1 from delcypher at gmail dot com ---
I observed this problem myself today.
I'm using
* gcc 4.8.2
* gdb 7.6.1
On Arch Linux (Linux 3.11.6-1 X86_64)
The issue happens with some header files in a project I'm working on but not on
others which is strange.
For example if I do
$ gdb klee
(gdb) start
(gdb) list Expr.h:1
file: "/home/dsl11/dev/klee/klee/bin-dbg-llvm29/../src/include/klee/Expr.h",
line number: 1
file: "/home/dsl11/dev/klee/klee/bin-dbg-llvm29/../src/include/klee/Expr.h",
line number: 1
file: "/home/dsl11/dev/klee/klee/bin-dbg-llvm29/../src/include/klee/Expr.h",
line number: 1
but if I try
(gdb) list Common.h:1
1 //===-- Common.h ------------------------------------------------*- C++
-*-===//
2 //
3 // The KLEE Symbolic Virtual Machine
4 //
5 // This file is distributed under the University of Illinois Open
Source
6 // License. See LICENSE.TXT for details.
7 //
8
//===----------------------------------------------------------------------===//
9
10 /*
If I run
(gdb) info sources
I see that both Expr.h and Common.h are in the list of files under "Source
files for which symbols have been read in:"
I cannot reproduce the issue on a simple "Hello World" example. Doing "list
stdio.h:10" succeeds
Any ideas what's going wrong?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-30 15:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07 23:38 [Bug symtab/15118] New: list foo.h:lineno doesn't work dje at google dot com
2013-10-30 13:42 ` [Bug symtab/15118] " delcypher at gmail dot com
2013-10-30 15:02 ` delcypher at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).