Next: , Up: Architectures


21.4.1 x86 Architecture-specific Issues

set struct-convention mode
Set the convention used by the inferior to return structs and unions from functions to mode. Possible values of mode are "pcc", "reg", and "default" (the default). "default" or "pcc" means that structs are returned on the stack, while "reg" means that a struct or a union 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 structs from functions.