1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
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 -->
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">
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">
20 <LINK REL="STYLESHEET" HREF="sdccman.css">
22 <LINK REL="previous" HREF="node54.html">
23 <LINK REL="up" HREF="node49.html">
24 <LINK REL="next" HREF="node56.html">
28 <!--Navigation Panel-->
29 <A NAME="tex2html1112"
31 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A>
32 <A NAME="tex2html1106"
34 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A>
35 <A NAME="tex2html1102"
37 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A>
38 <A NAME="tex2html1108"
40 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A>
41 <A NAME="tex2html1110"
43 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A>
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   <B> <A NAME="tex2html1109"
52 HREF="node1.html">Contents</A></B>
53   <B> <A NAME="tex2html1111"
54 HREF="node61.html">Index</A></B>
57 <!--End of Navigation Panel-->
59 <H2><A NAME="SECTION00086000000000000000">
60 7.6 Interfacing with XEmacs.</A>
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):
73 <TT>(load-file sdcdbsrc.el)</TT>
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 (<installdir>/bin), then enter the following command ESC-x load-file
81 sdcdbsrc. To start the interface enter the following command:
85 <I><B>ESC-x sdcdbsrc</B></I>
89 You will prompted to enter the file name to be debugged.
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.
100 <LI>sdcdbsrc-cpu-type '51</LI>
101 <LI>sdcdbsrc-frequency '11059200</LI>
102 <LI>sdcdbsrc-serial nil</LI>
104 The following is a list of key mapping for the debugger interface.
110 <TT>;; Current Listing :: </TT>
112 <TT>;;key binding Comment
115 <TT>;;-- ---- ----
120 <TT>;; n sdcdb-next-from-src SDCDB
121 next command </TT>
123 <TT>;; b sdcdb-back-from-src SDCDB
124 back command </TT>
126 <TT>;; c sdcdb-cont-from-src SDCDB
127 continue command</TT>
129 <TT>;; s sdcdb-step-from-src SDCDB
130 step command </TT>
132 <TT>;; ? sdcdb-whatis-c-sexp SDCDB
133 ptypecommand for data at </TT>
135 <TT>;;
136 buffer point </TT>
138 <TT>;; x sdcdbsrc-delete SDCDB
139 Delete all breakpoints if no arg </TT>
141 <TT>;; given
142 or delete arg (C-u arg x) </TT>
144 <TT>;; m sdcdbsrc-frame SDCDB
145 Display current frame if no arg, </TT>
147 <TT>;; given
148 or display frame arg </TT>
150 <TT>;; buffer
153 <TT>;; ! sdcdbsrc-goto-sdcdb Goto
154 the SDCDB output buffer </TT>
156 <TT>;; p sdcdb-print-c-sexp SDCDB
157 print command for data at </TT>
159 <TT>;;
160 buffer point </TT>
162 <TT>;; g sdcdbsrc-goto-sdcdb Goto
163 the SDCDB output buffer </TT>
165 <TT>;; t sdcdbsrc-mode Toggles
166 Sdcdbsrc mode (turns it off) </TT>
170 <TT>;; C-c C-f sdcdb-finish-from-src SDCDB
171 finish command </TT>
175 <TT>;; C-x SPC sdcdb-break Set
176 break for line with point </TT>
178 <TT>;; ESC t sdcdbsrc-mode Toggle
179 Sdcdbsrc mode </TT>
181 <TT>;; ESC m sdcdbsrc-srcmode
182 Toggle list mode </TT>
189 <!--Navigation Panel-->
190 <A NAME="tex2html1112"
192 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A>
193 <A NAME="tex2html1106"
195 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A>
196 <A NAME="tex2html1102"
198 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A>
199 <A NAME="tex2html1108"
201 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A>
202 <A NAME="tex2html1110"
204 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A>
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   <B> <A NAME="tex2html1109"
213 HREF="node1.html">Contents</A></B>
214   <B> <A NAME="tex2html1111"
215 HREF="node61.html">Index</A></B>
216 <!--End of Navigation Panel-->
219 <BR><I>2001-07-13</I>