This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Big-endian targets: don't ignore offset into DW_OP_implicit_value
- From: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org, Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Date: Wed, 01 Feb 2017 10:09:28 +0100
- Subject: Re: [PATCH] Big-endian targets: don't ignore offset into DW_OP_implicit_value
- Authentication-results: sourceware.org; auth=none
- References: <m3o9zcgjys.fsf@oc1027705133.ibm.com> <20170125221223.hsitc46wy462cb4b@localhost> <m3r33othxf.fsf@oc1027705133.ibm.com>
On Fri, Jan 27 2017, Andreas Arnez wrote:
> On Wed, Jan 25 2017, Yao Qi wrote:
>
[...]
>> All these values are from debug information rather than inferior memory,
>> does it make sense to run these tests above with both big and little
>> endianess?
>
> I've tried, but I don't know to make it work. Switching to the opposite
> endianness affects more than just the byte order of variable contents;
> the variables are not even found any more. Any idea?
>
>> Otherwise, patch is good to me.
Is it OK then to push the patch? The logic for testing both little- and
big-endian byte order can still be added later, right?
--
Andreas