This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] Display ExceptionRecord for $_siginfo
- From: Simon Marchi <simark at simark dot ca>
- To: Hannes Domani <ssbssa at yahoo dot de>, gdb-patches at sourceware dot org
- Date: Fri, 7 Feb 2020 17:07:05 -0500
- Subject: Re: [PATCH 1/2] Display ExceptionRecord for $_siginfo
- References: <20200117153140.2231-1-ssbssa.ref@yahoo.de> <20200117153140.2231-1-ssbssa@yahoo.de> <544d0a3a-bee9-1ac6-8f4b-611ccbcc39bb@simark.ca>
Btw, as mentioned here:
https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-exception_record#remarks
The layout of the structure is different depending on if the debugged process is 32 or 64 bits.
>From what I understand, you code adapts to both, since it uses gdbarch_ptr_bit and uses proper
alignment for the ExceptionInformation field, but I wanted to point it out just to be sure.
Simon