[PATCH v2] inf-ptrace: Do not stop memory transfers after a single word
Andreas Arnez
arnez@linux.vnet.ibm.com
Thu Mar 16 15:21:00 GMT 2017
On Thu, Mar 16 2017, Jiong Wang wrote:
> 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)'
Hm, sorry for the breakage.
> 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.
Right, that's a possibility, although the reader may be confused why a
variable whose value is known to be less than 8 needs to be declared as
ULONGEST...
--
Andreas
More information about the Gdb-patches
mailing list