This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR51197 - print signal number before backtrace [RFC]
On Tue, Jan 10, 2012 at 00:33, Tobias Burnus <burnus@net-b.de> wrote:
> Dear Janne,
>
>
>> - The integer values for the signal numbers are not standardized,
>> hence printing them might give the user a false impression that these
>> numbers convey some information beyond whichever SIG* macro they map
>> to on that particular target.
>>
>> - It doesn't test all the signals which are actually handled, see
>> compile_options.c:set_options(). Also, as a minor point, there's no
>> need to have #ifdef tests for the C89 signals, again see
>> set_options().
>
>
> How about the attached version? The description is based on IEEE Std
> 1003.1:2003, though I additionally left "segmentation fault" and
> "floating-point exception" as those names are presumably better known that
> the long description and as SIGSEGV/SIGFPE. "Bus error" is also somewhat
> known, but SIGBUS should be sufficient.
Ok, thanks!
--
Janne Blomqvist