X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=debugger%2Fmcs51%2Fbreak.h;h=c0b2e16bb6f774df2280812910b64faa9eaba0bf;hb=dfe684fab1478340f6616bc800cc160899773230;hp=727fd14e7758afb2c025ac1aa74f2587e2e53c9b;hpb=77224e310acc584a7901be84ecbbf08eee504cd6;p=fw%2Fsdcc diff --git a/debugger/mcs51/break.h b/debugger/mcs51/break.h index 727fd14e..c0b2e16b 100644 --- a/debugger/mcs51/break.h +++ b/debugger/mcs51/break.h @@ -1,24 +1,24 @@ /*------------------------------------------------------------------------- break.h - Header file for break point management - Written By - Sandeep Dutta . sandeep.dutta@usa.net (1999) + Written By - Sandeep Dutta . sandeep.dutta@usa.net (1999) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - + In other words, you are welcome to use, share and improve this program. You are forbidden to forbid anyone else to use, share and improve - what you give them. Help stamp out software-hoarding! + what you give them. Help stamp out software-hoarding! -------------------------------------------------------------------------*/ #ifndef SDCDB_BREAK_H @@ -36,14 +36,14 @@ enum { NEXT , FENTRY , FEXIT, - TMPUSER }; + TMPUSER }; typedef struct breakp { unsigned addr; /* address of break point */ int bpnum ; /* break point number */ - char addrType; /* data or code */ - char bpType ; /* bp type USER/ LOGICAL */ + char addrType; /* data or code */ + char bpType ; /* bp type USER/ LOGICAL */ char *filename; /* file name */ int lineno ; /* lineno */ int (*callBack) @@ -58,20 +58,20 @@ typedef struct breakp #define BP_CALLBACK(func) \ int func (unsigned addr, \ - breakp *bp, \ - context *ctxt) + breakp *bp, \ + context *ctxt) #define EXTERN_BP_CALLBACK(func) \ extern int func (unsigned addr, \ - breakp *bp, \ - context *ctxt) + breakp *bp, \ + context *ctxt) extern char userBpPresent; extern char doingSteps; -int setBreakPoint (unsigned , char , char, - int (*callBack)(unsigned,breakp *bp,context *),char *, int); +int setBreakPoint (unsigned , char , char, + int (*callBack)(unsigned,breakp *bp,context *),char *, int); long getLastBreakptNumber(void); void resetHitCount(void);