* interp.c (sim_firmware_command): Initialize `address'.
authorAndrew Cagney <cagney@redhat.com>
Tue, 18 Jun 2002 21:32:15 +0000 (21:32 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 18 Jun 2002 21:32:15 +0000 (21:32 +0000)
sim/mips/ChangeLog
sim/mips/interp.c

index 350a53a..56e5de7 100644 (file)
@@ -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.
index d069d2b..b2828e0 100644 (file)
@@ -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))