This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] sim: constify sim_write source buffer
- From: Sandra Loosemore <sandra at codesourcery dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 13 Apr 2010 19:26:10 -0400
- Subject: Re: [PATCH] sim: constify sim_write source buffer
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