public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/13174] New: add-symbol-file failure
@ 2011-09-09 16:19 konrad.schwarz at siemens dot com
2011-11-15 16:29 ` [Bug symtab/13174] " tromey at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: konrad.schwarz at siemens dot com @ 2011-09-09 16:19 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13174
Bug #: 13174
Summary: add-symbol-file failure
Product: gdb
Version: 7.2
Status: NEW
Severity: critical
Priority: P2
Component: symtab
AssignedTo: unassigned@sourceware.org
ReportedBy: konrad.schwarz@siemens.com
Classification: Unclassified
In bug 13173, I noted some syntactic difficulties with the add-symbol-file.
The description there shows what I am doing: building up a large
add-symbol-file
command to track a dynamically loaded Linux Kernel Module.
My command looks like this:
add-symbol-file il_cat1_ko.ko 0xffffffffa0000000 -readnow \
-s .note.gnu.build-id 0xffffffffa00015f0 \
-s .init.text 0xffffffffa0017000 \
-s .exit.text 0xffffffffa00015b8 \
-s .rodata 0xffffffffa0001620 \
-s .init.rodata 0xffffffffa0017070 \
-s .rodata.str1.1 0xffffffffa0001718 \
-s __param 0xffffffffa0001da8 \
-s __bug_table 0xffffffffa0001dd0 \
-s .data 0xffffffffa0002f80 \
-s .gnu.linkonce.this_module 0xffffffffa0002fe0 \
-s .bss 0xffffffffa0004000 \
-s .symtab 0xffffffffa0001de0 \
-s .strtab 0xffffffffa00028f0
(Backslash-newline sequences added for clarity).
This command works fine in GDB-7.0, but fails in both GDB-7.2 and GDB-7.3.1.
Omitting the -readnow flag makes no difference.
After executing the command in 7.2 or 7.3.1, info sources indicates that the
source files of il_cat1_ko.ko are known to the symbol table, and breakpoints
can be set on (at least) symbols within the module, but symbolic
debugging fails: hitting a breakpoint within the module stops the
inferior, but e.g. does not display source line information.
In GDB-7.0, the add-symbol-file command works perfectly fine;
symbolic debugging is possible within the functions defined by the module.
--
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] 2+ messages in thread
* [Bug symtab/13174] add-symbol-file failure
2011-09-09 16:19 [Bug symtab/13174] New: add-symbol-file failure konrad.schwarz at siemens dot com
@ 2011-11-15 16:29 ` tromey at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: tromey at redhat dot com @ 2011-11-15 16:29 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13174
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at redhat dot com
--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2011-11-15 16:28:53 UTC ---
This sounds somewhat like this:
http://sourceware.org/ml/gdb/2011-11/msg00010.html
(The thread starts in the previous month)
--
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] 2+ messages in thread
end of thread, other threads:[~2011-11-15 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-09 16:19 [Bug symtab/13174] New: add-symbol-file failure konrad.schwarz at siemens dot com
2011-11-15 16:29 ` [Bug symtab/13174] " tromey at redhat 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).