Add __FILE__ and __LINE__ parameter to internal_error() /

internal_verror().
This commit is contained in:
Andrew Cagney 2001-02-08 06:03:54 +00:00
parent 8ca8f343f9
commit 8e65ff28b0
66 changed files with 839 additions and 430 deletions

View file

@ -1,5 +1,6 @@
/* GDB routines for manipulating objfiles.
Copyright 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
Copyright 1992, 1993, 1994, 1995, 2001
Free Software Foundation, Inc.
Contributed by Cygnus Support, using pieces from other GDB modules.
This file is part of GDB.
@ -370,7 +371,8 @@ unlink_objfile (struct objfile *objfile)
}
}
internal_error ("objfiles.c (unlink_objfile): objfile already unlinked");
internal_error (__FILE__, __LINE__,
"unlink_objfile: objfile already unlinked");
}