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
[ sorry, missed one question ]
On Wednesday 01 July 2009 17:09:30, Pierre Muller wrote:
>
> ? One more question:
> ? What if we switch from debugging a win32 application to a win64,
> will the type of $_tib be also recomputed correctly?
Yes. The type is a gdbarch property (of the frame of the
current thread). For $_siginfo, the same function linux_get_siginfo_type
handles both x86 and amd64, because the structures are mostly
equivalent, but it's just as easy to install different
gdbarch callbacks on i386-cygwin-tdep.c and amd64-windows-tdep.c.
--
Pedro Alves