From e6d088ec316f9980416fd7bd541229c4321a17f6 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Thu, 21 Jan 2010 14:26:12 +0000 Subject: [PATCH] 2010-01-21 Kai Tietz * inflow.c (check_syscall): Guard by #if clause for GO32 and WIN32 targets. --- gdb/ChangeLog | 5 +++++ gdb/inflow.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ca5f9d4ecc..3787a30f86 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-01-21 Kai Tietz + + * inflow.c (check_syscall): Guard by #if clause for GO32 and + WIN32 targets. + 2010-01-20 Tom Tromey PR backtrace/10770: diff --git a/gdb/inflow.c b/gdb/inflow.c index 5c9f7ac88c..cef36ea0c7 100644 --- a/gdb/inflow.c +++ b/gdb/inflow.c @@ -633,7 +633,7 @@ new_tty_prefork (const char *ttyname) inferior_thisrun_terminal = ttyname; } - +#if !defined(__GO32__) && !defined(_WIN32) /* If RESULT, assumed to be the return value from a system call, is negative, print the error message indicated by errno and exit. MSG should identify the operation that failed. */ @@ -646,6 +646,7 @@ check_syscall (const char *msg, int result) _exit (1); } } +#endif void new_tty (void)