ppc-linux-tdep.c: Wrong signness for buffer holding instructions.
authorPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:22:14 +0000 (15:22 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:22:14 +0000 (15:22 +0000)
commit463920bf28e3aea7ebac2cf10b8e5b98e56400eb
tree642eea66a0cd31cf0e342df64b6046ca5ffe4c09
parent70242eb16c06c7fcc080003af6c17ad9dfd634c1
ppc-linux-tdep.c: Wrong signness for buffer holding instructions.

There seems to be no reason for this buffer to be signed.  We pass it
around to functions expecting it to be unsigned (which triggers
-Wpointer-sign warnings).

gdb/
2013-04-19  Pedro Alves  <palves@redhat.com>

* ppc-linux-tdep.c (ppc_skip_trampoline_code): Change local
'insnbuf' buffer type to unsigned int[].
gdb/ChangeLog
gdb/ppc-linux-tdep.c