GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.6"... (gdb) (gdb) (gdb) b main Breakpoint 1 at 0x15dfc: file test.cxx, line 8. (gdb) run Starting program: /inm/users/kheraj/./popo warning: Lowest section in /usr/lib/libw.so.1 is .dynamic at 00000074 Breakpoint 1, main () at test.cxx:8 8 char * cp = new char[2048]; (gdb) next 10 strcpy (cp,"Hello world"); (gdb) p cp $1 = <incomplete type> (gdb) Why do I get the incomplete type when I print the variables ? Thanks Zul KHERAJ [EMAIL PROTECTED] _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb