aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2003-07-30 20:59:10 +0000
committerMichael Snyder <msnyder@vmware.com>2003-07-30 20:59:10 +0000
commitc48a845bff656d9f07bf53c0004bb0fed62891ae (patch)
treef82e8f84973942a28a40900c23384acc047d41ae /gdb/value.h
parentf0d8db192735d4610f8a1bd3db8b67bf4b13f906 (diff)
downloadgdb-c48a845bff656d9f07bf53c0004bb0fed62891ae.zip
gdb-c48a845bff656d9f07bf53c0004bb0fed62891ae.tar.gz
gdb-c48a845bff656d9f07bf53c0004bb0fed62891ae.tar.bz2
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.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h
index d50626e..77d9d39 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -420,7 +420,8 @@ extern struct value *value_subscript (struct value *array, struct value *idx);
extern struct value *value_being_returned (struct type *valtype,
struct regcache *retbuf,
- int struct_return);
+ int struct_return,
+ CORE_ADDR struct_addr);
extern struct value *value_in (struct value *element, struct value *set);