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


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

That works for me :) - we can always adjust later if I hear some more
comments. Here is what I ended up checking-in (I used the opportunity
to add a little comment explaining why the function is needed, as well as
grouping the two LDT-related functions in procfs.c together).

2008-02-12  Joel Brobecker  <brobecker@gnat.com>

        * sol-thread.c: Replace use of TM_I386SOL2_H by an expression
        that is true only on x86-solaris and x86_64-solaris.
        * procfs.c: Likewise. Move procfs_find_LDT_entry up together
        with proc_get_LDT_entry.

Tested on x86-solaris, no regression. Applied to head and branch.

Thanks!
-- 
Joel

Attachment: x86-solaris-thread.diff
Description: Text document


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