This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/RFC] Fix broken user-thread debugging on x86-solaris
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 12 Mar 2008 13:21:29 -0400
- Subject: Re: [RFA/RFC] Fix broken user-thread debugging on x86-solaris
- References: <20080312170814.GC4433@adacore.com>
On Wed, Mar 12, 2008 at 10:08:14AM -0700, Joel Brobecker wrote:
> In this version, I went to the simplest, which is to have configure
> define a new macro (HAVE_X86_SOLARIS_USER_THREADS) when on x86-solaris
> and the thread_db library is available. I then replaced TM_I386SOL2_H
> by the new macro.
How about just #if defined(__i386__) || defined(__x86_64__), if we're
going to use macros?
--
Daniel Jacobowitz
CodeSourcery