Name

pdbtree — Prints the source file inclusion tree, class hierarchy (IS-A + HAS-A), and function call graph.

Synopsis

pdbtree [ -C ] [ -R ] [ -S ] { <pdbfile> }

Description

Prints the source file inclusion tree, class hierarchy (IS-A + HAS-A), and function call graph.

Options

-C Print only the (C)lass hierarchy

-R Print only the (R)outine call graph

-S Print only the (S)ource file inclusion tree

Note

Class hierarchy is a DAG, not a tree, and therefore display is bad.

Example

%>pdbtree -R tutorial.pdb  
void B::callA(A)
`--> bool A::isZero(int)