This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

can't print *this and error on popen


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]