unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [gdb(-mi)] Output of debugee not redirected to *input/output of ...* buffer when starting gdb via a script
@ 2016-01-25 19:26 Christian Schwarzgruber
  2016-01-25 20:14 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Schwarzgruber @ 2016-01-25 19:26 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-26 15:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).