From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79588 invoked by alias); 9 Jan 2020 00:58:15 -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 79579 invoked by uid 89); 9 Jan 2020 00:58:14 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: gateway33.websitewelcome.com Received: from gateway33.websitewelcome.com (HELO gateway33.websitewelcome.com) (192.185.146.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Jan 2020 00:58:12 +0000 Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 91B0F7D4F for ; Wed, 8 Jan 2020 18:58:10 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id pM9KiOQywHunhpM9KiY8G8; Wed, 08 Jan 2020 18:58:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mU0K71cL+8ps27KB420TfJ5FGX7VKhGBT0ofJ+53Oyk=; b=gaFNJG+EwmIrjx9/f3UTKpQZzK zyLhFPGKilE9lRu0vBv7Q1YEcMaBHy2/9L6UMf9G/ofuDsNjo5Em8L8OHTB7gaUDpLKtc5/e5fp/0 zHic1RQCCIOR1PD/rAeXi5qp2; Received: from 75-166-123-50.hlrn.qwest.net ([75.166.123.50]:33552 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1ipM9K-004IGu-DE for gdb-patches@sourceware.org; Wed, 08 Jan 2020 17:58:10 -0700 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH v2 0/6] Move gdbsupport to top level Date: Thu, 09 Jan 2020 00:58:00 -0000 Message-Id: <20200109005807.7314-1-tom@tromey.com> X-SW-Source: 2020-01/txt/msg00188.txt.bz2 Here is an update of the series to move gdbsupport to the top level. This is one step in the bigger projecct to move gdbserver to top level. In this patch, gdbsupport is given its own configure script -- however, gdbserver still builds its own copy. gdb and gdbserver won't share a gdbsupport library until the final series. This version of the patch fixes up the problems that Pedro pointed out in the shared nat/ and target/ code. In particular, now they can simply rely on the shared config.h. This is enforced by ensuring that the necessary defines are all available; the checker script I used to find the issues is provided in patch #5. I wasn't able to send this through the buildbot. I did test it on x86-64 Fedora 29. I also build it using a mingw cross. If you want to try it, it is on the branch submit/move-gdbsupport-to-top in my github. Let me know what you think. Tom