This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] inf-ptrace: Do not stop memory transfers after a single word
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Jiong Wang <jiong dot wang at foss dot arm dot com>
- Cc: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>, gdb-patches at sourceware dot org, Simon Marchi <simon dot marchi at ericsson dot com>
- Date: Thu, 16 Mar 2017 14:39:27 +0000
- Subject: Re: [PATCH v2] inf-ptrace: Do not stop memory transfers after a single word
- Authentication-results: sourceware.org; auth=none
- References: <m3bmt3eucs.fsf@oc1027705133.ibm.com> <c13d8a01-71a8-2bef-2e85-1d52edc919f2@foss.arm.com>
Jiong Wang <jiong.wang@foss.arm.com> writes:
> I am seeing the following build failure on my local AArch32 native build:
>
> ...binutils-gdb/gdb/inf-ptrace.c:473:65: error: no matching function
> for call to 'min(unsigned int, ULONGEST)'
>
> There are a few ways to fix this, this patch simply change the type of
> "skip" from "unsigned int" to "ULONGEST" so operands for std::min can
> have the same type.
>
> OK for master?
>
Yes, pleas apply, a nit below,
> gdb/
> 2017-03-16 Jiong Wang <jiong.wang@arm.com>
>
> * inf-ptrace.c (inf_ptrace_peek_poke): Change the type to "ULONGEST" for
This line is too long. The max line length of ChangeLog is 74.
> "skip".
--
Yao (齐尧)