summaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/top.h')
-rw-r--r--gdb/top.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/top.h b/gdb/top.h
index 2803aa9fc8c..9f6398f7fca 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -42,19 +42,6 @@ extern char gdbinit[];
#define SIGLONGJMP(buf,val) longjmp(buf,val)
#endif
-/* Temporary variable for SET_TOP_LEVEL. */
-
-int top_level_val;
-
-/* Do a setjmp on error_return and quit_return. catch_errors is
- generally a cleaner way to do this, but main() would look pretty
- ugly if it had to use catch_errors each time. */
-
-#define SET_TOP_LEVEL() \
- (((top_level_val = SIGSETJMP (error_return)) \
- ? (PTR) 0 : (PTR) memcpy (quit_return, error_return, sizeof (SIGJMP_BUF))) \
- , top_level_val)
-
extern SIGJMP_BUF error_return;
extern SIGJMP_BUF quit_return;