From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory Date: Wed, 23 Nov 2022 18:16:27 -0500 Message-ID: References: <87wn8komdb.fsf@jpl.nasa.gov> <83zgdgjwk3.fsf@gnu.org> <87y1t0mp40.fsf@secretsauce.net> <83pmecjtxh.fsf@gnu.org> <83h6z0ib3j.fsf@gnu.org> <8335agd63b.fsf@gnu.org> <83wn7q5atd.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4977"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefankangas@gmail.com, 58826@debbugs.gnu.org, dima@secretsauce.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 24 00:17:44 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxyzv-00013E-3N for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Nov 2022 00:17:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxyzI-00053A-3S; Wed, 23 Nov 2022 18:17:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxyzG-00052m-OR for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2022 18:17:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxyzG-0002v0-FB for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2022 18:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxyzF-0005L4-Ul for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2022 18:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Nov 2022 23:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58826 X-GNU-PR-Package: emacs Original-Received: via spool by 58826-submit@debbugs.gnu.org id=B58826.166924540820488 (code B ref 58826); Wed, 23 Nov 2022 23:17:01 +0000 Original-Received: (at 58826) by debbugs.gnu.org; 23 Nov 2022 23:16:48 +0000 Original-Received: from localhost ([127.0.0.1]:56557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxyz1-0005KN-Sz for submit@debbugs.gnu.org; Wed, 23 Nov 2022 18:16:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxyyz-0005K9-Ec for 58826@debbugs.gnu.org; Wed, 23 Nov 2022 18:16:46 -0500 Original-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 1oxyyt-0002r4-TA; Wed, 23 Nov 2022 18:16:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=EVEbw0Kc4esZ1ARw6BRNymDVAVLgYzvG+653Cl98z60=; b=QuAb9Mq7LdRw ZSAswtzb/3GcgsPI4NkVr0SXsa0AWCih26gYbe9ixq3EPFu1fUH6MtE1SbKAOtX5i6Ew9XihSBvBF VB+Pd62NVzQQIrkN9aITi+D4DppjIJUqk2pQvwYgrirP4zz1adQlTw0ZPQxgCpLflqViEbssoU7sf oKP8BG9GTkjZfUDXzO+kCvhtERpJEmoikXA8JfcL0QD7lLW5tJ+Iu0HIfsUkw862NuYRIhPkHxOdi Ys2DM///U0ofXrYURoYU0B+/OEpDHkunHXZBVKn/e/AiefE1yuw2Ee0NCAmuoogc8ungsWLtV/mvC OslIl9UDwiYmk8zlSwa+zw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oxyyh-0003h7-K0; Wed, 23 Nov 2022 18:16:27 -0500 In-Reply-To: <83wn7q5atd.fsf@gnu.org> (message from Eli Zaretskii on Sun, 20 Nov 2022 09:45:02 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248794 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > No, because the default-directory of the *gud-FILE* buffer is already set by > the time you get the GDB prompt. > You can, of course, "M-x cd" in the buffer. Could we fix this by adding a new option to GDB to specify the working directory? The gud.el could use that option if it sees that GDB's default choice for working directory would not be correct. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)