aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-15 22:44:27 -0500
committerMike Frysinger <vapier@gentoo.org>2023-12-19 05:51:10 -0500
commit96967be368c72d5945b792af48e40bb7cac0b979 (patch)
tree67093d721f6fe3ef2e38276c17e59902e9e01a6c /sim
parent2705c08342f6c8f30a4b7439e7352871ce0bc427 (diff)
downloadgdb-96967be368c72d5945b792af48e40bb7cac0b979.zip
gdb-96967be368c72d5945b792af48e40bb7cac0b979.tar.gz
gdb-96967be368c72d5945b792af48e40bb7cac0b979.tar.bz2
sim: microblaze: fix -Wunused-variable warnings
Diffstat (limited to 'sim')
-rw-r--r--sim/microblaze/interp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c
index 5e701e5..0096438 100644
--- a/sim/microblaze/interp.c
+++ b/sim/microblaze/interp.c
@@ -97,7 +97,6 @@ static void
set_initial_gprs (SIM_CPU *cpu)
{
int i;
- long space;
/* Set up machine just out of reset. */
PC = 0;
@@ -120,19 +119,14 @@ sim_engine_run (SIM_DESC sd,
int siggnal) /* ignore */
{
SIM_CPU *cpu = STATE_CPU (sd, 0);
- int needfetch;
signed_4 inst;
enum microblaze_instr op;
int memops;
int bonus_cycles;
int insts;
- int w;
- int cycs;
- signed_4 WLhash;
unsigned_1 carry;
bool imm_unsigned;
short ra, rb, rd;
- long immword;
unsigned_4 oldpc, newpc;
short delay_slot_enable;
short branch_taken;