public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* gdb 7.4.1 don't support dwarf4 which is default in gcc 4.8.1
@ 2013-10-15 23:13 Daniel Zimmermann
  0 siblings, 0 replies; only message in thread
From: Daniel Zimmermann @ 2013-10-15 23:13 UTC (permalink / raw)
  To: crossgcc

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-15 23:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-15 23:13 gdb 7.4.1 don't support dwarf4 which is default in gcc 4.8.1 Daniel Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).