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: [RFC-v2] Add windows Thread Information Block


On Wednesday 01 July 2009 17:09:30, Pierre Muller wrote:
> ? The link that you give below doesn't say that this is
> only valid for i386... Maybe thread local base is also set for ARM wince?
> ? Could someone test this out?
> 

The equivalent link for CE (http://msdn.microsoft.com/en-us/library/ms939172.aspx)
mentions the field is present, but it wouldn't be the first time the field
wouldn't be present in current CE versions.  I'll have to confirm.  It mentions
the same 0x22 offset which makes me suspicious that this was just
copy/paste/forgot_updating, which happens a lot!  I'd have to check if the
pointed to structure has the same format/layout.  ARM WinCE implements SEH
similarly to x86_64-Windows, not to x86.  Plus, I don't think WinCE has support
for fibers, while the  32 structure you added includes mention of it.  Certainly the
%fs comments aren't aplicable to ARM.  :-)  Where did you find the
descriptions/layouts of those structures?

-- 
Pedro Alves


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