(sim_store_register, sim_fetch_register): On success, return
length, instead of -1.
+2012-08-01 Kevin Buettner <kevinb@redhat.com>
+
+ * wrapper.c (libiberty.h): Include.
+ (sim_store_register, sim_fetch_register): On success, return
+ length, instead of -1.
+
2012-06-15 Joel Brobecker <brobecker@adacore.com>
* config.in, configure: Regenerate.
2012-06-15 Joel Brobecker <brobecker@adacore.com>
* config.in, configure: Regenerate.
#include "run-sim.h"
#include "gdb/sim-arm.h"
#include "gdb/signals.h"
#include "run-sim.h"
#include "gdb/sim-arm.h"
#include "gdb/signals.h"
host_callback *sim_callback;
host_callback *sim_callback;
SIM_DESC sd ATTRIBUTE_UNUSED;
int rn;
unsigned char *memory;
SIM_DESC sd ATTRIBUTE_UNUSED;
int rn;
unsigned char *memory;
- int length ATTRIBUTE_UNUSED;
SIM_DESC sd ATTRIBUTE_UNUSED;
int rn;
unsigned char *memory;
SIM_DESC sd ATTRIBUTE_UNUSED;
int rn;
unsigned char *memory;
- int length ATTRIBUTE_UNUSED;
{
tomem (state, memory, regval);
{
tomem (state, memory, regval);
memory += 4;
regval = 0;
}
memory += 4;
regval = 0;
}
}
#ifdef SIM_TARGET_SWITCHES
}
#ifdef SIM_TARGET_SWITCHES