aboutsummaryrefslogtreecommitdiff
path: root/gdb/MAINTAINERS
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-05-28 15:16:34 +0000
committerAndrew Cagney <cagney@redhat.com>2002-05-28 15:16:34 +0000
commit697f244d5b0b161224f7a84abb7bb59fd798afd5 (patch)
tree5a22a4a2e0b45b0775108e46fd37dd0cf036d009 /gdb/MAINTAINERS
parent5221660204752b621f19edc177936310c37e2c88 (diff)
downloadgdb-697f244d5b0b161224f7a84abb7bb59fd798afd5.zip
gdb-697f244d5b0b161224f7a84abb7bb59fd798afd5.tar.gz
gdb-697f244d5b0b161224f7a84abb7bb59fd798afd5.tar.bz2
* MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use
`tr' and `sed'. Mention that `broken' targets are not expected to build.
Diffstat (limited to 'gdb/MAINTAINERS')
-rw-r--r--gdb/MAINTAINERS45
1 files changed, 30 insertions, 15 deletions
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index bc8d01d..8b80d41 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -190,21 +190,36 @@ All recognized developers can make mechanical changes (by virtue of
the obvious fix rule) to ``maintenance only'' targets. The change
shall be sanity checked by compiling with one of the listed targets.
-The GAWK segment:
-
- awk < "${maintainers}" '
- $2 ~ /--target=.*/ {
- targets = gensub (/^.*--target=/, "", 1, $2)
- warnings = gensub (/[)]*$/, "", 1, $3)
- split (targets, targ, /,/)
- for (i in targ) {
- print targ[i], warnings
- }
- }'
-
-can be used to generate a full list of --target=
---enable-gdb-build-warnings= pairs.
-
+The Bourne shell script:
+
+cat MAINTAINERS | tr -s '[\t]' '[ ]' | sed -n '
+/^[ ]*[-a-z0-9\.]*[ ]*[(]*--target=.*/ !d
+s/^.*--target=//
+s/).*$//
+h
+:loop
+ g
+ /^[^ ]*,/ !b end
+ s/,[^ ]*//
+ p
+ g
+ s/^[^,]*,//
+ h
+b loop
+:end
+p
+'
+
+can be used to generate a complete list of --target=
+--enable-gdb-build-warnings= pairs of the form:
+
+ arc-elf ,-Werror
+ ...
+ hppa1.1-hp-proelf broken
+ ...
+
+While the ``broken'' targets are included in the listing, the are not
+expected to build.
Host/Native: