gdb with X-win problem

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Sep 27 15:07:00 GMT 2006


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,
<http://cygwin.com/problems.html>.


-- 
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/



More information about the Cygwin mailing list