diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-10-26 17:04:37 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-10-26 17:04:37 +0000 |
commit | e3033f1585b6acef795a8b8f601ed19bcfcf1375 (patch) | |
tree | bc874cbffb65f999f52923a559b2627acccea3c8 /gdb | |
parent | b83b026cdc2e2dafe9a7b4a7e06972ec030d63be (diff) | |
download | gdb-e3033f1585b6acef795a8b8f601ed19bcfcf1375.zip gdb-e3033f1585b6acef795a8b8f601ed19bcfcf1375.tar.gz gdb-e3033f1585b6acef795a8b8f601ed19bcfcf1375.tar.bz2 |
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/x86-64-linux-tdep.c | 6 | ||||
-rw-r--r-- | gdb/x86-64-tdep.c | 2 | ||||
-rw-r--r-- | gdb/x86-64-tdep.h | 1 |
4 files changed, 6 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 91e8fe9..85da82f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/x86-64-linux-tdep.c b/gdb/x86-64-linux-tdep.c index 146a7a0..b8385a6 100644 --- a/gdb/x86-64-linux-tdep.c +++ b/gdb/x86-64-linux-tdep.c @@ -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); -} diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c index 194be85..24e2472 100644 --- a/gdb/x86-64-tdep.c +++ b/gdb/x86-64-tdep.c @@ -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); diff --git a/gdb/x86-64-tdep.h b/gdb/x86-64-tdep.h index 9fb2fd0..4e73206 100644 --- a/gdb/x86-64-tdep.h +++ b/gdb/x86-64-tdep.h @@ -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 |