The lwp command lists or changes the current LWP (lightweight process). It is valid only in native mode.
The lwp command is available only on Solaris platforms.
Display current LWP.
Switch to LWP lwp_id.
Displays the name, home, and masked signals of the current lwp.
Tells dbx that the fp register has the value address_expression. The state of the program being debugged is not changed. debugging a core file, where assign $fp=... is unavailable. A frame pointer set with the -setfp option is reset to its original value upon resuming execution.
Sets the frame pointer logical value from the register value in the current process or core file, undoing the effect of a previous lwp -setfp command.
lwp_id is the identifier of a lightweight process.
If the command is used with both an lwp_id and an option, corresponding action is applied to LWP specified by the lwp_id, but the current LWP is not changed.
The -setfp and -resetfp options are useful when the frame pointer (fp) of the LWP is corrupted. In this event, dbx cannot reconstruct the call stack properly and evaluate local variables. These options work when debugging a core file, where assign $fp=... is unavailable.
To make changes to the fp register visible to the application being debugged, use the assign $fp=address_expression command.