[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a d
From: |
Eli Zaretskii |
Subject: |
bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory |
Date: |
Sun, 20 Nov 2022 09:45:02 +0200 |
> From: Richard Stallman <rms@gnu.org>
> Cc: stefankangas@gmail.com, 58826@debbugs.gnu.org,
> dima@secretsauce.net
> Date: Sat, 19 Nov 2022 20:15:40 -0500
>
> > The above means that the default-directory of the *gud-FILE* buffer
> > will be different depending on whether at gud-gdb's prompt you type
> > the GDB command with the program to debug in its absolute file-name
> > form:
>
> > gdb ... /foo/bar/baz ...
>
> > or you type
>
> > gdb ... baz ...
>
> > and let GDB find 'baz' by searching PATH.
>
> Indeed, that can happen.
>
> But does GDB have a command to specify the file name of the core dump?
Yes, it does.
> If it does, can you override that mistaken heuristic choice by specifying
> the complete file name of the core dump?
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.
- bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory, Stefan Kangas, 2022/11/12
- bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory, Richard Stallman, 2022/11/14
- bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory, Eli Zaretskii, 2022/11/15
- bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory, Richard Stallman, 2022/11/18
- bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory, Eli Zaretskii, 2022/11/18
- bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory, Richard Stallman, 2022/11/19
- bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory,
Eli Zaretskii <=
- bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory, Richard Stallman, 2022/11/23
- bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory, Dima Kogan, 2022/11/23
- bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory, Richard Stallman, 2022/11/25
- bug#58826: 29.0.50; gud-gdb can't find core file if executable is in a different directory, Eli Zaretskii, 2022/11/24