This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RFA: gdb_indent.sh patch
- From: "J. Johnston" <jjohnstn at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 11 Apr 2003 14:13:43 -0400
- Subject: RFA: gdb_indent.sh patch
- Organization: Red Hat Inc.
The attached patch is needed to properly indent the files that
are in my last patch regarding gcore support for linux.
I needed to add a few C library types.
Ok to commit?
-- Jeff J.
2003-04-11 Jeff Johnston <jjohnstn at redhat dot com>
* gdb_indent.sh: Recognize pid_t and sigset_t as types.
Index: gdb_indent.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdb_indent.sh,v
retrieving revision 1.6
diff -u -r1.6 gdb_indent.sh
--- gdb_indent.sh 27 Jan 2003 21:16:06 -0000 1.6
+++ gdb_indent.sh 11 Apr 2003 18:06:00 -0000
@@ -73,8 +73,8 @@
types="\
-T FILE \
--T bfd -T asection \
--T prgregset_t -T fpregset_t -T gregset_t \
+-T bfd -T asection -T pid_t \
+-T prgregset_t -T fpregset_t -T gregset_t -T sigset_t \
`cat *.h | sed -n \
-e 's/^.*[^a-z0-9_]\([a-z0-9_]*_ftype\).*$/-T \1/p' \
-e 's/^.*[^a-z0-9_]\([a-z0-9_]*_func\).*$/-T \1/p' \