GNU bug report logs - #13303
24.2.91; gdb under emacs broken for break commands

Previous Next

Package: emacs;

Reported by: Stephen Leake <stephen_leake <at> stephe-leake.org>

Date: Sat, 29 Dec 2012 04:06:01 UTC

Severity: minor

Merged with 13569, 20807, 32576

Found in versions 24.2.91, 24.3.50, 24.5, 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stephen Leake <stephen_leake <at> stephe-leake.org>
Cc: 13303 <at> debbugs.gnu.org
Subject: bug#13303: 24.2.91; gdb under emacs broken for break commands
Date: Sat, 29 Dec 2012 14:55:56 +0200
> From: Stephen Leake <stephen_leake <at> stephe-leake.org>
> Cc: 13303 <at> debbugs.gnu.org
> Date: Sat, 29 Dec 2012 07:31:07 -0500
> 
> > Anyway, the annoyance with no "> " prompt on Posix hosts is a known
> > problem with GDB versions older than 7.5; see bug#11279.  You can work
> > around it by typing this command at the first GDB prompt:
> >
> >   (gdb) set interactive-mode off
> >
> > GDB 7.5 fixed that problem, so upgrading your GDB will remove the need
> > to use the above work-around.
> 
> That does restore the "> " prompt, but it also restores EOF behavior (it
> now quits the debugger). 

I don't understand: you are supposed to end the breakpoint commands by
typing just "end" at the "> " prompt.  It works for me with GDB 7.3
and Emacs 24.2.91 on GNU/Linux; if it doesn't work for you, please
tell what happens when you type "end" to end the breakpoint commands.
So what happens when sending EOF is not really relevant here, IMO.
(That command only works on GNU/Linux at the top level, not during
specification of breakpoint commands.)

> So the core problem remains: there is no way to terminate prompting
> for new command lines, without quiting the debugger.

See above: "end" works for me.




This bug report was last modified 6 years and 256 days ago.

Previous Next


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