diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1995-09-02 13:48:16 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1995-09-02 13:48:16 +0000 |
commit | 5e711e7f505fc558a2578c6bb2c2681d64abee80 (patch) | |
tree | 3b86251ca46205e6e478540de0053a1272ea0eeb /gdb/values.c | |
parent | 218f9f03b889ab048141eac1ef6125adef22afc8 (diff) | |
download | binutils-gdb-5e711e7f505fc558a2578c6bb2c2681d64abee80.tar.gz |
* configure.in: Explicitly `exit 0' for broken shells.
* configure: Rebuilt.
* symtab.c (list_symbols): Add missing blank after
`<function, no debug info>' output.
* valops.c (value_assign): Handle truncation when assigning
to bitfields. Use value_copy to construct the return value
from toval.
* values.c (value_copy): Copy VALUE_FRAME and VALUE_OPTIMIZED_OUT.
Diffstat (limited to 'gdb/values.c')
-rw-r--r-- | gdb/values.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/values.c b/gdb/values.c index 9a2301e0894..33db594dfc5 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -228,8 +228,10 @@ value_copy (arg) VALUE_OFFSET (val) = VALUE_OFFSET (arg); VALUE_BITPOS (val) = VALUE_BITPOS (arg); VALUE_BITSIZE (val) = VALUE_BITSIZE (arg); + VALUE_FRAME (val) = VALUE_FRAME (arg); VALUE_REGNO (val) = VALUE_REGNO (arg); VALUE_LAZY (val) = VALUE_LAZY (arg); + VALUE_OPTIMIZED_OUT (val) = VALUE_OPTIMIZED_OUT (arg); val->modifiable = arg->modifiable; if (!VALUE_LAZY (val)) { |