summaryrefslogtreecommitdiff
path: root/gdb/monitor.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-11-17 02:31:06 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-11-17 02:31:06 +0000
commite49ad2d1d5b90c08b47a628a1e68c591029a5a15 (patch)
tree9114b63ccfe6a79e820431e18c8de6f6d8dbc54d /gdb/monitor.c
parent5eae3750b9c334b4674593e17df0ac7a09b53ca0 (diff)
downloadgdb-e49ad2d1d5b90c08b47a628a1e68c591029a5a15.tar.gz
import gdb-1999-11-16 snapshot
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r--gdb/monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c
index c9c6d5a47cc..3a50c9887aa 100644
--- a/gdb/monitor.c
+++ b/gdb/monitor.c
@@ -912,6 +912,7 @@ monitor_supply_register (regno, valstr)
unsigned char regbuf[MAX_REGISTER_RAW_SIZE];
char *p;
+ val = 0;
p = valstr;
while (p && *p != '\0')
{