*** empty log message ***
[binutils-gdb.git] / gdb / corelow.c
index ead2377e89e8148402b84d13cac6c9616eb88af0..9523f3273192ab60b467fe5807ab334c294d36e7 100644 (file)
@@ -418,6 +418,7 @@ core_open (char *filename, int from_tty)
         usually happen, but we're dealing with input here, which can
         always be broken in different ways.  */
       struct thread_info *thread = first_thread_of_process (-1);
+
       if (thread == NULL)
        {
          inferior_appeared (current_inferior (), CORELOW_PID);
@@ -690,7 +691,6 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
 
          struct bfd_section *section;
          bfd_size_type size;
-         char *contents;
 
          section = bfd_get_section_by_name (core_bfd, ".auxv");
          if (section == NULL)
@@ -722,7 +722,6 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
 
          struct bfd_section *section;
          bfd_size_type size;
-         char *contents;
 
          section = bfd_get_section_by_name (core_bfd, ".wcookie");
          if (section == NULL)
@@ -766,9 +765,8 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
 
          struct bfd_section *section;
          bfd_size_type size;
-         char *contents;
-
          char sectionstr[100];
+
          xsnprintf (sectionstr, sizeof sectionstr, "SPU/%s", annex);
 
          section = bfd_get_section_by_name (core_bfd, sectionstr);
@@ -795,6 +793,7 @@ core_xfer_partial (struct target_ops *ops, enum target_object object,
        {
          /* NULL annex requests list of all present spuids.  */
          struct spuid_list list;
+
          list.buf = readbuf;
          list.offset = offset;
          list.len = len;
@@ -859,6 +858,7 @@ core_pid_to_str (struct target_ops *ops, ptid_t ptid)
       && gdbarch_core_pid_to_str_p (core_gdbarch))
     {
       char *ret = gdbarch_core_pid_to_str (core_gdbarch, ptid);
+
       if (ret != NULL)
        return ret;
     }