diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2011-04-27 18:37:40 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@codesourcery.com> | 2011-04-27 18:37:40 +0000 |
commit | b00ad6ff40490d267f39169239bac49a50cc5748 (patch) | |
tree | eb42bc563eb5b48b4fff27387a7d755506b6d53f /gdb/gdbserver/ChangeLog | |
parent | 2484c66bef3b2b6c27d72beab92a3e8c7be1e686 (diff) | |
download | gdb-b00ad6ff40490d267f39169239bac49a50cc5748.zip gdb-b00ad6ff40490d267f39169239bac49a50cc5748.tar.gz gdb-b00ad6ff40490d267f39169239bac49a50cc5748.tar.bz2 |
fix strict-aliasing warnings
* 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.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 1e9ea4a..fd01327 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,11 @@ +2011-04-27 Nathan Froyd <froydnj@codesourcery.com> + + * 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. + 2011-04-26 Yao Qi <yao@codesourcery.com> * linux-low.c: Move common macros to linux-ptrace.h. |