mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
./mtr --client-gdb
followup for 339b905579
don't use $opt_gdb for --client-gdb
This commit is contained in:
@ -5645,7 +5645,9 @@ sub gdb_arguments {
|
|||||||
# Put $args into a single string
|
# Put $args into a single string
|
||||||
$input = $input ? "< $input" : "";
|
$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 $v = $$exe;
|
||||||
my $vargs = [];
|
my $vargs = [];
|
||||||
valgrind_arguments($vargs, \$v);
|
valgrind_arguments($vargs, \$v);
|
||||||
|
Reference in New Issue
Block a user