This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
[python] post-merge fixlet
- From: Tom Tromey <tromey at redhat dot com>
- To: Project Archer <archer at sourceware dot org>
- Date: Wed, 14 Jan 2009 10:29:23 -0700
- Subject: [python] post-merge fixlet
- Reply-to: Tom Tromey <tromey at redhat dot com>
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
{