From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15288 invoked by alias); 28 Jan 2010 17:01:16 -0000 Received: (qmail 15171 invoked by uid 22791); 28 Jan 2010 17:01:15 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 28 Jan 2010 17:01:11 +0000 Received: (qmail 25049 invoked from network); 28 Jan 2010 17:01:09 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 28 Jan 2010 17:01:09 -0000 Date: Thu, 28 Jan 2010 17:01:00 -0000 From: Daniel Jacobowitz To: Jan Kratochvil Cc: gdb-patches@sourceware.org, "H.J. Lu" , GDB Subject: Re: [patch] Fix CLONE_VM vs. TLS [Re: Is CLONE_VM really needed in gdbserver?] Message-ID: <20100128170103.GA9936@caradoc.them.org> Mail-Followup-To: Jan Kratochvil , gdb-patches@sourceware.org, "H.J. Lu" , GDB References: <6dc9ffc81001261551j6221db6v88e96713d6dd9497@mail.gmail.com> <20100127000821.GA29862@caradoc.them.org> <20100127221236.GA4746@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100127221236.GA4746@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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/msg00606.txt.bz2 On Wed, Jan 27, 2010 at 11:12:36PM +0100, Jan Kratochvil wrote: > No regressions on {x86_64,x86_64-m32,i686}-fedora12-linux-gnu and on > x86_64-fedora12-linux-gnu via gdbserver. > > Verified linux_supports_tracefork_flag gets still set with the patch. > > Verified unsetting HAVE_FORK for gdb/gdbserver/ still works the same. > > gdb/ already tests HAVE_FORK in config.in but it is brought in by other > macros, therefore rather added an explicit configure.ac test for it. > > Have not found an easy enough uClinux disk image of some arch for qemu-*. I don't recommend testing HAVE_FORK; uClibc may provide a dummy fork that returns ENOSYS. There's a HAS_NOMMU in linux-low.c that should work. For the test case, what defines UCLINUX? -- Daniel Jacobowitz CodeSourcery