🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by John Tangney Tue, 21 Oct 1986 21:24
Listing structs
#9644
Author: John Tangney
Date: Tue, 21 Oct 1986 21:24
30 lines
1664 bytes
[]
                 Debugging tool/C parser wanted

I need help in acquiring a tool which can be used to dump a 
struct at runtime; that is, list names and values of every 
member.  We are using Microsoft C 4.00 (in conjunction with 
Designer C++).

The names and types of struct members are only known at compile 
time.  Ideally, the compiler would make this information known, 
(by writing it to a separate file, embedding it in the object, 
etc) but the Microsoft compiler has no such facility.  

I could write a utility which will parse the struct definitions 
and extract the information needed for dumping structures.  That 
seems like quite a bit of work, and if I could get my hands on 
such a tool, (or even the source of a C compiler which I could 
modify) that task would be a lot easier.  (Creating tools is 
*part* of the project -- not a project in itself. :-) )

So, if either a ready-to-run tool, or pieces from which I can 
build one exist, please let me know by mail.

Thanks in advance

...philabs!pwa-b!mmintl!johnt

Multimate International, 52 Oakland Ave, East Hartford, CT 06108
phone: (203) 522-2116 (work)
       (203) 247-1140 (home)
Re: Listing structs
#9661
Author: John Young
Date: Mon, 27 Oct 1986 19:18
1 lines
491 bytes
I have such a tool for SVR2 on 3B's.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads