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/sparc-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/sparc-tdep.c')
-rw-r--r-- | gdb/sparc-tdep.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 5f3fe45..e30ebb5 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -526,7 +526,8 @@ setup_arbitrary_frame (int argc, CORE_ADDR *argv) frame = create_new_frame (argv[0], 0); if (!frame) - internal_error ("create_new_frame returned invalid frame"); + internal_error (__FILE__, __LINE__, + "create_new_frame returned invalid frame"); frame->extra_info->bottom = argv[1]; frame->pc = FRAME_SAVED_PC (frame); @@ -1053,7 +1054,8 @@ sparc_frame_find_saved_regs (struct frame_info *fi, CORE_ADDR *saved_regs_addr) CORE_ADDR frame_addr = FRAME_FP (fi); if (!fi) - internal_error ("Bad frame info struct in FRAME_FIND_SAVED_REGS"); + internal_error (__FILE__, __LINE__, + "Bad frame info struct in FRAME_FIND_SAVED_REGS"); memset (saved_regs_addr, 0, NUM_REGS * sizeof (CORE_ADDR)); |