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: Is -dis-symname supported by binutils?


* Nick Clifton:

> If you are using the development sources however then you can invoke
> the feature by adding a symbol name to the end of the --disassemle
> option:
>
>   --disassemble=<symbol>
>
>    Display the assembler mnemonics for the machine instructions
>    from the input file.  This option only disassembles those 
>    sections which are expected to contain instructions.  If the 
>    optional <symbol> argument is given, then display the assembler 
>    mnemonics only from <symbol> up to next symbol.  If there are 
>    no matches for <symbol> then nothing will be displayed.

Nice!

Shouldn't it use the size of the symbol instead (at least on ELF)?  Or
disregard anything but function symbols for determining the next symbol?

Thanks,
Florian


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