diff options
author | Michal Ludvig <mludvig@suse.cz> | 2002-10-24 01:27:43 +0000 |
---|---|---|
committer | Michal Ludvig <mludvig@suse.cz> | 2002-10-24 01:27:43 +0000 |
commit | baed091b2b498c9cd74af81c6891ad13c312ee47 (patch) | |
tree | 8d0c14b78632129a54f17525e54f40fc030ace67 /gdb/x86-64-tdep.h | |
parent | c38da1aff132c1c35324c97cc89efd3629a006e5 (diff) | |
download | gdb-baed091b2b498c9cd74af81c6891ad13c312ee47.zip gdb-baed091b2b498c9cd74af81c6891ad13c312ee47.tar.gz gdb-baed091b2b498c9cd74af81c6891ad13c312ee47.tar.bz2 |
2002-10-24 Michal Ludvig <mludvig@suse.cz>
* dwarf2cfi.c (struct context)
(struct context_reg): Moved to dwarf2cfi.h
(context_alloc, frame_state_alloc, context_cpy):
Made extern instead of static, removed prototypes.
* dwarf2cfi.h (struct context)
(struct context_reg): New, moved from dwarf2cfi.c
(context_alloc, frame_state_alloc, context_cpy):
New prototypes.
* x86-64-linux-tdep.c (x86_64_linux_sigtramp_saved_pc):
Changed from static to extern.
(LINUX_SIGINFO_SIZE, LINUX_SIGCONTEXT_PC_OFFSET)
(LINUX_SIGCONTEXT_FP_OFFSET)
(LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Adjusted.
(x86_64_linux_in_sigtramp, x86_64_linux_frame_chain)
(x86_64_init_frame_pc, x86_64_init_extra_frame_info): New.
* x86-64-tdep.c (x86_64_gdbarch_init): Several
set_gdbarch_*() calls now use x86-64 specific functions
instead of DWARF2 CFI ones.
* x86-64-tdep.h (x86_64_linux_in_sigtramp)
(x86_64_linux_frame_chain, x86_64_init_frame_pc)
(x86_64_init_extra_frame_info): New prototypes.
Diffstat (limited to 'gdb/x86-64-tdep.h')
-rw-r--r-- | gdb/x86-64-tdep.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/x86-64-tdep.h b/gdb/x86-64-tdep.h index 7114860..fd23a7a 100644 --- a/gdb/x86-64-tdep.h +++ b/gdb/x86-64-tdep.h @@ -31,8 +31,12 @@ extern int x86_64_num_gregs; int x86_64_register_number (const char *name); const char *x86_64_register_name (int reg_nr); - gdbarch_frame_saved_pc_ftype x86_64_linux_frame_saved_pc; 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 |