From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27542 invoked by alias); 6 May 2009 11:36:05 -0000 Received: (qmail 27531 invoked by uid 22791); 6 May 2009 11:36:03 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_24,J_CHICKENPOX_25,J_CHICKENPOX_28 X-Spam-Check-By: sourceware.org Received: from outdoor.onevision.de (HELO outdoor.onevision.de) (212.77.172.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 May 2009 11:35:58 +0000 Received: from sanders.onevision.de (moonrace [212.77.172.62]) by outdoor.onevision.de (8.14.3/8.13.7/ROSCH/DDB) with ESMTP id n46BZj7V016278; Wed, 6 May 2009 13:35:50 +0200 In-Reply-To: To: Hui Zhu Cc: gdb-patches ml , Mark Kettenis , Pedro Alves Subject: Re: Build failure for x86_64-pc-mingw32 target MIME-Version: 1.0 Message-ID: From: Kai Tietz Date: Wed, 06 May 2009 11:36:00 -0000 Content-Type: text/plain; charset="US-ASCII" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00112.txt.bz2 gdb-patches-owner@sourceware.org wrote on 06.05.2009 13:20:10: > The patch is checked in. > > 2009-05-06 Hui Zhu > > * i386-tdep.c (i386_process_record): Change bzero to memset. > > Thanks, > Hui > > RCS file: /cvs/src/src/gdb/i386-tdep.c,v > retrieving revision 1.271 > retrieving revision 1.272 > diff -u -r1.271 -r1.272 > --- src/gdb/i386-tdep.c 2009/05/01 08:09:16 1.271 > +++ src/gdb/i386-tdep.c 2009/05/06 11:16:40 1.272 > @@ -2993,7 +2993,7 @@ > uint32_t opcode; > struct i386_record_s ir; > > - bzero (&ir, sizeof (struct i386_record_s)); > + memset (&ir, 0, sizeof (struct i386_record_s)); > ir.regcache = regcache; > ir.addr = addr; > ir.aflag = 1; > > > On Wed, May 6, 2009 at 18:46, Hui Zhu wrote: > > OK. I will post a patch to change bzero to memset. > > > > Thanks for your help guys. > > > > Hui > > > > On Wed, May 6, 2009 at 17:38, Pedro Alves wrote: > >> On Wednesday 06 May 2009 10:05:09, Hui Zhu wrote: > >>> mingw32 don't have bzero? > >>> Could you please help me try to build some code that have bzero in mingw? > >> > >> Please don't use bzero, use memset instead. Patch doing that pre-approved. > >> > >> (Kai, please don't reply to unrelated threads to start a new topic. Start > >> a new thread instead.) > >> > >> -- > >> Pedro Alves > >> > > > Hello, I test build for x64 and it works now again. Pedro, sorry. Wasn't by intention. Hui, thanks for fixing it, Cheers, Kai | (\_/) This is Bunny. Copy and paste Bunny | (='.'=) into your signature to help him gain | (")_(") world domination.