From: Bruce Momjian Date: Fri, 12 Jun 2009 03:04:48 +0000 (+0000) Subject: Mention BSD/OS find_typedef behavior. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=a09e57447ec1d7bfe1dace814d02219e75521057;p=users%2Fsimon%2Fpostgres.git Mention BSD/OS find_typedef behavior. --- diff --git a/src/tools/find_typedef b/src/tools/find_typedef index 5a849ecf7c..9f8e238177 100755 --- a/src/tools/find_typedef +++ b/src/tools/find_typedef @@ -53,6 +53,8 @@ do # if objdump -W is recognized, only one line of error should appear egrep -A3 '\(DW_TAG_typedef\)' | awk ' $1 == "DW_AT_name" {print $NF}' else # BSD/OS + # BSD/OS reports all typedefs, even those defined in system + # include files but never referenced in the PG code. objdump --stabs "$DIR"/* | awk ' $2 == "LSYM" && $7 ~ /:t/ {sub(":.*", "", $7); print $7}' fi