This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: A question about disassembler on linux


biguo@263.net wrote:
> 
> Hello,folks!I disassembler object file on linux 6.0 with GDB.Is there a better disassembler on linux?Anyone can help me?Thank you.

There's no better one for existing objects, really. An alternative would be
to use objdump --disassemble.

Or if you have the C source, and you're using gcc, you can pass gcc the
"--save-temps" flag, which will output a ".s" version of the file being
compiled. This tends to be slightly better annotated, but beware of reams of
obscure debugging info if you used "-g".

Jifl
-- 
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK.  Tel: +44 (1223) 728762
"I used to have an open mind but || Get yer free open source RTOS's here...
 my brains kept falling out."    || http://sourceware.cygnus.com/ecos
Help fight spam! http://spam.abuse.net/  These opinions are all my own fault

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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