diff options
Diffstat (limited to 'gdb/python/py-membuf.c')
-rw-r--r-- | gdb/python/py-membuf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/python/py-membuf.c b/gdb/python/py-membuf.c index e789a78..74cc0fb 100644 --- a/gdb/python/py-membuf.c +++ b/gdb/python/py-membuf.c @@ -83,7 +83,8 @@ mbpy_str (PyObject *self) return PyString_FromFormat (_("Memory buffer for address %s, \ which is %s bytes long."), - paddress (python_gdbarch, membuf_obj->addr), + paddress (gdbpy_enter::get_gdbarch (), + membuf_obj->addr), pulongest (membuf_obj->length)); } |