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. SDCDB - Source Level Debugger</TITLE>
11 <META NAME="description" CONTENT="7. SDCDB - Source Level Debugger">
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="next" HREF="node56.html">
23 <LINK REL="previous" HREF="node48.html">
24 <LINK REL="up" HREF="sdccman.html">
25 <LINK REL="next" HREF="node50.html">
29 <!--Navigation Panel-->
32 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A>
35 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A>
38 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A>
41 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A>
44 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A>
46 <B> Next:</B> <A NAME="tex2html993"
47 HREF="node50.html">7.1 Compiling for Debugging</A>
48 <B> Up:</B> <A NAME="tex2html987"
49 HREF="sdccman.html">SDCC Compiler User Guide</A>
50 <B> Previous:</B> <A NAME="tex2html981"
51 HREF="node48.html">6. Retargetting for other</A>
52   <B> <A NAME="tex2html989"
53 HREF="node1.html">Contents</A></B>
54   <B> <A NAME="tex2html991"
55 HREF="node61.html">Index</A></B>
58 <!--End of Navigation Panel-->
60 <H1><A NAME="SECTION00080000000000000000">
61 7. SDCDB - Source Level Debugger</A>
65 SDCC is distributed with a source level debugger. The debugger uses
66 a command line interface, the command repertoire of the debugger has
67 been kept as close to gdb (the GNU debugger) as possible. The configuration
68 and build process is part of the standard compiler installation, which
69 also builds and installs the debugger in the target directory specified
70 during configuration. The debugger allows you debug BOTH at the C
71 source and at the ASM source level.
75 <!--Table of Child-Links-->
76 <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
79 <LI><A NAME="tex2html994"
80 HREF="node50.html">7.1 Compiling for Debugging</A>
81 <LI><A NAME="tex2html995"
82 HREF="node51.html">7.2 How the Debugger Works</A>
83 <LI><A NAME="tex2html996"
84 HREF="node52.html">7.3 Starting the Debugger</A>
85 <LI><A NAME="tex2html997"
86 HREF="node53.html">7.4 Command Line Options.</A>
87 <LI><A NAME="tex2html998"
88 HREF="node54.html">7.5 Debugger Commands.</A>
90 <LI><A NAME="tex2html999"
91 HREF="node54.html#SECTION00085100000000000000">7.5.1 break [line | file:line | function | file:function]</A>
92 <LI><A NAME="tex2html1000"
93 HREF="node54.html#SECTION00085200000000000000">7.5.2 clear [line | file:line | function | file:function ]</A>
94 <LI><A NAME="tex2html1001"
95 HREF="node54.html#SECTION00085300000000000000">7.5.3 continue</A>
96 <LI><A NAME="tex2html1002"
97 HREF="node54.html#SECTION00085400000000000000">7.5.4 finish</A>
98 <LI><A NAME="tex2html1003"
99 HREF="node54.html#SECTION00085500000000000000">7.5.5 delete [n]</A>
100 <LI><A NAME="tex2html1004"
101 HREF="node54.html#SECTION00085600000000000000">7.5.6 info [break | stack | frame | registers ]</A>
102 <LI><A NAME="tex2html1005"
103 HREF="node54.html#SECTION00085700000000000000">7.5.7 step</A>
104 <LI><A NAME="tex2html1006"
105 HREF="node54.html#SECTION00085800000000000000">7.5.8 next</A>
106 <LI><A NAME="tex2html1007"
107 HREF="node54.html#SECTION00085900000000000000">7.5.9 run</A>
108 <LI><A NAME="tex2html1008"
109 HREF="node54.html#SECTION000851000000000000000">7.5.10 ptype variable </A>
110 <LI><A NAME="tex2html1009"
111 HREF="node54.html#SECTION000851100000000000000">7.5.11 print variable</A>
112 <LI><A NAME="tex2html1010"
113 HREF="node54.html#SECTION000851200000000000000">7.5.12 file filename</A>
114 <LI><A NAME="tex2html1011"
115 HREF="node54.html#SECTION000851300000000000000">7.5.13 frame</A>
116 <LI><A NAME="tex2html1012"
117 HREF="node54.html#SECTION000851400000000000000">7.5.14 set srcmode</A>
118 <LI><A NAME="tex2html1013"
119 HREF="node54.html#SECTION000851500000000000000">7.5.15 ! simulator command</A>
120 <LI><A NAME="tex2html1014"
121 HREF="node54.html#SECTION000851600000000000000">7.5.16 quit.</A>
123 <LI><A NAME="tex2html1015"
124 HREF="node55.html">7.6 Interfacing with XEmacs.</A>
126 <!--End of Table of Child-Links-->
130 <BR><I>2001-07-13</I>