[PATCH] sim: constify sim_write source buffer
Sandra Loosemore
sandra@codesourcery.com
Tue Apr 13 23:25:00 GMT 2010
FYI, this patch:
2010-04-13 Mike Frysinger <vapier@gentoo.org>
* remote-sim.h (sim_write): Add const to buf arg.
caused the ARM simulator to fail to build. See sim/arm/wrapper.c:158:
int
sim_write (sd, addr, buffer, size)
SIM_DESC sd ATTRIBUTE_UNUSED;
SIM_ADDR addr;
unsigned char * buffer;
int size;
The obvious patch makes it build, at least.
-Sandra
More information about the Gdb-patches
mailing list