unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean-Philippe Gravel <jpgravel@gmail.com>
To: 14282@debbugs.gnu.org
Subject: bug#14282: 24.3; gud-gdb doesn't work
Date: Fri, 26 Apr 2013 23:41:07 -0400	[thread overview]
Message-ID: <CAB3yAohJ7RVSwHKhRsuSxFu6RJd4NNQt4KWEYXxZNSQ0vczK=Q@mail.gmail.com> (raw)
In-Reply-To: <517B2EFB.1000305@gmail.com>

Emacs 24 now uses two separate buffers for GDB and the debugged
program I/Os.  GDB I/Os still go to the *gud-gdb* buffer, but all the
debugged program's I/Os go to the *input/output of ...* buffer.  Once
the program reaches the scanf, you have to switch to the input/output
buffer to provide input.

If you use gdb-many-windows mode, the two buffers will always be
visible to you, therefore reducing the risk of confusion.

There used to be a variable gdb-use-separate-io-buffer that would
allow you to decide where you'd want the program I/O to go.  This
option is gone with the new gdb-mi interface, but I don't know why.





  reply	other threads:[~2013-04-27  3:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-27  1:50 bug#14282: 24.3; gud-gdb doesn't work weijie sun
2013-04-27  3:41 ` Jean-Philippe Gravel [this message]
2016-06-08  3:03 ` Noam Postavsky
2016-06-08 16:34   ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAB3yAohJ7RVSwHKhRsuSxFu6RJd4NNQt4KWEYXxZNSQ0vczK=Q@mail.gmail.com' \
    --to=jpgravel@gmail.com \
    --cc=14282@debbugs.gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).