aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-frame.c')
-rw-r--r--gdb/python/py-frame.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c
index bff3ea4..0d024eb 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);