X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2Fsdccman.lyx;h=cd741b8f0effed9be6f7968852df6425b834c7e5;hb=96de05930bd663651dbb5a63cb93a0f2f76a5c93;hp=772e52a5f074918bea929580aed27c770476f9b3;hpb=69e754f12a02df9b381d11f0b7a1d31434e90ad5;p=fw%2Fsdcc diff --git a/doc/sdccman.lyx b/doc/sdccman.lyx index 772e52a5..cd741b8f 100644 --- a/doc/sdccman.lyx +++ b/doc/sdccman.lyx @@ -19850,7 +19850,7 @@ foo.ihx - the Intel hex format object file. \layout Section -Command Line Options. +Command Line Options \layout Itemize - @@ -19917,15 +19917,15 @@ status Collapsed -k passed to simulator see the simulator docs for details. \layout Section -Debugger Commands. +Debugger Commands \layout Standard As mentioned earlier the command interface for the debugger has been deliberatel y kept as close the GNU debugger gdb, as possible. This will help the integration with existing graphical user interfaces (like ddd, xxgdb or xemacs) existing for the GNU debugger. - If you use a graphical user interface for the debugger you can skip the - next sections. + If you use a graphical user interface for the debugger you can skip this + section. \layout Subsubsection* break [line | file:line | function | file:function] @@ -20068,6 +20068,91 @@ quit My name is Bobby Brown" \layout Section +Interfacing with DDD +\layout Comment + +The screenshot was converted from png to eps with: +\begin_inset Quotes sld +\end_inset + +bmeps -c -e8f -p3 ddd_example.png >ddd_example.eps +\begin_inset Quotes srd +\end_inset + + which produces a pretty compact eps file which is free from compression + artifacts. +\layout Comment + +The screenshot was included in sdccman.lyx cvs version 1.120 but later removed + as this broke the build system on Sourceforge (pdf-file was broken). +\layout Standard + +The .eps File +\size footnotesize + +\begin_inset LatexCommand \url{http://cvs.sourceforge.net/viewcvs.py/*checkout*/sdcc/sdcc/doc/figures/ddd_example.eps} + +\end_inset + + +\size default + shows a screenshot of a debugging session with DDD +\begin_inset LatexCommand \index{DDD (debugger)} + +\end_inset + + (Unix only) on a simulated 8032. + The debugging session might not run as smoothly as the screenshot suggests. + The debugger allows setting of breakpoints, displaying and changing variables, + single stepping through C and assembler code. + +\newline +The source was compiled with +\family sans +\series bold + +\newline + +\newline +sdcc - +\family default +\series default + +\begin_inset ERT +status Collapsed + +\layout Standard + +\backslash +/ +\end_inset + + +\family sans +\series bold +-debug ddd_example.c +\family default +\series default + +\family sans +\series bold + +\newline + +\family default +\series default + +\newline +and DDD was invoked with +\family sans +\series bold + +\newline + +\newline +ddd -debugger 'sdcdb -cpu 8032 ddd_example' +\layout Section + Interfacing with XEmacs \begin_inset LatexCommand \index{XEmacs} @@ -20078,7 +20163,7 @@ Interfacing with XEmacs \end_inset -. + \layout Standard Two files (in emacs lisp) are provided for the interfacing with XEmacs,