aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2013-11-23 14:46:43 -0800
committerDoug Evans <xdje42@gmail.com>2013-11-23 14:46:43 -0800
commita12361b95c152656a9ccd68db902bef64bc506a3 (patch)
tree67ae9dc0eb227d1bdff6eb5e5b395c72164d662e /gdb/python
parent1e1d69201b94881374202709f1801d1126fc7ef7 (diff)
downloadgdb-a12361b95c152656a9ccd68db902bef64bc506a3.zip
gdb-a12361b95c152656a9ccd68db902bef64bc506a3.tar.gz
gdb-a12361b95c152656a9ccd68db902bef64bc506a3.tar.bz2
* python/py-frame.c (gdbpy_initialize_frames): Remove FIRST_ERROR,
superfluous.
Diffstat (limited to 'gdb/python')
-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);