Changeset 969 for trunk


Ignore:
Timestamp:
09/16/11 15:03:14 (13 years ago)
Author:
adeas31
Message:
  • Fixed the pending breakpoints problem.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.debug.core/src/org/modelica/mdt/debug/gdb/core/mi/command/MIBreakInsert.java

    r791 r969  
    3737
    3838/**
     39 * -break-insert [ -t ] [ -h ] [ -f ] [ -d ] [ -a ]
     40 * [ -c condition ] [ -i ignore-count ]
     41 * [ -p thread ] [ location ]
     42 *
     43 * If specified, location, can be one of:
     44 *
     45 *  function
     46 *  filename:linenum
     47 *  filename:function
     48 *  *address
     49 * 
     50 *  The possible optional parameters of this command are:
     51 * 
     52 *  `-t'
     53 *  Insert a temporary breakpoint.
     54 *  `-h'
     55 *  Insert a hardware breakpoint.
     56 *  `-c condition'
     57 *  Make the breakpoint conditional on condition.
     58 *  `-i ignore-count'
     59 *  Initialize the ignore-count.
     60 *  `-f'
     61 *  If location cannot be parsed (for example if it refers to unknown files or functions), create a pending breakpoint. Without this flag, gdb will report an error, and won't create a breakpoint, if location cannot be parsed.
     62 *  `-d'
     63 *  Create a disabled breakpoint.
     64 *  `-a'
     65 *  Create a tracepoint. See Tracepoints. When this parameter is used together with `-h', a fast tracepoint is created.
     66 * 
     67 *  The result is in the form:
     68 *  ^done,bkpt={number="number",type="type",disp="del"|"keep",
     69 *  enabled="y"|"n",addr="hex",func="funcname",file="filename",
     70 *  fullname="full_filename",line="lineno",[thread="threadno,]
     71 *  times="times"}
     72 * 
     73 *  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, lineno is the source line number within that file and times the number of times that the breakpoint has been hit (always 0 for -break-insert but may be greater for -break-info or -break-list which use the same output).
     74 *   
    3975 * @author Adeel Asghar
    4076 *
    41  */
    42 /**
    43  *    -break-insert [ -t ] [ -h ] [ -r ]
    44  *       [ -c CONDITION ] [ -i IGNORE-COUNT ]
    45  *       [ -p THREAD ] [ LINE | ADDR ]
    46  *
    47  * If specified, LINE, can be one of:
    48  *
    49  *  * function
    50  *
    51  *  * filename:linenum
    52  *
    53  *  * filename:function
    54  *
    55  *  * *address
    56  *
    57  *  The possible optional parameters of this command are:
    58  *
    59  * `-t'
    60  *     Insert a tempoary breakpoint.
    61  *
    62  * `-h'
    63  *     Insert a hardware breakpoint.
    64  *
    65  * `-c CONDITION'
    66  *     Make the breakpoint conditional on CONDITION.
    67  *
    68  * `-i IGNORE-COUNT'
    69  *     Initialize the IGNORE-COUNT.
    70  *
    71  * `-r'
    72  *
    73  *     Insert a regular breakpoint in all the functions whose names match
    74  *     the given regular expression.  Other flags are not applicable to
    75  *     regular expresson.
    76  *
    77  *  The result is in the form:
    78  *
    79  *     ^done,bkptno="NUMBER",func="FUNCNAME",
    80  *      file="FILENAME",line="LINENO"
    81  *
    8277 */
    8378public class MIBreakInsert extends MICommand {
    8479    public MIBreakInsert(String func) {
    8580        this(false, false, null, 0, func, 0);
     81        setOptions(new String[]{"-f"});
    8682    }
    8783
Note: See TracChangeset for help on using the changeset viewer.