This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] comment the startup_gdbarch
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 07 Jun 2003 13:05:17 -0400
- Subject: [commit] comment the startup_gdbarch
Hello,
This tweak adds a comment to each field initialiser for startup_gdbarch.
This way it's easier to see what the generated startup default is.
committed,
Andrew
2003-06-07 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Comment each field of startup_gdbarch.
* gdbarch.h, gdbarch.c: Re-generate.
Index: gdbarch.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdbarch.sh,v
retrieving revision 1.240
diff -u -r1.240 gdbarch.sh
--- gdbarch.sh 2 Jun 2003 02:54:34 -0000 1.240
+++ gdbarch.sh 7 Jun 2003 17:01:46 -0000
@@ -1401,7 +1401,7 @@
do
if class_is_info_p
then
- printf " ${staticdefault},\n"
+ printf " ${staticdefault}, /* ${function} */\n"
fi
done
cat <<EOF
@@ -1415,7 +1415,7 @@
do
if class_is_function_p || class_is_variable_p
then
- printf " ${staticdefault},\n"
+ printf " ${staticdefault}, /* ${function} */\n"
fi
done
cat <<EOF