quadratic slowdown in 'where' command
Tom Tromey
tromey@redhat.com
Sat Jan 3 19:21:00 GMT 2009
>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:
Paul> While debugging something else, I noticed extreme slowdown of
Paul> 'where' command for a deeply recursive stack trace, and was able
Paul> to reproduce it on a small example (below).
FWIW, I'm able to reproduce this as well.
Paul> The results are also rather interesting: running 'where' by hand
Paul> shows that GDB prints all levels except the last one rather fast,
Paul> but then 'freezes' for a long time printing the last level.
I wasn't able to reproduce this. That is, I ran the test a number of
times, and sometimes I saw this effect, but sometimes I did not.
Could you file this in bugzilla?
Tom
More information about the Gdb
mailing list