diff options
author | Teodor Mircea Ionita <teodor@mariadb.org> | 2018-04-29 19:47:48 +0300 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-05-23 12:52:42 +0300 |
commit | 1ada4afb0a51f7283b6187a95019ec2cb80c8a0b (patch) | |
tree | 99ed30d714956c693c3c0a50e0787bbbd51b5aa1 | |
parent | 6a04c2a1aa60e67c07d4e6ada63f65cc3b26a5a9 (diff) | |
download | mariadb-git-1ada4afb0a51f7283b6187a95019ec2cb80c8a0b.tar.gz |
mtr: use process launch -- args to start mysqld in lldb
gdb's "set args" equivalent for lldb would be "settings set target.run-args",
however it doesn't play well with double dashed args (--).
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index de1871cbf03..ba49d88a85f 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -6051,7 +6051,7 @@ sub lldb_arguments { $input = $input ? "< $input" : ""; # write init file for mysqld or client - mtr_tofile($lldb_init_file, "set args $str $input\n"); + mtr_tofile($lldb_init_file, "process launch --stop-at-entry -- $str $input\n"); print "\nTo start lldb for $type, type in another window:\n"; print "cd $glob_mysql_test_dir && lldb -s $lldb_init_file $$exe\n"; |