From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16428 invoked by alias); 27 Apr 2011 10:24:26 -0000 Received: (qmail 16418 invoked by uid 22791); 27 Apr 2011 10:24:26 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,TW_CP,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Apr 2011 10:24:12 +0000 Received: (qmail 24878 invoked from network); 27 Apr 2011 10:24:11 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 27 Apr 2011 10:24:11 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [PATCH] avoid strict-aliasing warnings in gdbserver/linux-x86-low.c Date: Wed, 27 Apr 2011 10:24:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-28-generic; KDE/4.6.2; x86_64; ; ) Cc: Nathan Froyd References: <20110427014014.GB23480@codesourcery.com> In-Reply-To: <20110427014014.GB23480@codesourcery.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201104271124.09516.pedro@codesourcery.com> 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: 2011-04/txt/msg00498.txt.bz2 On Wednesday 27 April 2011 02:40:14, Nathan Froyd wrote: > Tested on x86_64-unknown-linux-gnu. OK to commit? Okay, thanks! > gdb/gdbserver/ > * linux-x86-low.c (amd64_emit_const): Call memcpy instead of > casting pointers. > (amd64_emit_reg, amd64_emit_int_call_1, amd64_emit_void_call_2): > (i386_emit_const, i386_emit_reg, i386_emit_int_call_1): > (i386_emit_void_call_2): Likewise. -- Pedro Alves