This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Big-endian targets: Fix implptrpiece.exp


On Tue, Feb 14 2017, Yao Qi wrote:

> On Tue, Feb 14, 2017 at 3:38 PM, Andreas Arnez <arnez@linux.vnet.ibm.com> wrote:

[...]

>> Sure.  See updated patch below.  Is this OK then?
>
> Yes, patch is OK.

Thanks, pushed.

>> [Side note: While developing the patch I also found that a slightly
>> different typecast expression -- with the dimension removed from the
>> array typecast -- causes a GDB internal error:
>>
>>   (gdb) p ((char*)(short[]){1})[1]
>>   /home/arnez/src/binutils-gdb/gdb/gdbtypes.c:4722: internal-error:
>>   type* copy_type(const type*): Assertion `TYPE_OBJFILE_OWNED (type)'
>>   failed.
>>
>> I see this bug on s390x and amd64, but haven't spent much time
>> investigating it yet.]
>
> Reproduced.  Could you file a bug for it?

Sure: https://sourceware.org/bugzilla/show_bug.cgi?id=21162

--
Andreas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]