From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20782 invoked by alias); 7 Feb 2014 08:55:41 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 20768 invoked by uid 89); 7 Feb 2014 08:55:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 07 Feb 2014 08:55:39 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 7810926E0740; Fri, 7 Feb 2014 09:55:36 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0rljOlFU8YuL; Fri, 7 Feb 2014 09:55:36 +0100 (CET) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 4A1BC26E0733; Fri, 7 Feb 2014 09:55:36 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: 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 In-Reply-To: <1391709396082-259954.post@n7.nabble.com> Date: Fri, 07 Feb 2014 08:55:00 -0000 Cc: "gdb@sourceware.org Development" Content-Transfer-Encoding: quoted-printable Message-Id: <08E9B682-FE2A-4573-B07C-65DAA46E491A@adacore.com> References: <1391603058245-259756.post@n7.nabble.com> <1391699417056-259908.post@n7.nabble.com> <71D481D3-CF88-453D-9BB5-561D6AEFE8A9@adacore.com> <1391709396082-259954.post@n7.nabble.com> To: eranon X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00021.txt.bz2 On 06 Feb 2014, at 18:56, eranon wrote: > Thanks for this informed info, Tristan. I keep track that it's on your TO= DO > list ;) >=20 > 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.