SDCDB(1)
β¨ SDCDB(1) β¨
okay bestie, sit down, hydrate, and let me tell you about sdcdb from the General Commands Manual section 1 β the source debugger for SDCC π
π NAME π
sdcdb β the Source debugger for SDCC, and yes she's that girl π
πΈ SYNOPSIS πΈ
sdcdb [options] filename
β οΈ WARNING β οΈ
The info on this man page is an extract from the full documentation of SDCC, and it's limited to the meaning of the options. That's it. That's the whole scope.
For the complete and current documentation, go read the SDCC Compiler User Guide. No cap. This page is the trailer, not the movie π¬
π¦ DESCRIPTION π¦
sdcdb is a source debugger for SDCC, periodt. It uses ucSim to actually execute the program β and the program execution is controlled by the debugger. So like, debugger runs the show, simulator does the running. main character energy fr fr π
The command interface for the debugger has been deliberately kept as close to the GNU debugger gdb as possible. Why? Because that helps with integration into existing graphical user interfaces β the ones like ddd, xxgdb or xemacs that already exist for the GNU debugger. The way that she just fits in with the gdb girlies π«Ά
π STARTING THE DEBUGGER π
You can start the debugger with the following command line (assume the file you're debugging has the file name foo):
sdcdb foo
And then the debugger goes looking for these files, bestie:
foo.cβ the source file.foo.cdbβ the debugger symbol information file.foo.ihxβ the intel hex format object file.
Three files, one vibe check β
π OPTIONS π
-directory=<source file directory>β use this to specify the directory search list. The debugger will look into the directory list you specified for the source,cdb&ihxfiles. The items in the directory list must be separated by':'. So like, if your source files can live in the directories/home/src1and/home/src2, the-directoryoption should be-directory=/home/src1:/home/src2. And heads up: there can be no spaces in the option. None. Zero. π-cd <directory>β change to the<directory>. Just... go there. πΆββοΈ-fullnameβ used by GUI front ends. That's the whole thing, she's a supporting character π-cpu <cpu-type>β this argument is passed to the simulator. Please see the simulator docs for details, iykyk π-X <Clock frequency>β this option is passed to the simulator. Please see the simulator docs for details π₯-s <serial port file>β this option is passed to the simulator. Please see the simulator docs for details π-S <serial in,out>β this argument is passed to the simulator. Please see the simulator docs for details β
not me noticing that four of these just say "see the simulator docs" π she's not gatekeeping, she's just delegating. Go read ucsim(1), bestie.
π COPYING π
The entire source code for the debugger is distributed under the GNU General Public License. Free as in slay π
π SEE ALSO π
π§ AUTHOR π§
This manual page was written by Aurelien Jarno <aurel32@debian.org>, for the Debian GNU/Linux system (but may be used by others). Shoutout to Aurelien, iconic behaviour πΈ
and that's the whole page, bestie β SDCDB(1), closing out exactly like she opened, no notes, periodt πβ¨π
π¦ where this page comes from
- debian trixie: sdcc-ucsim 4.5.0+dfsg-1
- ubuntu questing: sdcc-ucsim 4.5.0+dfsg-1
- ubuntu resolute: sdcc-ucsim 4.5.0+dfsg-4
- ubuntu stonking: sdcc-ucsim 4.5.0+dfsg-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms