debugger
This commit is contained in:
parent
a84cbb2a17
commit
84114f0665
15 changed files with 3179 additions and 0 deletions
91
src/cmd/db/fns.h
Normal file
91
src/cmd/db/fns.h
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
void acommand(int);
|
||||
void attachprocess(void);
|
||||
void bkput(BKPT*, int);
|
||||
void bpwait(void);
|
||||
int charpos(void);
|
||||
void chkerr(void);
|
||||
void clrinp(void);
|
||||
void cmdmap(Map*);
|
||||
void cmdsrc(int, Map*);
|
||||
void cmdwrite(int, Map*);
|
||||
int command(char*, int);
|
||||
int convdig(int);
|
||||
void ctrace(int);
|
||||
WORD defval(WORD);
|
||||
void delbp(void);
|
||||
ulong dbrget(Map*, char*);
|
||||
void done(void);
|
||||
int dprint(char*, ...);
|
||||
Map* dumbmap(int);
|
||||
void endline(void);
|
||||
void endpcs(void);
|
||||
int eol(int);
|
||||
void error(char*);
|
||||
void errors(char*, char*);
|
||||
void execbkpt(BKPT*, int);
|
||||
char* exform(int, int, char*, Map*, int, int);
|
||||
int expr(int);
|
||||
/*
|
||||
void fixregs(Map*);
|
||||
void adjustreg(char*, ulong, long);
|
||||
*/
|
||||
void flush(void);
|
||||
void flushbuf(void);
|
||||
char* getfname(void);
|
||||
void getformat(char*);
|
||||
int getnum(int (*)(void));
|
||||
void grab(void);
|
||||
void iclose(int, int);
|
||||
ADDR inkdot(long);
|
||||
int isfileref(void);
|
||||
int item(int);
|
||||
void killpcs(void);
|
||||
void kmsys(void);
|
||||
void main(int, char**);
|
||||
int mapimage(void);
|
||||
void newline(void);
|
||||
int nextchar(void);
|
||||
void notes(void);
|
||||
void oclose(void);
|
||||
void outputinit(void);
|
||||
void printc(int);
|
||||
void printdollar(int);
|
||||
void printesc(int);
|
||||
void printlocals(Symbol*, Regs*);
|
||||
void printmap(char*, Map*);
|
||||
void printparams(Symbol*, Regs*);
|
||||
void printpc(void);
|
||||
void printregs(int);
|
||||
void prints(char*);
|
||||
void printsource(long);
|
||||
void printsym(void);
|
||||
void printsyscall(void);
|
||||
int quotchar(void);
|
||||
int rdc(void);
|
||||
int readchar(void);
|
||||
void readsym(char*);
|
||||
void redirin(int, char*);
|
||||
void redirout(char*);
|
||||
void readfname(char *);
|
||||
void reread(void);
|
||||
char* regname(int);
|
||||
//vlong rget(Map*, char*);
|
||||
Regdesc* rname(char*);
|
||||
//void rput(Map*, char*, vlong);
|
||||
int runpcs(int, int);
|
||||
void runrun(int);
|
||||
void runstep(ulong, int);
|
||||
BKPT* scanbkpt(ADDR adr);
|
||||
void scanform(long, int, char*, Map*, int);
|
||||
void setbp(void);
|
||||
void setcor(void);
|
||||
void setsym(void);
|
||||
void setup(void);
|
||||
void setvec(void);
|
||||
void shell(void);
|
||||
void startpcs(void);
|
||||
void subpcs(int);
|
||||
int symchar(int);
|
||||
int term(int);
|
||||
void ungrab(void);
|
||||
int valpr(long, int);
|
||||
Loading…
Add table
Add a link
Reference in a new issue