This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [RFA/RFC] Fix broken user-thread debugging on x86-solaris


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


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