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: "Hannes Domani via gdb-patches" <gdb-patches at sourceware dot org>
- To: Gdb-patches <gdb-patches at sourceware dot org>
- Date: Fri, 7 Feb 2020 22:17:26 +0000 (UTC)
- 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> <79d771b0-ec85-cdfc-e966-a61c6bb9b59f@simark.ca>
- Reply-to: Hannes Domani <ssbssa at yahoo dot de>
Am Freitag, 7. Februar 2020, 23:07:08 MEZ hat Simon Marchi <simark@simark.ca> Folgendes geschrieben:
> 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.
Yes, that's right.
I will add some comments to make this more clear.
Regards
Hannes Domani