git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6e8d957)
Mention BSD/OS find_typedef behavior.
2009年6月12日 03:04:48 +0000 (03:04 +0000)
2009年6月12日 03:04:48 +0000 (03:04 +0000)

diff --git a/src/tools/find_typedef b/src/tools/find_typedef
index 0474245ba695a25b61bd1506d1b0488fd2078e89..43aa932be70e7716f48661d09d9b220a7be05827 100755 (executable)
--- a/src/tools/find_typedef
+++ b/src/tools/find_typedef
@@ -1,6 +1,6 @@
#!/bin/sh
-# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.14 2009年06月11日 03:14:08 momjian Exp $
+# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.15 2009年06月12日 03:04:48 momjian Exp $
# This script attempts to find all typedef's in the postgres binaries
# by using 'nm' to report all typedef debugging symbols.
@@ -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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /