target_gdbarch.
(python_on_resume): Likewise.
+2011-05-19 Tom Tromey <tromey@redhat.com>
+
+ * python/py-inferior.c (python_inferior_exit): Use
+ target_gdbarch.
+ (python_on_resume): Likewise.
+
2011-05-19 Matt Rice <ratmice@gmail.com>
* breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat.
{
struct cleanup *cleanup;
- cleanup = ensure_python_env (get_current_arch (), current_language);
+ cleanup = ensure_python_env (target_gdbarch, current_language);
if (emit_continue_event (ptid) < 0)
gdbpy_print_stack ();
ptid_t ptidp;
struct target_waitstatus status;
- cleanup = ensure_python_env (get_current_arch (), current_language);
+ cleanup = ensure_python_env (target_gdbarch, current_language);
get_last_target_status (&ptidp, &status);