This is the mail archive of the
mailing list for the GDB project.
Re: [RFC-v2] Add windows Thread Information Block
- From: Pedro Alves <pedro at codesourcery dot com>
- To: "Pierre Muller" <muller at ics dot u-strasbg dot fr>
- Cc: gdb-patches at sourceware dot org, "'Daniel Jacobowitz'" <drow at false dot org>
- Date: Wed, 1 Jul 2009 17:34:10 +0100
- Subject: Re: [RFC-v2] Add windows Thread Information Block
- References: <firstname.lastname@example.org> <email@example.com> <firstname.lastname@example.org>
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?