find_typedef on Linux

From: Sailesh Krishnamurthy <sailesh(at)cs(dot)berkeley(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: find_typedef on Linux
Date: 2003-07-15 07:47:12
Message-ID: bxy1xws8c5b.fsf@datafix.cs.berkeley.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Friends

src/tools/find_typedef has in its prolog:

# This script attempts to find all typedef's in the postgres binaries
# by using 'nm' to report all typedef debugging symbols.
#
# For this program to work, you must have compiled all binaries with
# debugging symbols.
#
# This is run on BSD/OS 4.0, so you may need to make changes.

I'm trying to run find_typedef on Linux and I don't get any output
(I'm on a 7.3.2 base). I tried playing with different options to
objdump (tried --syms instead of --stabs) to no avail.

Is there something I need to pass to configure to ensure that all
binaries are built appropriately ? That is, something _other_ than
--enable-debug as I always have that anyways.

Thanks !

--
Pip-pip
Sailesh
http://www.cs.berkeley.edu/~sailesh

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Carlos Guzman Alvarez 2003-07-15 07:53:27 Re: Transaction handling in extended query mode and Sync
Previous Message Nikolay Kim 2003-07-15 03:25:49 Re: ERROR: MemoryContextAlloc: invalid request size