2011-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* ada-lang.c (replace_operator_with_call): Copy also GDBARCH.
+2012-03-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * ada-lang.c (replace_operator_with_call): Copy also GDBARCH.
+
2012-03-21 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (replace_operator_with_call): Use xzalloc instead
newexp->nelts = exp->nelts + 7 - oplen;
newexp->language_defn = exp->language_defn;
+ newexp->gdbarch = exp->gdbarch;
memcpy (newexp->elts, exp->elts, EXP_ELEM_TO_BYTES (pc));
memcpy (newexp->elts + pc + 7, exp->elts + pc + oplen,
EXP_ELEM_TO_BYTES (exp->nelts - pc - oplen));