Newsgroups: comp.unix.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!ghost.unimi.it!matteo
From: matteo@ghost.unimi.it (Matteo Gelosa)
Subject: Re: function tree trace for a.out's ?
Message-ID: <1991Apr19.150727.17125@ghost.unimi.it>
Organization: Computer Science Dep. - Milan University
References: <1991Apr8.115049.5485@ohm.york.ac.uk>
Date: Fri, 19 Apr 1991 15:07:27 GMT
Lines: 27

pete@ohm.york.ac.uk (-Pete French.) writes:

	I'm working on an hp9000s855 risc machine and I worked a lot
	with all this stuff 'cause I'm writing an Objective-C debugger.

>Does anyone know of a program which will scan the symbol table of an a.out
>and produce a map showing which functions call which other functions ? It

	You mean a "function called list" for each function, do you?

>is possible to do this by hand using the output from nm - but I am sure

	NM simly maps a function name with is start address, and prints
	it out, so how can you obtain a function calling tree?

>someone must have written a tool to do this.

>Pointers to an ftp site anyone ?

	Anyway, I don't know which machine you're working on so
	I can't tell you anything else!
	Write again on news I will give you help, if I will be able
	to do it.

--
Matteo Gelosa				E-Mail: matteo@ghost.unimi.it
Universita' Statale di Milano - Italy
