Re: dwarf2 error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



naga raj <gnuuser.raj@xxxxxxxxx> writes:

>    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??

Which version of gdb?  It is often the case that newer versions of gcc
require newer versions of gdb.

It is also possible that there is a bug in gcc, but you didn't provide
enough information to know.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux