aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc64-tdep.c
diff options
context:
space:
mode:
authorWei-cheng Wang <cole945@gmail.com>2015-01-19 23:34:07 +0800
committerWei-cheng Wang <cole945@gmail.com>2015-01-21 23:38:09 +0800
commitddeca1dffbe346eea03b893bf3c5bc46e4439e93 (patch)
tree2d627a297d094454ea1c0b5599ed973685863d2b /gdb/ppc64-tdep.c
parent6c1965f995bc8119c0775f2f9b648a1902e6e210 (diff)
downloadgdb-ddeca1dffbe346eea03b893bf3c5bc46e4439e93.zip
gdb-ddeca1dffbe346eea03b893bf3c5bc46e4439e93.tar.gz
gdb-ddeca1dffbe346eea03b893bf3c5bc46e4439e93.tar.bz2
Add missing comments in rs6000-tdep.c, ppc64-tdep.c and ppc-linux-tdep.c.
gdb/ChangeLog: * ppc-linux-tdep.c (ppc_skip_trampoline_code, ppc_canonicalize_syscall, ppc_linux_syscall_record, ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments. * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise. * rs6000-tdep.c (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4, ppc_process_record_op19, ppc_process_record_op31, ppc_process_record_op59, ppc_process_record_op60, ppc_process_record_op63): Likewise.
Diffstat (limited to 'gdb/ppc64-tdep.c')
-rw-r--r--gdb/ppc64-tdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ppc64-tdep.c b/gdb/ppc64-tdep.c
index 66d7b23..bb23b6a 100644
--- a/gdb/ppc64-tdep.c
+++ b/gdb/ppc64-tdep.c
@@ -449,7 +449,10 @@ ppc64_standard_linkage4_target (struct frame_info *frame,
/* Given that we've begun executing a call trampoline at PC, return
- the entry point of the function the trampoline will go to. */
+ the entry point of the function the trampoline will go to.
+
+ When the execution direction is EXEC_REVERSE, scan backward to
+ check whether we are in the middle of a PLT stub. */
CORE_ADDR
ppc64_skip_trampoline_code (struct frame_info *frame, CORE_ADDR pc)