Remove CHECK_TYPEDEF, use check_typedef instead
[deliverable/binutils-gdb.git] / gdb / jv-valprint.c
index 1ad599bfa8041b777408085dfd5364bf189a7e36..9fc8f50ed8ff1e279997df402106bfc7bab418e3 100644 (file)
@@ -273,7 +273,7 @@ java_print_value_fields (struct type *type, const gdb_byte *valaddr,
 {
   int i, len, n_baseclasses;
 
-  CHECK_TYPEDEF (type);
+  type = check_typedef (type);
 
   fprintf_filtered (stream, "{");
   len = TYPE_NFIELDS (type);
@@ -462,7 +462,7 @@ java_val_print (struct type *type, const gdb_byte *valaddr,
   struct type *target_type;
   CORE_ADDR addr;
 
-  CHECK_TYPEDEF (type);
+  type = check_typedef (type);
   switch (TYPE_CODE (type))
     {
     case TYPE_CODE_PTR:
This page took 0.024584 seconds and 4 git commands to generate.