HP (Hewlett-Packard) 5992-4701 Computer Hardware User Manual


 
Example
N.A.
The -break-insert command
Synopsis
-break-insert [ -t ] [ -h ] [ -r ]
[ -c condition ] [ -i ignore-count ]
[ -p thread ] [ line | addr ]
If specified, line, can be one of:
function
filename:linenum
filename:function
*address
The possible optional parameters of this command are:
'-t'
Insert a temporary breakpoint.
'[-h]'
Insert a hardware breakpoint.
'[-c condition]' Make the breakpoint conditional on condition.
'[-i ignore-count]' Initialize the ignore-count.
`-r'
Insert a regular breakpoint in all the functions whose
names match the given regular expression. Other flags
are not applicable to regular expression.
Result
The result is in the form:
^done,bkptno="number",func="funcname",
file="filename",line="lineno"
where number is the GDB number for this breakpoint, funcname is the name of the
function where the breakpoint was inserted, filename is the name of the source file
which contains this function, and lineno is the source line number within that file.
NOTE: This format is open to change.
GDB command
The corresponding GDB commands are 'break', 'tbreak', 'hbreak', 'thbreak', and
'rbreak'.
Example
(gdb)
-break-insert main
316 The GDB/MI Interface