emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gdb(-mi)] Output of debugee not redirected to *input/output of ...*


From: Eli Zaretskii
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

> From: Christian Schwarzgruber <address@hidden>
> Cc: address@hidden
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]