On Mon, Dec 10, 2012 at 11:02:22PM -0500, C. Michael Pilato wrote:
> On 12/10/2012 07:32 PM, Daniel Shahaf wrote:
> > Gabriela Gibson wrote on Tue, Dec 11, 2012 at 00:21:19 +0000:
> >> For my initial submission I have written a test for issue 4263 which
> >> I'll mail shortly.  I admit that I struggled to figure out how to
> >> connect gdb to svnrdump in my build tree (since svnrdump is actually a
> >> shell script, and svnrdump reads from stdin) but I am now working on a
> >> fix for 4263.
> >>
> > 
> > libtool --mode=execute gdb -args subversion/svnrdump/svnrdump
> > 
> > (documentation patches welcome...)
> 
> I often run gdb using subversion/svnrdump/.libs/lt-svnrdump.  But note that
> that program doesn't exist until after the first post-compilation invocation
> of subversion/svnrdump/svnrdump itself, so I'm thankful to also learn of the
> method Daniel reports here.

For completion, need to re-set $SHELL too:

libtool --mode=execute env SHELL=$SHELL gdb ./subversion/svn/svn

(That is so shelling out from gdb will start your $SHELL, rather than sh.)

Reply via email to