From: Jonathan Nieder Date: Fri, 30 Oct 2015 21:30:09 GMT Subject: Re: [PATCH 3/6] Facilitate debugging Git executables in tests with gdb Message-ID: <20151030213009.GJ7881@google.com> In-Reply-To: <20151030195611.GC5486@sigill.intra.peff.net> Jeff King wrote: > Somebody suggested elsewhere that the name "gdb" be configurable. We > could stick that in the same variable, like: > > test "$GIT_TEST_GDB" = 1 && GIT_TEST_GDB=gdb > exec ${GIT_TEST_GDB} --args ... > > but that does not play well with the "debug" function, which does not > know which value to set it to. I guess we would need GIT_TEST_GDB_PATH > or something. *nod* I think having a separate variable like GIT_TEST_GDB_COMMAND would be fine. An interested person could also replace 'gdb --args' with 'lldb --' if they want to.