summaryrefslogtreecommitdiff
path: root/gdb/gdb_indent.sh
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
commit9669339edc0472242a7513f0cb44f17604508579 (patch)
tree352fdbc339306d6815eb8aa319e115b50b76e9dd /gdb/gdb_indent.sh
parent1d3bda0a1acaac104085e5c14f17d634668bdcc4 (diff)
downloadgdb-9669339edc0472242a7513f0cb44f17604508579.tar.gz
* gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the
list of predefined types.
Diffstat (limited to 'gdb/gdb_indent.sh')
-rwxr-xr-xgdb/gdb_indent.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/gdb_indent.sh b/gdb/gdb_indent.sh
index 1e727fe2309..0d0829a4a13 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' \