This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] avoid strict-aliasing warnings in gdbserver/linux-x86-low.c
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Nathan Froyd <froydnj at codesourcery dot com>
- Date: Wed, 27 Apr 2011 11:24:09 +0100
- Subject: Re: [PATCH] avoid strict-aliasing warnings in gdbserver/linux-x86-low.c
- References: <20110427014014.GB23480@codesourcery.com>
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