[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[STUMP] tty redirection from GDB to xterm not working
From: |
Carlos Konstanski |
Subject: |
[STUMP] tty redirection from GDB to xterm not working |
Date: |
Mon, 26 Apr 2010 22:14:26 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100417 Lightning/1.0b2pre Shredder/3.0.4 |
I am running an ncurses C++ program under GDB from within Emacs for a
programming assignment at school. I use the following trick to get the
console output redirected to an xterm so that the ncurses stuff works:
http://cdw.sourceforge.net/documentation/emacs_gdb_ncurses/emacs_gdb_ncurses.en.html#cleaning_upa
The problem is that I have to log into an xfce4 desktop environment to get
this to work. If I try it from stumpwm, I get the following message in the
xterm when GDB tries to send output to it:
warning: GDB: Failed to set controlling terminal: Operation not permitted
All things are equal except that in one case I am running xfce4, and in the
other case I am running stumpwm. I am running stumpwm from the saved image
that is built by the makefile, and I am using SBCL.
Any ideas how I can get past this problem?
Thanks,
Carlos Konstanski
- [STUMP] tty redirection from GDB to xterm not working,
Carlos Konstanski <=