Re: Debugger related
Malcolm Wallace <[email protected]> Wed, 11 May 2005 11:13:57 +0100
| Newsgroups | gmane.comp.lang.haskell.nhc.user |
|---|---|
| Organization | Dept of Computer Science, University of York |
| Message-ID | <[email protected]> |
Arunkumar S Jadhav <[email protected]> writes: > Now my doubt: Will the debugger option (-ggdb3) cause the compiler > to emit any i386 instructions that wouldn't have been emitted otherwise. > In otherwords, does gcc compiler "insert" extra machine (i386 in my case) > instructions for the purpose of debugging ? As I understand it, the -g compilation flag just adds extra information tables to the object file, not extra code. In particular, the fact that you can combine the -g option with -O for optimisation strongly suggests that no extra instructions are emitted. Regards, Malcolm