2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
12 .\" Copyright 2015 Joyent, Inc.
15 .Dt PLWP_GETGWINDOWS 3PROC
19 .Nd get thread unspilled register windows
23 .Fa "struct ps_prochandle *P"
25 .Fa "gwindows_t *gwins"
30 function returns information about register windows that were not
31 spilled to the stack for the thread identified by
37 will be filled in with information about the register windows.
39 Upon successful completion, the
45 is filled in with information about the windows.
50 is set to indicate the error.
52 For a full list of possible errors see the
59 function will fail if:
70 refers to a live process and it is not stopped.
74 refers to a live process and there is no thread with id
79 refers to a core file and there is no thread with id
85 function is only available on
88 .Sh INTERFACE STABILITY