OSDN Git Service

2005-01-13 Michael Snyder <msnyder@redhat.com>
authormsnyder <msnyder>
Fri, 14 Jan 2005 01:54:46 +0000 (01:54 +0000)
committermsnyder <msnyder>
Fri, 14 Jan 2005 01:54:46 +0000 (01:54 +0000)
* rs6000-nat.c: Whitespace tweaks.

gdb/ChangeLog
gdb/rs6000-nat.c
gdb/rs6000-tdep.c

index e5e26a7..ab1fcd7 100644 (file)
@@ -20,6 +20,8 @@
 
 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.
index 29ef8ac..d0f3ba5 100644 (file)
@@ -910,7 +910,7 @@ vmap_ldinfo (LdInfo *ldi)
          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);
 
@@ -1044,7 +1044,7 @@ set_host_arch (int pid)
 
 \f
 /* xcoff_relocate_symtab -      hook for symbol table relocation.
-   also reads shared libraries.. */
+   also reads shared libraries.  */
 
 void
 xcoff_relocate_symtab (unsigned int pid)
@@ -1246,12 +1246,12 @@ static struct core_fns rs6000_core_fns =
 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);
index 8b341b2..96ee67d 100644 (file)
@@ -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);