delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/27/15:19:33

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Function Call Hiearchy Diagram Tool
Date: Thu, 27 Mar 1997 12:19:32 +0100
Organization: TU Chemnitz-Zwickau
Lines: 29
Message-ID: <333A57C4.16C1@Mathematik.tu-chemnitz.de>
References: <5hcrgn$l6a AT netra DOT montana DOT edu>
NNTP-Posting-Host: process.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Paul Peavyhouse wrote:
> 
>         Does anyone know if there are any utilities that will build a
> hierarchy diagram of function calls in a program's source code?  The diagram

From the source code?? What a sense shuold this make?

> should look like a Windows Explorer tree, with "void main(void)" (or whatever)
> at the top (level 0), and ever function called from main would be drawn as a
> node off main with a level of 1, and every function from those functions would
> be drawn as another node off those nodes, etc etc.

And what is, if you have recursive functions? 

>         This seems like a really useful tool for tracing function calls to
> deeper and deeper levels, and I thought that there may be a tool like this

You can use in RHIDE the "Call stack" window when debugging to get
the function call history or in GDB you can use the backtrace 
command.

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019