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]
Other format: [Raw text]

[commit] Sort gdbarch dump by function name


Another case where using the gdbarch MACRO name is wrong, fixed.
Andrew
2004-06-20  Andrew Cagney  <cagney@gnu.org>

	* gdbarch.sh: Sort by the function, instead of macro name.
	* gdbarch.c: Re-generate.
	
Index: gdbarch.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdbarch.sh,v
retrieving revision 1.329
diff -p -u -r1.329 gdbarch.sh
--- gdbarch.sh	20 Jun 2004 19:17:17 -0000	1.329
+++ gdbarch.sh	20 Jun 2004 23:25:11 -0000
@@ -1538,7 +1538,7 @@ gdbarch_dump (struct gdbarch *current_gd
                       "gdbarch_dump: GDB_MULTI_ARCH = %d\\n",
                       GDB_MULTI_ARCH);
 EOF
-function_list | sort -t: -k 2 | while do_read
+function_list | sort -t: -k 4 | while do_read
 do
     # First the predicate
     if class_is_predicate_p

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