From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20733 invoked by alias); 2 Oct 2003 22:43:50 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20725 invoked from network); 2 Oct 2003 22:43:48 -0000 Received: from unknown (HELO kiwi.ods.com.au) (144.132.165.174) by sources.redhat.com with SMTP; 2 Oct 2003 22:43:48 -0000 Received: from cybertec.com.au (kiwi [172.16.100.4]) by kiwi.ods.com.au (8.12.8/8.12.8) with ESMTP id h92MhaEI023605; Fri, 3 Oct 2003 08:43:37 +1000 Message-ID: <3F7CAA18.9090103@cybertec.com.au> Date: Thu, 02 Oct 2003 22:43:00 -0000 From: Chris Johns User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christopher Faylor CC: gdb@sources.redhat.com Subject: Re: Using gdb with Borland's free compiler? References: <200309282250.h8SMorcf026975@duracef.shout.net> <3F783251.2030009@redhat.com> <3F7A053B.9060502@cybertec.com.au> <3F7AE95C.5020108@redhat.com> <3F7B9F28.4020103@cybertec.com.au> <20031002134452.GA32402@redhat.com> In-Reply-To: <20031002134452.GA32402@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00066.txt.bz2 Christopher Faylor wrote: > > You can't really do that unless you are the author of the patches, though. > Sure. I was hoping the author was part of the MinGW team and so the history could be proven. I have asked on the MinGW user list but so far nothing has appeared. I assume this is ok. Is it ? It looks like this is about as far as I can take the MinGW work. This is what I have found. The major part of the work is readline. The display and input interfacing to Win32, some code to read directories and various ifdefs for interfaces not supported by MinGW. The BFD change is minor. A few lines in opncls.c to detect if an fd has been opened as read only or read/write. The changes needed for GDB are: Headers in config to add mingw32 as a target plus configure.host, and configure.tgt change. Changes to configure.in. Change 'struct environ' to 'struct gdb_environ' as mingw has 'environ' in a system header file as a '#define'. Change event-loop.c to support Win32 handles for mingw32. Added missing POSIX modes to gdb_stat.h plus minor changes in remote-fileio.c due to a different 'struct stat'. (*) Added support for ser-tcp over winsock2 for target tcp. (*) Support for mingw in win32-nat.c. Small number of minor changes, eg missing SIGQUIT, no fork check in top.c. (*) I have added these. -- Chris Johns, cjohns at cybertec.com.au