This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/21419] Unable to list program after loading symbolic table
- From: "sergiodj at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 15 Jun 2017 18:13:48 +0000
- Subject: [Bug gdb/21419] Unable to list program after loading symbolic table
- Auto-submitted: auto-generated
- References: <bug-21419-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21419
--- Comment #7 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
(In reply to vishwanath from comment #6)
> No , Even i am guessing now how can -g alone can help to get whole source
> code.
>
> atleast break to function name will work ?
If GDB doesn't have access to the source code, it cannot list the program. You
can verify that by compiling a simple program on your machine, and then
moving/removing the source code and trying to use the 'list' command inside
GDB.
As for break, yes, "break <name>" should work without access to the source
code.
--
You are receiving this mail because:
You are on the CC list for the bug.