mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
Josef Wolf's extension that allows a $TESTDIR/gdbinit$testnum file that when
you use runtests.pl -g, will be sourced by gdb to allow additional fancy or whatever you see fit
This commit is contained in:
parent
0b489c7e61
commit
4741e64c89
@ -2097,9 +2097,11 @@ sub singletest {
|
||||
}
|
||||
|
||||
if($gdbthis) {
|
||||
my $gdbinit = "$TESTDIR/gdbinit$testnum";
|
||||
open(GDBCMD, ">$LOGDIR/gdbcmd");
|
||||
print GDBCMD "set args $cmdargs\n";
|
||||
print GDBCMD "show args\n";
|
||||
print GDBCMD "source $gdbinit\n" if -e $gdbinit;
|
||||
close(GDBCMD);
|
||||
}
|
||||
# run the command line we built
|
||||
|
Loading…
Reference in New Issue
Block a user