diff options
author | serg@serg.mysql.com <> | 2001-10-18 15:45:33 +0200 |
---|---|---|
committer | serg@serg.mysql.com <> | 2001-10-18 15:45:33 +0200 |
commit | ccb7bb485b050c195cf1416ec1e069e99df31e5d (patch) | |
tree | 4e0b3033268b0afcfe045bd5bb449c3451d3fcc5 /mysql-test/mysql-test-run.sh | |
parent | 2eee3e989293762401ac9ff9a427e2ec9f809483 (diff) | |
download | mariadb-git-ccb7bb485b050c195cf1416ec1e069e99df31e5d.tar.gz |
./mysql-test-run --gdb
Diffstat (limited to 'mysql-test/mysql-test-run.sh')
-rw-r--r-- | mysql-test/mysql-test-run.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh index 7428740d380..f99a594f1f1 100644 --- a/mysql-test/mysql-test-run.sh +++ b/mysql-test/mysql-test-run.sh @@ -673,9 +673,13 @@ start_master() "gdb -x $GDB_MASTER_INIT" $MYSQLD elif [ x$DO_GDB = x1 ] then - $ECHO "set args $master_args" > $GDB_MASTER_INIT - $ECHO "b mysql_parse" >> $GDB_MASTER_INIT - $ECHO "r" >> $GDB_MASTER_INIT + $CAT <<__GDB_MASTER_INIT__ > $GDB_MASTER_INIT +b mysql_parse +commands 1 +dele 1 +end +r $master_args +__GDB_MASTER_INIT__ manager_launch master $XTERM -display $DISPLAY \ -title "Master" -e gdb -x $GDB_MASTER_INIT $MYSQLD else |