Bug 40612
Summary: | gdb thread debugging non-functional | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Elliot Lee <sopwith> |
Component: | gdb | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED RAWHIDE | QA Contact: | Aaron Brown <abrown> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | msw |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-05-15 00:32:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Elliot Lee
2001-05-15 00:32:42 UTC
Seems to work for me... gdb-5.0rh-8 (gdb) run myscript.py Starting program: /usr/bin/python myscript.py [New Thread 1024 (LWP 27018)] [New Thread 2049 (LWP 27027)] [New Thread 1026 (LWP 27028)] old thread new thread Program received signal SIGINT, Interrupt. [Switching to Thread 1026 (LWP 27028)] 0x40126587 in __libc_pause () from /lib/i686/libc.so.6 (gdb) info threads * 3 Thread 1026 (LWP 27028) 0x40126587 in __libc_pause () from /lib/i686/libc.so.6 2 Thread 2049 (LWP 27027) 0x4014ae37 in __poll (fds=0x80d1614, nfds=1, timeout=2000) at ../sysdeps/unix/sysv/linux/poll.c:63 1 Thread 1024 (LWP 27018) 0x40126587 in __libc_pause () from /lib/i686/libc.so.6 (gdb) To clarify the problem: . I had not been using the rawhide gdb, which fixes a number of thread related issues. Upgrading made things partially better. . The rawhide gdb doesn't work with the 2.2.x kernels, which the machine I was on runs. This is a WONTFIX thing - it's caused by the usage of 2.4 kernel headers when compiling glibc, IIRC. |