This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


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

gdb 7.4.1 don't support dwarf4 which is default in gcc 4.8.1


Hello

I try a newer ct-ng from trunk and have a problem with the new gcc
4.8.1 and the gdb 7.4.1
Since Version 4.8.1 the gcc defaults to draft4 debug information.

http://gcc.gnu.org/gcc-4.8/changes.html

When i try to debug i got errors like that "line not found".

This is a "bug" in gdb 7.4.1 and it is fixed in version 7.5.1 or higher.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708382

Perhaps ct-ng can upgrade gdb version to 7.5.1 or higher.

Workaround: add --gdwarf-2 to the gcc flags


Regards,
Daniel Zimmermann

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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