From: Eli Zaretskii <eliz@gnu.org>
To: Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [gdb(-mi)] Output of debugee not redirected to *input/output of ...* buffer when starting gdb via a script
Date: Tue, 26 Jan 2016 17:44:36 +0200 [thread overview]
Message-ID: <83h9i01h23.fsf@gnu.org> (raw)
In-Reply-To: <878u3dbbru.fsf@gmail.com> (message from Christian Schwarzgruber on Mon, 25 Jan 2016 22:16:21 +0100)
> From: Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Mon, 25 Jan 2016 22:16:21 +0100
>
> Now, as I wrote this. I tried to not pass the gdb-init-script to GDB (1), and
> the output of the program gets redirected correctly to the *input/output*
> buffer. I further commented out one line at a time from the gdb-init-script.
> Which revealed, that the `run` command at the end of the gdb-init-script is
> causing this issue. I should have tried this earlier :-/.
>
> Anyway, I think this happens probably because the initialization of the GDB
> interface in Emacs is not done at the moment the `run` command gets
> executed. Just a suspicion but I'm not sure.
Yes, I think gdb-mi wants to see the result of the "run" command to
set up I/O redirection.
prev parent reply other threads:[~2016-01-26 15:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-25 19:26 [gdb(-mi)] Output of debugee not redirected to *input/output of ...* buffer when starting gdb via a script Christian Schwarzgruber
2016-01-25 20:14 ` Eli Zaretskii
2016-01-25 21:16 ` Christian Schwarzgruber
2016-01-26 15:44 ` Eli Zaretskii [this message]
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=83h9i01h23.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=c.schwarzgruber.cs@gmail.com \
--cc=emacs-devel@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 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.