https://bugs.kde.org/show_bug.cgi?id=527435

--- Comment #4 from Alexandra Hajkova <[email protected]> ---
(In reply to Mark Wielaard from comment #3)
> (In reply to Alexandra Hajkova from comment #2)
> > Created attachment 197956 [details]
> > patch
> > 
> > Add --with-gdbinit-dir=DIR to optionally install valgrind-vgdb.py to GDB
> > startup dir and document the new installation option.
> 
> I like this patch. Thanks. So we already have --with-gdbscripts-dir which is
> where the gdb python scripts are installed.
> This usually goes to /usr/share/gdb/auto-load/ where would
> --with-gdbinit-dir go to?
> We should probably add that (and explainthe difference) in the documentation.
> 
> OK if it is clearly documented what the default location would/should be.

--with-dgbinit-dir should go to /etc/gdbinit.d on Fedora because unlike monitor
commands which gdb loads when it dicovers Valgrind preload lib, gdb needs to
load target valgrind at startup

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to