2005-01-15 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / typeprint.c
index 82ca5f17474a6ac2e0c2092c4db69d7b5819cf7e..9fc5855810f15238a3a0bc33ee0398ddbf70fba2 100644 (file)
@@ -133,7 +133,7 @@ whatis_exp (char *exp, int show)
   else
     val = access_value_history (0);
 
-  type = VALUE_TYPE (val);
+  type = value_type (val);
 
   if (objectprint)
     {
@@ -341,7 +341,7 @@ maintenance_print_type (char *typename, int from_tty)
          /* The user expression may name a type indirectly by naming an
             object of that type.  Find that indirectly named type. */
          val = evaluate_type (expr);
-         type = VALUE_TYPE (val);
+         type = value_type (val);
        }
       if (type != NULL)
        {
This page took 0.02337 seconds and 4 git commands to generate.