aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/interp.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-18 21:32:15 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-18 21:32:15 +0000
commitb4b6c9398af6a6d28d3ab8b94a3c887665fed721 (patch)
treec9315ae4c60573177dc0aa04b5e8778e4de54ab3 /sim/mips/interp.c
parentfd3c93d5a77694089186447883c554cb83677b3e (diff)
downloadfsf-binutils-gdb-b4b6c9398af6a6d28d3ab8b94a3c887665fed721.zip
fsf-binutils-gdb-b4b6c9398af6a6d28d3ab8b94a3c887665fed721.tar.gz
fsf-binutils-gdb-b4b6c9398af6a6d28d3ab8b94a3c887665fed721.tar.bz2
* interp.c (sim_firmware_command): Initialize `address'.
Diffstat (limited to 'sim/mips/interp.c')
-rw-r--r--sim/mips/interp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index d069d2b..b2828e0 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -1077,7 +1077,10 @@ sim_firmware_command (SIM_DESC sd, char *arg)
}
}
else
- address_present = 0;
+ {
+ address_present = 0;
+ address = -1; /* Dummy value. */
+ }
}
if (! strncmp (arg, "idt", 3))