gcc/libgfortran/runtime
Janne Blomqvist 1b0b9fcb92 PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix
2015-09-02  Janne Blomqvist  <jb@gcc.gnu.org>

	PR libfortran/67414
	* io/write.c (gfc_itoa): Move to runtime/string.c.
	* libgfortran.h (show_backtrace): Make arg bool.
	(gfc_itoa): New prototype.
	* runtime/backtrace.c (struct mystate): Change type of try_simple
	field, add in_signal_handler field.
	(error_callback): Print out error number, or if not in a signal
	handler, the error message.
	(show_backtrace): Change type of arg, change initialization of
	struct mystate.
	(backtrace): Call show_backtrace with correct arg type.
	* runtime/compile_options.c (backtrace_handler): Call with correct
	arg type.
	* runtime/error.c (sys_abort): Likewise.
	(gf_strerror): Handle newlocale() failure.
	* runtime/string.c (gfc_itoa): Function moved here from
	io/write.c.

From-SVN: r227404
2015-09-02 17:51:40 +03:00
..
backtrace.c PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix 2015-09-02 17:51:40 +03:00
bounds.c Update copyright years. 2015-01-05 13:33:28 +01:00
compile_options.c PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix 2015-09-02 17:51:40 +03:00
convert_char.c Update copyright years. 2015-01-05 13:33:28 +01:00
environ.c libgfortran.h (show_variables): Remove prototype. 2015-08-26 06:34:05 +00:00
error.c PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix 2015-09-02 17:51:40 +03:00
fpu.c Update copyright years. 2015-01-05 13:33:28 +01:00
in_pack_generic.c Update copyright years. 2015-01-05 13:33:28 +01:00
in_unpack_generic.c Update copyright years. 2015-01-05 13:33:28 +01:00
main.c libgfortran.h (show_variables): Remove prototype. 2015-08-26 06:34:05 +00:00
memory.c Update copyright years. 2015-01-05 13:33:28 +01:00
minimal.c re PR libfortran/54572 (Use libbacktrace library) 2015-08-23 21:50:30 +00:00
pause.c Update copyright years. 2015-01-05 13:33:28 +01:00
select.c Update copyright years. 2015-01-05 13:33:28 +01:00
select_inc.c Update copyright years. 2015-01-05 13:33:28 +01:00
stop.c Update copyright years. 2015-01-05 13:33:28 +01:00
string.c PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfix 2015-09-02 17:51:40 +03:00