File: sdcdb.1

package info (click to toggle)
sdcc 4.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 100,120 kB
  • sloc: ansic: 935,524; cpp: 75,055; makefile: 57,615; sh: 30,106; asm: 14,243; perl: 12,136; yacc: 7,297; lisp: 1,672; python: 815; lex: 781; awk: 498; sed: 89
file content (80 lines) | stat: -rw-r--r-- 2,438 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.TH SDCDB 1 
.SH NAME
sdcdb \- Source debugger for SDCC
.SH SYNOPSIS
.B sdcdb [options] filename
.SH WARNING
The information in this man page is an extract from the full
documentation of SDCC, and is limited to the meaning of the
options.
.PP
For complete and current documentation, refer to the
.B
SDCC Compiler User Guide\c
\&.
.SH "DESCRIPTION"
.B sdcdb\c
\& is a source debugger for 
.B SDCC\c
\&. It uses 
.B ucSim\c
\& to execute the program, the program execution is controlled
by the debugger. 
.PP
The command interface for the debugger has been deliberately 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.
.SH STARTING THE DEBUGGER
The debugger can be started using the following command line (Assume the file 
you are debugging has the file name foo):
.PP
.B sdcdb foo
.PP
The debugger will look for the following files:
.PP
.nf
foo.c   - the source file.
foo.cdb - the debugger symbol information file.
foo.ihx - the intel hex format object file.
.fi
.SH OPTIONS
.TP
.BI "\-directory=" "<source file directory>" 
This option can used to specify the directory search list. The debugger will 
look into the directory list specified for source, cdb & ihx files. The items 
in the directory list must be separated by ':', e.g. if the source files can be
in the directories /home/src1 and /home/src2, the 
.B -directory\c
\& option should be
.B -directory=/home/src1:/home/src2\c
\&. Note there can be no spaces in the option.
.TP
.BI "\-cd " "<directory>"
Change to the <directory>.
.TP
.BI "\-fullname"
Used by GUI front ends.
.TP
.BI "\-cpu " "<cpu-type>"
This argument is passed to the simulator. Please see the simulator docs for 
details.
.TP
.BI "\-X " "<Clock frequency>" 
This option is passed to the simulator. Please see the simulator docs for 
details.
.TP
.BI "\-s " "<serial port file>" 
This option is passed to simulator. Please see the simulator docs for details.
.TP
.BI "\-S " "<serial in,out>"
This argument is passed to simulator. Please  see the simulator docs for 
details.
.SH COPYING
The entire source code for the debugger is distributed under GNU General Public
License.
.SH SEE ALSO
sdcc(1), ucsim(1), s51(1), savr(1), sz80(1).
.SH AUTHOR
This manual page was written by Aurelien Jarno <aurel32@debian.org>,
for the Debian GNU/Linux system (but may be used by others).