find_typedef on Linux

Started by Sailesh Krishnamurthyover 22 years ago2 messages
#1Sailesh Krishnamurthy
sailesh@cs.berkeley.edu

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

#2Gavin Sherry
swm@linuxworld.com.au
In reply to: Sailesh Krishnamurthy (#1)
Re: find_typedef on Linux

On 15 Jul 2003, Sailesh Krishnamurthy wrote:

Friends

src/tools/find_typedef has in its prolog:

Pass -gstabs to gcc.

Gavin