all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com>
To: emacs-devel@gnu.org
Subject: [gdb(-mi)] Output of debugee not redirected to *input/output of ...* buffer when starting gdb via a script
Date: Mon, 25 Jan 2016 20:26:31 +0100	[thread overview]
Message-ID: <87bn89bguw.fsf@gmail.com> (raw)

Hello everybody,

I have question about `gdb(-mi)' in emacs 24.5. I have written a bash debug
wrapper script do choose between various front-ends and do some other stuff.
When I do; M-x gdb RET; delete the default value; enter the script name along
with the other optional parameters, and hit enter. Everything gets initialized
successfully. Debugging the program works as well.

Example:
  Run gdb (like this) dscript --cd=/path/to/the/executable executable ...

However, the output of the debugee gets not redirected to the *input/output of
...* buffer. Does someone know what the cause could be. Or how to further triage
this problem/(bug?).

NOTE:
  (gdb) show inferior-tty
  shows the correct tty value, i.e. the tty of the *input/output of ...* buffer.

Thank you for your help!

--
Christian Schwarzgruber
E: c.schwarzgruber.cs@gmail.com
GPG key ID: C57AB673



             reply	other threads:[~2016-01-25 19:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-25 19:26 Christian Schwarzgruber [this message]
2016-01-25 20:14 ` [gdb(-mi)] Output of debugee not redirected to *input/output of ...* buffer when starting gdb via a script Eli Zaretskii
2016-01-25 21:16   ` Christian Schwarzgruber
2016-01-26 15:44     ` 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=87bn89bguw.fsf@gmail.com \
    --to=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.