From b4b6c9398af6a6d28d3ab8b94a3c887665fed721 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 18 Jun 2002 21:32:15 +0000 Subject: * interp.c (sim_firmware_command): Initialize `address'. --- sim/mips/ChangeLog | 4 ++++ sim/mips/interp.c | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'sim/mips') diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 350a53a..56e5de7 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2002-06-18 Andrew Cagney + + * interp.c (sim_firmware_command): Initialize `address'. + 2002-06-16 Andrew Cagney * configure: Regenerated to track ../common/aclocal.m4 changes. 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)) -- cgit v1.1