mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
sim: microblaze: fix -Wunused-variable warnings
This commit is contained in:
@@ -97,7 +97,6 @@ static void
|
|||||||
set_initial_gprs (SIM_CPU *cpu)
|
set_initial_gprs (SIM_CPU *cpu)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
long space;
|
|
||||||
|
|
||||||
/* Set up machine just out of reset. */
|
/* Set up machine just out of reset. */
|
||||||
PC = 0;
|
PC = 0;
|
||||||
@@ -120,19 +119,14 @@ sim_engine_run (SIM_DESC sd,
|
|||||||
int siggnal) /* ignore */
|
int siggnal) /* ignore */
|
||||||
{
|
{
|
||||||
SIM_CPU *cpu = STATE_CPU (sd, 0);
|
SIM_CPU *cpu = STATE_CPU (sd, 0);
|
||||||
int needfetch;
|
|
||||||
signed_4 inst;
|
signed_4 inst;
|
||||||
enum microblaze_instr op;
|
enum microblaze_instr op;
|
||||||
int memops;
|
int memops;
|
||||||
int bonus_cycles;
|
int bonus_cycles;
|
||||||
int insts;
|
int insts;
|
||||||
int w;
|
|
||||||
int cycs;
|
|
||||||
signed_4 WLhash;
|
|
||||||
unsigned_1 carry;
|
unsigned_1 carry;
|
||||||
bool imm_unsigned;
|
bool imm_unsigned;
|
||||||
short ra, rb, rd;
|
short ra, rb, rd;
|
||||||
long immword;
|
|
||||||
unsigned_4 oldpc, newpc;
|
unsigned_4 oldpc, newpc;
|
||||||
short delay_slot_enable;
|
short delay_slot_enable;
|
||||||
short branch_taken;
|
short branch_taken;
|
||||||
|
|||||||
Reference in New Issue
Block a user