diff options
author | Tom Tromey <tromey@redhat.com> | 2010-06-21 18:01:51 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-06-21 18:01:51 +0000 |
commit | b00fdb78327b18ba0d4240724647bee58ff6b71e (patch) | |
tree | f06a4e33efde39bded42f8e1d518e2fc6904ded2 /gdb/f-valprint.c | |
parent | 84951ab5849cbb0cf00091eb8e9fe83c660fe1d6 (diff) | |
download | gdb-b00fdb78327b18ba0d4240724647bee58ff6b71e.zip gdb-b00fdb78327b18ba0d4240724647bee58ff6b71e.tar.gz gdb-b00fdb78327b18ba0d4240724647bee58ff6b71e.tar.bz2 |
* p-valprint.c (pascal_val_print): Use TYPE_ERROR_NAME.
* p-typeprint.c (pascal_type_print_base): Use TYPE_ERROR_NAME.
* m2-valprint.c (m2_val_print): Use TYPE_ERROR_NAME.
* gdbtypes.h (TYPE_ERROR_NAME): New macro.
* f-valprint.c (f_val_print): Use TYPE_ERROR_NAME.
* f-typeprint.c (f_type_print_base): Use TYPE_ERROR_NAME.
* dwarf2read.c (tag_type_to_type): Create a new error type on
failure.
* c-valprint.c (c_val_print): Use TYPE_ERROR_NAME.
* c-typeprint.c (c_type_print_base): Use TYPE_ERROR_NAME.
Diffstat (limited to 'gdb/f-valprint.c')
-rw-r--r-- | gdb/f-valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c index 4db0b27..85f698d 100644 --- a/gdb/f-valprint.c +++ b/gdb/f-valprint.c @@ -398,7 +398,7 @@ f_val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset, break; case TYPE_CODE_ERROR: - fprintf_filtered (stream, "<error type>"); + fprintf_filtered (stream, "%s", TYPE_ERROR_NAME (type)); break; case TYPE_CODE_RANGE: |