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: Wed, 16 Apr 2003 19:28:00 -0400
- Subject: RFA: gdb_indent.sh patch
- Organization: Red Hat Inc.
The attached patch adds some more types to recognize for gdb_indent.sh.
The changes are needed to properly indent thread-db.c which uses some
libthread_db types.
Ok to commit?
2003-04-16 Jeff Johnston <jjohnstn at redhat dot com>
* gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, td_thr_events_t,
td_notify_t, td_thr_iter_f, and td_thrinfo_t as types.
Index: gdb_indent.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdb_indent.sh,v
retrieving revision 1.7
diff -u -r1.7 gdb_indent.sh
--- gdb_indent.sh 11 Apr 2003 20:56:40 -0000 1.7
+++ gdb_indent.sh 16 Apr 2003 23:12:15 -0000
@@ -75,6 +75,8 @@
-T FILE \
-T bfd -T asection -T pid_t \
-T prgregset_t -T fpregset_t -T gregset_t -T sigset_t \
+-T td_thrhandle_t -T td_event_msg_t -T td_thr_events_t \
+-T td_notify_t -T td_thr_iter_f -T td_thrinfo_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' \