Differences between program runs with and without gdb

Christoph Bartoschek bartoschek@or.uni-bonn.de
Wed Jan 10 14:59:00 GMT 2007


Am Mittwoch, 10. Januar 2007 15:53 schrieb Markus Deuling:
> Hi Christoph,
>
> Christoph Bartoschek schrieb:
> > both parts do not emplain my problem. First the program is single
> > threaded and uses no signals. Second it does not measure time and behaves
> > deterministic. Therefore performance differences should have no effect.
>
> how do you measure that gdb makes your app call memory allocation less
> often ?

Just print a string each time the allocation is called. And then diff the 
normal run and the gdb run.

Christoph



More information about the Gdb mailing list