home *** CD-ROM | disk | FTP | other *** search
-
- Sozobon ADB
- Debugger for Sozobon C on the Atari ST
- Authors: Johann Ruegg and Don Dugger
-
- Introduction
- ------------
-
- This debugger is designed to be used with the Sozobon C compiler.
- It is modeled after the 'adb' command on UNIX systems. Thus it
- is a machine language debugger - not a source level debugger.
-
-
- Differences verses the UNIX adb
- -------------------------------
-
- 1) Szadb can only be used to control a running process - it cannot be
- used to look at executables or core files. Therefore '/' and '?'
- commands both refer to memory. The usage for szadb is
- szadb exec-file
- The 'exec-file' is Pexec'ed immediately. Compile with the '-t' flag
- to get symbols in the 'exec-file'. Symbols are adjusted to reflect
- the relocation of the program.
-
- 2) Expressions handles by szadb are a little simpler
- - no floating point numbers
- - '+', '^' and '"' are not valid values
- - variables within routines are not understood
- - the unary operand '*' fetches 4 bytes, while '@' fetches
- 2 bytes (from memory)
- - the dyadic operator '#' is not supported
-
- 3) There is not concept of a map - all addresses refer to memory.
- Thus the '*' modifier to '/' and '?' is not used and there is no
- '?m' or '/m' command.
-
- 4) The following format characters are not supported
- q Q u U f F C Y
-
- 5) The '/l' command is missing
-
- 6) There is no shell escape '!' command.
-
- 7) The following '$' commands are missing
- $>file $<file $f $a $w $v $m
-
- 8) These '$' commands are added
- $p - print the process base page
-
- 9) The following ':' commands are missing
- :r (use :s or :c instead - put any parameters to be passed on
- the first :s or :c)
- :k (exit the debugger and start over instead)
-
- 10) Breakpoints do not have repeat counts or associated commands
-
- 11) There are no internal variables
-
- 12) Szadb uses its own window so as not to interfere with the program
- being debugged. Use cntl-w to view the program's window. Type any
- character to switch back.
-
- 13) Online help is available. Use the 'help' key.
-