From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23829 invoked by alias); 4 Feb 2014 17:32:21 -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 23816 invoked by uid 89); 4 Feb 2014 17:32:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail-we0-f176.google.com Received: from mail-we0-f176.google.com (HELO mail-we0-f176.google.com) (74.125.82.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 04 Feb 2014 17:32:19 +0000 Received: by mail-we0-f176.google.com with SMTP id q58so4520719wes.35 for ; Tue, 04 Feb 2014 09:32:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=RhuSKKau+/iYYJA9bO6KiTHQfpHvpOpUeYx6ekZpkwc=; b=akoFn1nsn/ciFfyM+wxdmFPYRvD0G/GweDEDAMnfTjslzpatxDw4zGWDkb7FkJdHCw jaCihgry0/Di8Qajlrm3FbTog0Z2UpVrCV8c4Ltm8zuh/uFGnCd25D5aecn/Qt+azbu9 ypdu0U1qiMFTEgDA/Mn2mb5a7PWrZxgfSDYQfC2iKp6GEh49fETr0joCcksr6G6h7d1n yu/DfpKAKOlGgynFJobCBEbNXfB62cXGtzSqV9AhstBGvWmPBcZR6HAZBozncurdbYwB CLG7wqV/kupN90Qbjhb1tS/lsmsU3QgpYss9PSKuOnZbLl3RWEf6HL0Ed47Qsmx3kNqz Fvrg== X-Gm-Message-State: ALoCoQkkVWKt+Ilbo7ZdBP5Mas6YMjGx1YBsODFBfdg5DBSfDdMMGqg3OMJt0N6ue4LW0qD74rGv X-Received: by 10.194.58.180 with SMTP id s20mr2637524wjq.54.1391535136518; Tue, 04 Feb 2014 09:32:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.78.244 with HTTP; Tue, 4 Feb 2014 09:31:56 -0800 (PST) From: Neal Kruis Date: Tue, 04 Feb 2014 17:32:00 -0000 Message-ID: Subject: GDB 7.6.2 on Mac OS: Could not find the frame base for "Class::method()". To: gdb Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00003.txt.bz2 I am trying to debug a C++ program on Mac OS using a homebrew version of gdb. I think it works fine in my main() function, but elsewhere it gives me a warning when I try to look at the value of a variable: Could not find the frame base for "Class::method()". After scouring the internet, I am having a hard time understanding what this error means or finding out how to fix the problem. Since Apple's Xcode command line tools are painfully out-of-date I needed to use my own homebrewed versions of gcc and gdb. I don't know if there is something in the setup for these tools that I might have missed. Any thoughts? My system: Mac OS X 10.8.5 (Mountain Lion) gcc 4.8.2 (homebrewed) (with -O0 and -g3) gdb 7.6.2 (homebrewed and codesigned) This question is also posted on Stack Overflow if you want to answer it there: http://stackoverflow.com/questions/21556868/how-do-i-get-a-homebrewed-version-of-gdb-working-on-mac-os-x Neal Kruis