aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-disasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-disasm.c')
-rw-r--r--gdb/python/py-disasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-disasm.c b/gdb/python/py-disasm.c
index 5206c76..87fea26 100644
--- a/gdb/python/py-disasm.c
+++ b/gdb/python/py-disasm.c
@@ -855,8 +855,8 @@ gdbpy_disassembler::read_memory_func (bfd_vma memaddr, gdb_byte *buff,
/* Now call the DisassembleInfo.read_memory method. This might have been
overridden by the user. */
- gdbpy_ref<> result_obj (gdbpy_call_method ((PyObject *) obj, "read_memory",
- len, offset));
+ gdbpy_ref<> result_obj = gdbpy_call_method ((PyObject *) obj, "read_memory",
+ len, offset);
/* Handle any exceptions. */
if (result_obj == nullptr)