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

Daniel Jacobowitz drow@false.org
Wed Mar 12 18:13:00 GMT 2008


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



More information about the Gdb-patches mailing list