This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]