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/maint.c | |
parent | 8ca8f343f993cbe9937ef15e8cbbee95613c2016 (diff) | |
download | ppe42-binutils-8e65ff28b0780a52bdbe067b6297a66f9ec4e16e.tar.gz ppe42-binutils-8e65ff28b0780a52bdbe067b6297a66f9ec4e16e.zip |
Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().
Diffstat (limited to 'gdb/maint.c')
-rw-r--r-- | gdb/maint.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/maint.c b/gdb/maint.c index aa62e94adf..2dd2982ad6 100644 --- a/gdb/maint.c +++ b/gdb/maint.c @@ -1,5 +1,5 @@ /* Support for GDB maintenance commands. - Copyright 1992, 1993, 1994 Free Software Foundation, Inc. + Copyright 1992, 1993, 1994, 2001 Free Software Foundation, Inc. Written by Fred Fish at Cygnus Support. This file is part of GDB. @@ -115,7 +115,8 @@ maintenance_dump_me (char *args, int from_tty) static void maintenance_internal_error (char *args, int from_tty) { - internal_error ("internal maintenance"); + internal_error (__FILE__, __LINE__, + "internal maintenance"); } /* Someday we should allow demangling for things other than just |