This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
dwarf2 error
- From: naga raj <gnuuser dot raj at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 1 Jun 2011 16:39:30 +0530
- Subject: dwarf2 error
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