mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integer
types.
This commit is contained in:
parent
b5d84f6ee2
commit
f0027ce269
@ -1,3 +1,8 @@
|
|||||||
|
2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integer
|
||||||
|
types.
|
||||||
|
|
||||||
2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
|
2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
Jim Blandy <jimb@codesourcery.com>
|
Jim Blandy <jimb@codesourcery.com>
|
||||||
|
|
||||||
|
@ -388,8 +388,13 @@ do_ppc_sysv_return_value (struct gdbarch *gdbarch, struct type *type,
|
|||||||
}
|
}
|
||||||
return RETURN_VALUE_REGISTER_CONVENTION;
|
return RETURN_VALUE_REGISTER_CONVENTION;
|
||||||
}
|
}
|
||||||
if (TYPE_CODE (type) == TYPE_CODE_INT
|
else if ((TYPE_CODE (type) == TYPE_CODE_INT
|
||||||
&& TYPE_LENGTH (type) <= tdep->wordsize)
|
|| TYPE_CODE (type) == TYPE_CODE_CHAR
|
||||||
|
|| TYPE_CODE (type) == TYPE_CODE_BOOL
|
||||||
|
|| TYPE_CODE (type) == TYPE_CODE_PTR
|
||||||
|
|| TYPE_CODE (type) == TYPE_CODE_REF
|
||||||
|
|| TYPE_CODE (type) == TYPE_CODE_ENUM)
|
||||||
|
&& TYPE_LENGTH (type) <= tdep->wordsize)
|
||||||
{
|
{
|
||||||
if (readbuf)
|
if (readbuf)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user