-Wpointer-sign: alpha-tdep.c.
authorPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:24:25 +0000 (15:24 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Apr 2013 15:24:25 +0000 (15:24 +0000)
commita993366103a671e95f5721e5517f8a68149d4d0a
tree92de5d5955dd2e36b054c3b11857939d88a2d2bb
parent19afdd0748702bde6de6951bb1d639701b622f89
-Wpointer-sign: alpha-tdep.c.

../../src/gdb/alpha-tdep.c: In function ‘alpha_extract_return_value’:
../../src/gdb/alpha-tdep.c:520:4: error: pointer targets in passing argument 3 of ‘regcache_cooked_read_signed’ differ in signedness [-Werror=pointer-sign]
In file included from ../../src/gdb/alpha-tdep.c:36:0:

We use regcache_cooked_read_unsigned everywhere else too.

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

* alpha-tdep.c (alpha_extract_return_value): Use
regcache_cooked_read_unsigned to read 'v0'.
gdb/ChangeLog
gdb/alpha-tdep.c