This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: String class and gdb
- To: dtyler at easynet dot co dot uk
- Subject: Re: String class and gdb
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Sun, 18 Oct 1998 22:45:42 -0500
- Cc: "GNU Mailing list" <gnu-win32 at cygnus dot com>
"Derek Tyler" <dtyler@easynet.co.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@cygnus.com" with one line of text: "help".