This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Update VALUE_CONTENTS and VALUE_EMBEDDED_OFFSET


These two macros are now functions (of the same name, all lowercase).
I've checked in a patch which should fix the recent build problem
arising from this.

Keith

ChangeLog
2005-02-07  Keith Seitz  <kseitz@sources.redhat.com>

        * generic/gdbtk-cmds.c (gdb_eval): VALUE_EMBEDDED_OFFSET and
        VALUE_CONTENTS are now functions.


Index: generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.86
diff -u -p -r1.86 gdbtk-cmds.c
--- generic/gdbtk-cmds.c	18 Jan 2005 00:14:39 -0000	1.86
+++ generic/gdbtk-cmds.c	8 Feb 2005 01:11:49 -0000
@@ -622,8 +622,8 @@ gdb_eval (ClientData clientData, Tcl_Int
   /* "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));

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]