Bug 68997 - readelf --debug-dump=attribute no longer filters output
Summary: readelf --debug-dump=attribute no longer filters output
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: binutils
Version: limbo
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 67218
TreeView+ depends on / blocked
 
Reported: 2002-07-16 20:11 UTC by Jason Baietto
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-07-17 03:05:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Jason Baietto 2002-07-16 20:11:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020625

Description of problem:
In earlier versions of Red Hat the readelf --debug-dump=info option would print
out only the dwarf2 info sections.  On Limbo, a warning is produced if any
'=attribute' is specified:

   readelf: Warning: Unrecognized debug option 'info'

in spite of the that both the --help and info output claim that this is
supported.  For large object files, the inability to filter debug sections is
very inconvenient.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Compile hello.c with -g
2. run readelf --debug-dump=info a.out > /tmp/output
3. see warning on stderr
4. see unfiltered output in /tmp/output

	

Actual Results:  soybean$ readelf --debug-dump=info a.out > /dev/null
readelf: Warning: Unrecognized debug option 'info'


Additional info:

Comment 1 Jakub Jelinek 2002-08-16 06:35:46 UTC
Should be fixed in binutils-2.13.90.0.2-1.


Note You need to log in before you can comment on or make changes to this bug.