[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using gpsd-dbg
From: |
Gary E. Miller |
Subject: |
Re: Using gpsd-dbg |
Date: |
Tue, 14 Sep 2021 19:43:41 -0700 |
Yo Fred!
On Tue, 14 Sep 2021 13:05:25 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:
> Actually, the best way is just to specify debug=yes on the scons
> command line, which includes debug information in both compiling and
> linking, and also turns off optimizations, since gdb and lldb don't
> tend to handle optimized code as well as their documentation
> suggests. If you really need to debug optimized code (e.g., because
> the code behaves differently when optimized), you can use
> debug_opt=yes instead, but then you should be prepared to see a
> somewhat distorted view of the program's state through the debugger.
> In that case, sometimes it's necessary to look at the assembler code
> to see what's really going on.
Added to the top of SContruct.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpRIo9jgG91m.pgp
Description: OpenPGP digital signature