* values.c (value_as_address): If VAL is a function or method,
authorJim Blandy <jimb@codesourcery.com>
Fri, 9 Nov 2001 16:41:50 +0000 (16:41 +0000)
committerJim Blandy <jimb@codesourcery.com>
Fri, 9 Nov 2001 16:41:50 +0000 (16:41 +0000)
commitf312f057407f275b27753c401ede0938c45d299c
treedca01a0418007b80920aa0e1e13f34e4fa0bb4dc
parente333d2c4011881ec0a6b72d6a8093c9dbeb6a448
* values.c (value_as_address): If VAL is a function or method,
just return its address; don't let COERCE_ARRAY convert its
address to a pointer, and then have unpack_long convert it back to
an address.
gdb/ChangeLog
gdb/values.c