Re: Valgrind - exact leak location.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 26 October 2006 11:04, Andrew Haley wrote:
> By default, libstdc++ compiles with -g, so that should be OK.
>  If I were you I'd run the program inside gdb, so that when
> the Valgrind 'invalid read' error tripped I could have a look
> at where exactly it was.

You can make valgrind automatically start the debugger when it 
detects an error using the --db-attach=yes command line option.

-- 
Bill Gallafent.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux