This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Add caddr_t to gdb_indent.sh; Was: Fix gdb_indent.sh wartin inf-ptrace.c
- From: Andrew Cagney <cagney at gnu dot org>
- To: Mark Kettenis <kettenis at gnu dot org>, gdb-patches at sources dot redhat dot com
- Date: Mon, 27 Sep 2004 09:44:41 -0400
- Subject: [commit] Add caddr_t to gdb_indent.sh; Was: Fix gdb_indent.sh wartin inf-ptrace.c
- References: <200409250829.i8P8TLFM005349@elgar.sibelius.xs4all.nl>
FYI, this fixes the underlying problem, committed.
Andrew
2004-09-27 Andrew Cagney <cagney@gnu.org>
* gdb_indent.sh (types): Add caddr_t to list of predefined types.
Index: gdb_indent.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdb_indent.sh,v
retrieving revision 1.8
diff -p -u -r1.8 gdb_indent.sh
--- gdb_indent.sh 17 Apr 2003 17:18:49 -0000 1.8
+++ gdb_indent.sh 27 Sep 2004 13:42:32 -0000
@@ -77,6 +77,7 @@ types="\
-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 \
+-T caddr_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' \