Re: Crashing gdb with python-prettyprinting

Petr Hluzín
2010-07-30T19:53:07Z

On 30 July 2010 21:12, Tom Tromey <tromey@redhat.com> wrote:
> Joachim> I also tried to run gdb with duma to find the memory failure,
> Joachim> where the frame_info is overwritten, but with running duma each
> Joachim> step and each function call of gdb gets damn slow.
>
> I don't know what duma is.  I tend to use valgrind for this sort of
> thing.  That is slower than running native, but for most things, not
> unbearably so.

FYI: DUMA is a GLP library to detect buffer overruns and under-runs in
C and C++ programs. http://duma.sourceforge.net/

Basically it works the same way as ElectricFence (guard page after
each allocation).
I am sad to hear it is slow.

--
Petr Hluzin