aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.c
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-05-01 00:46:59 +0000
committerDavid Carlton <carlton@bactrian.org>2003-05-01 00:46:59 +0000
commitef9fbe8fea19f726e2536e94739cf06b9bb933ca (patch)
tree7c7f7af20631a00cba8782384f49e458f2a9f97b /gdb/alpha-tdep.c
parentc06b06b4e350f10061f2f0fc06273deba7f47825 (diff)
downloadfsf-binutils-gdb-ef9fbe8fea19f726e2536e94739cf06b9bb933ca.zip
fsf-binutils-gdb-ef9fbe8fea19f726e2536e94739cf06b9bb933ca.tar.gz
fsf-binutils-gdb-ef9fbe8fea19f726e2536e94739cf06b9bb933ca.tar.bz2
2003-04-30 David Carlton <carlton@bactrian.org>
* cp-namespace.c (get_namespace_objfile): Copy the namespace objfile's name. * block.h (ALL_BLOCK_SYMBOLS): Move here from dictionary.h. * dictionary.c: Sync up with mainline version I just posted. Specifically, update some commments, and: (dict_create_hashed): Fiddle with nsyms updating. (dict_create_linear): Ditto. (dict_lookup): Delete. (iterator_next_hashed): Delete FIXME comment. (iter_name_first_hashed): Replace 'sym' by 'sym != NULL'. (iter_name_next_hashed): Replate 'next' by 'next != NULL'. * dictionary.h: Sync up with mainline version I just posted: add inclusion guards, delete declaration of dict_lookup, delete ALL_BLOCK_SYMBOLs. * Merge with mainline; tag is carlton_dictionary-20030430-merge.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r--gdb/alpha-tdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 44df63d..4ae4d94 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -293,13 +293,13 @@ alpha_register_name (int regno)
static int
alpha_cannot_fetch_register (int regno)
{
- return (regno == FP_REGNUM || regno == ALPHA_ZERO_REGNUM);
+ return (regno == DEPRECATED_FP_REGNUM || regno == ALPHA_ZERO_REGNUM);
}
static int
alpha_cannot_store_register (int regno)
{
- return (regno == FP_REGNUM || regno == ALPHA_ZERO_REGNUM);
+ return (regno == DEPRECATED_FP_REGNUM || regno == ALPHA_ZERO_REGNUM);
}
static int
@@ -1270,7 +1270,7 @@ alpha_push_dummy_frame (void)
be read as zero and will help us to catch any errors in the dummy frame
retrieval code. */
PROC_DUMMY_FRAME (proc_desc) = sp;
- PROC_FRAME_REG (proc_desc) = FP_REGNUM;
+ PROC_FRAME_REG (proc_desc) = DEPRECATED_FP_REGNUM;
PROC_FRAME_OFFSET (proc_desc) = 0;
sp += PROC_REG_OFFSET (proc_desc);
write_register (SP_REGNUM, sp);
@@ -1807,7 +1807,7 @@ alpha_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* Register info */
set_gdbarch_num_regs (gdbarch, ALPHA_NUM_REGS);
set_gdbarch_sp_regnum (gdbarch, ALPHA_SP_REGNUM);
- set_gdbarch_fp_regnum (gdbarch, ALPHA_FP_REGNUM);
+ set_gdbarch_deprecated_fp_regnum (gdbarch, ALPHA_FP_REGNUM);
set_gdbarch_pc_regnum (gdbarch, ALPHA_PC_REGNUM);
set_gdbarch_fp0_regnum (gdbarch, ALPHA_FP0_REGNUM);
@@ -1926,7 +1926,7 @@ _initialize_alpha_tdep (void)
gdbarch_register (bfd_arch_alpha, alpha_gdbarch_init, alpha_dump_tdep);
- tm_print_insn = print_insn_alpha;
+ deprecated_tm_print_insn = print_insn_alpha;
/* Let the user set the fence post for heuristic_proc_start. */