From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30638 invoked by alias); 22 Jan 2010 17:09:13 -0000 Received: (qmail 30630 invoked by uid 22791); 22 Jan 2010 17:09:12 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 22 Jan 2010 17:09:05 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0KWN00M00R5TLU00@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Fri, 22 Jan 2010 19:09:03 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.141.118]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KWN00LVBRN1ZE30@a-mtaout21.012.net.il>; Fri, 22 Jan 2010 19:09:02 +0200 (IST) Date: Fri, 22 Jan 2010 17:09:00 -0000 From: Eli Zaretskii Subject: Re: [patch]: Fix build for GO32 and WIN32 targets In-reply-to: <201001221408.41191.pedro@codesourcery.com> To: Pedro Alves Cc: gdb-patches@sourceware.org, ktietz70@googlemail.com Reply-to: Eli Zaretskii Message-id: <83aaw66p8q.fsf@gnu.org> References: <90baa01f1001210612v145db5f9m3b4607f602c2ae26@mail.gmail.com> <201001212218.44673.pedro@codesourcery.com> <83sk9y7fux.fsf@gnu.org> <201001221408.41191.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00549.txt.bz2 > From: Pedro Alves > Date: Fri, 22 Jan 2010 14:08:40 +0000 > Cc: ktietz70@googlemail.com > > You seem to be asking why are all the calls to > check_syscall compiled out on djgpp and win32. Yes, that's what I was asking. > If you actually try looking at the code, and who is calling it, > you'll see that this is code that runs in the context of the > inferior process, not gdb, in the fork_inferior dance, when creating > a new inferior. These targets don't use fork_inferior to create a > process. The code is ifdefed out presumably because it wouldn't > compile on those systems. Thanks for explaining this to me.