Skip to content
Permalink
Browse files
./mtr --client-gdb
followup for 339b905

don't use $opt_gdb for --client-gdb
  • Loading branch information
vuvova committed Apr 12, 2018
1 parent 1f6bd88 commit 479fb6c
Showing 1 changed file with 3 additions and 1 deletion.
@@ -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);

0 comments on commit 479fb6c

Please sign in to comment.