aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-17 19:56:15 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-17 19:56:15 +0000
commit9b02dd1b3225a931f328170f95a3733c845cea4d (patch)
treeff0053644a84a5d2458143e6b272d82df8674606 /gdb
parent32c95e2031199f29a5226eb44996bf50434d418d (diff)
downloadgdb-9b02dd1b3225a931f328170f95a3733c845cea4d.zip
gdb-9b02dd1b3225a931f328170f95a3733c845cea4d.tar.gz
gdb-9b02dd1b3225a931f328170f95a3733c845cea4d.tar.bz2
* gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the
list of predefined types.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rwxr-xr-xgdb/gdb_indent.sh5
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f9ba04d..baab6d1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-17 Andrew Cagney <ac131313@redhat.com>
+
+ * gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the
+ list of predefined types.
+
2002-06-16 Mark Kettenis <kettenis@gnu.org>
* config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE,
diff --git a/gdb/gdb_indent.sh b/gdb/gdb_indent.sh
index 1e727fe..0d0829a 100755
--- a/gdb/gdb_indent.sh
+++ b/gdb/gdb_indent.sh
@@ -54,7 +54,10 @@ esac
# Run indent per GDB specs
-types="-T FILE `cat *.h | sed -n \
+types="\
+-T FILE \
+-T prgregset_t -T fpregset_t -T gregset_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' \
-e 's/^typedef.*[^a-zA-Z0-9_]\([a-zA-Z0-9_]*[a-zA-Z0-9_]\);$/-T \1/p' \