From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 72BE0384F497 for ; Mon, 21 Nov 2022 20:19:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 72BE0384F497 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxDGX-0003F4-UF; Mon, 21 Nov 2022 15:19:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=YjHPLSc8JW9MgQYUu7Npg9YCzuqVyFU22LRiilNNiB0=; b=keYCK/v57Xa2 9NayLA0QC7/anhcvKmHv2WDBqMZDu2OaBNJ48JxF5COwUiZ8mzzYl/jkbXoG5t9bnrZ2iCrwNObwr LXVt0Nu/xID/765M7yybPoq5tlJDiE5uQy80yQRe2vsq1dOMLfhJ9nt1LNejpgD8iJy/G8W53CZyh y4of6AvHwIq47dNugfWQoAVO3DjTFiaVPokYqJSZeO6N1VWJDqHtGn60JWawBLuUXIcUgvDfU0apn FjQVyczQG0s/1RI3kLhtaIONuet4Y+/bLesAkmFCUF1bxsQHGWdenZgwoIEqUfrK9l192C/nVHjyw AUBml08wflF+UGZXIICUVQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxDGM-00063S-TK; Mon, 21 Nov 2022 15:19:41 -0500 Date: Mon, 21 Nov 2022 22:19:42 +0200 Message-Id: <83y1s412n5.fsf@gnu.org> From: Eli Zaretskii To: Simon Marchi Cc: gdb-patches@sourceware.org In-Reply-To: <7dc71740-a5ca-0c47-134f-a02d58026ce4@polymtl.ca> (message from Simon Marchi on Mon, 21 Nov 2022 15:02:08 -0500) Subject: Re: [PATCH] gdb: add "set debug solib" and use it References: <20221121193636.1479004-1-simon.marchi@polymtl.ca> <83zgck13q4.fsf@gnu.org> <7dc71740-a5ca-0c47-134f-a02d58026ce4@polymtl.ca> X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > Date: Mon, 21 Nov 2022 15:02:08 -0500 > Cc: gdb-patches@sourceware.org > From: Simon Marchi > > > Not sure I understand: we already have "set debug aix-solib" and "set debug > > solib-frv". So this is going to be "set debug svr4-solib"? Or do you mean > > to make a single "set debug solib" command for all platforms? > > The new command was intended to be used by all solib implementations, > but I missed the existing commands you pointed out. I think it would be > fine to have a single knob for all solib implementations. In general, > only one solib implementation will be used at any given time. > > If you agree, I would remove the two existing commands in favor of the > new "set debug solib", and then add my solib-svr4 changes. I have no use for those two commands, but I guess users of AIX and FRV do? Can we just delete the commands from under their feet?