GNU bug report logs - #63855
29.0.91; Exiting gdb's python interactive mode within gud-mode exits gdb as well

Previous Next

Package: emacs;

Reported by: Jonas Bülow <jonas.bulow <at> gmail.com>

Date: Fri, 2 Jun 2023 17:58:02 UTC

Severity: normal

Found in version 29.0.91

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: jonas.bulow <at> gmail.com
Cc: 63855 <at> debbugs.gnu.org
Subject: bug#63855: 29.0.91; Exiting gdb's python interactive mode within gud-mode exits gdb as well
Date: Sat, 03 Jun 2023 14:11:41 +0300
> Cc: 63855 <at> debbugs.gnu.org
> Date: Sat, 03 Jun 2023 13:36:41 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > From: Jonas Bülow <jonas.bulow <at> gmail.com>
> > Date: Sat, 3 Jun 2023 12:10:04 +0200
> > Cc: 63855 <at> debbugs.gnu.org
> > 
> > Unfortunately, there doesn't seem to be any other way to exit python
> > interactive mode. Using exit() or quit() from python interactive mode
> > exits gdb even from the terminal.
> 
> Then I guess we need someone smart to tell how to send Ctrl-D to GDB
> so that it doesn't exit in this case.

Btw, I see a similar behavior from the console, if I start GDB with
the -i=mi option, like Emacs does: when you type Ctrl-D after invoking
"pi", you can no longer interact with GDB: any input you type exits
GDB and gets interpreted by the shell instead.

So maybe this is a GDB bug that needs to be reported to the GDB
developers?




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

Previous Next


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