[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: How do I attach gdb to a process using threaded Qt?
From: Michael =?iso-8859-1?q?H=E4ckel?= <Michael () Haeckel ! Net>
Date: 2001-09-15 13:21:07
[Download RAW message or body]
Hi,
Can someone tell me, how I now can debug a kio slave, that is compiled with
threaded Qt3 ?
If I attach gdb, I get as usual, besides an error message:
[...]
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libpthread.so.0...done.
[New Thread 1024 (LWP 642)]
Error while reading shared library symbols:
attach_thread: No such process.
Reading symbols from /usr/X11R6/lib/libGL.so.1...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.1
[...]
However continuing the process dosn't work as usual:
(gdb) continue
Continuing.
ptrace: No such process.
0x4125595e in __select () from /lib/libc.so.6
Even switching to the thread dosn't help:
(gdb) info threads
1 Thread 1024 (LWP 642) warning: Couldn't get registers.
warning: Couldn't get floating point status.
warning: Couldn't get registers.
warning: Couldn't get floating point status.
0x4125595e in __select () from /lib/libc.so.6
(gdb) thread 1
warning: Couldn't get registers.
warning: Couldn't get floating point status.
warning: Couldn't get registers.
warning: Couldn't get floating point status.
[Switching to thread 1 (Thread 1024 (LWP 642))]
#0 0x4125595e in __select () from /lib/libc.so.6
(gdb) continue
Continuing.
ptrace: No such process.
[Switching to Thread 1024 (LWP 642)]
0x4125595e in __select () from /lib/libc.so.6
Not even detaching again works.
Any ideas?
Regards,
Michael Häckel
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic