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/mips-tdep.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/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 05ba066..277eb35 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -477,7 +477,8 @@ mips_mask_address_p (void) case CMD_AUTO_BOOLEAN_AUTO: return MIPS_DEFAULT_MASK_ADDRESS_P; default: - internal_error ("mips_mask_address_p: bad switch"); + internal_error (__FILE__, __LINE__, + "mips_mask_address_p: bad switch"); return -1; } } @@ -498,7 +499,8 @@ show_mask_address (char *cmd, int from_tty) mips_mask_address_p () ? "enabled" : "disabled"); break; default: - internal_error ("show_mask_address: bad switch"); + internal_error (__FILE__, __LINE__, + "show_mask_address: bad switch"); break; } } @@ -982,7 +984,8 @@ unpack_mips16 (CORE_ADDR pc, break; } default: - internal_error ("%s:%d: bad switch", __FILE__, __LINE__); + internal_error (__FILE__, __LINE__, + "bad switch"); } upk->offset = offset; upk->regx = regx; |