SourcePoint AMD Help

Table of Contents

taskgetpid

Retrieve the program identifier (PID) of a task running on the target operating system.

Syntax

taskgetpid(vp)

Where:

vp

is an ord4 that specifies the viewpoint of the task being debugged.

Discussion

The taskgetPID command returns the program identifier (PID) of the task corresponding to the specified viewpoint. The task being debugged is running on the target operating system and was launched using taskstart or attached to using taskattach.

Example

To get the PID from the target operating system program with viewpoint 40H.

Command input:

taskgetpid(40H)

Result:

0007H

Related Topics: