+2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * cpu.h (trace_register_changes): Add void parameter type.
+ * err.c (ee_overrides): Likewise.
+ * mem.c (mem_usage_stats): Likewise.
+ (e): Likewise.
+ * reg.c (stack_heap_stats): Likewise.
+ * rx.c (pop): Likewise.
+ (poppc): Likewise.
+ (decode_opcode): Likewise.
+ * syscalls.c (arg): Likewise.
+
2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb-if.c (sim_do_command): Work with a copy of the command.
extern void halt_pipeline_stats (void);
extern void pipeline_stats (void);
-extern void trace_register_changes ();
+extern void trace_register_changes (void);
extern void generate_access_exception (void);
extern jmp_buf decode_jmp_buf;
static enum execution_error last_error;
static void
-ee_overrides ()
+ee_overrides (void)
{
/* GCC may initialize a bitfield by reading the uninitialized byte,
masking in the bitfield, and writing the byte back out. */
}
void
-mem_usage_stats ()
+mem_usage_stats (void)
{
int i, j;
int rstart = 0;
#define S(d) if (trace) s(address, d)
static void
-e ()
+e (void)
{
if (!trace)
return;
static int highest_sp = 0, lowest_sp = 0xffffff;
void
-stack_heap_stats ()
+stack_heap_stats (void)
{
if (heapbottom < heaptop)
printf ("heap: %08x - %08x (%d bytes)\n", heapbottom, heaptop,
}
static int
-pop()
+pop (void)
{
int rv;
int rsp = get_reg (sp);
}
static int
-poppc()
+poppc (void)
{
int rv;
int rsp = get_reg (sp);
#define DO_RETURN(x) { longjmp (decode_jmp_buf, x); }
int
-decode_opcode ()
+decode_opcode (void)
{
unsigned int uma=0, umb=0;
int ma=0, mb=0;
int argp, stackp;
static int
-arg ()
+arg (void)
{
int rv = 0;
argp++;