diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-02-08 06:03:54 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-02-08 06:03:54 +0000 |
commit | 8e65ff28b0780a52bdbe067b6297a66f9ec4e16e (patch) | |
tree | 1cf3436ec5c6d3e4f4dedb4ee2ccfa2c107dc33b /gdb/hppah-nat.c | |
parent | 8ca8f343f993cbe9937ef15e8cbbee95613c2016 (diff) | |
download | gdb-8e65ff28b0780a52bdbe067b6297a66f9ec4e16e.zip gdb-8e65ff28b0780a52bdbe067b6297a66f9ec4e16e.tar.gz gdb-8e65ff28b0780a52bdbe067b6297a66f9ec4e16e.tar.bz2 |
Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().
Diffstat (limited to 'gdb/hppah-nat.c')
-rw-r--r-- | gdb/hppah-nat.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/hppah-nat.c b/gdb/hppah-nat.c index c8bf04b..840813d 100644 --- a/gdb/hppah-nat.c +++ b/gdb/hppah-nat.c @@ -1,5 +1,6 @@ /* Native support code for HPUX PA-RISC. - Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1998, 1999 + Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1998, 1999, + 2001 Free Software Foundation, Inc. Contributed by the Center for Software Science at the @@ -106,7 +107,8 @@ store_inferior_registers (int regno) addr = (HPPAH_OFFSETOF (save_state_t, ss_narrow) + (REGISTER_BYTE (regno) - REGISTER_BYTE (1))); else - internal_error ("hppah-nat.c (write_register): unexpected register size"); + internal_error (__FILE__, __LINE__, + "hppah-nat.c (write_register): unexpected register size"); #ifdef GDB_TARGET_IS_HPPA_20W /* Unbelieveable. The PC head and tail must be written in 64bit hunks @@ -222,7 +224,8 @@ fetch_register (int regno) + (REGISTER_BYTE (regno) - REGISTER_BYTE (1))); else - internal_error ("hppa-nat.c (fetch_register): unexpected register size"); + internal_error (__FILE__, __LINE__, + "hppa-nat.c (fetch_register): unexpected register size"); for (i = 0; i < len; i += sizeof (int)) { |