public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: <insight@sourceware.org>
Subject: [OBV] Fix compilation failure
Date: Thu, 28 May 2009 15:13:00 -0000	[thread overview]
Message-ID: <000a01c9df76$394be560$abe3b020$@u-strasbg.fr> (raw)

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));

             reply	other threads:[~2009-05-28  9:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-28 15:13 Pierre Muller [this message]
2009-05-29  8:32 ` Keith Seitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000a01c9df76$394be560$abe3b020$@u-strasbg.fr' \
    --to=muller@ics.u-strasbg.fr \
    --cc=insight@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).