Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
20 user(s) are online (15 user(s) are browsing Forums)

Members: 1
Guests: 19

nbache, more...

Support us!

Headlines

 
  Register To Post  

GBD not working when compiling with 11.2.0 version - even when using -gdwarf-2
Just popping in
Just popping in


See User information
Hi again,

did anybody get gdb working with latest SDK and GCC/G++ 11.2.0?
I am using g++ for compiling my stuff and even force -gdwarf-2 when building the debug version.

But when loading the binary in gdb it cannot set breakpoints and when rereading my binary it complains that it finds DWARF version 5 while it is expecting version 2.

But doing objdump on my binary and grepping the DWARF version clearly tells me that it has DWARD version 2!

So can GDB on AOS4 no longer being used? Or at least not when C++ got compiled?

Does anybody have maybe an idea here how to get it working again (used to work in old GCC 2.4.3 installation)?

Thank you in advance!

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project