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 11:04:45AM -0700, Joel Brobecker wrote:
> I don't mind, but we also need to check for solaris too, since
> procfs is used with other OSes as well. So something like this?
> 
>     #if (defined(__i386__) || defined(__x86_64__)) && defined (sun)
> 
> It's funny you would prefer this approach over the more functional
> macro - I thought that people would crucify me if I suggested something
> like this :). Would you prefer to isolate the code in a separate file
> like I also suggested?

I have no preference whatsoever; just whatever is easier in practice.

-- 
Daniel Jacobowitz
CodeSourcery


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