diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-07-02 12:42:36 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-07-02 12:42:36 +0000 |
commit | 32bc8eae4d0d92efd8e26ebe5f37f6542bc66059 (patch) | |
tree | 230a10c1d24d9f1d2ade0365605e21a6b3308d88 /gdb/infcall.c | |
parent | f180cb84a0e1abdecca7c32bcc355cb2216259ea (diff) | |
download | gdb-32bc8eae4d0d92efd8e26ebe5f37f6542bc66059.tar.gz |
* gdbtypes.h (builtin_type_void): Remove.
* gdbtypes.c (builtin_type_void): Remove.
(_initialize_gdbtypes): Do not initialize it.
(safe_parse_type): Add GDBARCH argument. Use it to construct
void return type.
(check_stub_method): Update call.
* infcall.c (call_function_by_hand): Use platform-specific type
instead of builtin_type_void.
* valops.c (value_cast): Use input void type instead of
builtin_type_void.
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index e364f01da68..85ccb825d6e 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -562,7 +562,7 @@ call_function_by_hand (struct value *function, int nargs, struct value **args) /* Tell the target specific argument pushing routine not to expect a value. */ - target_values_type = builtin_type_void; + target_values_type = builtin_type (gdbarch)->builtin_void; } else { |