Improving GDB startup time with large programs

Andrew Cagney cagney@gnu.org
Mon May 3 15:00:00 GMT 2004


>>> How do I profile gdb?
> 
> 
> When you build gdb, configure as normal.
> Then use this command to build:
> 
>   make CFLAGS='-pg'

Using oprofile is more useful that gprof - it's system wide and less 
intrusive.

Andrew




More information about the Gdb mailing list