all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Leake <stephen_leake@stephe-leake.org>
Cc: 13303@debbugs.gnu.org
Subject: bug#13303: 24.2.91; gdb under emacs broken for break commands
Date: Sat, 29 Dec 2012 20:56:54 +0200	[thread overview]
Message-ID: <831ue8lma1.fsf@gnu.org> (raw)
In-Reply-To: <85wqw0zoql.fsf@stephe-leake.org>

> From: Stephen Leake <stephen_leake@stephe-leake.org>
> Cc: 13303@debbugs.gnu.org
> Date: Sat, 29 Dec 2012 13:40:02 -0500
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > It's XP SP3.  Do you mean you don't get "(gdb)" after typing "end" on
> > Windows as well?
> 
> Correct.

Is that with native Emacs and GDB, or with Cygwin builds thereof?

> > Perhaps turn on gdb-enable-debug, and see what you get in the
> > gdb-debug-log variable.
> 
> That shows the failure:
> 
> gdb-debug-log
> ((recv . "~\">\"
> ") (mi-send . #("-interpreter-exec console \"end\"
> " 27 30 (fontified t))) (recv . "~\">\"
> ") (mi-send . #("-interpreter-exec console \"p argc\"
> " 27 33 (fontified t))) (recv . "~\">\"
> ") (mi-send . #("-interpreter-exec console \"command 1\"
> " 27 36 (fontified t))) (recv . "16^error,msg=\"No registers.\"
> (gdb) 
> 17^done,threads=[]
> (gdb) 

What can I say? it's strange.  I even tried with GDB 7.4.1 on Windows
(don't have it on GNU/Linux), and after "set interactive-mode off",
"end" ends the breakpoint commands and gets me back to the GDB prompt.

> > But I still would like to find out why it doesn't work for you with
> > -i=mi?
> 
> I'd like to know as well; I assume support for --fullname/--annotate=3
> will go away at some point.

Maybe someone else could chime in and suggest ideas.

> Is there another (non-emacs) front-end that uses gdb -i=mi that I can
> try, to see if it works there? 

http://sourceware.org/gdb/wiki/GDB%20Front%20Ends lists a few.





  reply	other threads:[~2012-12-29 18:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-29  4:04 bug#13303: 24.2.91; gdb under emacs broken for break commands Stephen Leake
2012-12-29  8:17 ` Eli Zaretskii
2012-12-29 12:31   ` Stephen Leake
2012-12-29 12:55     ` Eli Zaretskii
2012-12-29 15:28       ` Stephen Leake
2012-12-29 17:19         ` Eli Zaretskii
2012-12-29 18:40           ` Stephen Leake
2012-12-29 18:56             ` Eli Zaretskii [this message]
2012-12-29 17:54         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831ue8lma1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=13303@debbugs.gnu.org \
    --cc=stephen_leake@stephe-leake.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.