mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 01:45:52 +08:00
* python/py-frame.c (gdbpy_initialize_frames): Remove FIRST_ERROR,
superfluous.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2013-11-23 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
|
* python/py-frame.c (gdbpy_initialize_frames): Remove FIRST_ERROR,
|
||||||
|
superfluous.
|
||||||
|
|
||||||
2013-11-23 Doug Evans <xdje42@gmail.com>
|
2013-11-23 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
* python/py-frame.c (frapy_block): Fix error message text.
|
* python/py-frame.c (frapy_block): Fix error message text.
|
||||||
|
@ -646,12 +646,8 @@ gdbpy_initialize_frames (void)
|
|||||||
#define SET(name, description) \
|
#define SET(name, description) \
|
||||||
if (PyModule_AddIntConstant (gdb_module, "FRAME_"#name, name) < 0) \
|
if (PyModule_AddIntConstant (gdb_module, "FRAME_"#name, name) < 0) \
|
||||||
return -1;
|
return -1;
|
||||||
#define FIRST_ERROR(name) \
|
|
||||||
if (PyModule_AddIntConstant (gdb_module, "FRAME_"#name, name) < 0) \
|
|
||||||
return -1;
|
|
||||||
#include "unwind_stop_reasons.def"
|
#include "unwind_stop_reasons.def"
|
||||||
#undef SET
|
#undef SET
|
||||||
#undef FIRST_ERROR
|
|
||||||
|
|
||||||
return gdb_pymodule_addobject (gdb_module, "Frame",
|
return gdb_pymodule_addobject (gdb_module, "Frame",
|
||||||
(PyObject *) &frame_object_type);
|
(PyObject *) &frame_object_type);
|
||||||
|
Reference in New Issue
Block a user