[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
18.4.1 x86 Architecture-specific Issues
-
set struct-convention mode
-
Set the convention used by the inferior to return
struct
s andunion
s from functions to mode. Possible values of mode are"pcc"
,"reg"
, and"default"
(the default)."default"
or"pcc"
means thatstruct
s are returned on the stack, while"reg"
means that astruct
or aunion
whose size is 1, 2, 4, or 8 bytes will be returned in a register. -
show struct-convention
-
Show the current setting of the convention to return
struct
s from functions.