Re: Disassemble in GDB
Frank Kotler <[email protected]>
| Newsgroups | gmane.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 -- To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html