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,5 @@
/* Handle SunOS and SVR4 shared libraries for GDB, the GNU Debugger.
Copyright 1990, 91, 92, 93, 94, 95, 96, 98, 1999, 2000
Copyright 1990, 91, 92, 93, 94, 95, 96, 98, 1999, 2000, 2001
Free Software Foundation, Inc.
This file is part of GDB.
@@ -210,7 +210,8 @@ default_svr4_fetch_link_map_offsets (void)
#else
internal_error ("default_svr4_fetch_link_map_offsets called without HAVE_LINK_H defined.");
internal_error (__FILE__, __LINE__,
"default_svr4_fetch_link_map_offsets called without HAVE_LINK_H defined.");
return 0;
#endif /* HAVE_LINK_H */