This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: 'Cannot find bounds of current function' when stepping with GDB 7.6 under OS X 10.6 / LLVM GCC 4.2
- From: Tristan Gingold <gingold at adacore dot com>
- To: eranon <eric dot anon at laposte dot net>
- Cc: "gdb at sourceware dot org Development" <gdb at sourceware dot org>
- Date: Fri, 7 Feb 2014 09:55:36 +0100
- Subject: Re: 'Cannot find bounds of current function' when stepping with GDB 7.6 under OS X 10.6 / LLVM GCC 4.2
- Authentication-results: sourceware.org; auth=none
- References: <1391603058245-259756 dot post at n7 dot nabble dot com> <1391699417056-259908 dot post at n7 dot nabble dot com> <71D481D3-CF88-453D-9BB5-561D6AEFE8A9 at adacore dot com> <1391709396082-259954 dot post at n7 dot nabble dot com>
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.
Tristan.