Accept -Wno- prefix in ARI
[deliverable/binutils-gdb.git] / gdb / gdb_indent.sh
index b21016107ade100ada4dd51e50200e28828d3d91..115b99521fcb35ad2fbcdcc19d15ff788d3fe96f 100755 (executable)
@@ -3,6 +3,11 @@
 # Try to find a GNU indent.  There could be a BSD indent in front of a
 # GNU gindent so when indent is found, keep looking.
 
+# Make certain that the script is not running in an internationalized
+# environment.
+LANG=c ; export LANG
+LC_ALL=c ; export LC_ALL
+
 gindent=
 indent=
 paths=`echo $PATH | sed \
@@ -77,6 +82,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' \
This page took 0.03231 seconds and 4 git commands to generate.