diff options
author | unknown <msvensson@pilot.blaudden> | 2007-04-13 14:40:52 +0200 |
---|---|---|
committer | unknown <msvensson@pilot.blaudden> | 2007-04-13 14:40:52 +0200 |
commit | 02441231ea1d821869b7bbbfbec1a903d0e5a1b7 (patch) | |
tree | a466e96541266da334c352c1e43ba21cfc17ea09 /mysql-test/mysql-test-run.pl | |
parent | b7069c27f34a7f2951859aedd8ef15e7da1bba58 (diff) | |
download | mariadb-git-02441231ea1d821869b7bbbfbec1a903d0e5a1b7.tar.gz |
Add missing option --manual-ddd
Change syntax to start manual gdb/ddd to avoid having to
cd to the mysql-test directory before calling the command
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 2fa9547535f..b0c142ba07b 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -587,6 +587,7 @@ sub command_line_setup () { 'manual-debug' => \$opt_manual_debug, 'ddd' => \$opt_ddd, 'client-ddd' => \$opt_client_ddd, + 'manual-ddd' => \$opt_manual_ddd, 'debugger=s' => \$opt_debugger, 'client-debugger=s' => \$opt_client_debugger, 'strace-client' => \$opt_strace_client, @@ -4647,8 +4648,7 @@ sub gdb_arguments { if ( $opt_manual_gdb ) { print "\nTo start gdb for $type, type in another window:\n"; - print "cd $glob_mysql_test_dir;\n"; - print "gdb -x $gdb_init_file $$exe\n"; + print "gdb -cd $glob_mysql_test_dir -x $gdb_init_file $$exe\n"; # Indicate the exe should not be started $$exe= undef; @@ -4712,8 +4712,7 @@ sub ddd_arguments { if ( $opt_manual_ddd ) { print "\nTo start ddd for $type, type in another window:\n"; - print "cd $glob_mysql_test_dir;\n"; - print "ddd -x $gdb_init_file $$exe\n"; + print "ddd -cd $glob_mysql_test_dir -x $gdb_init_file $$exe\n"; # Indicate the exe should not be started $$exe= undef; |