GNU bug report logs - #58826
29.0.50; gud-gdb can't find core file if executable is in a different directory

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Thu, 27 Oct 2022 23:53:01 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Dima Kogan <dima <at> secretsauce.net>
To: rms <at> gnu.org
Cc: Eli Zaretskii <eliz <at> gnu.org>, stefankangas <at> gmail.com, 58826 <at> debbugs.gnu.org
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 15:17:49 -0800
Richard Stallman <rms <at> gnu.org> writes:

> Could we fix this by adding a new option to GDB to specify the working
> directory?

This exists: you can "gdb --cd DIR"

But that doesn't matter: this is a gud issue. The complaint was that
running "gdb ARGS" in a shell sometimes doesn't do the same thing as M-x
gud "gdb ARGS", even with the same ARGS




This bug report was last modified 2 years and 173 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.