Make threads architecture-independent on Linux

H.J. Lu hjl@lucon.org
Mon Nov 8 15:36:00 GMT 1999


> 
> Following up on last week's discussion (that is,
> http://sourceware.cygnus.com/ml/gdb-patches/1999-q4/msg00123.html and
> related email), here is a patch to enable linux threads in general
> rather than just on x86.  I've tested it on x86 but it should work on
> all of them (famous last words :-)).
> 
> 1999-11-08  Jim Kingdon  < http://developer.redhat.com/ >
> 
> 	Enable threads for all linux architectures:
> 	* config/nm-linux.h: New file.
> 	* config/{alpha,i386,m68k,sparc}/nm-linux.h: Use it.
> 

I will advise against it. You can take a look at gdb 4.17.0.14 to
see how it is handled there. I will make a patch for gdb 4.18
when the backlog improves.


H.J.


More information about the Gdb-patches mailing list