7 _PROTOTYPE( void prtmap
, (void) );
8 _PROTOTYPE( unsigned long core_init
, (char *filename
) );
9 _PROTOTYPE( unsigned long file_init
, (char *filename
) );
10 _PROTOTYPE( long read_core
, (int req
, long addr
, long data
) );
14 _PROTOTYPE( void mdb_error
, (char *s
) );
15 _PROTOTYPE( long breakpt
, (long addr
, char *cmd
));
16 _PROTOTYPE( void tstart
, (int req
, int verbose
, int val
, int cnt
));
20 _PROTOTYPE( char *get_cmd
, (char *cbuf
, int csize
) );
21 _PROTOTYPE( void openin
, (char *s
));
22 _PROTOTYPE( void logging
, (int c
, char *name
) );
23 _PROTOTYPE( void do_error
, (char *message
) );
24 _PROTOTYPE( int Printf
, (const char *format
, ...));
25 _PROTOTYPE( void outbyte
, (int byte
) );
26 _PROTOTYPE( void outcomma
, (void) );
27 _PROTOTYPE( void outh8
, (unsigned num
) );
28 _PROTOTYPE( void outh16
, (unsigned num
) );
29 _PROTOTYPE( void outh32
, (unsigned num
) );
30 _PROTOTYPE( void outh4
, (unsigned num
) );
31 _PROTOTYPE( void outspace
, (void) );
32 _PROTOTYPE( void outstr
, (char *s
) );
33 _PROTOTYPE( void outtab
, (void) );
34 _PROTOTYPE( void outustr
, (char *s
) );
35 _PROTOTYPE( void closestring
, (void) );
36 _PROTOTYPE( int mytolower
, (int ch
) );
37 _PROTOTYPE( void openstring
, (char *string
) );
38 _PROTOTYPE( int stringpos
, (void) );
39 _PROTOTYPE( int stringtab
, (void) );
43 _PROTOTYPE( long dasm
, (long addr
, int count
, int symflg
) );
47 _PROTOTYPE( char *getexp
, (char *buf
, long *exp_p
, int *seg_p
) );
48 _PROTOTYPE( char *skip
, (char *s
) );
51 _PROTOTYPE( long get_reg
, (int pid
, long k
) );
52 _PROTOTYPE( void set_reg
, (int pid
, long k
, long value
) );
53 _PROTOTYPE( long reg_addr
, (char *s
) );
54 _PROTOTYPE( int disp_regs
, (void) );
55 _PROTOTYPE( int outsegreg
, (off_t num
) );
56 _PROTOTYPE( void update
, (void));
57 _PROTOTYPE( void disp_maps
, (void));
61 _PROTOTYPE( void dump_stack
, (long count
) );
62 _PROTOTYPE( off_t file_size
, (int fd
) );
63 _PROTOTYPE( void help_on
, (int h
) );
64 _PROTOTYPE( void version_info
, (void) );
65 _PROTOTYPE( void help_page
, (void) );
69 _PROTOTYPE( void gnu_init
, (char *filename
) );
70 _PROTOTYPE( long gnu_symbolvalue
, (char *name
, int is_text
) );
71 _PROTOTYPE( void gnu_symbolic
, (off_t value
, int separator
) );
72 _PROTOTYPE( void gnu_listsym
, (int tchar
) );
73 _PROTOTYPE( int gnu_text_symbol
, (off_t value
) );
74 _PROTOTYPE( int gnu_finds_pc
, (off_t pc
) );
75 _PROTOTYPE( int gnu_finds_data
, (off_t off
, int data_seg
) );
76 #endif /* EXTRA_SYMBOLS */
79 _PROTOTYPE( void syminit
, (char *filename
) );
80 _PROTOTYPE( long symbolvalue
, (char *name
, int is_text
) );
81 _PROTOTYPE( void printhex
, (off_t v
) );
82 _PROTOTYPE( void symbolic
, (off_t value
, int separator
) );
83 _PROTOTYPE( void listsym
, (char *cmd
) );
84 _PROTOTYPE( int text_symbol
, (off_t value
) );
85 _PROTOTYPE( int finds_pc
, (off_t pc
) );
86 _PROTOTYPE( int finds_data
, (off_t off
, int data_seg
) );
89 _PROTOTYPE( long mdbtrace
, (int req
, int pid
, long addr
, long data
) );
90 _PROTOTYPE( u32_t peek_dword
, (off_t addr
));
95 _PROTOTYPE( void start_syscall
, (long addr
) );
96 _PROTOTYPE( void do_syscall
, (long addr
) );
99 _PROTOTYPE( void decode_message
, (unsigned addr
) );
100 _PROTOTYPE( void decode_result
, (void) );
103 _PROTOTYPE( void decode_ioctl
, (int sr
, message
*m
) );
105 #endif /* SYSCALLS_SUPPORT */