Changeset 07bd114e in mainline for arch/mips32/include/debugger.h


Ignore:
Timestamp:
2005-12-17T00:08:13Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2cf87e50
Parents:
c43fa55
Message:

Fixed kconsole resolution of similar commands.
Add commands to debugger to allow for simple profiling or
calling debug actions if needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/include/debugger.h

    rc43fa55 r07bd114e  
    3636#define BKPOINTS_MAX 10
    3737
     38#define BKPOINT_INPROG   (1 << 0)   /**< Breakpoint was shot */
     39#define BKPOINT_ONESHOT  (1 << 1)   /**< One-time breakpoint,mandatory for j/b
     40                                         instructions */
     41#define BKPOINT_REINST   (1 << 2)   /**< Breakpoint is set on the next
     42                                         instruction, so that it could be
     43                                         reinstalled on the previous one */
     44#define BKPOINT_FUNCCALL (1 << 3)   /**< Call a predefined function */
     45
    3846typedef struct  {
    3947        __address address;      /**< Breakpoint address */
    4048        __native instruction; /**< Original instruction */
    4149        __native nextinstruction;  /**< Original instruction following break */
    42         bool executing;   /**< If we are executing the original instruciton */
     50        int flags;        /**< Flags regarding breakpoint */
     51        count_t counter;
     52        void (*bkfunc)(void *b, struct exception_regdump *pstate);
    4353} bpinfo_t;
    4454
Note: See TracChangeset for help on using the changeset viewer.