diff options
Diffstat (limited to 'gdb/python/py-tui.c')
-rw-r--r-- | gdb/python/py-tui.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/python/py-tui.c b/gdb/python/py-tui.c index 97fdfe2..6a92251 100644 --- a/gdb/python/py-tui.c +++ b/gdb/python/py-tui.c @@ -155,7 +155,7 @@ gdbpy_tui_window::is_valid () const tui_py_window::~tui_py_window () { - gdbpy_enter enter_py (get_current_arch (), current_language); + gdbpy_enter enter_py; /* This can be null if the user-provided Python construction function failed. */ @@ -181,7 +181,7 @@ tui_py_window::rerender () { tui_win_info::rerender (); - gdbpy_enter enter_py (get_current_arch (), current_language); + gdbpy_enter enter_py; int h = viewport_height (); int w = viewport_width (); @@ -206,7 +206,7 @@ tui_py_window::rerender () void tui_py_window::do_scroll_horizontal (int num_to_scroll) { - gdbpy_enter enter_py (get_current_arch (), current_language); + gdbpy_enter enter_py; if (PyObject_HasAttrString (m_window.get (), "hscroll")) { @@ -220,7 +220,7 @@ tui_py_window::do_scroll_horizontal (int num_to_scroll) void tui_py_window::do_scroll_vertical (int num_to_scroll) { - gdbpy_enter enter_py (get_current_arch (), current_language); + gdbpy_enter enter_py; if (PyObject_HasAttrString (m_window.get (), "vscroll")) { @@ -234,7 +234,7 @@ tui_py_window::do_scroll_vertical (int num_to_scroll) void tui_py_window::click (int mouse_x, int mouse_y, int mouse_button) { - gdbpy_enter enter_py (get_current_arch (), current_language); + gdbpy_enter enter_py; if (PyObject_HasAttrString (m_window.get (), "click")) { @@ -285,7 +285,7 @@ public: gdbpy_tui_window_maker (const gdbpy_tui_window_maker &other) { - gdbpy_enter enter_py (get_current_arch (), current_language); + gdbpy_enter enter_py; m_constr = other.m_constr; } @@ -297,7 +297,7 @@ public: gdbpy_tui_window_maker &operator= (const gdbpy_tui_window_maker &other) { - gdbpy_enter enter_py (get_current_arch (), current_language); + gdbpy_enter enter_py; m_constr = other.m_constr; return *this; } @@ -312,14 +312,14 @@ private: gdbpy_tui_window_maker::~gdbpy_tui_window_maker () { - gdbpy_enter enter_py (get_current_arch (), current_language); + gdbpy_enter enter_py; m_constr.reset (nullptr); } tui_win_info * gdbpy_tui_window_maker::operator() (const char *win_name) { - gdbpy_enter enter_py (get_current_arch (), current_language); + gdbpy_enter enter_py; gdbpy_ref<gdbpy_tui_window> wrapper (PyObject_New (gdbpy_tui_window, &gdbpy_tui_window_object_type)); |