Re: Disassemble in GDB
Frank Kotler <[email protected]> Sun, 01 Jun 2008 10:32:22 -0400
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <[email protected]> |
Bill wrote: > I wrote a simple hello world in c. how can i disassemble main() with > gdb? "disassemble main" Use the "-g" switch when you compile it. (note the effect of the "-O" switch, while you're at it) Best, Frank