aboutsummaryrefslogtreecommitdiff
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
parenta00ad97d613fec56fab39a83da4205bffc9dc4cc (diff)
downloadgdb-fb106663681b17b2d443c4ffc64f5d74be5dad8d.zip
gdb-fb106663681b17b2d443c4ffc64f5d74be5dad8d.tar.gz
gdb-fb106663681b17b2d443c4ffc64f5d74be5dad8d.tar.bz2
Zap some bogus #ifndef _WIN32 - hangover from WinGDB
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/main.c8
2 files changed, 5 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b577f60..f4422fc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-04 Andrew Cagney <ac131313@redhat.com>
+
+ * main.c (captured_main): Delete #ifndef _WIN32 conditional for
+ WinGDB.
+
2001-05-06 Kevin Buettner <kevinb@redhat.com>
* inferior.h (save_inferior_ptid): Declare.
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. */
}