Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Neal Kruis <neal.kruis@bigladdersoftware.com>
To: gdb <gdb@sourceware.org>
Subject: GDB 7.6.2 on Mac OS: Could not find the frame base for "Class::method()".
Date: Tue, 04 Feb 2014 17:32:00 -0000	[thread overview]
Message-ID: <CAOG8z53vUD9ZaLi37Fph19sqPoCfLAtK+3cAVL84OREhiwgcZw@mail.gmail.com> (raw)

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


             reply	other threads:[~2014-02-04 17:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 17:32 Neal Kruis [this message]
2014-02-10 21:27 ` Neal Kruis
2014-02-11  8:10   ` Tristan Gingold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOG8z53vUD9ZaLi37Fph19sqPoCfLAtK+3cAVL84OREhiwgcZw@mail.gmail.com \
    --to=neal.kruis@bigladdersoftware.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox