From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: gdb-ui almosts works in NT Date: Mon, 31 Mar 2003 08:45:29 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <9003-Mon31Mar2003084528+0300-eliz@elta.co.il> References: <3E84A28A.2090407@umich.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1049089993 13965 80.91.224.249 (31 Mar 2003 05:53:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2003 05:53:13 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Mar 31 07:53:11 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18zsEJ-0003ct-00 for ; Mon, 31 Mar 2003 07:53:11 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18zsHw-0000EN-00 for ; Mon, 31 Mar 2003 07:56:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18zsEK-00006s-04 for emacs-devel@quimby.gnus.org; Mon, 31 Mar 2003 00:53:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18zsDt-00083M-00 for emacs-devel@gnu.org; Mon, 31 Mar 2003 00:52:45 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18zsDq-0007sb-00 for emacs-devel@gnu.org; Mon, 31 Mar 2003 00:52:44 -0500 Original-Received: from bilbo.inter.net.il ([192.114.186.18]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18zsDm-0007V1-00 for emacs-devel@gnu.org; Mon, 31 Mar 2003 00:52:38 -0500 Original-Received: from zaretsky ([80.230.235.187]) by bilbo.inter.net.il (Mirapoint Messaging Server MOS 3.2.2-GA) with ESMTP id AKN71872; Mon, 31 Mar 2003 08:52:25 +0300 (IDT) Original-To: jluntz@umich.edu X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <3E84A28A.2090407@umich.edu> (message from Jonathan Luntz on Fri, 28 Mar 2003 14:29:14 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12755 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12755 [Redirected to emacs-devel.] > Date: Fri, 28 Mar 2003 14:29:14 -0500 > From: Jonathan Luntz > > I'm not usre if this classifies as a bug IMHO, it does. > I'm trying to get gdba > working under NT Emacs. Almost everything works. One minor issue is > that gdb-ui.el is hardcoded at one point to use "/bin/cat", so I just > put a copy of the msys (mingw) cat.exe there. It's wrong for Emacs to use such code, IMHO. It should either invoke `cat' (and let it be found along PATH), or, better, implement some code that would eliminate the need for an external program altogether, since `cat' is not guaranteed to be available on every platform supported by Emacs. It strikes me that it woyldn't be hard to eliminate the need for `cat', since Emacs already has a means to visit files. > The only problem is I can't > get the program IO to run in the input/output window in emacs. It > runs always in its own DOS window. What compiler did you use to compile that program? Was that MinGW's GCC?