The
dbx session service allows you to get characteristics
of the
dbx session.
dbx fills in the
flagsp parameter.
typedef int (*dbx_plugin_session_service_t)(dbx_plugin_session_t session,
dbx_plugin_session_flags_t *flagsp).
The
following table displays the
dbx session service parameters:
| Parameter |
Description |
| session |
Session identifier. |
| flagsp |
Session characteristics in any combination of:
- DBX_PLUGIN_SESSION_64BIT
If set, the session represents a 64-bit
application program. Otherwise, the session represents a 31-bit application
program.
- DBX_PLUGIN_SESSION_CORE
If set, the session represents a core
file. Otherwise, the session represents a live process.
|
The following list contains the
dbx session service
return codes:
- DBX_PLUGIN_SUCCESS
- DBX_PLUGIN_BAD_SESSION — session is not valid
- DBX_PLUGIN_BAD_POINTER — flagsp is NULL