* rs6000-nat.c: Whitespace tweaks.
2005-01-13 Michael Snyder <msnyder@redhat.com>
+ * rs6000-tdep.c: Whitespace tweaks.
+ * rs6000-nat.c: Whitespace tweaks.
* remote.c: Whitespace tweaks.
* remote-st.c: Whitespace tweaks.
* remote-sim.c: Whitespace tweaks.
vmap_symtab (vp);
/* Announce new object files. Doing this after symbol relocation
- makes aix-thread.c's job easier. */
+ makes aix-thread.c's job easier. */
if (deprecated_target_new_objfile_hook && vp->objfile)
deprecated_target_new_objfile_hook (vp->objfile);
\f
/* xcoff_relocate_symtab - hook for symbol table relocation.
- also reads shared libraries.. */
+ also reads shared libraries. */
void
xcoff_relocate_symtab (unsigned int pid)
void
_initialize_core_rs6000 (void)
{
- /* Initialize hook in rs6000-tdep.c for determining the TOC address when
- calling functions in the inferior. */
+ /* Initialize hook in rs6000-tdep.c for determining the TOC address
+ when calling functions in the inferior. */
rs6000_find_toc_address_hook = find_toc_address;
- /* Initialize hook in rs6000-tdep.c to set the current architecture when
- starting a child process. */
+ /* Initialize hook in rs6000-tdep.c to set the current architecture
+ when starting a child process. */
rs6000_set_host_arch_hook = set_host_arch;
deprecated_add_core_fns (&rs6000_core_fns);
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)
/* 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);