* remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.

* parse.c (std_regs): Only declare if NO_STD_REGS is defined.
This commit is contained in:
Steve Chamberlain
1993-02-01 22:53:24 +00:00
parent 5cd3dcffba
commit a332e59322
3 changed files with 831 additions and 0 deletions

View File

@@ -50,7 +50,12 @@ prefixify_subexp PARAMS ((struct expression *, struct expression *, int, int));
/* Assign machine-independent names to certain registers
(unless overridden by the REGISTER_NAMES table) */
#ifdef NO_STD_REGS
unsigned num_std_regs = 0;
struct std_regs std_regs[1];
#else
struct std_regs std_regs[] = {
#ifdef PC_REGNUM
{ "pc", PC_REGNUM },
#endif
@@ -63,10 +68,13 @@ struct std_regs std_regs[] = {
#ifdef PS_REGNUM
{ "ps", PS_REGNUM },
#endif
};
unsigned num_std_regs = (sizeof std_regs / sizeof std_regs[0]);
#endif
/* Begin counting arguments for a function call,
saving the data about any containing call. */