Subversion Repositories HelenOS-historic

Rev

Rev 1769 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1769 Rev 1780
Line 48... Line 48...
48
                         instruction, so that it could be
48
                         instruction, so that it could be
49
                     reinstalled on the previous one */
49
                     reinstalled on the previous one */
50
#define BKPOINT_FUNCCALL (1 << 3)   /**< Call a predefined function */
50
#define BKPOINT_FUNCCALL (1 << 3)   /**< Call a predefined function */
51
 
51
 
52
typedef struct  {
52
typedef struct  {
53
    __address address;      /**< Breakpoint address */
53
    uintptr_t address;      /**< Breakpoint address */
54
    __native instruction; /**< Original instruction */
54
    unative_t instruction; /**< Original instruction */
55
    __native nextinstruction;  /**< Original instruction following break */
55
    unative_t nextinstruction;  /**< Original instruction following break */
56
    int flags;        /**< Flags regarding breakpoint */
56
    int flags;        /**< Flags regarding breakpoint */
57
    count_t counter;
57
    count_t counter;
58
    void (*bkfunc)(void *b, istate_t *istate);
58
    void (*bkfunc)(void *b, istate_t *istate);
59
} bpinfo_t;
59
} bpinfo_t;
60
 
60