diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-11-11 16:23:58 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-11-11 16:23:58 +0000 |
commit | 8971b011f4f44b949016da9ff4c2667f4c223820 (patch) | |
tree | e6c288c6573bfadfcfd83174117382df62e70351 /gdb/blockframe.c | |
parent | 4f17cc1330ce2bbeac00f1e5ef0db7bea2087a36 (diff) | |
download | gdb-8971b011f4f44b949016da9ff4c2667f4c223820.zip gdb-8971b011f4f44b949016da9ff4c2667f4c223820.tar.gz gdb-8971b011f4f44b949016da9ff4c2667f4c223820.tar.bz2 |
2002-11-11 Andrew Cagney <ac131313@redhat.com>
* blockframe.c (sigtramp_saved_pc): Fix tipo. void_func_ptr
instead of void_code_ptr.
(sigtramp_saved_pc): Ditto.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |