This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Make threads architecture-independent on Linux
- To: kingdon at redhat dot com (Jim Kingdon)
- Subject: Re: Make threads architecture-independent on Linux
- From: hjl at lucon dot org (H.J. Lu)
- Date: Mon, 8 Nov 1999 15:36:23 -0800 (PST)
- Cc: gdb-patches at sourceware dot cygnus dot com
>
> 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.