public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/15350] New: GDB can't read compressed debug sections (mingw32 target)
@ 2013-04-09 13:36 d.g.gorbachev at gmail dot com
2013-04-09 18:14 ` [Bug symtab/15350] " tromey at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2013-04-09 13:36 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15350
Bug #: 15350
Summary: GDB can't read compressed debug sections (mingw32
target)
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: symtab
AssignedTo: unassigned@sourceware.org
ReportedBy: d.g.gorbachev@gmail.com
Classification: Unclassified
Target: mingw32
$ gcc -g 1.c
$ gdb a.exe
[...]
Reading symbols from /tmp/a.exe...done.
[...]
$ objcopy --compress-debug-sections a.exe
$ gdb a.exe
[...]
Reading symbols from /tmp/prog.exe...Can't read data for section '.debug_line'
in file '/tmp/prog.exe'
(no debugging symbols found)...done.
[...]
--
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] 4+ messages in thread
* [Bug symtab/15350] GDB can't read compressed debug sections (mingw32 target)
2013-04-09 13:36 [Bug symtab/15350] New: GDB can't read compressed debug sections (mingw32 target) d.g.gorbachev at gmail dot com
@ 2013-04-09 18:14 ` tromey at redhat dot com
2013-04-09 23:24 ` d.g.gorbachev at gmail dot com
2013-04-10 14:30 ` tromey at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2013-04-09 18:14 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15350
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> 2013-04-09 18:14:01 UTC ---
Can you attach the .exe?
--
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] 4+ messages in thread
* [Bug symtab/15350] GDB can't read compressed debug sections (mingw32 target)
2013-04-09 13:36 [Bug symtab/15350] New: GDB can't read compressed debug sections (mingw32 target) d.g.gorbachev at gmail dot com
2013-04-09 18:14 ` [Bug symtab/15350] " tromey at redhat dot com
@ 2013-04-09 23:24 ` d.g.gorbachev at gmail dot com
2013-04-10 14:30 ` tromey at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2013-04-09 23:24 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15350
--- Comment #2 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2013-04-09 23:24:22 UTC ---
Created attachment 6970
--> http://sourceware.org/bugzilla/attachment.cgi?id=6970
Attaching both uncompressed and compressed .exe files
$ gdb compressed.exe
[...]
Reading symbols from /tmp/compressed.exe...Can't read data for section
'.debug_info' in file '/tmp/compressed.exe'
Can't read data for section '.debug_frame' in file '/tmp/compressed.exe'
[...]
$ objcopy --decompress-debug-sections compressed.exe
objcopy:compressed.exe[.debug_aranges]: Bad value
--
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] 4+ messages in thread
* [Bug symtab/15350] GDB can't read compressed debug sections (mingw32 target)
2013-04-09 13:36 [Bug symtab/15350] New: GDB can't read compressed debug sections (mingw32 target) d.g.gorbachev at gmail dot com
2013-04-09 18:14 ` [Bug symtab/15350] " tromey at redhat dot com
2013-04-09 23:24 ` d.g.gorbachev at gmail dot com
@ 2013-04-10 14:30 ` tromey at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2013-04-10 14:30 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=15350
--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2013-04-10 14:30:14 UTC ---
The bug is in BFD, either when compressing the sections or
in the inflater.
You can see this easily using objcopy + objdump, i.e.,
not involving gdb at all.
--
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] 4+ messages in thread
end of thread, other threads:[~2013-04-10 14:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-09 13:36 [Bug symtab/15350] New: GDB can't read compressed debug sections (mingw32 target) d.g.gorbachev at gmail dot com
2013-04-09 18:14 ` [Bug symtab/15350] " tromey at redhat dot com
2013-04-09 23:24 ` d.g.gorbachev at gmail dot com
2013-04-10 14:30 ` 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).