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, 28 Dec 2022 22:14:14 -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> <83h6yoyh6z.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="803"; 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 Dec 29 04:15:13 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 1pAjNx-000Aa9-3K for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Dec 2022 04:15:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAjNp-00028h-Ar; Wed, 28 Dec 2022 22:15:05 -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 1pAjNn-00028Y-6c for bug-gnu-emacs@gnu.org; Wed, 28 Dec 2022 22:15: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 1pAjNm-0000J0-NR for bug-gnu-emacs@gnu.org; Wed, 28 Dec 2022 22:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAjNl-0000Lf-QS for bug-gnu-emacs@gnu.org; Wed, 28 Dec 2022 22:15: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: Thu, 29 Dec 2022 03:15: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.16722836631258 (code B ref 58826); Thu, 29 Dec 2022 03:15:01 +0000 Original-Received: (at 58826) by debbugs.gnu.org; 29 Dec 2022 03:14:23 +0000 Original-Received: from localhost ([127.0.0.1]:59087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAjN8-0000KE-J0 for submit@debbugs.gnu.org; Wed, 28 Dec 2022 22:14:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAjN6-0000Js-F1 for 58826@debbugs.gnu.org; Wed, 28 Dec 2022 22:14:21 -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 1pAjN1-00005o-2t; Wed, 28 Dec 2022 22:14:15 -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=8FtRmNELyXt3JAPVQMIerMMDIECDIakzV5hYbYyDyWo=; b=IBfChcBLM+u+ 61NeTJHOzplPPMzT7ASzdukRO72CqUyXc5hX4aRTOCXmBPjfsKLhhB9HtQau1U+1Vb3YWjAsvOzNW nFYLkkq1eR1yeyXTm1/FSrxAj7cdAjOrxLXjNe3PupvFc2Lap7Rf5SpYGi7JhyHA4YKDZSuBuxKo4 Ul3Q93jasAlKT1DV3BpZw2QV73MjI8eGQmzR85fBifqroCKtjhrpR1e7ksXgk3GL2OTEd8VFY123N Ip8l4RXZNsNxGwbS8bqpHTO3EqZkfP+9KWZmIuDiBmyjTK+WDMOTOiucu3RlornrEnX0BBs5/p+Od 8AIAKkTePO1GSVmkKVsQyQ==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1pAjN0-0007q0-OX; Wed, 28 Dec 2022 22:14:14 -0500 In-Reply-To: <83h6yoyh6z.fsf@gnu.org> (message from Eli Zaretskii on Thu, 24 Nov 2022 08:55:48 +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:252007 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. ]]] > Telling GDB to chdir to another directory will not affect the > default-directory of the *gud-FILE* buffer, and that was the OP's problem: > the fact that typing a relative file name was interpreted relative to a > directory he didn't expect. It must be Emacs Lisp code that creates the *gud-FILE* buffer and handles these relative file name. Can't that code be changed to DTRT? -- 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)