diff options
author | Michael Snyder <msnyder@specifix.com> | 2005-01-14 01:54:49 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2005-01-14 01:54:49 +0000 |
commit | f9a7446e4c357d53fbb07aff1e6b730d423bc1db (patch) | |
tree | b78293e5a7d86e8be59f533e534c44e00512752a /gdb/rs6000-tdep.c | |
parent | b775a8fad7d2d8d13fd3d02445a5b3b5d9b7b544 (diff) | |
download | gdb-f9a7446e4c357d53fbb07aff1e6b730d423bc1db.tar.gz |
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 8b341b2d5d7..96ee67dba74 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); |