aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-07-02 12:42:36 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-07-02 12:42:36 +0000
commit48319d1fc01f55ca319e760b82f4527f8ab62476 (patch)
tree135815f419acb4b705b5eecc8ba0e91ed904e36e /gdb/infcall.c
parent22601c155deb926f6bd8ffa2faa04f80b52fc676 (diff)
downloadgdb-48319d1fc01f55ca319e760b82f4527f8ab62476.zip
gdb-48319d1fc01f55ca319e760b82f4527f8ab62476.tar.gz
gdb-48319d1fc01f55ca319e760b82f4527f8ab62476.tar.bz2
* 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index e364f01..85ccb82 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
{