public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* macro database in 5.0
@ 2001-07-31  8:46 Ingold Chuck (NMP/Boston)
  0 siblings, 0 replies; only message in thread
From: Ingold Chuck (NMP/Boston) @ 2001-07-31  8:46 UTC (permalink / raw)
  To: sourcenav

Hi,

Congrats and thanks for an excellent tool!
I've had a great time examining source code by reading your database
files from Python.

My question concerns the macro database.
I've dumped the contents with dumpdb.exe, and
the start_position and end_position seem to refer to the macro symbol
rather then the content of the macro.  Is this intended?

Example: 

// Line 27 of Myfile.c follows
#define MY_STRING "Some text"

The entry dumped from the .ma file looks like 
MY_STRING 000027.0008 C:/test/Myfile.c;000027.0017 0x0 {} {} {} {}
while I would expect a line like 
MY_STRING 000027.0008 C:/test/Myfile.c;000027.0029 0x0 {} {} {} {}
which covers the content of the macro.  

That would match the behavior of the .fu entries.

Or maybe I'm not seeing something clearly

-- Chuck

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-31  8:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-31  8:46 macro database in 5.0 Ingold Chuck (NMP/Boston)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).