diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-29 17:33:31 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-29 17:33:31 +0000 |
commit | 1dea0fa6a2a22b60d0541f5960ece7abf8f433c6 (patch) | |
tree | ca54818edae7dd795f3cb804a2f53cc5a74f786d /gdb/infcall.c | |
parent | a34c22caf3995922df0257a527ae52b71a18a72f (diff) | |
download | gdb-1dea0fa6a2a22b60d0541f5960ece7abf8f433c6.tar.gz |
* ada-lang.h (ada_convert_actual): Add GDBARCH argument.
* ada-lang.c (convert_actual): Remove stale prototype.
(ensure_lval, make_array_descriptor, ada_convert_actual):
Add GDBARCH argument and pass through to subroutine calls.
(ensure_lval): Use GDBARCH instead of current_gdbarch.
* infcall.c (value_arg_coerce): Update ada_convert_actual call.
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 584fdeb0a06..e364f01da68 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -142,7 +142,7 @@ value_arg_coerce (struct gdbarch *gdbarch, struct value *arg, /* Perform any Ada-specific coercion first. */ if (current_language->la_language == language_ada) - arg = ada_convert_actual (arg, type, sp); + arg = ada_convert_actual (arg, type, gdbarch, sp); /* Force the value to the target if we will need its address. At this point, we could allocate arguments on the stack instead of |