OSDN Git Service

* 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)
commit81631f697ec9e09ae04bdb61881eb0b7caeba032
treeaa7e08a245c0e1c80f3cfd481f01c84d32acf748
parent7bd5587d8d37ce0ce052ec983706f914e2794ef0
* 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