[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Contributing LLVM.org patches to gud.el

From: Eli Zaretskii
Subject: Re: Contributing LLVM.org patches to gud.el
Date: Wed, 11 Feb 2015 17:41:28 +0200

> From: "Stephen J. Turnbull" <address@hidden>
> Cc: address@hidden
> Date: Wed, 11 Feb 2015 12:43:20 +0900
> Eli Zaretskii writes:
>  > > Uh, there is a connection.  Because modern IDEs tend to have useful
>  > > program information when debugging instead of (optimized out).
>  > 
>  > Compile with -Og (which should be the default anyway), and you have
>  > that with GCC/GDB as well.
> Er, most programs I compile default to -O3 (I mean upstream does).  So
> you can't debug a production build even if you have symbols.  Arrgh!

What do you mean by "cannot debug"?  AFAIR, "-O3 -g3" still gives you
a debuggable binary, albeit with backtrace that many times lies to you
and functions where you cannot put a breakpoint due to excessive

reply via email to

[Prev in Thread] Current Thread [Next in Thread]