Cleaned up warnings
[fw/sdcc] / doc / sdccman.html / node55.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
3 <!--Converted with LaTeX2HTML 99.1 release (March 30, 1999)
4 original version by:  Nikos Drakos, CBLU, University of Leeds
5 * revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
6 * with significant contributions from:
7   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 <HTML>
9 <HEAD>
10 <TITLE>7.6 Interfacing with XEmacs.</TITLE>
11 <META NAME="description" CONTENT="7.6 Interfacing with XEmacs.">
12 <META NAME="keywords" CONTENT="sdccman">
13 <META NAME="resource-type" CONTENT="document">
14 <META NAME="distribution" CONTENT="global">
15
16 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
17 <META NAME="Generator" CONTENT="LaTeX2HTML v99.1 release">
18 <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
19
20 <LINK REL="STYLESHEET" HREF="sdccman.css">
21
22 <LINK REL="previous" HREF="node54.html">
23 <LINK REL="up" HREF="node49.html">
24 <LINK REL="next" HREF="node56.html">
25 </HEAD>
26
27 <BODY >
28 <!--Navigation Panel-->
29 <A NAME="tex2html1112"
30  HREF="node56.html">
31 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> 
32 <A NAME="tex2html1106"
33  HREF="node49.html">
34 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> 
35 <A NAME="tex2html1102"
36  HREF="node54.html">
37 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A> 
38 <A NAME="tex2html1108"
39  HREF="node1.html">
40 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A> 
41 <A NAME="tex2html1110"
42  HREF="node61.html">
43 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A> 
44 <BR>
45 <B> Next:</B> <A NAME="tex2html1113"
46  HREF="node56.html">8. Other Processors</A>
47 <B> Up:</B> <A NAME="tex2html1107"
48  HREF="node49.html">7. SDCDB - Source</A>
49 <B> Previous:</B> <A NAME="tex2html1103"
50  HREF="node54.html">7.5 Debugger Commands.</A>
51  &nbsp <B>  <A NAME="tex2html1109"
52  HREF="node1.html">Contents</A></B> 
53  &nbsp <B>  <A NAME="tex2html1111"
54  HREF="node61.html">Index</A></B> 
55 <BR>
56 <BR>
57 <!--End of Navigation Panel-->
58
59 <H2><A NAME="SECTION00086000000000000000">
60 7.6 Interfacing with XEmacs.</A>
61 </H2>
62
63 <P>
64 Two files (in emacs lisp) are provided for the interfacing with XEmacs,
65 sdcdb.el and sdcdbsrc.el. These two files can be found in the $(prefix)/bin
66 directory after the installation is complete. These files need to
67 be loaded into XEmacs for the interface to work. This can be done
68 at XEmacs startup time by inserting the following into your '.xemacs'
69 file (which can be found in your HOME directory): 
70 <BR>
71
72 <BR>
73 <TT>(load-file sdcdbsrc.el)</TT> 
74 <BR>
75
76 <BR>
77 .xemacs is a lisp file so the () around the command is REQUIRED. The
78 files can also be loaded dynamically while XEmacs is running, set
79 the environment variable 'EMACSLOADPATH' to the installation bin directory
80 (&lt;installdir&gt;/bin), then enter the following command ESC-x load-file
81 sdcdbsrc. To start the interface enter the following command: 
82 <BR>
83
84 <BR>
85 <I><B>ESC-x sdcdbsrc</B></I>
86 <BR>
87
88 <BR>
89 You will prompted to enter the file name to be debugged. 
90 <BR>
91
92 <BR>
93 The command line options that are passed to the simulator directly
94 are bound to default values in the file sdcdbsrc.el. The variables
95 are listed below, these values maybe changed as required.
96
97 <P>
98
99 <UL>
100 <LI>sdcdbsrc-cpu-type '51</LI>
101 <LI>sdcdbsrc-frequency '11059200</LI>
102 <LI>sdcdbsrc-serial nil</LI>
103 </UL>
104 The following is a list of key mapping for the debugger interface.
105
106 <P>
107  
108 &nbsp;&nbsp;
109 <BR>
110 <TT>;; Current Listing :: </TT>&nbsp;
111 <BR>
112 <TT>;;key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;binding&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Comment
113 </TT>&nbsp;
114 <BR>
115 <TT>;;--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;----&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;----
116 </TT>&nbsp;
117 <BR>
118 <TT>;; </TT>&nbsp;
119 <BR>
120 <TT>;; n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdb-next-from-src&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SDCDB
121 next command </TT>&nbsp;
122 <BR>
123 <TT>;; b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdb-back-from-src&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SDCDB
124 back command </TT>&nbsp;
125 <BR>
126 <TT>;; c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdb-cont-from-src&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SDCDB
127 continue command</TT>&nbsp;
128 <BR>
129 <TT>;; s&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdb-step-from-src&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SDCDB
130 step command </TT>&nbsp;
131 <BR>
132 <TT>;; ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdb-whatis-c-sexp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SDCDB
133 ptypecommand for data at </TT>&nbsp;
134 <BR>
135 <TT>;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
136 buffer point </TT>&nbsp;
137 <BR>
138 <TT>;; x&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdbsrc-delete&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SDCDB
139 Delete all breakpoints if no arg </TT>&nbsp;
140 <BR>
141 <TT>;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;given
142 or delete arg (C-u arg x) </TT>&nbsp;
143 <BR>
144 <TT>;; m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdbsrc-frame&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SDCDB
145 Display current frame if no arg, </TT>&nbsp;
146 <BR>
147 <TT>;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;given
148 or display frame arg </TT>&nbsp;
149 <BR>
150 <TT>;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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bsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdbsrc-goto-sdcdb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Goto
163 the SDCDB output buffer </TT>&nbsp;
164 <BR>
165 <TT>;; t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdbsrc-mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Toggles
166 Sdcdbsrc mode (turns it off) </TT>&nbsp;
167 <BR>
168 <TT>;; </TT>&nbsp;
169 <BR>
170 <TT>;; C-c C-f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdb-finish-from-src&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SDCDB
171 finish command </TT>&nbsp;
172 <BR>
173 <TT>;; </TT>&nbsp;
174 <BR>
175 <TT>;; C-x SPC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdb-break&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set
176 break for line with point </TT>&nbsp;
177 <BR>
178 <TT>;; ESC t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdbsrc-mode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Toggle
179 Sdcdbsrc mode </TT>&nbsp;
180 <BR>
181 <TT>;; ESC m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sdcdbsrc-srcmode&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
182 Toggle list mode </TT>&nbsp;
183 <BR>
184 <TT>;;</TT> 
185 <BR>
186
187 <P>
188 <HR>
189 <!--Navigation Panel-->
190 <A NAME="tex2html1112"
191  HREF="node56.html">
192 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> 
193 <A NAME="tex2html1106"
194  HREF="node49.html">
195 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> 
196 <A NAME="tex2html1102"
197  HREF="node54.html">
198 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A> 
199 <A NAME="tex2html1108"
200  HREF="node1.html">
201 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A> 
202 <A NAME="tex2html1110"
203  HREF="node61.html">
204 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A> 
205 <BR>
206 <B> Next:</B> <A NAME="tex2html1113"
207  HREF="node56.html">8. Other Processors</A>
208 <B> Up:</B> <A NAME="tex2html1107"
209  HREF="node49.html">7. SDCDB - Source</A>
210 <B> Previous:</B> <A NAME="tex2html1103"
211  HREF="node54.html">7.5 Debugger Commands.</A>
212  &nbsp <B>  <A NAME="tex2html1109"
213  HREF="node1.html">Contents</A></B> 
214  &nbsp <B>  <A NAME="tex2html1111"
215  HREF="node61.html">Index</A></B> 
216 <!--End of Navigation Panel-->
217 <ADDRESS>
218 <I>Johan Knol</I>
219 <BR><I>2001-07-13</I>
220 </ADDRESS>
221 </BODY>
222 </HTML>