#include #define N_BP 25 struct wine_bp{ unsigned long addr; char in_use; char enabled; unsigned char databyte; }; static struct wine_bp wbp[N_BP] = {{0,},}; void info_break() { int j; fprintf(stderr,"Breakpoint status\n"); for(j=0; j= N_BP || bpnum < 0) fprintf(stderr,"Breakpoint number out of range\n"); wbp[bpnum].enabled = 0; } void enable_break(int bpnum) { if(bpnum >= N_BP || bpnum < 0) fprintf(stderr,"Breakpoint number out of range\n"); wbp[bpnum].enabled = 1; } void add_break(unsigned long addr) { int j; for(j=0; j