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]

RFA: gdb_indent.sh patch


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' \

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