Feature for objdump or another binutil binary....

Alan Modra amodra@bigpond.net.au
Mon Dec 22 06:05:00 GMT 2003
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



More information about the Binutils mailing list