This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
can't print *this and error on popen
- From: erpa dot hoe at t-online dot de (Markus Plannerer)
- To: gdb at sources dot redhat dot com
- Date: Thu, 18 Jul 2002 00:11:02 +0200
- Subject: can't print *this and error on popen
- Organization: ERPA Systeme GmbH
- Reply-to: mp at erpa dot de
Hello,
in my big aplication (suse-linux-8.0, gdb-5.1.1, qt.2.3.0,
SGI-Inventor, SoQt) there are some problems (of course in
a small sample everthing works fine):
1. inside a constructor gdb can't "print *this"
"Cannot access memory at address 0x97b3c07"
where "print this" shows
"$1 = (QApplication *) 0x83e4a60"
2. at start time there comes up the message
"[New Thread 1024 (LWP 1880)]"
before the first breakpoint he says
"[Switching to Thread 1024 (LWP 1880)]"
and when there is a
"fil=popen("uname -r", "r");"
the gdb says
"[New Cannot find thread 2049: invalid thread handle"
"Couldn't get registers: No such process."
and thats the end.
The programm already works fine on SGI-Irix and Win2000.
Any hints ?
thanks
Markus