This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH} Minor bug fix in arch-utils.c
- To: <gdb-patches at sources dot redhat dot com>
- Subject: [PATCH} Minor bug fix in arch-utils.c
- From: "John S Kallal" <jskallal at home dot com>
- Date: Thu, 26 Apr 2001 19:34:14 -0400
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;
}
}
}