Any option to objdump just one function ?

Sidney Manning manningaustin@mac.com
Wed Apr 28 13:44:00 GMT 2010


 
On Wednesday, April 28, 2010, at 03:39AM, "robert song" <robertsong.japan@gmail.com> wrote:
>Hello, everyone.
>I used objdump to dump the kernel image.
>And I want to locate to the position of __memzero.
>But I can't find any option that support to output the assembly code of
>one specified function but only in the section range.
>Is it correct ?
>
I've seen this used sometimes:
gdb --batch -ex "disassemble main" a.out



More information about the Binutils mailing list