OSDN Git Service

* generic/gdbtk-cmds.c (gdb_eval): VALUE_EMBEDDED_OFFSET and
authorKeith Seitz <keiths@redhat.com>
Tue, 8 Feb 2005 01:13:29 +0000 (01:13 +0000)
committerKeith Seitz <keiths@redhat.com>
Tue, 8 Feb 2005 01:13:29 +0000 (01:13 +0000)
        VALUE_CONTENTS are now functions.

gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-cmds.c

index 49d501f..9d119ea 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-07  Keith Seitz  <kseitz@sources.redhat.com>
+
+       * generic/gdbtk-cmds.c (gdb_eval): VALUE_EMBEDDED_OFFSET and
+       VALUE_CONTENTS are now functions.
+
 2005-01-19  Keith Seitz  <kseitz@sources.redhat.com>
 
        * Makefile.in: Regenerate.
index 75e624b..e0b2796 100644 (file)
@@ -622,8 +622,8 @@ gdb_eval (ClientData clientData, Tcl_Interp *interp,
   /* "Print" the result of the expression evaluation. */
   stb = mem_fileopen ();
   make_cleanup_ui_file_delete (stb);
-  val_print (value_type (val), VALUE_CONTENTS (val),
-            VALUE_EMBEDDED_OFFSET (val), VALUE_ADDRESS (val),
+  val_print (value_type (val), value_contents (val),
+            value_embedded_offset (val), VALUE_ADDRESS (val),
             stb, format, 0, 0, 0);
   result = ui_file_xstrdup (stb, &dummy);
   Tcl_SetObjResult (interp, Tcl_NewStringObj (result, -1));