mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-20 21:02:10 +08:00
* python/py-arch.c (archpy_disassemble): Update.
* python/py-type.c (typy_get_composite, typy_lookup_typename) (typy_lookup_type): Use GDB_PY_HANDLE_EXCEPTION. * python/py-utils.c (gdbpy_convert_exception): Return 'void'. * python/python-internal.h (CPYCHECKER_SETS_EXCEPTION): New macro. (GDB_PY_HANDLE_EXCEPTION): Update. (gdbpy_convert_exception): Update. Use CPYCHECKER_SETS_EXCEPTION.
This commit is contained in:
@ -200,7 +200,8 @@ archpy_disassemble (PyObject *self, PyObject *args, PyObject *kw)
|
||||
Py_DECREF (result_list);
|
||||
ui_file_delete (memfile);
|
||||
|
||||
return gdbpy_convert_exception (except);
|
||||
gdbpy_convert_exception (except);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
as = ui_file_xstrdup (memfile, NULL);
|
||||
|
Reference in New Issue
Block a user