diff options
author | Michael Snyder <msnyder@vmware.com> | 2005-01-14 01:54:49 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2005-01-14 01:54:49 +0000 |
commit | 2ec664f5c4fb44c00c382131f7c2e2d6d557ad06 (patch) | |
tree | be81f811b72542188da0671c6576bd9881a085c2 /gdb/rs6000-tdep.c | |
parent | 238603485fefda11e6baa352ecb91f3781d5c32e (diff) | |
download | gdb-2ec664f5c4fb44c00c382131f7c2e2d6d557ad06.zip gdb-2ec664f5c4fb44c00c382131f7c2e2d6d557ad06.tar.gz gdb-2ec664f5c4fb44c00c382131f7c2e2d6d557ad06.tar.bz2 |
2005-01-13 Michael Snyder <msnyder@redhat.com>
* rs6000-nat.c: Whitespace tweaks.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 8b341b2..96ee67d 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -1721,12 +1721,13 @@ rs6000_extract_return_value (struct type *valtype, char *regbuf, char *valbuf) back to where execution should continue. GDB should silently step over @FIX code, just like AIX dbx does. - Unfortunately, the linker uses the "b" instruction for the branches, - meaning that the link register doesn't get set. Therefore, GDB's usual - step_over_function() mechanism won't work. + Unfortunately, the linker uses the "b" instruction for the + branches, meaning that the link register doesn't get set. + Therefore, GDB's usual step_over_function () mechanism won't work. - Instead, use the IN_SOLIB_RETURN_TRAMPOLINE and SKIP_TRAMPOLINE_CODE hooks - in handle_inferior_event() to skip past @FIX code. */ + Instead, use the IN_SOLIB_RETURN_TRAMPOLINE and + SKIP_TRAMPOLINE_CODE hooks in handle_inferior_event() to skip past + @FIX code. */ int rs6000_in_solib_return_trampoline (CORE_ADDR pc, char *name) @@ -1770,7 +1771,9 @@ rs6000_skip_trampoline_code (CORE_ADDR pc) /* Check for bigtoc fixup code. */ msymbol = lookup_minimal_symbol_by_pc (pc); - if (msymbol && rs6000_in_solib_return_trampoline (pc, DEPRECATED_SYMBOL_NAME (msymbol))) + if (msymbol + && rs6000_in_solib_return_trampoline (pc, + DEPRECATED_SYMBOL_NAME (msymbol))) { /* Double-check that the third instruction from PC is relative "b". */ op = read_memory_integer (pc + 8, 4); |