summaryrefslogtreecommitdiff
path: root/gdb/alpha-nat.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-12-01 17:13:44 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-12-01 17:13:44 +0000
commit781c534de52e52e6a643aabf502bb199e9261e40 (patch)
treecddb9f00400bcfb31ba42d4942df45229c3736d8 /gdb/alpha-nat.c
parent861281664e4a34c81085ecbc9e626f808010fd0d (diff)
downloadgdb-781c534de52e52e6a643aabf502bb199e9261e40.tar.gz
* alpha-tdep.c (alpha_register_name): Add comment.
(alpha_cannot_fetch_register): Exclude registers numbers which are no longer used from the list of registers that can be fetched. (alpha_cannot_store_register): Exclude registers numbers which are no longer used from the list of registers that can be stored. * alpha-nat.c (fetch_osf_core_registers): Add missing value in core_reg_mapping array.
Diffstat (limited to 'gdb/alpha-nat.c')
-rw-r--r--gdb/alpha-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/alpha-nat.c b/gdb/alpha-nat.c
index 6fe6bdfeec6..f8d04b1c280 100644
--- a/gdb/alpha-nat.c
+++ b/gdb/alpha-nat.c
@@ -80,7 +80,7 @@ fetch_osf_core_registers (char *core_reg_sect, unsigned core_reg_size,
EFL + 8, EFL + 9, EFL + 10, EFL + 11, EFL + 12, EFL + 13, EFL + 14, EFL + 15,
EFL + 16, EFL + 17, EFL + 18, EFL + 19, EFL + 20, EFL + 21, EFL + 22, EFL + 23,
EFL + 24, EFL + 25, EFL + 26, EFL + 27, EFL + 28, EFL + 29, EFL + 30, EFL + 31,
- CF_PC, -1
+ CF_PC, -1, -1
#else
#define EFL (EF_SIZE / 8)
EF_V0, EF_T0, EF_T1, EF_T2, EF_T3, EF_T4, EF_T5, EF_T6,
@@ -91,7 +91,7 @@ fetch_osf_core_registers (char *core_reg_sect, unsigned core_reg_size,
EFL + 8, EFL + 9, EFL + 10, EFL + 11, EFL + 12, EFL + 13, EFL + 14, EFL + 15,
EFL + 16, EFL + 17, EFL + 18, EFL + 19, EFL + 20, EFL + 21, EFL + 22, EFL + 23,
EFL + 24, EFL + 25, EFL + 26, EFL + 27, EFL + 28, EFL + 29, EFL + 30, EFL + 31,
- EF_PC, -1
+ EF_PC, -1, -1
#endif
};