diff options
author | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-08-24 08:52:38 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-08-24 08:52:38 +0000 |
commit | d46cd2be374fa3791edc5f69cb2731b9bae11af3 (patch) | |
tree | dc21d420da1f4ce06fadab2eee4118eed2b25f30 /gcc/mips-tfile.c | |
parent | 748fa2945501ba05567634ebf81b57dfe990504d (diff) | |
download | gcc-d46cd2be374fa3791edc5f69cb2731b9bae11af3.zip gcc-d46cd2be374fa3791edc5f69cb2731b9bae11af3.tar.gz gcc-d46cd2be374fa3791edc5f69cb2731b9bae11af3.tar.bz2 |
Makefile.in (PROTO_OBJS): Add errors.o.
* Makefile.in (PROTO_OBJS): Add errors.o.
* protoize.c (fancy_abort): Remove.
* mips-tfile.c (fancy_abort): Add parameters.
From-SVN: r86471
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r-- | gcc/mips-tfile.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c index 9b33306..9b63064 100644 --- a/gcc/mips-tfile.c +++ b/gcc/mips-tfile.c @@ -637,7 +637,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA so they can't be static. */ extern void pfatal_with_name (const char *) ATTRIBUTE_NORETURN; -extern void fancy_abort (void) ATTRIBUTE_NORETURN; extern void botch (const char *) ATTRIBUTE_NORETURN; extern void fatal (const char *format, ...) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; @@ -5471,13 +5470,12 @@ error (const char *format, ...) saber_stop (); } -/* More 'friendly' abort that prints the line and file. - config.h can #define abort fancy_abort if you like that sort of thing. */ +/* More 'friendly' abort that prints the line and file. */ void -fancy_abort (void) +fancy_abort (const char *file, int line, const char *func) { - fatal ("internal abort"); + fatal ("abort in %s, at %s:%d", func, file, line); } |