bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63855: 29.0.91; Exiting gdb's python interactive mode within gud-mod


From: Eli Zaretskii
Subject: bug#63855: 29.0.91; Exiting gdb's python interactive mode within gud-mode exits gdb as well
Date: Fri, 02 Jun 2023 21:21:10 +0300

> From: Jonas Bülow <jonas.bulow@gmail.com>
> Date: Fri, 2 Jun 2023 18:00:33 +0200
> 
> 0. (start with emacs -Q)
> 1. M-x gdb <RET>
> 2. Run gdb (like this): gdb -i=mi <RET>
> 3. Enter python interactive mode with: pi <RET>
> 4. Try to exit gdb's python interactive mode with Ctrl-D
> 
> Expected: get back to gdb prompt
> 
> Actual: gdb exits with "Debugger finished"

AFAIR, this is the best we can do in that situation.  You should exit
python interactive mode by other means, if you want to stay inside
GDB.  Sorry.

(Of course, if someone knows how to teach gdb-mi.el to distinguish
between the two possible interpretations of EOF, patches to do so will
be welcome.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]