diff options
author | Steve Chamberlain <sac@cygnus> | 1993-02-01 22:53:24 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-02-01 22:53:24 +0000 |
commit | a332e593227213eedcf63a6a4bc56e1cc85884be (patch) | |
tree | 36556e72d399836701519d9321e9e1f89adf7187 /gdb/parse.c | |
parent | 5cd3dcffbafd0326d887883821bcf4836da7935d (diff) | |
download | gdb-a332e593227213eedcf63a6a4bc56e1cc85884be.zip gdb-a332e593227213eedcf63a6a4bc56e1cc85884be.tar.gz gdb-a332e593227213eedcf63a6a4bc56e1cc85884be.tar.bz2 |
* remote-z8k.c, z8k-tdep.c: support for the Z8001 and Z8002.
* parse.c (std_regs): Only declare if NO_STD_REGS is defined.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index 1327d60..9d96975 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -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. */ |