Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GCC 3.0
@ 2002-02-04  0:26 Colin Fox
  2002-02-04  7:17 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Colin Fox @ 2002-02-04  0:26 UTC (permalink / raw)
  To: gdb

Greetings everyone.

I've tried to update to the latest gcc (3.0) and the latest gdb (5.1.1),
and I've found that there is some incompatibility involved.

Specifically, in a number of cases (which worked fine in gcc 2.96) where
I could "print *this", when I try my software with gcc 3.0 I get a
"Value can't be converted to an integer".

In DDD, when I try to display "*this", I get a "Disabling display 1 to
avoid infinite recursion.". Again, this works fine if I compile with gcc
2.96.

Is this a bug in the gcc 3.0 debug output, or is this simply something
that gdb will have to be brought up to date on?

Regards,
   Colin

-- 
Colin Fox
CF Consulting Inc.
cfox@crystalcherry.com


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

* Re: GCC 3.0
  2002-02-04  0:26 GCC 3.0 Colin Fox
@ 2002-02-04  7:17 ` Daniel Jacobowitz
  2002-02-04 12:59   ` Colin Fox
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2002-02-04  7:17 UTC (permalink / raw)
  To: Colin Fox; +Cc: gdb

On Mon, Feb 04, 2002 at 12:26:06AM -0800, Colin Fox wrote:
> Greetings everyone.
> 
> I've tried to update to the latest gcc (3.0) and the latest gdb (5.1.1),
> and I've found that there is some incompatibility involved.
> 
> Specifically, in a number of cases (which worked fine in gcc 2.96) where
> I could "print *this", when I try my software with gcc 3.0 I get a
> "Value can't be converted to an integer".
> 
> In DDD, when I try to display "*this", I get a "Disabling display 1 to
> avoid infinite recursion.". Again, this works fine if I compile with gcc
> 2.96.
> 
> Is this a bug in the gcc 3.0 debug output, or is this simply something
> that gdb will have to be brought up to date on?

Use a GDB snapshot from CVS instead.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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

* Re: GCC 3.0
  2002-02-04  7:17 ` Daniel Jacobowitz
@ 2002-02-04 12:59   ` Colin Fox
  0 siblings, 0 replies; 3+ messages in thread
From: Colin Fox @ 2002-02-04 12:59 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

On Mon, 2002-02-04 at 07:17, Daniel Jacobowitz wrote:
> On Mon, Feb 04, 2002 at 12:26:06AM -0800, Colin Fox wrote:
> > Greetings everyone.
> > 
> > I've tried to update to the latest gcc (3.0) and the latest gdb (5.1.1),
> > and I've found that there is some incompatibility involved.
> > 
> > Specifically, in a number of cases (which worked fine in gcc 2.96) where
> > I could "print *this", when I try my software with gcc 3.0 I get a
> > "Value can't be converted to an integer".
> > 
> 
> Use a GDB snapshot from CVS instead.
> 

Thank you very much! That was driving me crazy. The CVS version works
great.

-- 
Colin Fox
CF Consulting Inc.
cfox@crystalcherry.com


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

end of thread, other threads:[~2002-02-04 20:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-04  0:26 GCC 3.0 Colin Fox
2002-02-04  7:17 ` Daniel Jacobowitz
2002-02-04 12:59   ` Colin Fox

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