This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Run gdb.base/sizeof.exp with board having gdb,noinferiorio
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 03 Dec 2015 15:50:33 +0000
- Subject: Re: [PATCH] Run gdb.base/sizeof.exp with board having gdb,noinferiorio
- Authentication-results: sourceware.org; auth=none
- References: <1448977402-9487-1-git-send-email-yao dot qi at linaro dot org> <56603F3E dot 6040703 at redhat dot com> <86si3jsfbn dot fsf at gmail dot com>
On 12/03/2015 03:49 PM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
>> I think we can replace that like you did for sizeof.
>>
>> value = (int) (char) -1;
>>
>> etc., and then check "p value = ${val}", just like you did for
>> the sizeof checks.
>
> OK, how about this?
>
LGTM.
Thanks,
Pedro Alves