From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92164 invoked by alias); 17 Feb 2020 14:21:35 -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 92156 invoked by uid 89); 17 Feb 2020 14:21:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=arrangement X-HELO: esa2.hgst.iphmx.com Received: from esa2.hgst.iphmx.com (HELO esa2.hgst.iphmx.com) (68.232.143.124) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Feb 2020 14:21:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1581949315; x=1613485315; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=3JuHuNU/TvD50THCBckelmDFVvyMDckeBHF6WdVIdeQ=; b=DMmTpCyQcYf6YUeolCdCJBiHoB6xdlCKu5lW1EaxNF/Wr3YU2ArwAjQ/ j9Huy2p7o91t7+6QRV1eQtlcRBgO3fgarYlYgq3XtFgsWbHlrKmKBJLta Z3ziRfP5hlPLUck8GgsTZWA8N0s9v5UaBO4VVjjLReokl9WgjvOn14FHK fylFk3NXN/sZgey4mdZOro5NZOGHhaEYnCJAIVAh2soQNRIQNj71U3zoJ KaMGtT/O1cW11pGhN/ZFNTyZ2aynYDL3LXRPOAVrP2zRyNtQd+SCypdj2 wZRKXT9OIOFZJBPSCypmv2lEBrs/2Cjyid/T7OMaAa5juZyQkB69SGfy3 g==; IronPort-SDR: lC+H1ItxYcDYQ3pe8b22w1nzn5lN1EWR961sLrmKwpAcpi3HsjObcc+CjwuAbaERCHhGzk9J9z i2dwBrOEaQmN/vtpG2q2d3igGAypy4xDRkk/2G4TTMsln91KeuNRLI/SgprqR+5Idq/tu8M4OA m0pSuDWDJqiAw1xwxljKmup6ViywIkIFShHUTM662XWPzfSP9LZO2ntilmOmLU2z4S4497Brlx 5mTrgMJ0wzjROsAb0UO7BEx5iPS2a8aHDVE/lkhqRtU9eU/gLJdVN78+XOkE2nNkdAHrA5f+4N MpY= Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 17 Feb 2020 22:21:52 +0800 IronPort-SDR: XYpPOGI4qKmT3Ug5haPrSaT05knQqmMm1Dm1vWAHVeDIgV/SFaColwLLSR+BIN2ZBogSmTIRBh gP/8Z6+3zy+I1X9KCWjQVQg97WMxB0LOLGsE4m+oqeEKLlsphvmOLZs1GYHGuaXF9HrxJGGNV/ sYjSFFVdXcUgnD1hL7FMEp1v8sAzANA9p/SmgSflVg8jGXcX0qLb5okp0+E/Hi72JGtyDhxDw5 nqTAsX1H5NGtRlS7f9S97nok4xkp6BO1i8GNuAHk36pOh4k0xd4ey+OKYSyyj/oqeAVYL0rpwl voWcR/IQBPs+HSS0omnmO8M1 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2020 06:14:12 -0800 IronPort-SDR: c5qqSytuomZDx/+Cp+oPYR6qhDxMf7dl8bJ6Z+ok0Q09zdQLaKWEAJAzh5/91j47OTfkYoQe/F ce1b0emsR5UF3n1TMBUmLBOK+wwJYyrZYJIy0Q8FiWZGTELUcC/zM5E7PzegznZZsfmhGFeAc8 bPbS+65XJGc9F9IYCJAvlMbACIbODb8VwMQ/HZ5BSC7H5pAJkmrDbbG7KlL5ylCtVFFMOGAC5e E7Kge196GAtBjERG4JKoyAkabuXLbVmk+/OPGOD6Eso61U4WebxB1g7g+4Lo59qeJ32xn5cdMv FSk= WDCIronportException: Internal Received: from unknown (HELO redsun52) ([10.149.66.28]) by uls-op-cesaip01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2020 06:21:31 -0800 Date: Mon, 17 Feb 2020 14:21:00 -0000 From: "Maciej W. Rozycki" To: Luis Machado cc: Tom Tromey , Sergio Durigan Junior , Tom de Vries , Pedro Alves , gdb-patches@sourceware.org Subject: Re: [PATCH] Move gdbserver to top level In-Reply-To: Message-ID: References: <87d0bf45up.fsf@tromey.com> <7ceebbb7-b2f7-3d4a-1d8a-f31310badbe8@redhat.com> <874kwk8nz9.fsf@tromey.com> <171a3144-af37-1c29-a2a4-c4cd7eaa14c0@redhat.com> <87r1zm6x8s.fsf@tromey.com> <01b4b5ca-a802-54b5-3135-428b7c9faa84@redhat.com> <87o8uo4mj0.fsf@tromey.com> <87blqfn0d6.fsf@tromey.com> <0b6b4f24-f5c8-b236-c249-737e70395667@suse.de> <4d5a1276-91aa-7197-5f90-854767987f73@suse.de> <87imkeh1za.fsf@redhat.com> <87eev0bp4s.fsf@tromey.com> <8736bd3jt2.fsf@redhat.com> <8736bdj9qt.fsf@tromey.com> <87pnegan2x.fsf@tromey.com> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SW-Source: 2020-02/txt/msg00617.txt.bz2 On Mon, 17 Feb 2020, Luis Machado wrote: > Should --disable-gdb also imply --disable-gdbserver? Or should we be > able to build gdbserver without building gdb (sounds a bit more complex)? Nope, `--disable-gdb --enable-gdbserver' is typical for a cross-debug environment, where you want to configure and build cross-GDB with `--host=foo --target=bar' and `gdbserver' with `--host=bar'. Sometimes your build environment may not even be capable to build native GDB with `--host=bar', or your target system to run it, and in any case building GDB takes a lot of processing time compared to `gdbserver'. So it would be a waste of resources if we forced people to do that. I build `gdbserver' by itself routinely, although I only did the minimum to convert from the old layout, that is rather than calling `configure' from gdb/gdbserver/ I now call it from gdbserver/. So far it has worked, although with the new arrangement it probably qualifies as a hack, and may stop working sometime. Maciej