aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-05-07 19:03:11 +0000
committerAndrew Cagney <cagney@redhat.com>2001-05-07 19:03:11 +0000
commitfb106663681b17b2d443c4ffc64f5d74be5dad8d (patch)
tree48a1112e07b3f7d5f8ac3f56ccfd59d9820ec0e8 /gdb/main.c
parenta00ad97d613fec56fab39a83da4205bffc9dc4cc (diff)
downloadgdb-fb106663681b17b2d443c4ffc64f5d74be5dad8d.zip
gdb-fb106663681b17b2d443c4ffc64f5d74be5dad8d.tar.gz
gdb-fb106663681b17b2d443c4ffc64f5d74be5dad8d.tar.bz2
Zap some bogus #ifndef _WIN32 - hangover from WinGDB
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/main.c b/gdb/main.c
index ceac132..ad4e3b7 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -706,13 +706,6 @@ extern int gdbtk_test (char *);
#endif
}
- /* The default command loop.
- The WIN32 Gui calls this main to set up gdb's state, and
- has its own command loop. */
-#if !defined _WIN32 || defined __GNUC__
- /* GUIs generally have their own command loop, mainloop, or
- whatever. This is a good place to gain control because many
- error conditions will end up here via longjmp(). */
#if 0
/* FIXME: cagney/1999-11-06: The original main loop was like: */
while (1)
@@ -748,7 +741,6 @@ extern int gdbtk_test (char *);
{
catch_errors (captured_command_loop, 0, "", RETURN_MASK_ALL);
}
-#endif
/* No exit -- exit is through quit_command. */
}