Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
948cecf4
Commit
948cecf4
authored
Mar 23, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete gdbinit file before writing to it
Concat type+idx to get a unique gdbinit filename
parent
4602e426
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+10
-4
No files found.
mysql-test/mysql-test-run.pl
View file @
948cecf4
...
...
@@ -2550,11 +2550,11 @@ sub mysqld_start ($$$$$) {
if
(
$opt_gdb
||
$opt_manual_gdb
)
{
gdb_arguments
(
\
$args
,
\
$exe
,
$type
);
gdb_arguments
(
\
$args
,
\
$exe
,
"
$type
"
.
"
_
$idx
"
);
}
elsif
(
$opt_ddd
||
$opt_manual_ddd
)
{
ddd_arguments
(
\
$args
,
\
$exe
,
$type
);
ddd_arguments
(
\
$args
,
\
$exe
,
"
$type
"
.
"
_
$idx
"
);
}
elsif
(
$opt_manual_debug
)
{
...
...
@@ -3089,6 +3089,9 @@ sub gdb_arguments {
my
$str
=
join
("
",
@$$args
);
my
$gdb_init_file
=
"
$opt_tmpdir
/gdbinit.
$type
";
# Remove the old gdbinit file
unlink
(
$gdb_init_file
);
if
(
$type
eq
"
client
"
)
{
# write init file for client
...
...
@@ -3110,7 +3113,7 @@ sub gdb_arguments {
if
(
$opt_manual_gdb
)
{
print
"
\n
To start gdb for
$type
, type in another window:
\n
";
print
"
\n
To start gdb for
$type
, type in another window:
\n
";
print
"
cd
$glob_mysql_test_dir
;
\n
";
print
"
gdb -x
$gdb_init_file
$
$exe
\n
";
...
...
@@ -3150,6 +3153,9 @@ sub ddd_arguments {
my
$str
=
join
("
",
@$$args
);
my
$gdb_init_file
=
"
$opt_tmpdir
/gdbinit.
$type
";
# Remove the old gdbinit file
unlink
(
$gdb_init_file
);
if
(
$type
eq
"
client
"
)
{
# write init file for client
...
...
@@ -3172,7 +3178,7 @@ sub ddd_arguments {
if
(
$opt_manual_ddd
)
{
print
"
\n
To start ddd for
$type
, type in another window:
\n
";
print
"
\n
To start ddd for
$type
, type in another window:
\n
";
print
"
cd
$glob_mysql_test_dir
;
\n
";
print
"
ddd -x
$gdb_init_file
$
$exe
\n
";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment