HP OpenVMS Systems

HP Digital Continuous Profiling Infrastructure

HP OpenVMS Systems

OpenVMS information

» What's new on our site
» Upcoming events
» Configuration and buying assistance
» Send us your comments

HP OpenVMS systems

» OpenVMS software
» Supported Servers
» OpenVMS virtualization
» OpenVMS solutions and partners
» OpenVMS success stories
» OpenVMS service and support
» OpenVMS resources and information
» OpenVMS documentation
» Education and training


» Home
» What's New
» Install Software
» Documentation
» Publications

Evolving business value

» Business Systems Evolution
» AlphaServer systems transition planning
» Alpha RetainTrust program

Related links

» HP Integrity servers
» HP Alpha systems
» HP storage
» HP software
» HP products and services
» HP solutions
» HP support
disaster proof
HP Integrity server animation
HP Integrity server animation
Content starts here


Notifies the HP DCPI daemon that a new code or DST range has been created.


DBG$DYN_ADD type, number-of-bytes, base-address


OpenVMS usage: cond value
type: longword (unsigned)
access: write only
mechanism: by value



OpenVMS usage: longword_unsigned
type: longword (unsigned)
access: read only
mechanism: by value

The type argument specifies the contents of the newly allocated section of virtual memory. The following types are defined:
Symbol Region
DBG$C_DST Section contains DST records.
DBG$C_CODE Section contains code segments.


OpenVMS usage: quadword_signed
type: quadword (signed)
access: read only
mechanism: by value

The number-of-bytes argument specifies the size, in bytes, of the newly allocated section of virtual memory.


OpenVMS usage: address
type: quadword (unsigned)
access: read only
mechanism: by value

The base-address argument specifies the first contiguous block of bytes allocated for either code or DST records.


OpenVMS usage: quadword
type: quadword (unsigned)
access: read write
mechanism: by reference

The context argument specifies the unique identifier assigned by DBG$DYN_BEGIN to the caller.


If a new section in virtual memory is allocated for either new code segments or DST records, then this routine must be called to let DCPI know about it. The type argument specifies the contents of the section. The base-address and number-of-bytes arguments are used to describe the location and length of the section, respectively.  The context argument should contain the value received from DBG$DYN_BEGIN.

Condition Values Returned

SS$_NORMAL The routine successfully completed.
SS$_BADPARAM Routine was provided an invalid parameter.
Other If this routine does not complete successfully, it returns the status of the call it made that failed.


See an example of the interaction between DCPI and an application that executes code dynamically.

Last modified: April 8, 2004