aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/python-internal.h')
-rw-r--r--gdb/python/python-internal.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index 759e305..a6ee4a9 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -933,13 +933,6 @@ private:
};
/* Use this in a 'catch' block to convert the exception to a Python
- exception and return nullptr. */
-#define GDB_PY_HANDLE_EXCEPTION(Exception) \
- do { \
- return gdbpy_handle_gdb_exception (nullptr, Exception); \
- } while (0)
-
-/* Use this in a 'catch' block to convert the exception to a Python
exception and return -1. */
#define GDB_PY_SET_HANDLE_EXCEPTION(Exception) \
do { \