2003-07-30 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 30 Jul 2003 20:59:10 +0000 (20:59 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 30 Jul 2003 20:59:10 +0000 (20:59 +0000)
commitc48a845bff656d9f07bf53c0004bb0fed62891ae
treef82e8f84973942a28a40900c23384acc047d41ae
parentf0d8db192735d4610f8a1bd3db8b67bf4b13f906
2003-07-30  Michael Snyder  <msnyder@redhat.com>

* structs.h (value_being_returned): Add a struct_addr argument.
* infcall.c (call_function_by_hand): Pass struct_addr to
value_being_returned.
* infcmd.c (print_return_value): Pass zero as struct_addr.
* values.c (value_being_returned): If struct_addr is passed,
use it instead of trying to recover it from the inferior.
gdb/ChangeLog
gdb/infcall.c
gdb/infcmd.c
gdb/value.h
gdb/values.c