-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'.
This commit is contained in:
parent
19afdd0748
commit
a993366103
@ -1,3 +1,8 @@
|
||||
2013-04-19 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* alpha-tdep.c (alpha_extract_return_value): Use
|
||||
regcache_cooked_read_unsigned to read 'v0'.
|
||||
|
||||
2013-04-19 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* xtensa-tdep.c (execute_l32e, execute_s32e): Change type of
|
||||
|
@ -517,7 +517,7 @@ alpha_extract_return_value (struct type *valtype, struct regcache *regcache,
|
||||
break;
|
||||
|
||||
case 32:
|
||||
regcache_cooked_read_signed (regcache, ALPHA_V0_REGNUM, &l);
|
||||
regcache_cooked_read_unsigned (regcache, ALPHA_V0_REGNUM, &l);
|
||||
read_memory (l, valbuf, 32);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user