This is the mail archive of the archer@sourceware.org mailing list for the Archer 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]

[python] post-merge fixlet


This came up on irc.

The last merge brought in a VALUE_ADDRESS, which we've replaced on the
branch.  This only affects Darwin builds, which explains why we didn't
notice.

Tom

2009-01-14  Tom Tromey  <tromey@redhat.com>

	* darwin-nat-info.c (info_mach_region_command): Use
	value_address.

diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c
index 3833992..8e3c6b1 100644
--- a/gdb/darwin-nat-info.c
+++ b/gdb/darwin-nat-info.c
@@ -686,7 +686,7 @@ info_mach_region_command (char *exp, int from_tty)
   if (TYPE_CODE (value_type (val)) == TYPE_CODE_FUNC
       && VALUE_LVAL (val) == lval_memory)
     {
-      address = VALUE_ADDRESS (val);
+      address = value_address (val);
     }
   else
     {


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