* src/SDCCpeeph.c (peepHole): Fixed all leaks. Added trace support for freeing...
[fw/sdcc] / doc / sdccman.html / node51.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.2 How the Debugger Works</TITLE>
11 <META NAME="description" CONTENT="7.2 How the Debugger Works">
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="next" HREF="node52.html">
23 <LINK REL="previous" HREF="node50.html">
24 <LINK REL="up" HREF="node49.html">
25 <LINK REL="next" HREF="node52.html">
26 </HEAD>
27
28 <BODY >
29 <!--Navigation Panel-->
30 <A NAME="tex2html1042"
31  HREF="node52.html">
32 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next_motif.gif"></A> 
33 <A NAME="tex2html1036"
34  HREF="node49.html">
35 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up_motif.gif"></A> 
36 <A NAME="tex2html1030"
37  HREF="node50.html">
38 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="previous_motif.gif"></A> 
39 <A NAME="tex2html1038"
40  HREF="node1.html">
41 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents_motif.gif"></A> 
42 <A NAME="tex2html1040"
43  HREF="node61.html">
44 <IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index_motif.gif"></A> 
45 <BR>
46 <B> Next:</B> <A NAME="tex2html1043"
47  HREF="node52.html">7.3 Starting the Debugger</A>
48 <B> Up:</B> <A NAME="tex2html1037"
49  HREF="node49.html">7. SDCDB - Source</A>
50 <B> Previous:</B> <A NAME="tex2html1031"
51  HREF="node50.html">7.1 Compiling for Debugging</A>
52  &nbsp <B>  <A NAME="tex2html1039"
53  HREF="node1.html">Contents</A></B> 
54  &nbsp <B>  <A NAME="tex2html1041"
55  HREF="node61.html">Index</A></B> 
56 <BR>
57 <BR>
58 <!--End of Navigation Panel-->
59
60 <H2><A NAME="SECTION00082000000000000000">
61 7.2 How the Debugger Works</A>
62 </H2>
63
64 <P>
65 When the -debug option is specified the compiler generates extra
66 symbol information some of which are put into the the assembler source
67 and some are put into the .cdb file, the linker updates the .cdb file
68 with the address information for the symbols. The debugger reads the
69 symbolic information generated by the compiler &amp; the address information
70 generated by the linker. It uses the SIMULATOR (Daniel's S51) to execute
71 the program, the program execution is controlled by the debugger.
72 When a command is issued for the debugger, it translates it into appropriate
73 commands for the simulator.
74
75 <P>
76 <BR><HR>
77 <ADDRESS>
78 <I>Johan Knol</I>
79 <BR><I>2001-07-13</I>
80 </ADDRESS>
81 </BODY>
82 </HTML>