[Bug 66115] New: attach to multithreaded process does not show threads in Frame Stack
Chris Halls
halls at debian.org
Thu Oct 16 15:43:08 UTC 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=66115
Summary: attach to multithreaded process does not show threads in
Frame Stack
Product: kdevelop
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: debugger
AssignedTo: kdevelop-devel at kdevelop.org
ReportedBy: halls at debian.org
Version: unknown (using KDE 3.1.4)
Installed from: (testing/unstable)
Compiler: gcc version 3.3.2 20030908 (Debian prerelease)
OS: Linux (i686) release 2.4.22-1-686-smp
Attaching to an existing program with multiple threads only shows one thread in the Frame Stack. This is because 'info threads' can only be requested from gdb after the 'backtrace' command
(gdb) attach 19622
[previous behaviour requests info thread here.. threads not shown yet]
(gdb) backtrace
[New Thread 16384 (LWP 19622)]
[New Thread 32769 (LWP 19623)]
[New Thread 16386 (LWP 19624)]
[New Thread 32771 (LWP 19625)]
...
[now we can request info thread.]
(gdb) info thread
4 Thread 32771 (LWP 19625) 0x4114f364 in __pthread_sigsuspend () from /lib/libpthread.so.0
3 Thread 16386 (LWP 19624) 0x4114f364 in __pthread_sigsuspend () from /lib/libpthread.so.0
2 Thread 32769 (LWP 19623) 0x410e6666 in poll () from /lib/libc.so.6
1 Thread 16384 (LWP 19622) 0x4114f364 in __pthread_sigsuspend () from /lib/libpthread.so.0
More information about the KDevelop-devel
mailing list