Commit 479fb6c1 authored by Sergei Golubchik's avatar Sergei Golubchik

./mtr --client-gdb

followup for 339b9055

don't use $opt_gdb for --client-gdb
parent 1f6bd88c
......@@ -5645,7 +5645,9 @@ sub gdb_arguments {
# Put $args into a single string
$input = $input ? "< $input" : "";
if ($type ne 'client' and $opt_valgrind_mysqld) {
if ($type eq 'client') {
mtr_tofile($gdb_init_file, "set args @$$args $input");
} elsif ($opt_valgrind_mysqld) {
my $v = $$exe;
my $vargs = [];
valgrind_arguments($vargs, \$v);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment