This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 13/19] Fix handling of DWARF register pieces on big-endian targets
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 12 Jun 2017 14:12:09 +0100
- Subject: Re: [PATCH v2 13/19] Fix handling of DWARF register pieces on big-endian targets
- Authentication-results: sourceware.org; auth=none
- References: <1494352015-10465-1-git-send-email-arnez@linux.vnet.ibm.com> <1494352015-10465-14-git-send-email-arnez@linux.vnet.ibm.com>
Andreas Arnez <arnez@linux.vnet.ibm.com> writes:
> gdb/ChangeLog:
>
> * dwarf2loc.c (bits_to_bytes): New function.
> (read_pieced_value): Fix offset calculations for register pieces
> on big-endian targets.
> (write_pieced_value): Likewise.
>
> gdb/testsuite/ChangeLog:
>
> * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
> register pieces.
Patch is good to me.
--
Yao (齐尧)