On Fri, Jul 9, 2010 at 10:30 AM, HarKoT wrote:
>
> Just in case some other people have the same problem: the "Cset" command
> doesn't work:
> 14 (gdb) set inferior-tty /dev/tty/6
> 15 No symbol "inferior" in current context.
> Instead you need to use Ctty /dev/tty/6
Thanks for the hint.
It probably depends on the gdb version.
On 'GNU gdb 6.8-debian' that I am running, both commands work:
(gdb) help set inferior-tty
Set terminal for future runs of program being debugged.
Usage: set inferior-tty /dev/pts/1
(gdb) help tty
Set terminal for future runs of program being debugged.
Usage: set inferior-tty /dev/pts/1
I will add your question and the answers to pyclewn FAQ.
> I guess it is not possible to redirect the output inside the gdb window ?
> (like the original gdb)
No, you cannot redirect the program output to the gdb window. Most
programs that one may want to debug are either GUI programs or curses
programs that send special characters to stdout. These characters
would mess up vim display if they were to be sent by pyclewn.
When debugging Vim itself (vim is a curses program), for example, you
do not run vim from gdb but usually instead you 'attach' (a gdb
command) from gdb to a running vim program.
Xavier
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general