From 938f5214c6828b547fa0ed7e54d73c368ab2e401 Mon Sep 17 00:00:00 2001 From: Thiago Jung Bauermann Date: Sat, 3 May 2008 23:24:17 +0000 Subject: 2008-05-03 Luis Machado Thiago Jung Bauermann * cli/cli-decode.c (lookup_cmd_1): Fix indentation. * doublest.c (convert_typed_floating): Fix typo in comment. * dwarf2-frame.c (dwarf2_frame_cache): Likewise. * frame-unwind.h (frame_sniffer_ftype): Likewise. * frame.c (frame_unwind_address_in_block): Likewise. * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Likewise. * symtab.h (struct symbol): Likewise. * tramp-frame.h (struct trad_frame_cache): Likewise. * value.c (allocate_repeat_value): Likewise. --- gdb/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/frame.c') diff --git a/gdb/frame.c b/gdb/frame.c index f59cbeb..3658b0a 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -1535,7 +1535,7 @@ frame_unwind_address_in_block (struct frame_info *next_frame, /* If THIS frame is not inner most (i.e., NEXT isn't the sentinel), and NEXT is `normal' (i.e., not a sigtramp, dummy, ....) THIS - frame's PC ends up pointing at the instruction fallowing the + frame's PC ends up pointing at the instruction following the "call". Adjust that PC value so that it falls on the call instruction (which, hopefully, falls within THIS frame's code block). So far it's proved to be a very good approximation. See -- cgit v1.1