RE: [PATCH 3/6] Facilitate debugging Git executables in tests with gdb
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 1, 2015, 13:37 UTC
- Message-ID
- <alpine.DEB.1.00.1511011436550.31610@s15462909.onlinehome-server.info>
- In-Reply-To
- <6AE1604EE3EC5F4296C096518C6B77EE5D0FDABA0B@mail.accesssoftek.com>
Hi Victor,
On Sat, 31 Oct 2015, Victor Leschuk wrote:
Show 13 quoted lines
> > > +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?
>
> Sure, I will prepare the patch as soon as this one is included in master.Excuse my asking: why do you want to wait?
Ciao, Johannes