This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Feature for objdump or another binutil binary....


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]