This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfc] Zap _WIN32 from main.c
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [rfc] Zap _WIN32 from main.c
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 04 May 2001 13:38:27 -0400
Hello,
Per _WIN32 discussion, the attatched zapps the #ifndef _WIN32 from main.c.
Andrew
2001-05-04 Andrew Cagney <ac131313@redhat.com>
* main.c (captured_main): Delete #ifndef _WIN32 conditional for
WinGDB.
Index: main.c
===================================================================
RCS file: /cvs/src/src/gdb/main.c,v
retrieving revision 1.9
diff -p -r1.9 main.c
*** main.c 2001/04/05 02:02:13 1.9
--- main.c 2001/05/04 16:56:39
*************** extern int gdbtk_test (char *);
*** 706,718 ****
#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)
--- 706,711 ----
*************** extern int gdbtk_test (char *);
*** 748,754 ****
{
catch_errors (captured_command_loop, 0, "", RETURN_MASK_ALL);
}
- #endif
/* No exit -- exit is through quit_command. */
}
--- 741,746 ----