From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40626 invoked by alias); 8 Apr 2015 16:47:00 -0000 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 Received: (qmail 40612 invoked by uid 89); 8 Apr 2015 16:46:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 08 Apr 2015 16:46:58 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t38Gks9D018230 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 8 Apr 2015 12:46:54 -0400 Received: from localhost (unused-10-15-17-126.yyz.redhat.com [10.15.17.126]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t38Gkra1008193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA256 bits=256 verify=NO); Wed, 8 Apr 2015 12:46:54 -0400 From: Sergio Durigan Junior To: "Pierre Muller" Cc: "'Pedro Alves'" , "'GDB Patches'" Subject: Re: Build failure following: Implement support for checking /proc/PID/coredump_filter commit References: <1427241443-5939-1-git-send-email-sergiodj@redhat.com> <1427241443-5939-2-git-send-email-sergiodj@redhat.com> <5515289D.1000006@redhat.com> <874mp0vir0.fsf@redhat.com> <000001d07205$69de1770$3d9a4650$@muller@ics-cnrs.unistra.fr> <55253E9E.4060106@redhat.com> <552545B3.9000402@redhat.com> <001c01d07218$fd5daa20$f818fe60$@muller@ics-cnrs.unistra.fr> X-URL: http://blog.sergiodj.net Date: Wed, 08 Apr 2015 16:47:00 -0000 In-Reply-To: <001c01d07218$fd5daa20$f818fe60$@muller@ics-cnrs.unistra.fr> (Pierre Muller's message of "Wed, 8 Apr 2015 18:28:02 +0200") Message-ID: <87a8yi1sar.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00276.txt.bz2 On Wednesday, April 08 2015, Pierre Muller wrote: >> Please try the users/palves/gnulib-strtok_r branch. > > I can confirm that I am able to build mingw32 64bit gdb.exe executable, > and it contains gnulib/import/strtok_r.c source. That is great, thanks Pierre. > I am not really able to test that the code works OK, > as I don't really know how to trigger that code... The code will not work on native Windows debugging, so there is nothing to test there. If you debug a remote GNU/Linux target, you should be able to tweak the value of /proc/PID/coredump_filter on the target and generate different kinds of corefiles based on it. But I don't know how hard it would be for you to test this. > I have no idea what we should do now... IMO the easiest and safest thing to do now would be to just import the strtok_r module from gnulib (without updating it). -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/