X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fremote-hms.c;h=438d6c6d6c7d97435576573f1770141d8b14bd08;hb=54c2a1e69352852e0cd74552e8560321e29b787e;hp=834f5963dc0f5cd03f097e7c8023f31014cb4f6c;hpb=fba45db2faf619e71856ee38ec63949c0ef6903e;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c index 834f5963dc..438d6c6d6c 100644 --- a/gdb/remote-hms.c +++ b/gdb/remote-hms.c @@ -1,5 +1,6 @@ /* Remote debugging interface for Hitachi HMS Monitor Version 1.0 - Copyright 1995,1999 Free Software Foundation, Inc. + Copyright 1995, 1996, 1998, 1999, 2000, 2001 + Free Software Foundation, Inc. Contributed by Cygnus Support. Written by Steve Chamberlain (sac@cygnus.com). @@ -25,6 +26,7 @@ #include "target.h" #include "monitor.h" #include "serial.h" +#include "regcache.h" static void hms_open (char *args, int from_tty); static void @@ -62,9 +64,9 @@ hms_supply_register (char *regname, int regnamelen, char *val, int vallen) * registers either. So, typing "info reg sp" becomes a "r30". */ -static char *hms_regnames[NUM_REGS] = +static char *hms_regnames[] = { - "R0", "R1", "R2", "R3", "R4", "R5", "R6", "R7", "CCR", "PC" + "R0", "R1", "R2", "R3", "R4", "R5", "R6", "R7", "CCR", "PC", "", "", "", "" }; /*