This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

Re: DWARF-related warnings in DJGPP build of GDB


> From: Pedro Alves <pedro@codesourcery.com>
> Date: Wed, 15 Apr 2009 20:31:19 +0100
> Cc: Joel Brobecker <brobecker@adacore.com>
> 
> On Wednesday 15 April 2009 20:26:37, Eli Zaretskii wrote:
> > > It could be the compiler emitting wrong debugging info, or the
> > > assembler/linker toolchain that screws up.
> > 
> > I will try to upgrade to newer Binutils and to GCC 3.4.4, and see if
> > that helps.
>                                                      ^^^^^
> 
> Interesting, is there a reason to stay with the gcc 3 series on DJGPP?

I'm very conservative in upgrading my development tools.  As long as
something works fine for me, I'm reluctant to do significant upgrades,
because doing so runs a risk of destabilizing the development
environment, and with so little free time, I cannot afford that,
unless strictly necessary.

> I was using DJGPP gcc 4.2.3 last time I tried DJGPP (it's on the wiki),
> and it was a prebuilt binary.

A DJGPP port of GCC 4.3.2 is available since Sep 2008, but I dislike
GCC 4.x because it whines too much about perfectly valid C code.  (It
may not be a problem with GDB sources, but I compile other projects
besides GDB.)  So, if GCC 3.4.4 solves the problems I have, I won't
have a significant incentive to go to 4.x.

> I don't remember if I saw those dwarf issues.  May be worth giving
> that a shot too.

If 3.x won't help, then I might do just that.

Thanks.


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