Sigh, should have updated the copyright date in the
[deliverable/binutils-gdb.git] / gdb / typeprint.c
index 444c78b7bfdaf0c18df2f93626823ff15b2b0297..b56610d3ac0e643612eb0446f94ff776c1966b2f 100644 (file)
@@ -1,6 +1,6 @@
 /* Language independent support for printing types for GDB, the GNU debugger.
    Copyright 1986, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1998, 1999,
-   2000 Free Software Foundation, Inc.
+   2000, 2001 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -31,6 +31,7 @@
 #include "gdbcmd.h"
 #include "target.h"
 #include "language.h"
+#include "cp-abi.h"
 
 #include "gdb_string.h"
 #include <errno.h>
@@ -125,7 +126,7 @@ static void
 whatis_exp (char *exp, int show)
 {
   struct expression *expr;
-  register value_ptr val;
+  struct value *val;
   register struct cleanup *old_chain = NULL;
   struct type *real_type = NULL;
   struct type *type;
@@ -332,7 +333,7 @@ print_type_scalar (struct type *type, LONGEST val, struct ui_file *stream)
 void
 maintenance_print_type (char *typename, int from_tty)
 {
-  register value_ptr val;
+  struct value *val;
   register struct type *type;
   register struct cleanup *old_chain;
   struct expression *expr;
This page took 0.023795 seconds and 4 git commands to generate.