How to do disassemble a function on Solairs and Linux -- Posted by inturi on Wednesday, April 9 2008
Solaris:
$/usr/ccs/bin/dis -F main /work/a.out

Linux:
$gdb /work/a.out
(gdb) disassem main

The above commands dump assembly code for function main().

[Edit] Home
If this information is helpful to you then please click here and post one simple tip that you know. Share your knowledge!