summaryrefslogtreecommitdiff
path: root/sim/mips
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
commita8cabba9ec4be091b4144015abd3b1ff62d00e5c (patch)
tree7fd9cee3f23d642062d4c49b5160f046c7a982f3 /sim/mips
parent022a97a5955514094f3a74b2af41dc7c95730180 (diff)
downloadgdb-a8cabba9ec4be091b4144015abd3b1ff62d00e5c.tar.gz
* interp.c (sim_firmware_command): Initialize `address'.
Diffstat (limited to 'sim/mips')
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/interp.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 350a53a21ef..56e5de7c8f8 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-18 Andrew Cagney <cagney@redhat.com>
+
+ * interp.c (sim_firmware_command): Initialize `address'.
+
2002-06-16 Andrew Cagney <ac131313@redhat.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index d069d2bc834..b2828e03885 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))