Re: gdb says that it can't compute the CFA
[email protected] (Christos Zoulas)
| Newsgroups | gmane.os.netbsd.ports.sparc64 |
|---|---|
| Message-ID | <[email protected]> |
In article <[email protected]>, Martin Husemann <[email protected]> wrote: >On Sun, Jun 15, 2014 at 06:41:07PM +1000, Darren Reed wrote: >> So why do we ship gcc 4.8 then? Wait, I don't want to know... > >The typical combination of "-O2 -g" works pretty well, but the whole >problem is not well understood (e.g.: would a gdb update help?). The >-O0 -g case is stupid, but an issue for gcc upstream. > >Instead of compiling local parts of the tree with DBG=-g I swichted >to doing the full build with MKDEBUG=yes MKDEBUGLIB=yes, wich is a >great improvement overall (and I always have debug info available quickly >when some issue comes up). Same here. Having symbols always available is a great productivity boost :-) christos