Commit e5aeb634 authored by simonmar's avatar simonmar
Browse files

[project @ 1999-12-02 13:24:05 by simonmar]

Fix up code to print out the phase & signal number if one of the
compilation phases receives a signal.  The previous commit
accidentally sneaked in a non-working version of this stuff.
parent 103afc39
......@@ -2264,6 +2264,14 @@ sub run_something {
local($signal_num) = $? & 127;
local($dumped_core) = $? & 128;
if ($signal_num != 0) {
print STDERR "$tidy_name received signal $signal_num";
if ($dumped_core != 0) {
print STDERR " (core dumped)";
}
print STDERR "\n";
}
if ($return_val != 0) {
if ($Using_dump_file) {
print STDERR "Compilation Errors dumped in $Specific_dump_file\n";
......@@ -2271,13 +2279,6 @@ sub run_something {
&tidy_up_and_die($return_val, '');
}
if ($signal_num != 0) {
print STDERR "Phase $tidy_name received signal $signal_num";
if ($dumped_core != 0) {
print STDERR " (core dumped)";
}
print STDERR "\n";
}
$Using_dump_file = 0;
}
\end{code}
......
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