From: Doug Evans Date: Sat, 23 Nov 2013 22:46:43 +0000 (-0800) Subject: * python/py-frame.c (gdbpy_initialize_frames): Remove FIRST_ERROR, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a12361b95c152656a9ccd68db902bef64bc506a3;p=binutils-gdb.git * python/py-frame.c (gdbpy_initialize_frames): Remove FIRST_ERROR, superfluous. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dcca6ebcb86..f3e456e6e0b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-11-23 Doug Evans + + * python/py-frame.c (gdbpy_initialize_frames): Remove FIRST_ERROR, + superfluous. + 2013-11-23 Doug Evans * python/py-frame.c (frapy_block): Fix error message text. diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index bff3ea42c69..0d024eb5ce4 100644 --- a/gdb/python/py-frame.c +++ b/gdb/python/py-frame.c @@ -646,12 +646,8 @@ gdbpy_initialize_frames (void) #define SET(name, description) \ if (PyModule_AddIntConstant (gdb_module, "FRAME_"#name, name) < 0) \ return -1; -#define FIRST_ERROR(name) \ - if (PyModule_AddIntConstant (gdb_module, "FRAME_"#name, name) < 0) \ - return -1; #include "unwind_stop_reasons.def" #undef SET -#undef FIRST_ERROR return gdb_pymodule_addobject (gdb_module, "Frame", (PyObject *) &frame_object_type);