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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
ff8d218e
Commit
ff8d218e
authored
Sep 20, 2008
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use --batch when invoking gdb, to make sure it will exit in case of an error in the command files.
parent
b2822b8d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mysql-test/lib/My/CoreDump.pm
mysql-test/lib/My/CoreDump.pm
+2
-2
No files found.
mysql-test/lib/My/CoreDump.pm
View file @
ff8d218e
...
@@ -35,7 +35,7 @@ sub _gdb {
...
@@ -35,7 +35,7 @@ sub _gdb {
"
quit
\n
";
"
quit
\n
";
# Find out name of binary that generated core
# Find out name of binary that generated core
my
$list
=
`
gdb -c
$core_name
-x
$tmp_name
-q 2>&1
`
my
$list
=
`
gdb -c
$core_name
-x
$tmp_name
-q
--batch
2>&1
`
or
return
;
or
return
;
my
$binary
;
my
$binary
;
...
@@ -49,7 +49,7 @@ sub _gdb {
...
@@ -49,7 +49,7 @@ sub _gdb {
print
"
Generated by '
$binary
'
\n
";
print
"
Generated by '
$binary
'
\n
";
my
$list
=
`
gdb
$binary
-c
$core_name
-x
$tmp_name
-q 2>&1
`
my
$list
=
`
gdb
$binary
-c
$core_name
-x
$tmp_name
-q
--batch
2>&1
`
or
return
;
or
return
;
print
$list
,
"
\n
";
print
$list
,
"
\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