public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: naga raj <gnuuser.raj@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: dwarf2 error
Date: Wed, 01 Jun 2011 11:09:00 -0000	[thread overview]
Message-ID: <BANLkTimgDDjjkDJKSP5i4VMt7fRKbZ=XXA@mail.gmail.com> (raw)

Hi,

   I have ported Gcc-4.6 to an embedded target. I have made dwarf2
debugging information as default.

   My error is that my GDB is unable to display local variables of
main function in one of my application program.

   It is giving error as -------> Could not find the frame base for "main".

  But it has all the frame information correctly and backtrace command
in gdb is also working fine.

  The same application program is displaying local variables with
Dwarf3 debugging information.

  I have debugged it an came to know that my GCC generating wrong
loc_ptr address so as a result it is generating that error print
statement.

 Is it a bug or my assumption is wrong??

Thanks in advance,
Nagaraju

             reply	other threads:[~2011-06-01 11:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01 11:09 naga raj [this message]
2011-06-01 15:35 ` Ian Lance Taylor
2011-06-02  3:58   ` naga raj
2011-06-02  5:51     ` Michael Eager
2011-06-02  6:46       ` naga raj
     [not found]         ` <BANLkTin=y4DkMqAzBB-7TM_j5UxFotTGyQ@mail.gmail.com>
2011-06-02 13:02           ` Michael Eager

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='BANLkTimgDDjjkDJKSP5i4VMt7fRKbZ=XXA@mail.gmail.com' \
    --to=gnuuser.raj@gmail.com \
    --cc=gcc-help@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).