Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GCC 3.4 vs GDB 6.1
@ 2004-01-08 20:30 Andrew Cagney
  2004-01-08 20:33 ` Daniel Jacobowitz
  2004-01-09  8:57 ` Eli Zaretskii
  0 siblings, 2 replies; 7+ messages in thread
From: Andrew Cagney @ 2004-01-08 20:30 UTC (permalink / raw)
  To: gdb

(kind of a bit late but ...)
Are there any "bugs" GDB would like to see fixed in GCC 3.4?

I ask this 'cos GDB starting to really use GCC's DWARF 2 info means (per 
PPC 64) GDB is also identifying occasional problems in GCC's DWARF 2 code.

I'm wondering if there are problems that people know about.

Andrew


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GCC 3.4 vs GDB 6.1
  2004-01-08 20:30 GCC 3.4 vs GDB 6.1 Andrew Cagney
@ 2004-01-08 20:33 ` Daniel Jacobowitz
  2004-01-09  8:57 ` Eli Zaretskii
  1 sibling, 0 replies; 7+ messages in thread
From: Daniel Jacobowitz @ 2004-01-08 20:33 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb

On Thu, Jan 08, 2004 at 03:30:58PM -0500, Andrew Cagney wrote:
> (kind of a bit late but ...)
> Are there any "bugs" GDB would like to see fixed in GCC 3.4?
> 
> I ask this 'cos GDB starting to really use GCC's DWARF 2 info means (per 
> PPC 64) GDB is also identifying occasional problems in GCC's DWARF 2 code.
> 
> I'm wondering if there are problems that people know about.

For the biggest one I know of, see the thread I started on gcc@ on ...
Monday? or last week? ... about when to emit debug info for C++
classes.  The discussion trailed off without agreement.  After that the
only huge one I knew about was DW_TAG_namespace, and we've got that
covered now.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GCC 3.4 vs GDB 6.1
  2004-01-08 20:30 GCC 3.4 vs GDB 6.1 Andrew Cagney
  2004-01-08 20:33 ` Daniel Jacobowitz
@ 2004-01-09  8:57 ` Eli Zaretskii
  2004-01-09 14:36   ` Daniel Jacobowitz
  1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2004-01-09  8:57 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb

> Date: Thu, 08 Jan 2004 15:30:58 -0500
> From: Andrew Cagney <cagney@gnu.org>
> 
> (kind of a bit late but ...)
> Are there any "bugs" GDB would like to see fixed in GCC 3.4?

How about this thingy:

  http://sources.redhat.com/ml/gdb/2003-12/msg00271.html

Does it sound like a GCC bug?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GCC 3.4 vs GDB 6.1
  2004-01-09  8:57 ` Eli Zaretskii
@ 2004-01-09 14:36   ` Daniel Jacobowitz
  2004-01-10 11:54     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Jacobowitz @ 2004-01-09 14:36 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Andrew Cagney, gdb

On Fri, Jan 09, 2004 at 10:54:57AM +0200, Eli Zaretskii wrote:
> > Date: Thu, 08 Jan 2004 15:30:58 -0500
> > From: Andrew Cagney <cagney@gnu.org>
> > 
> > (kind of a bit late but ...)
> > Are there any "bugs" GDB would like to see fixed in GCC 3.4?
> 
> How about this thingy:
> 
>   http://sources.redhat.com/ml/gdb/2003-12/msg00271.html
> 
> Does it sound like a GCC bug?

No idea without more information.  Did you ever get dwarfdump to work
on COFF?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GCC 3.4 vs GDB 6.1
  2004-01-09 14:36   ` Daniel Jacobowitz
@ 2004-01-10 11:54     ` Eli Zaretskii
  2004-01-10 16:34       ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2004-01-10 11:54 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: cagney, gdb

> Date: Fri, 9 Jan 2004 09:36:18 -0500
> From: Daniel Jacobowitz <drow@mvista.com>
> > 
> >   http://sources.redhat.com/ml/gdb/2003-12/msg00271.html
> > 
> > Does it sound like a GCC bug?
> 
> No idea without more information.  Did you ever get dwarfdump to work
> on COFF?

dwarfdump has no hope of ever running on a platform that doesn't
support ELF, at least as an option, since dwarfdump needs libelf to be
built.

I still have plans to build it on GNU/Linux and try to use it against
the binary that gave me trouble on that box; I don't know if it will
be of any use, though.

Are you saying that this problem never happened on an ELF platform,
like on GNU/Linux?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GCC 3.4 vs GDB 6.1
  2004-01-10 11:54     ` Eli Zaretskii
@ 2004-01-10 16:34       ` Daniel Jacobowitz
  0 siblings, 0 replies; 7+ messages in thread
From: Daniel Jacobowitz @ 2004-01-10 16:34 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: cagney, gdb

On Sat, Jan 10, 2004 at 01:51:00PM +0200, Eli Zaretskii wrote:
> > Date: Fri, 9 Jan 2004 09:36:18 -0500
> > From: Daniel Jacobowitz <drow@mvista.com>
> > > 
> > >   http://sources.redhat.com/ml/gdb/2003-12/msg00271.html
> > > 
> > > Does it sound like a GCC bug?
> > 
> > No idea without more information.  Did you ever get dwarfdump to work
> > on COFF?
> 
> dwarfdump has no hope of ever running on a platform that doesn't
> support ELF, at least as an option, since dwarfdump needs libelf to be
> built.
> 
> I still have plans to build it on GNU/Linux and try to use it against
> the binary that gave me trouble on that box; I don't know if it will
> be of any use, though.
> 
> Are you saying that this problem never happened on an ELF platform,
> like on GNU/Linux?

I have never seen it before with DWARF-2.  So there is no reasonable
way to guess what is wrong without someone debugging it.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: GCC 3.4 vs GDB 6.1
@ 2004-01-08 21:24 Michael Elizabeth Chastain
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Elizabeth Chastain @ 2004-01-08 21:24 UTC (permalink / raw)
  To: cagney, gdb

> (kind of a bit late but ...)
> Are there any "bugs" GDB would like to see fixed in GCC 3.4?

  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12267
  [3.4 regression] function-at-a-time generates stabs in bad order

This imparirs stabs+ support significantly.

Anonymous unions are another regression area.

I have "compare by gcc" tables but I haven't analyzed them yet.
This one bug causes so many problems that it's hard to look at
other stabs+ problems.

Grossly, there are about 27 new FAILS with gcc HEAD -gdwarf-2
versus gcc 3.3.2 -gdwarf-2, and about 28 new FAILS with gcc HEAD
-gstabs+ versus gcc 3.3.2 -gstabs+.

Michael C


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-01-10 16:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-08 20:30 GCC 3.4 vs GDB 6.1 Andrew Cagney
2004-01-08 20:33 ` Daniel Jacobowitz
2004-01-09  8:57 ` Eli Zaretskii
2004-01-09 14:36   ` Daniel Jacobowitz
2004-01-10 11:54     ` Eli Zaretskii
2004-01-10 16:34       ` Daniel Jacobowitz
2004-01-08 21:24 Michael Elizabeth Chastain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox