diff options
author | David Carlton <carlton@bactrian.org> | 2003-08-04 17:12:07 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-08-04 17:12:07 +0000 |
commit | e8c043d98548fe7efb76817b181e9655a9a2986f (patch) | |
tree | e4d07c4aecc782334ba53314ccd0c95eb7b41806 | |
parent | 60981e27a34b674b1c706196c67f1b8b063694e2 (diff) | |
download | gdb-e8c043d98548fe7efb76817b181e9655a9a2986f.zip gdb-e8c043d98548fe7efb76817b181e9655a9a2986f.tar.gz gdb-e8c043d98548fe7efb76817b181e9655a9a2986f.tar.bz2 |
2003-08-04 David Carlton <carlton@kealia.com>
* charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args
to internal_error call.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/charset.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b8d3d86..d32d3d5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-08-04 David Carlton <carlton@kealia.com> + + * charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args + to internal_error call. + 2003-08-04 Andrew Cagney <cagney@redhat.com> * frame.c (frame_func_unwind): Use frame_unwind_address_in_block. diff --git a/gdb/charset.c b/gdb/charset.c index c311447..fa68374 100644 --- a/gdb/charset.c +++ b/gdb/charset.c @@ -443,7 +443,8 @@ cached_iconv_convert (struct cached_iconv *ci, int from_char, int *to_char) return 0; /* Anything else is mysterious. */ - internal_error ("Error converting character `%d' from `%s' to `%s' " + internal_error (__FILE__, __LINE__, + "Error converting character `%d' from `%s' to `%s' " "character set: %s", from_char, ci->from->name, ci->to->name, safe_strerror (errno)); |