aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-03-27 23:56:15 +0000
committerJohn Gilmore <gnu@cygnus>1992-03-27 23:56:15 +0000
commitc2e4669f8cc511833f293fdc03f6d63ee442bc9c (patch)
treed944a22860d9e589d4246341ba28c2a8afc35a64 /gdb/rs6000-tdep.c
parent46f88c11388317086f7963b7ff3cfdd0aad48941 (diff)
downloadgdb-c2e4669f8cc511833f293fdc03f6d63ee442bc9c.zip
gdb-c2e4669f8cc511833f293fdc03f6d63ee442bc9c.tar.gz
gdb-c2e4669f8cc511833f293fdc03f6d63ee442bc9c.tar.bz2
Misc cleanups from code review.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 297e77d..fea31f1 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -835,8 +835,11 @@ int fram;
-/* Indirect function calls use a piece of trampoline code do co context switching,
- i.e. to set the new TOC table. Skip such code if exists. */
+/* Indirect function calls use a piece of trampoline code to do context
+ switching, i.e. to set the new TOC table. Skip such code if we are on
+ its first instruction (as when we have single-stepped to here).
+ Result is desired PC to step until, or NULL if we are not in
+ trampoline code. */
skip_trampoline_code (pc)
int pc;