Next: Alpha, Previous: AArch64, Up: Architectures

#### 21.4.2 x86 Architecture-specific Issues

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