🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42518

GCC as program info tool? (symtab dumps, etc)

#42518
From: Tom Horsley
Date: Thu, 30 Nov 1995 00:00
28 lines
1810 bytes
I've been looking into building a fairly gigantic set of interface modules
between perl5 and the X11 toolkits and Wcl. One of the things I will need to
do is teach perl how to access all the callback structs and call all the
utility functions associated with each widget, etc.

I could really use an automated tool that would dump struct type definitions
along with the struct layout, also function prototypes, etc. in an easy to
parse form so I could transform it into a perl5 module.

Since gcc already knows how to parse C, and also knows how to dump this
information in a variety of different debug info formats, I was wondering if
anyone was working on (or maybe already has) an option to gcc to make it
dump this kind of program info in a relatively easy to parse fashion?
(hopefully easier to parse than C :-).

Perhaps someone is working on a program "browser" tool and uses gcc to
gather the database such a tool would need?

I may try to tackle this myself if no one else has already done it.

Thanks for any info you can provide...
--
--
Tom.Horsley@mail.hcsc.com
Home: 511 Kingbird Circle Delray Beach FL  33444
Work: Harris Computers, 2101 W. Cypress Creek Rd. Ft. Lauderdale FL  33309
Support Project Vote Smart! They need your support in non-election years too!
(email pvs@neu.edu, 1-800-622-SMART, http://www.vote-smart.org)
Technical Details
Message-ID: <TOM.95Nov30090454@amber.ssd.csd.harris.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,fe005a5a33560ebc,start
X-Google-Attributes: gid11318c,public
From: tom@ssd.csd.harris.com (Tom Horsley)
Subject: GCC as program info tool? (symtab dumps, etc)
Date: 1995/11/30
Message-ID: <TOM.95Nov30090454@amber.ssd.csd.harris.com>
X-Deja-AN: 120512454
organization: Harris Computer Systems Corporation
reply-to: Tom.Horsley@mail.hcsc.com
newsgroups: gnu.gcc.help