diff options
author | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-10-08 09:40:12 +0000 |
---|---|---|
committer | Paul N. Hilfinger <hilfinger@adacore.com> | 2004-10-08 09:40:12 +0000 |
commit | 61ee279cebdbb701d5cfcc353c76bd930ba56eff (patch) | |
tree | fda75970d78d10edaecce714381ca48015ae7837 /gdb/ada-valprint.c | |
parent | m68k-parse.h (enum m68k_register): New control register, MBAR2 (for MCF5249) (diff) | |
download | binutils-gdb-61ee279cebdbb701d5cfcc353c76bd930ba56eff.tar.gz binutils-gdb-61ee279cebdbb701d5cfcc353c76bd930ba56eff.tar.bz2 binutils-gdb-61ee279cebdbb701d5cfcc353c76bd930ba56eff.zip |
* ada-typeprint.c (ada_print_type): Use int_string for printing
modulus of modular type.
* ada-lang.h (ada_modulus): Change return type to unsigned.
* ada-lang.c (ada_language_arch_info): Correct type of
string_char_type.
(ada_modulus): Return unsigned result.
(ada_lookup_symbol): Remove user disambiguation and modify comment
accordingly.
2004-10-08 Eric Botcazou <ebotcazou@act-europe.fr>
Committed by Paul Hilfinger.
* ada-lang.c (decode_packed_array): On big-endian targets,
left-justify the value if it comes with a modular type.
2004-10-08 Joel Brobecker <brobecker@gnat.com>
Committed by Paul Hilfinger.
* ada-lang.c (template_to_static_fixed_type): Fix a small typo.
(is_name_suffix): Add support for "___JM" suffixes.
(ada_check_typedef): Renames ada_completed_type.
Update all users of CHECK_TYPEDEF, check_typedef, and
ada_complete_type to call ada_check_typedef.
* ada-typeprint.c: Likewise.
* ada-valprint.c: Likewise.
Diffstat (limited to 'gdb/ada-valprint.c')
-rw-r--r-- | gdb/ada-valprint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c index 3617d76a779..82e68252e00 100644 --- a/gdb/ada-valprint.c +++ b/gdb/ada-valprint.c @@ -367,7 +367,7 @@ ada_print_scalar (struct type *type, LONGEST val, struct ui_file *stream) unsigned int i; unsigned len; - CHECK_TYPEDEF (type); + type = ada_check_typedef (type); switch (TYPE_CODE (type)) { @@ -599,7 +599,7 @@ ada_val_print_1 (struct type *type, char *valaddr0, int embedded_offset, LONGEST val; char *valaddr = valaddr0 + embedded_offset; - CHECK_TYPEDEF (type); + type = ada_check_typedef (type); if (ada_is_array_descriptor_type (type) || ada_is_packed_array_type (type)) { @@ -960,7 +960,7 @@ static void print_record (struct type *type, char *valaddr, struct ui_file *stream, int format, int recurse, enum val_prettyprint pretty) { - CHECK_TYPEDEF (type); + type = ada_check_typedef (type); fprintf_filtered (stream, "("); |