Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
09cba662
Commit
09cba662
authored
Jun 10, 2009
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Linux typedef code.
parent
208d3a75
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/tools/find_typedef
src/tools/find_typedef
+2
-2
No files found.
src/tools/find_typedef
View file @
09cba662
#!/bin/sh
# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.1
2 2009/06/10 03:38:32
momjian Exp $
# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.1
3 2009/06/10 15:13:45
momjian Exp $
# This script attempts to find all typedef's in the postgres binaries
# by using 'nm' to report all typedef debugging symbols.
...
...
@@ -45,7 +45,7 @@ do # if objdump -W is recognized, only one line of error should appear
# the typedef references, not the definitions, so I think it might
# be fine
objdump
-W
"
$DIR
"
/
*
|
egrep
-A3
'
(DW_TAG_typedef|DW_TAG_structure_type|DW_TAG_union_type)
'
|
egrep
-A3
'
DW_TAG_typedef
'
|
awk
' $2 == "DW_AT_name" {print $NF}'
else
# BSD/OS
objdump
--stabs
"
$DIR
"
/
*
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment