This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH} Minor bug fix in arch-utils.c


The following is a one line patch to 
end a segmentation fault when the
command 'info architecture' is used
on GDB running on a SUSE-7.0 Linux
system.


2001-04-26  John S Kallal  <jskallal@home.com>

 * arch-utils.c/info_architecture: Remove 2nd 
 pointer list update to correctly follow 
 linked list.
 

--- gdb-org/arch-utils.c Tue Apr 24 10:44:56 2001
+++ gdb/arch-utils.c Tue Apr 24 13:58:17 2001
@@ -612,7 +612,6 @@
         ap = ap->next)
      {
        printf_filtered (" %s", ap->printable_name);
-       ap = ap->next;
      }
  }
     }



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]