From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32281 invoked by alias); 2 Oct 2003 23:12:23 -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 32269 invoked from network); 2 Oct 2003 23:12:23 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 2 Oct 2003 23:12:23 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 8219B2B89; Thu, 2 Oct 2003 19:12:22 -0400 (EDT) Message-ID: <3F7CB0D6.9060704@redhat.com> Date: Thu, 02 Oct 2003 23:12:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Johns Cc: Christopher Faylor , 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> <3F7CAA18.9090103@cybertec.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00067.txt.bz2 > Headers in config to add mingw32 as a target plus configure.host, > and configure.tgt change. FYI, there are three largely orthogonal problems here: - host support (so it can be run on mingw) Missing fork. Struct problems. This should be largely handled by configure.in. - native support (so it can debug mingw programs) The win32-nat.c changes. - architecture support (so it can handle mingw ISA/ABI issues) tm-*.h *.mt, *-tdep.c. Note that, for the last one, GDB's been restructured so that the tm-*.h file is no longer needed. If the patches still have a tm-*.h file then `why' is something to investigate further. > Changes to configure.in. > > Change 'struct environ' to 'struct gdb_environ' as mingw has > 'environ' in a system header file as a '#define'. If nothing else, bug report this. Fixing it should be a no-op. > 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. (*) As a ser-winsock2 file or as mods to ser-tcp? > Support for mingw in win32-nat.c. > > Small number of minor changes, eg missing SIGQUIT, no fork > check in top.c. Andrew