Re: 'Cannot find bounds of current function' when stepping with GDB 7.6 under OS X 10.6 / LLVM GCC 4.2

Tristan Gingold <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 06 Feb 2014, at 18:56, eranon <[email protected]> wrote:

> Thanks for this informed info, Tristan. I keep track that it's on your TODO
> list ;)
> 
> And I suppose this is not configurable by a switch/flag/option at LLVM GCC
> 4.2 side (to produce a FSF gdb compliant binaries of course) ?

This is a linker issue: try to link with -Wl,-no_compact_unwind (IIRC).

> Also, another question for another approach :  Is it possible to go with FSF
> GCC (ie. not the Apple-LLVM one) under OS X ?

Yes, but AFAIK ObjC isn't up to date.

Tristan.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.