This is the mail archive of the binutils@sourceware.org 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: Any option to objdump just one function ?


 
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


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