HP (Hewlett-Packard) IA-64 Computer Accessories User Manual


 
Copyright © 2000 Hewlett-Packard Co. Debugging 8-7
Ski IA-64 Simulator Reference Manual 1.0L
iabs [address]
Sets an IA-32 breakpoint at the specified address or, if no address is given, at the location pointed to by ip.
bd breakpoint_number
Deletes the breakpoint numbered by breakpoint_number.
bD
Deletes all breakpoints.
bl
Displays a list of currently set breakpoints.
8.4 Data Breakpoints
Data breakpoints can be viewed as temporary access restrictions on an area of data. Access of a datum within the specified
area causes a running program to halt at the instruction which attempted the access. Control is then returned to the user at
command level.
The simulator allows up to ten areas to be specified within which data breakpoints may be set. They may vary in size from
one byte to an entire region. Further, the area may be specified to cause a break either only on reads, writes, or on both
reads and writes. Several commands apply to the manipulation of these data breakpoints.
8.4.1 Setting Data Breakpoints
The dbs command sets data breakpoints. The command requires two arguments and accepts an optional third argument.
The first argument is the starting address of the area which is associated with the break. The second argument specifies the
length of the area (in bytes). The third argument, if present, is the string rw (default), which indicates that the break is to
occur on both reads or writes, r, which indicates that only reads cause breaks, or w, which indicates that only writes cause
breaks.
8.4.2 Deleting Data Breakpoints
Two commands delete data breakpoints. The dbD command deletes all data breakpoints currently set. It takes no argu-
ments and requires no verification from the user. The dbd command deletes the data breakpoint with the number specified
by the argument.
8.4.3 Listing Data Breakpoints
The dbl command causes a list of currently set data breakpoints to be displayed on the screen, symbolically if possible.
8.4.4 Summary of Data Breakpoint Commands
dbs address length [type]
Sets a data breakpoint at the specified address. The length of the area (in bytes) is set to length. Type is the string rw
(default) specifying breaks on reads or writes, r, specifying breaks on reads only, or w, specifying breaks on writes
only.
dbd number
Deletes the data breakpoint numbered by number.
dbD
Deletes all data breakpoints.
dbl
Displays on the screen a list of currently set data breakpoints.