From 8971b011f4f44b949016da9ff4c2667f4c223820 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 11 Nov 2002 16:23:58 +0000 Subject: [PATCH] 2002-11-11 Andrew Cagney * blockframe.c (sigtramp_saved_pc): Fix tipo. void_func_ptr instead of void_code_ptr. (sigtramp_saved_pc): Ditto. --- gdb/ChangeLog | 4 ++++ gdb/blockframe.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bd12e11..661fbd9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2002-11-11 Andrew Cagney + * blockframe.c (sigtramp_saved_pc): Fix tipo. void_func_ptr + instead of void_code_ptr. + (sigtramp_saved_pc): Ditto. + * x86-64-tdep.c (i386_fp_regnum_p): Copy i386-tdep.c's i386_fp_regnum_p. diff --git a/gdb/blockframe.c b/gdb/blockframe.c index 29d1c75..1a2a568 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -668,7 +668,7 @@ sigtramp_saved_pc (struct frame_info *frame) { CORE_ADDR sigcontext_addr; char *buf; - int ptrbytes = TYPE_LENGTH (builtin_type_void_code_ptr); + int ptrbytes = TYPE_LENGTH (builtin_type_void_func_ptr); int sigcontext_offs = (2 * TARGET_INT_BIT) / TARGET_CHAR_BIT; buf = alloca (ptrbytes); @@ -684,7 +684,7 @@ sigtramp_saved_pc (struct frame_info *frame) /* Don't cause a memory_error when accessing sigcontext in case the stack layout has changed or the stack is corrupt. */ target_read_memory (sigcontext_addr + SIGCONTEXT_PC_OFFSET, buf, ptrbytes); - return extract_typed_address (buf, builtin_type_void_code_ptr); + return extract_typed_address (buf, builtin_type_void_func_ptr); } #endif /* SIGCONTEXT_PC_OFFSET */ -- 2.7.4