This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Any option to objdump just one function ?
- From: Sidney Manning <manningaustin at mac dot com>
- To: robert song <robertsong dot japan at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 28 Apr 2010 08:43:51 -0500
- Subject: Re: Any option to objdump just one function ?
- References: <136760699337325461479363758768840426541-Webmail@me.com>
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