* [PATCH] Update VALUE_CONTENTS and VALUE_EMBEDDED_OFFSET
@ 2005-02-08 1:15 Keith Seitz
0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2005-02-08 1:15 UTC (permalink / raw)
To: insight
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
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.
[-- Attachment #2: macro-update.patch --]
[-- Type: text/x-patch, Size: 855 bytes --]
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));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-08 1:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-08 1:15 [PATCH] Update VALUE_CONTENTS and VALUE_EMBEDDED_OFFSET Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).