mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 20:53:06 +08:00
* python/py-inferior.c (python_inferior_exit): Use
target_gdbarch. (python_on_resume): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2011-05-19 Matt Rice <ratmice@gmail.com>
|
||||||
|
|
||||||
* breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat.
|
* breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat.
|
||||||
|
@ -100,7 +100,7 @@ python_on_resume (ptid_t ptid)
|
|||||||
{
|
{
|
||||||
struct cleanup *cleanup;
|
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)
|
if (emit_continue_event (ptid) < 0)
|
||||||
gdbpy_print_stack ();
|
gdbpy_print_stack ();
|
||||||
@ -116,7 +116,7 @@ python_inferior_exit (struct inferior *inf)
|
|||||||
ptid_t ptidp;
|
ptid_t ptidp;
|
||||||
struct target_waitstatus status;
|
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);
|
get_last_target_status (&ptidp, &status);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user