From: Johannes Schindelin Date: Fri, 30 Oct 2015 18:42:11 GMT Subject: Re: [PATCH 3/6] Facilitate debugging Git executables in tests with gdb Message-ID: In-Reply-To: <5631AB75.5030800@gmail.com> Hi Victor, On Thu, 29 Oct 2015, Victor Leschuk wrote: > > +if test -n "$TEST_GDB_GIT" > > +then > > + exec gdb -args "${GIT_EXEC_PATH}/@@PROG@@" "$@" > Maybe we could make $TEST_GDB_GIT not just a boolean flag? It would be useful > to contain "gdb" executable name. It would allow to set path to GDB when it > is not in $PATH, set different debuggers (for example, I usually use cgdb), > or even set it to /path/to/gdb_wrapper.sh which could contain different gdb > options and tunings. Sure, as long as TEST_GDB_GIT=1 still works. Why don't you make an add-on patch and submit it? Ciao, Johannes