|
1 | 1 | #!/bin/sh
|
2 | 2 |
|
3 |
| -# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.11 2008/03/18 23:23:08 momjian Exp $ |
| 3 | +# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.12 2009/06/10 03:38:32 momjian Exp $ |
4 | 4 |
|
5 | 5 | # This script attempts to find all typedef's in the postgres binaries
|
6 | 6 | # by using 'nm' to report all typedef debugging symbols.
|
@@ -49,7 +49,7 @@ do# if objdump -W is recognized, only one line of error should appear
|
49 | 49 | awk' $2 == "DW_AT_name" {print $NF}'
|
50 | 50 | else# BSD/OS
|
51 | 51 | objdump --stabs"$DIR"/*|
|
52 |
| -awk' $2 == "LSYM" && $7 ~ /:[tT]/ {sub(":.*", "", $7); print $7}' |
| 52 | +awk' $2 == "LSYM" && $7 ~ /:t/ {sub(":.*", "", $7); print $7}' |
53 | 53 | fi
|
54 | 54 | done|
|
55 | 55 | grep -v''|# some typedefs have spaces, remove them
|
|