* x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info to

cfi_init_extra_frame_info.
* x86-64-tdep.h (x86_64_init_extra_frame_info): Remove prototype.
* x86-64-linux-tdep.c (x86_64_init_extra_frame_info): Remove function.
This commit is contained in:
Mark Kettenis 2002-10-26 17:04:37 +00:00
parent b83b026cdc
commit e3033f1585
4 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,10 @@
2002-10-26 Mark Kettenis <kettenis@gnu.org>
* x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info to
cfi_init_extra_frame_info.
* x86-64-tdep.h (x86_64_init_extra_frame_info): Remove prototype.
* x86-64-linux-tdep.c (x86_64_init_extra_frame_info): Remove function.
* x86-64-tdep.c (x86_64_init_abi): Add calls to override the i386
target where necessary. Add more comments and remove the ones
that don't provide any useful information.

View File

@ -189,9 +189,3 @@ x86_64_init_frame_pc (int fromleaf, struct frame_info *fi)
else
cfi_init_frame_pc (fromleaf, fi);
}
void
x86_64_init_extra_frame_info (int fromleaf, struct frame_info *fi)
{
cfi_init_extra_frame_info (fromleaf, fi);
}

View File

@ -1019,7 +1019,7 @@ x86_64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_dwarf2_build_frame_info (gdbarch, dwarf2_build_frame_info);
/* Initialization of per-frame CFI. */
set_gdbarch_init_extra_frame_info (gdbarch, x86_64_init_extra_frame_info);
set_gdbarch_init_extra_frame_info (gdbarch, cfi_init_extra_frame_info);
/* Frame PC initialization is handled by using CFI. */
set_gdbarch_init_frame_pc (gdbarch, x86_64_init_frame_pc);

View File

@ -36,7 +36,6 @@ gdbarch_saved_pc_after_call_ftype x86_64_linux_saved_pc_after_call;
gdbarch_pc_in_sigtramp_ftype x86_64_linux_in_sigtramp;
CORE_ADDR x86_64_linux_frame_chain (struct frame_info *fi);
void x86_64_init_frame_pc (int fromleaf, struct frame_info *fi);
void x86_64_init_extra_frame_info (int fromleaf, struct frame_info *fi);
#endif