> At any rate, you'll find below the patches that change the signal used > to report dead children. The patches are against the current working > sources on [EMAIL PROTECTED] I haven't been able to test them I will give it a try. > on my home machine, but will test them tomorrow at work. I'll also > test what happens with gdb. Maybe the extra signals don't break > anything, just causing gdb to rescan the set of running threads > unnecessarily. > I have made gdb 4.17.0.8. Please check this gdb with your linuxthreads. The precompiled static x86 binary should support both glibc 2.0 and 2.1 pthreads. But I think a bug in glibc 2.1 pthread breaks gdb. Thanks. H.J. --- Hi, Folks, This is the beta release of gdb 4.17.0.8, which is based on gdb 4.17 plus Linux/x86 hardware watchpoint/FPU, glibc 2 pthread and Linux/PPC support. You need linux 2.0.35 or above, or 2.1.xx to get the x86 FPU to work correctly. The Linux/x86 binary works with all recent kernels and C libraries, and the x86 FPU support is enabled at the run-time, depending on the kernel version. Please report any bugs related to gdb 4.17.0.8 to [EMAIL PROTECTED] Problems: Because most of system calls in glibc 2 are written in assembly without frame pointer, gdb may not be able to debug nor get stack trace system calls on glibc-based 2 systems. Due to this, "make check" may fail in FAIL: gdb.base/a1-selftest.exp: backtrace through signal handler with glibc 2. Also, it is normal to see FAIL: gdb.base/interrupt.exp: continue (timeout) FAIL: gdb.base/interrupt.exp: echo data (timeout) if there is XPASS: gdb.base/interrupt.exp: send_gdb end of file Changes from gdb 4.17.0.6: 1. Support for glibc 2.1 pthread. But it doesn't work, probably due to the CLONE_PTRACE change to pthread in glibc 2.1. 2. Add support for the older Linux C libraries. 3. Add -static support for glibc 2.1. Changes from gdb 4.17.0.5: 1. Support for glibc 2.0 pthread. It doesn't work with glibc 2.1. 2. The Linux/PPC support. 3. The Linux/Sparc support. Untested. Changes from gdb 4.17.0.4: 1. Fix the Intel FPU tag code handling. Changes from gdb 4.17.0.3: 1. Fix testcases for FPU. 2. Fix x86 hardware watchpoint support. Changes from gdb 4.17.0.2: 1. Fake FP registers on older kernels. Changes from gdb 4.17: 1. Linux/x86 FPU support is added. You can debug floating point numbers just like integers. 2. x86 hardware watchpoint is extended to long long, double and long double. 3. More information on x86 CPU status register. 4. Fix a bug when reading beyond the memory boundary. The file list: 1. gdb-4.17-4.17.0.8.diff.gz. Patch against gdb 4.17. 2. gdb-4.17.0.6-4.17.0.8.diff.gz. Patch against gdb 4.17.0.6. 3. gdb-4.17.0.8.x86.gz. Precompiled Linux/x86 statically linked binary. 4. gdb-4.17.0.8.spec. A RPM spec file for RedHat 5.2. The ftp sites for my gdb patches: ftp://ftp.yggdrasil.com/private/hjl ftp://ftp.kernel.org/pub/linux/devel/gcc gdb 4.17 source code is available at ftp://ftp.gnu.org/pub/gnu To install the precompiled binary, # gunzp gdb-4.17.0.8.x86.gz # cp gdb-4.17.0.8.x86 /usr/bin/gdb H.J. [EMAIL PROTECTED] 12/20/98
