diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2008-04-01 16:12:49 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2008-04-01 16:12:49 +0000 |
commit | 6af87b034856eae3d77416c5b2a67bdd60072946 (patch) | |
tree | a890f6e3b304773f2edf103f87173359c95a744a /gdb/p-lang.c | |
parent | 6c2d1a6bc97ac98486be4689e3a1fa054dcd4f01 (diff) | |
download | binutils-6af87b034856eae3d77416c5b2a67bdd60072946.zip binutils-6af87b034856eae3d77416c5b2a67bdd60072946.tar.gz binutils-6af87b034856eae3d77416c5b2a67bdd60072946.tar.bz2 |
* valops.c (value_cast_structs): New function. Cast related
STRUCT types up/down and return cast value. The body of this
function comes mostly from value_cast_pointers.
(value_cast_pointers): Code for actual cast STRUCT-STRUCT moved
to value_cast_structs. Now value_cast_pointers needs only create
appropriate reference after using value_cast_structs for actual
casting.
(value_cast): Handle references.
Diffstat (limited to 'gdb/p-lang.c')
0 files changed, 0 insertions, 0 deletions