The following patch is a back port of the 2.5.18 tcore patch I posted last
week.
It applies cleanly to the 2.4.18 base tree.
It has some warnings and one simple regection when applied to the 2.4.18-ia64
tree due to a patch collision with the ia64 patch. I have a ia64 version of
this patch available, upon request, which will apply cleanly to the ia64
kernel.
This patch has been tested on SMP and UP i386 architectures and works very
well. The ia64 SMP version has also been tested and works very well.
To use this patch you will need to strip the objects from the libpthread
module loaded by GDB at post mortem debug time.
('strip /lib/libpthread-0.9.so for my system', YMMV)
I would like to see this feature added to the linux kernel. Support for
multi-threaded core dumps has been in Solaris for a LONG time now, and its
silly for it to not exist in Linux. ISV's need this type of support from the kernel.
Please apply this patch. Its a good thing.
--mgross
This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:32 EST