From 8e65ff28b0780a52bdbe067b6297a66f9ec4e16e Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 8 Feb 2001 06:03:54 +0000 Subject: Add __FILE__ and __LINE__ parameter to internal_error() / internal_verror(). --- gdb/rs6000-nat.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gdb/rs6000-nat.c') diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index e890484..a1df2c7 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -1,5 +1,6 @@ /* IBM RS/6000 native-dependent code for GDB, the GNU debugger. - Copyright 1986, 1987, 1989, 1991, 1992, 1994, 1995, 1996, 1997, 1998 + Copyright 1986, 1987, 1989, 1991, 1992, 1994, 1995, 1996, 1997, + 1998, 2001 Free Software Foundation, Inc. This file is part of GDB. @@ -927,7 +928,8 @@ set_host_arch (int pid) if (!gdbarch_update_p (info)) { - internal_error ("set_host_arch: failed to select architecture"); + internal_error (__FILE__, __LINE__, + "set_host_arch: failed to select architecture"); } } -- cgit v1.1