diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-09-16 15:03:17 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-09-16 15:03:17 +0000 |
commit | 928e48af4f1074d16dcbb8b8f8d4a6800813ca02 (patch) | |
tree | 44e6c18ecefc5ce1059150df0448f901a348e2ce /gdb/remote-hms.c | |
parent | 4d1310b4a5c5a9a63b8bcf46dfe5ec34c933b340 (diff) | |
download | gdb-928e48af4f1074d16dcbb8b8f8d4a6800813ca02.zip gdb-928e48af4f1074d16dcbb8b8f8d4a6800813ca02.tar.gz gdb-928e48af4f1074d16dcbb8b8f8d4a6800813ca02.tar.bz2 |
* h8300-tdep.c: Multiarch. Drop `set machine' command in favor of
`set architecture'. Unify naming convention of functions.
(h8300_skip_prologue): Improve prologue analysis.
(h8300_push_arguments): Rewritten to more closely match GCC's
bizarre argument-passing behavior, along with the comment describing
said behavior.
* remote-hms.c (hms_regnames): Don't use NUM_REGS in definition.
* config/h8300/tm-h8300.h: Multiarch. Just keep stuff needed by
sim, remote-e7000.c, remote-hms.c and remote.c
Diffstat (limited to 'gdb/remote-hms.c')
-rw-r--r-- | gdb/remote-hms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c index 4a2b088..438d6c6 100644 --- a/gdb/remote-hms.c +++ b/gdb/remote-hms.c @@ -64,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", "", "", "", "" }; /* |