This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch]: Fix build for GO32 and WIN32 targets
> From: Pedro Alves <pedro@codesourcery.com>
> 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.