From: Andrew Cagney Date: Mon, 7 May 2001 19:03:11 +0000 (+0000) Subject: Zap some bogus #ifndef _WIN32 - hangover from WinGDB X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb106663681b17b2d443c4ffc64f5d74be5dad8d;p=binutils-gdb.git Zap some bogus #ifndef _WIN32 - hangover from WinGDB --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b577f60d3b0..f4422fc50cb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-05-04 Andrew Cagney + + * main.c (captured_main): Delete #ifndef _WIN32 conditional for + WinGDB. + 2001-05-06 Kevin Buettner * inferior.h (save_inferior_ptid): Declare. diff --git a/gdb/main.c b/gdb/main.c index ceac1327e35..ad4e3b7f598 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. */ }