From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by sourceware.org (Postfix) with ESMTPS id ECC263858415 for ; Wed, 6 Oct 2021 07:56:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ECC263858415 Received: by mail-lf1-x130.google.com with SMTP id x27so6795499lfu.5 for ; Wed, 06 Oct 2021 00:56:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-description:content-disposition:in-reply-to; bh=Vlk3z/cs2//AKwXms2UNqA/kwPf+Ib/GyPHt5ooEEnE=; b=rnp3//0i8w9Y5bGS/yhp2kEVxzsdLCaZMC/D6LDA+edIBcY2y/rWw2POUq6uYGPRBm BOkEutJCTWMVYAFfU1ZmnblvRugJ7d9DOGzFRU8aQOKQUpHKAlTPwgqG8GF4vP7rvBZF RNr0x1iaiA4/C240sV+xrrYgnK2J33RRvLCwaEmIK/hqcKgiIZhesFMsjlsTv2xRjM3r hMU0s85QcuZwi1nQ9efsN+3sNYUfSM01IpmAb8GBud7eB/HhMpBTzHihhVCBa5KFwoKz m0TXZpwP2NfDuOEBOlEVOQ1mNweLVBNPGi7Vpfcx5+mmbqfpiYUfh4FY6r5oEwZyHUJ2 z1Fg== X-Gm-Message-State: AOAM5306Ql9BWBxk9NO9KSxzq92gLkDw2QaH24h+nxXM5CsF8xDh5G4A x5njx99JuRCznoQQGb+HUVk= X-Google-Smtp-Source: ABdhPJwyGTeFybWpMR4/XH+G9eLdGPLWYiYDzwzqW4cL68PyX2qiIpZ1TUj/Ve947fIjDltVfEEObg== X-Received: by 2002:a2e:b545:: with SMTP id a5mr26884215ljn.48.1633506984762; Wed, 06 Oct 2021 00:56:24 -0700 (PDT) Received: from gmail.com ([2a03:1b20:1:f410::18d]) by smtp.gmail.com with ESMTPSA id i15sm1080823lfc.11.2021.10.06.00.56.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 00:56:24 -0700 (PDT) Date: Wed, 6 Oct 2021 09:57:11 +0200 From: Shahab Vahedi To: Hillary Barder Cc: gdb@sourceware.org Subject: Re: Uninstall GDB 9.2 from manual installation Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: uninstall_92 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, FSL_HELO_FAKE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2021 07:56:28 -0000 Hi Emily, On Tue, Oct 05, 2021 at 10:54:20AM -0400, Hillary Barder via Gdb wrote: > to install GDB 9.2 to /usr/local/bin on my Mac. Right now I want to > completely remove this old version, because it crash my problem and > consumes 100% CPU sometimes. Could you please tell me how to uninstall it > in my case? Thank you so much! Assuming that you still have the build directory available, your very first bet _would be_: $ cd /path/to/build $ make uninstall the uninstall target is not supported in this tree Then this is what I suggest as a workaround: Build GDB 9.2 again, but this time install it in a path that is new and no other files reside in: $ cd /path/to/build $ /path/to/src/binutils/configure ... --prefix=/local/pristine/path ... $ make $ make install # no root permission is needed Now, enlist all the files installed in that path and (manually) remove their counter part on your system: $ find /local/pristine/path /local/pristine/path/usr/bin/gdb # remove "/usr/bin/gdb" /local/pristine/path/usr/share/doc/... # ... Cheers, Shahab