From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2088 invoked by alias); 18 Apr 2006 05:16:30 -0000 Received: (qmail 2080 invoked by uid 22791); 18 Apr 2006 05:16:29 -0000 X-Spam-Check-By: sourceware.org Received: from mail.renesas.com (HELO mail03.idc.renesas.com) (202.234.163.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 18 Apr 2006 05:16:24 +0000 Received: from mail03.idc.renesas.com ([127.0.0.1]) by mail03.idc.renesas.com. (SMSSMTP 4.1.9.35) with SMTP id M2006041814162004462 for ; Tue, 18 Apr 2006 14:16:20 +0900 Received: (from root@localhost) by guardian01.idc.renesas.com with id k3I5GKHa006639; Tue, 18 Apr 2006 14:16:20 +0900 (JST) Received: from unknown [172.20.8.73] by guardian01.idc.renesas.com with SMTP id QAA06638 ; Tue, 18 Apr 2006 14:16:20 +0900 Received: from [10.145.138.135] by ims06.idc.renesas.com (Sendmail) with ESMTPA id <0IXW00JXXJZ7SK@ims06.idc.renesas.com>; Tue, 18 Apr 2006 14:16:19 +0900 (JST) Date: Tue, 18 Apr 2006 05:16:00 -0000 From: Kei Sakamoto Subject: Re: m32r-elf target on MinGW. In-reply-to: <7ED1920F-290A-4576-8EBA-A506BC401274@monami-software.com> To: Masaki MURANAKA Cc: gdb-patches@sourceware.org Message-id: <44447621.7080104@renesas.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5 (Windows/20051201) References: <7ED1920F-290A-4576-8EBA-A506BC401274@monami-software.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00228.txt.bz2 Hello, Muranaka-san, Thank you for sending patches for M32R. Since I'm an Authorized Committer for M32R and there is no native maintainer for it, I'd like to approve and commit your patch. But there is one thing I need to confirm. Do you have a Copyright Assignment for gdb? If you don't have it, please see CONTRIBUTE file. Kei Sakamoto Masaki MURANAKA wrote: > Hello, > > This is a patch that enables to build m32r-elf target on MinGW host. > The base version of this patch is gdb-6.4. > > > ---- > 2006-04-16 Masaki MURANAKA > > * m32r-rom.c: On MinGW, include winsock.h instead of socket.h > * remote-m32r-sdi.c: On MinGW, include winsock.h instead of > socket.h. And calls WSAStartup(). > ---- > > Index: gdb/m32r-rom.c > =================================================================== > RCS file: /home/cvs/pizzafactory/gdb/gdb/m32r-rom.c,v > retrieving revision 1.1.1.4 > diff -r1.1.1.4 m32r-rom.c > 49a50,52 > > #ifdef __MINGW32__ > > #include > > #else > 55c58 > < > --- > > #endif > 414a418,424 > > #ifdef __MINGW32__ > > WSADATA wd; > > /* Winsock initialization. */ > > if (WSAStartup (MAKEWORD (1, 1), &wd)) > > error (_("Couldn't initialize WINSOCK.")); > > #endif > > > Index: gdb/remote-m32r-sdi.c > =================================================================== > RCS file: /home/cvs/pizzafactory/gdb/gdb/remote-m32r-sdi.c,v > retrieving revision 1.1.1.2 > diff -r1.1.1.2 remote-m32r-sdi.c > 33a34,36 > > #ifdef __MINGW32__ > > #include > > #else > 34a38 > > #endif > > > > -- > Masaki Muranaka > Monami software > > >