From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11486 invoked by alias); 12 Dec 2013 22:06:38 -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 11472 invoked by uid 89); 12 Dec 2013 22:06:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS 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 ESMTP; Thu, 12 Dec 2013 22:06:36 +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 rBCM6Yrn032464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 12 Dec 2013 17:06:34 -0500 Received: from barimba (ovpn-113-93.phx2.redhat.com [10.3.113.93]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rBCM6WYO017602 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 12 Dec 2013 17:06:33 -0500 From: Tom Tromey To: Joel Brobecker Cc: Pedro Alves , gdb-patches@sourceware.org Subject: Re: [RFA] nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing References: <1386070185-8020-1-git-send-email-brobecker@adacore.com> <529E361B.7070807@redhat.com> <20131205105437.GE3175@adacore.com> <52A073CC.3050009@redhat.com> <20131209113333.GC4011@adacore.com> <20131210105624.GA14056@adacore.com> <52A719F1.6060906@redhat.com> <52A71DDC.2080908@redhat.com> <20131212181843.GB3528@adacore.com> Date: Thu, 12 Dec 2013 22:06:00 -0000 In-Reply-To: <20131212181843.GB3528@adacore.com> (Joel Brobecker's message of "Thu, 12 Dec 2013 19:18:43 +0100") Message-ID: <87ob4lzpuf.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-12/txt/msg00516.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: Joel> which is good enough for our purposes. But for the second issue, Joel> I only had a handful of bad options for our current situation: Joel> 1. Import the module from gnulib; but that's never an innocent Joel> change, and also the documentation says that it does not work Joel> for Windows paths; Joel> 2. Import the libiberty module by hand, which itself depends on Joel> their safe-ctype.h module. Joel> 3. Write a quick ad hoc function that implements basename. Now that we are on git and can move stuff around without much hassle, I think it's a good time for someone to tackle rearranging the tree a bit so that this artificial "gdbserver cannot use libiberty" restriction can be lifted. I think this means turning common into a real library (itself a bit tricky due to the #ifs) and moving the gnulib, common, target and gdbserver directories to top-level. Tom