This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Feature for objdump or another binutil binary....
- From: DJ Delorie <dj at redhat dot com>
- To: sjhill at realitydiluted dot com
- Cc: binutils at sources dot redhat dot com
- Date: Sun, 21 Dec 2003 22:25:21 -0500
- Subject: Re: Feature for objdump or another binutil binary....
- References: <3FE65661.1010902@realitydiluted.com>
> The whole point of my email is that I find it cumbersome to have to
> do a 'objdump -d' and potentially waste space with a big text file
You should use pipes then.
objdump -d foo.x | egrep 'ld.*\$[0-3][^0-9]'
> It would be nice to be able to specify the instruction and perhaps
> the section or sections to look in and have it search that way.
There are so many ways to search, and so many existing tools that
search different ways, and so many types of syntax that the different
binutils targets use, that it would not be practical to attempt to put
such capabilities in the binutils themselves.