[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 169402] ncurses test program crashes during debug
From: Jekyll Wu <adaptee () gmail ! com>
Date: 2011-08-28 10:28:51
Message-ID: E1Qxcbj-0007Qt-Ug () bugs ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=169402
Jekyll Wu <adaptee@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adaptee@gmail.com,
| |kdevelop-bugs@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 on the CC list for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic