-/* Copyright (C) 2006, 2007, 2009, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2006, 2007, 2009, 2011, 2012 Free Software Foundation, Inc.
Contributed by François-Xavier Coudert
This file is part of the GNU Fortran runtime library (libgfortran).
#include "libgfortran.h"
#include <string.h>
+#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
state.frame_number = 0;
state.error = 0;
- estr_write ("\nA fatal error occurred! Backtrace for this error:\n");
+ estr_write ("\nBacktrace for this error:\n");
#if CAN_PIPE
int f[2], pid, inp[2];
/* Don't output an error message if something goes wrong, we'll simply
- fall back to the pstack and glibc backtraces. */
+ fall back to printing the addresses. */
if (pipe (f) != 0)
break;
if (pipe (inp) != 0)