* gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the

list of predefined types.
This commit is contained in:
Andrew Cagney 2002-06-17 19:56:15 +00:00
parent 32c95e2031
commit 9b02dd1b32
2 changed files with 9 additions and 1 deletions

View File

@ -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,

View File

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