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

Tristan Gingold gingold@adacore.com
Fri Feb 7 08:55:00 GMT 2014

On 06 Feb 2014, at 18:56, eranon <eric.anon@laposte.net> 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.


More information about the Gdb mailing list