Commit ccb7bb48 authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

./mysql-test-run --gdb

parent 2eee3e98
...@@ -673,9 +673,13 @@ start_master() ...@@ -673,9 +673,13 @@ start_master()
"gdb -x $GDB_MASTER_INIT" $MYSQLD "gdb -x $GDB_MASTER_INIT" $MYSQLD
elif [ x$DO_GDB = x1 ] elif [ x$DO_GDB = x1 ]
then then
$ECHO "set args $master_args" > $GDB_MASTER_INIT $CAT <<__GDB_MASTER_INIT__ > $GDB_MASTER_INIT
$ECHO "b mysql_parse" >> $GDB_MASTER_INIT b mysql_parse
$ECHO "r" >> $GDB_MASTER_INIT commands 1
dele 1
end
r $master_args
__GDB_MASTER_INIT__
manager_launch master $XTERM -display $DISPLAY \ manager_launch master $XTERM -display $DISPLAY \
-title "Master" -e gdb -x $GDB_MASTER_INIT $MYSQLD -title "Master" -e gdb -x $GDB_MASTER_INIT $MYSQLD
else else
......
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