OSDN Git Service

Move value_ptr typedef to gdbtk-wrapper from value.h.
authorcagney <cagney>
Fri, 4 Jan 2002 23:21:36 +0000 (23:21 +0000)
committercagney <cagney>
Fri, 4 Jan 2002 23:21:36 +0000 (23:21 +0000)
gdb/ChangeLog
gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-wrapper.h
gdb/value.h

index 6f0e5d9..e9fbd0a 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * value.h (value_ptr): Delete typedef.
+
 2002-01-04  Jason Thorpe  <thorpej@wasabisystems.com>
 
        * i386nbsd-nat.c: Update copyright years.
index 91170ff..011dcc7 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-04  Andrew Cagney  <ac131313@redhat.com>
+
+       * generic/gdbtk-wrapper.h: Add typedef value_ptr.
+
 2002-01-03  Martin M. Hunt  <hunt@redhat.com>
 
        * library/session.tcl (SESSION_serialize_bps): Ignore
index cd033d0..9091c4a 100644 (file)
@@ -31,6 +31,11 @@ struct gdb_wrapper_arguments {
   char *args[10];
 };
 
+/* FIXME: cagney/2002-01-04: GDB no longer uses or supplies the
+   value_ptr typedef.  Provide one here to keep the Insight code
+   immediatly happy.  */
+typedef struct value *value_ptr;
+
 /* Whenever any gdb function wrapper is called, its return status is: */
 typedef enum gdb_wrapper_status { GDB_OK, GDB_ERROR } gdb_result;
 
index 78f615f..d6fa9ff 100644 (file)
@@ -174,8 +174,6 @@ struct value
     /* Do not add any new members here -- contents above will trash them */
   };
 
-typedef struct value *value_ptr;
-
 #define VALUE_TYPE(val) (val)->type
 #define VALUE_ENCLOSING_TYPE(val) (val)->enclosing_type
 #define VALUE_LAZY(val) (val)->lazy