diff options
author | Jiri Gaisler <jiri@gaisler.se> | 2020-02-26 12:13:07 +0100 |
---|---|---|
committer | Jiri Gaisler <jiri@gaisler.se> | 2020-02-26 12:13:07 +0100 |
commit | acd17e755506d316e073175c3993954cb7d51f3e (patch) | |
tree | ef13e30e92665d9e9305d80f83ec14b6fe61af19 | |
parent | Initialize PC before connecting to gdb (diff) | |
download | sis-acd17e755506d316e073175c3993954cb7d51f3e.tar.bz2 |
Avoid reserved word sparc on SPARC hosts
-rw-r--r-- | func.c | 2 | ||||
-rw-r--r-- | sis.h | 2 | ||||
-rw-r--r-- | sparc.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -73,7 +73,7 @@ int sis_gdb_break; int cpu = 0; /* active cpu */ int ncpu = 1; /* number of cpus to emulate */ int delta = 50; /* time slice for MP simulation */ -const struct cpu_arch *arch = &sparc; +const struct cpu_arch *arch = &sparc32; uint32 daddr = 0; /* static bfd *abfd; @@ -226,7 +226,7 @@ struct estate }; extern const struct cpu_arch *arch; -extern const struct cpu_arch sparc; +extern const struct cpu_arch sparc32; extern const struct cpu_arch riscv; /* return values for run_sim */ @@ -3469,7 +3469,7 @@ sparc_print_insn (uint32 addr) printf (" %s", tmp); } -const struct cpu_arch sparc = { +const struct cpu_arch sparc32 = { 3, sparc_dispatch_instruction, sparc_execute_trap, |