Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().
This commit is contained in:
parent
8ca8f343f9
commit
8e65ff28b0
66 changed files with 839 additions and 430 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue