bkpt.1 1.18 KB
.TH bkpt 1P local "Silicon Graphics, Inc."
.SH NAME
bkpt \- set or clear target breakpoint
.SH SYNOPSIS
\f3bkpt\f1 -s tid addr
.PP
\f3bkpt\f1 -c tid bpid
.SH DESCRIPTION
The 
.B bkpt
command sends a request to set or clear a breakpoint in the
target system
via
.I dbgif.
The
.B tid
is the thread number. Even though a breakpoint is not thread-specific in this
debugger, you must still specify a thread. The
.B addr
is the address at which a breakpoint should be set. The
.B bpid
argument is the number of the breakpoint to be cleared.
.PP
Before execution of this command, the
.I dbgif
program must be running and the
.I METHOD
environment variable must be set to indicate whether this is a request for the
R4300 CPU or the coprocessor. The value zero represents the CPU and the number
one represents the RCP. In
.I csh,
this is accomplished by specifying
.IP
setenv METHOD 0
.SH SEE ALSO
dbgif(1P), listthreads(1P)
.SH BUGS
In the event of a communications failure, the program will dump core. It
would be nice if it cleaned up after itself, but at present the core file
must be removed manually.
.PP
Support for the -l option, list breakpoints, is not implemented in this version of the
debug monitor.