This is the mail archive of the
gdb-patches@sourceware.org
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: <000901c9f5ef$4ee06f10$eca14d30$@u-strasbg.fr> <200907011643.45759.pedro@codesourcery.com> <002701c9fa66$50823ad0$f186b070$@u-strasbg.fr>
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