[python] post-merge fixlet
Tom Tromey
tromey@redhat.com
Wed Jan 14 17:30:00 GMT 2009
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
{
More information about the Archer
mailing list