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: Alan Modra <amodra at bigpond dot net dot au>
- To: "Steven J. Hill" <sjhill at realitydiluted dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 22 Dec 2003 14:00:23 +1030
- Subject: Re: Feature for objdump or another binutil binary....
- References: <3FE65661.1010902@realitydiluted.com>
On Sun, Dec 21, 2003 at 09:26:41PM -0500, Steven J. Hill wrote:
> The next and more general case might be to find all instruction
> occurences of where any immediate value loaded into v0 happens.
> And finally, maybe we would like a more complex case of if there
> is an arithmetic shift left instruction executed in the delay
> slot of a 'bnez' instruction. You get the idea.....
At which point you've reimplemented grep inside objdump. Bad idea.
> 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
> and then grep through it for what I want.
Use a pipe.
--
Alan Modra
IBM OzLabs - Linux Technology Centre