public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "delcypher at gmail dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug symtab/15118] list foo.h:lineno doesn't work Date: Wed, 30 Oct 2013 15:02:00 -0000 [thread overview] Message-ID: <bug-15118-4717-j9tbFtxbg7@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-15118-4717@http.sourceware.org/bugzilla/> 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.
prev parent reply other threads:[~2013-10-30 15:02 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-02-07 23:38 [Bug symtab/15118] New: " 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 message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-15118-4717-j9tbFtxbg7@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).