This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Make threads architecture-independent on Linux


> 
> 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]