This is the mail archive of the insight@sourceware.org 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]

[OBV] Fix compilation failure


This commit
http://sourceware.org/ml/gdb-cvs/2009-05/msg00187.html

generated a compilation failure in gdbtk.

This patch below fixes the compilation failure.


Checked in as obvious

Keith, could you please double-check that 
this change is really what we want?


Pierre Muller
Pascal language support maintainer for GDB



ChangeLog entry:

2009-05-28  Pierre Muller  <muller@ics.u-strasbg.fr>

       * Adapt to VALUE_ADDRESS removal.
       generic/gdbtk-cmds.c (gdb_eval): Use value_address function instead
of
       VALUE_ADDRESS macro.


Index: generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.110
diff -u -p -r1.110 gdbtk-cmds.c
--- generic/gdbtk-cmds.c        6 May 2009 15:52:11 -0000       1.110
+++ generic/gdbtk-cmds.c        28 May 2009 09:16:18 -0000
@@ -637,7 +637,7 @@ gdb_eval (ClientData clientData, Tcl_Int
   stb = mem_fileopen ();
   make_cleanup_ui_file_delete (stb);
   val_print (value_type (val), value_contents (val),
-            value_embedded_offset (val), VALUE_ADDRESS (val),
+            value_embedded_offset (val), value_address (val),
             stb, 0, &opts, current_language);
   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]