Article View: gnu.gcc.help
Article #49654Definition & usage information out of gcc?
From: Paul Hudson
Date: Wed, 12 Jan 1994 16:10
Date: Wed, 12 Jan 1994 16:10
22 lines
1625 bytes
1625 bytes
I'd like to restructure a large body of source code (and especially to tidy up the includes). Thus, I'd like to know more about the definitions and usages of things in the source. I would prefer that this is not "name" based like cxref, but that if there is a local variable "x", say, it's definition and uses are distinguished from the definition and uses of a global variable "x". I need to trace all things that can be defined and used - i.e variables, macros, structs, unions, enums, typedefs. It seems to me that instrumenting gcc would be a reasonable approach to generating such a database of information. Has anyone worked on this? I don't much mind the format that the data is produced in - I can munge it appropriately. P. -- Paul Hudson paulh@harlequin.co.uk +44 223 872522 (fax 872519) Harlequin Ltd, Barrington Hall, Barrington, Cambs. CB2 5RG, England "PaulhCo: registered nowhere, no liability at all President: paulh CEO: paulh Founders: paulh@hamjudo.mi.org, paulh@harlequin.com VP Marketing: paulh"
Technical Details
Message-ID:
<CJIy9w.KwK@harlequin.co.uk>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!harlqn.co.uk!harlequin.co.uk!paulhShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,4d8c20024edeadc9,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-12 08:42:57 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!harlqn.co.uk!harlequin.co.uk!paulh From: paulh@harlqn.co.uk (Paul Hudson) Subject: Definition & usage information out of gcc? Message-ID: <CJIy9w.KwK@harlequin.co.uk> Sender: usenet@harlequin.co.uk (Usenet Maintainer) Organization: Harlequin Ltd, Cambridge UK Date: Wed, 12 Jan 1994 16:10:43 GMT Lines: 22