This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
String class and gdb
- To: "GNU Mailing list" <gnu-win32 at cygnus dot com>
- Subject: String class and gdb
- From: "Derek Tyler" <dtyler at easynet dot co dot uk>
- Date: Sat, 17 Oct 1998 16:20:31 +0100
- Reply-To: <dtyler at easynet dot co dot uk>
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>
#include <String.h>
int main()
{
String s ;
s = "Hello";
String t = " world";
String v = s + t;
breakpoint
cout << v << endl;
return 0;
}
D Tyler
dtyler@easynet.co.uk
D Tyler
dtyler@easynet.co.uk
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".