aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-29 17:33:32 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-29 17:33:32 +0000
commit4a399546aa148a7a7767dce7d17ef1a87906f47d (patch)
tree1c917fd90b0139f2cb3686a4610c1c3a992e650e /gdb/infcall.c
parent30b155416bc2f21436603dcbf37d3dd0400813c6 (diff)
downloadgdb-4a399546aa148a7a7767dce7d17ef1a87906f47d.zip
gdb-4a399546aa148a7a7767dce7d17ef1a87906f47d.tar.gz
gdb-4a399546aa148a7a7767dce7d17ef1a87906f47d.tar.bz2
* 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 584fdeb..e364f01 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