Zap some bogus #ifndef _WIN32 - hangover from WinGDB
authorAndrew Cagney <cagney@redhat.com>
Mon, 7 May 2001 19:03:11 +0000 (19:03 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 7 May 2001 19:03:11 +0000 (19:03 +0000)
gdb/ChangeLog
gdb/main.c

index b577f60..f4422fc 100644 (file)
@@ -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.
index ceac132..ad4e3b7 100644 (file)
@@ -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.  */
 }