X-Spam-Check-By: sourceware.org Message-ID: <451A93C5.5010307@cygwin.com> Date: Wed, 27 Sep 2006 11:07:49 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060727 Fedora/1.5.0.5-1.fc4.remi Thunderbird/1.5.0.5 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: gdb with X-win problem References: <195b3f1f0609270133m72126ab8k8bc0abcda17549bc AT mail DOT gmail DOT com> In-Reply-To: <195b3f1f0609270133m72126ab8k8bc0abcda17549bc@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Wynfield Henman wrote: > I am not able to get the new gdb to handle any x-window applications > or even on the non-x window invocation of emacs..... > > Does anyone else have this problem. > >> From zsh > ---------------------------------------------------------------- > Attaching to program `/usr/local/bin/xv.exe', process 2772 > zsh: suspended (tty output) gdb xv 2940 > >> From bash > ---------------------------------------------------------------- > (gdb) attach 2340 > Attaching to process 2772 > > [1]+ Stopped gdb > bash-3.1$ > > ---------------------------------------------------------------- > then when used from a terminal window I get > gdb emacs > GNU gdb 6.5.50.20060706-cvs (cygwin-special) > Copyright (C) 2006 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i686-pc-cygwin"... > (gdb) run > Starting program: /bin/emacs.exe > Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll > Loaded symbols for /usr/bin/cygncurses-8.dll > Loaded symbols for /usr/bin/cygwin1.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll > Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll > Loaded symbols for /usr/bin/cygjpeg-62.dll > Loaded symbols for /usr/bin/cygpng12.dll > Loaded symbols for /usr/bin/cygz.dll > Loaded symbols for /usr/bin/cygtiff-5.dll > Loaded symbols for /usr/bin/cygungif-4.dll > Loaded symbols for /usr/X11R6/bin/cygX11-6.dll > Loaded symbols for /usr/X11R6/bin/cygICE-6.dll > Loaded symbols for /usr/X11R6/bin/cygSM-6.dll > Loaded symbols for /usr/X11R6/bin/cygXaw-8.dll > Loaded symbols for /usr/X11R6/bin/cygXext-6.dll > Loaded symbols for /usr/X11R6/bin/cygXmu-6.dll > Loaded symbols for /usr/X11R6/bin/cygXt-6.dll > Loaded symbols for /usr/X11R6/bin/cygXp-6.dll > Loaded symbols for /usr/X11R6/bin/cygXau-6.dll > Loaded symbols for /usr/X11R6/bin/cygXpm-4.dll > > emacs: standard input is not a tty > > Program exited with code 01. > (gdb) C > > --------------------------------------------------------------- > > Any comments are welcome. What does you CYGWIN environment variable look like? For that matter, . -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/