This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] avoid strict-aliasing warnings in gdbserver/linux-x86-low.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]