[Konsole-devel] [Bug 169402] ncurses test program crashes during debug
Jekyll Wu
adaptee at gmail.com
Sun Aug 28 10:28:51 UTC 2011
https://bugs.kde.org/show_bug.cgi?id=169402
Jekyll Wu <adaptee at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adaptee at gmail.com,
| |kdevelop-bugs at kdevelop.org
--- Comment #7 from Jekyll Wu <adaptee gmail com> 2011-08-28 10:28:51 ---
I tried to reproduce this problem but was blocked by another issue. KDevelop
kept telling me "GDB cannot use the tty* or pty* devices."
I am a little confused by the relationship between gdb, konsole and the target
executable. The basic problem is : who starts the target executable? I thought
it was konsole, but running 'ps aux|grep konsole' returned this :
konsole -caption kdevelop: Debug application console -e sh -c
tty>/tmp/debug_tty.9YX3BR;trap "" INT QUIT TSTP;exec<&-;exec>&-;while :;do
sleep 3600;done
My rough understanding is konsole is simply used to display the I/O. The target
executable is not started by konsole, but by gdb. Am I right? If that is the
truth, then of course $TERM is not set, because konsole is only responsible for
and capable of setting $TERM for executable/process started by it. Starting
kdevelop from terminal won't have this problem, because $TERM is already set
and will be inherited by child processes.
Just my 2 cents. Hope some kdevelop developer can clarify my confusion.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the konsole-devel
mailing list