delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/19/09:36:00

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: String class and gdb
19 Oct 1998 09:36:00 -0700 :
Message-ID: <9810190345.AA15482.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <199810171523 DOT IAA05939 AT cygnus DOT com>
To: dtyler AT easynet DOT co DOT uk
Cc: "GNU Mailing list" <gnu-win32 AT cygnus DOT com>

"Derek Tyler" <dtyler AT easynet DOT co DOT uk> writes:
> I've just started trying to use the
> String class. The following code works
> OK, but when I put a breakpoint as
> shown, and try to examine variables
> with
> gdb, I get 
> 
> (gdb) p s
> $1 = <incomplete type> 
>     

That's because libg++ was stripped of all symbols. You simply can't "look"
into String implementation any more. Sorry.

I do suggest that you dump String and use the standard "string" from now
on. String is part of deprecated libg++, which you should avoid at all
costs in new code.

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019