<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=32v_1m_sdb</id>
		<title>32v 1m sdb - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=32v_1m_sdb"/>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=32v_1m_sdb&amp;action=history"/>
		<updated>2026-05-11T12:17:13Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.1</generator>

	<entry>
		<id>https://gunkies.org/w/index.php?title=32v_1m_sdb&amp;diff=7020&amp;oldid=prev</id>
		<title>Neozeed: New page: SDB(1)              UNIX Programmer's Manual               SDB(1)    == NAME ==      sdb - C symbolic debugger  == SYNOPSIS ==      sdb [ objfil [ corfil [ directory ] ] ]  == DESCRIPTION ...</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=32v_1m_sdb&amp;diff=7020&amp;oldid=prev"/>
				<updated>2009-10-26T15:40:38Z</updated>
		
		<summary type="html">&lt;p&gt;New page: SDB(1)              UNIX Programmer&amp;#039;s Manual               SDB(1)    == NAME ==      sdb - C symbolic debugger  == SYNOPSIS ==      sdb [ objfil [ corfil [ directory ] ] ]  == DESCRIPTION ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;SDB(1)              UNIX Programmer's Manual               SDB(1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NAME ==&lt;br /&gt;
     sdb - C symbolic debugger&lt;br /&gt;
&lt;br /&gt;
== SYNOPSIS ==&lt;br /&gt;
     sdb [ objfil [ corfil [ directory ] ] ]&lt;br /&gt;
&lt;br /&gt;
== DESCRIPTION ==&lt;br /&gt;
     _S_d_b is a symbolic debugger for C programs.  It may be used&lt;br /&gt;
     to examine their files and to provide a controlled environ-&lt;br /&gt;
     ment for their execution.&lt;br /&gt;
&lt;br /&gt;
     _O_b_j_f_i_l is an executable C program file which has been com-&lt;br /&gt;
     piled with the -g (debug) option.  The default for _o_b_j_f_i_l is&lt;br /&gt;
     a.out. _C_o_r_f_i_l is assumed to be a core image file produced&lt;br /&gt;
     after executing _o_b_j_f_i_l; the default for _c_o_r_f_i_l is core. The&lt;br /&gt;
     core file need not be present.&lt;br /&gt;
&lt;br /&gt;
     It is useful to know that at any time there is a _c_u_r_r_e_n_t&lt;br /&gt;
     _l_i_n_e and _c_u_r_r_e_n_t _f_i_l_e. If _c_o_r_f_i_l exists then they are ini-&lt;br /&gt;
     tially set to the line and file containing the source state-&lt;br /&gt;
     ment at which the process terminated or stopped.  Otherwise,&lt;br /&gt;
     they are set to the first line in main.  The current line&lt;br /&gt;
     and file may be changed with the source file examination&lt;br /&gt;
     commands.&lt;br /&gt;
&lt;br /&gt;
     Names of variables are written just as they are in C.  Vari-&lt;br /&gt;
     ables local to a procedure may be accessed using the form&lt;br /&gt;
     `procedure:variable'.  If no procedure name is given, the&lt;br /&gt;
     procedure containing the current line is used by default.&lt;br /&gt;
     It is also possible to refer to structure members as&lt;br /&gt;
     `variable.member', pointers to structure members as&lt;br /&gt;
     `variable-&amp;gt;member' and array elements as `variable[number]'.&lt;br /&gt;
     Combinations of these forms may also be used.&lt;br /&gt;
&lt;br /&gt;
     It is also possible to specify a variable by its address.&lt;br /&gt;
     All forms of integer constants which are valid in C may be&lt;br /&gt;
     used, so that addresses may be input in decimal, octal or&lt;br /&gt;
     hexadecimal.&lt;br /&gt;
&lt;br /&gt;
     Line numbers in the source program are referred to as&lt;br /&gt;
     `filename:number' or `procedure:number'.  In either case the&lt;br /&gt;
     number is relative to the beginning of the file.  If no pro-&lt;br /&gt;
     cedure or file name is given, the current file is used by&lt;br /&gt;
     default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
     The commands for examining data in the program are:&lt;br /&gt;
&lt;br /&gt;
     t    Print a stack trace of the terminated or stopped pro-&lt;br /&gt;
          gram.&lt;br /&gt;
&lt;br /&gt;
     variable/_m&lt;br /&gt;
&lt;br /&gt;
          Print the value of variable according to format _m. If _m&lt;br /&gt;
          is omitted, sdb chooses a format suitable for the&lt;br /&gt;
          variable's type as declared in the C program.  Legal&lt;br /&gt;
          values for _m are&lt;br /&gt;
&lt;br /&gt;
          c    character&lt;br /&gt;
          h    16 bit integer in decimal&lt;br /&gt;
          d    int size integer in decimal&lt;br /&gt;
          l    32 bit integer in decimal&lt;br /&gt;
          u    int size bit integer in decimal, unsigned&lt;br /&gt;
          o    int size bit integer in octal&lt;br /&gt;
          x    int size bit integer in hexadecimal&lt;br /&gt;
          f    32 bit single precision floating point&lt;br /&gt;
          g    64 bit double precision floating point&lt;br /&gt;
          s    Assume variable is a string pointer and print&lt;br /&gt;
               characters until a null is reached.&lt;br /&gt;
          a    Print characters starting at the variable's&lt;br /&gt;
               address until a null is reached.&lt;br /&gt;
&lt;br /&gt;
          The last variable may be redisplayed with the command&lt;br /&gt;
     `./'.&lt;br /&gt;
&lt;br /&gt;
     variable=&lt;br /&gt;
          Print the address of variable.&lt;br /&gt;
&lt;br /&gt;
     variable!value&lt;br /&gt;
          Set the variable to the given value.  The value may be&lt;br /&gt;
          a number, character constant or a variable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
     The commands for examining source files are&lt;br /&gt;
&lt;br /&gt;
     e procedure&lt;br /&gt;
     e filename.c&lt;br /&gt;
          Set the current file to the file containing the named&lt;br /&gt;
          procedure or the named filename.  Set the current line&lt;br /&gt;
          to the first line in the named procedure or file.  All&lt;br /&gt;
          source files are assumed to be in _d_i_r_e_c_t_o_r_y. The&lt;br /&gt;
          default for _d_i_r_e_c_t_o_r_y is the working directory.  If no&lt;br /&gt;
          procedure or file name is given, the current procedure&lt;br /&gt;
          and file names are reported.&lt;br /&gt;
&lt;br /&gt;
     /regular expression/&lt;br /&gt;
          Search forward from the current line for a line con-&lt;br /&gt;
          taining a string matching the regular expression as in&lt;br /&gt;
          ed (1).  The trailing `/' may be elided.&lt;br /&gt;
&lt;br /&gt;
     ?regular expression?&lt;br /&gt;
          Search backward from the current line for a line con-&lt;br /&gt;
          taining a string matching the regular expression as in&lt;br /&gt;
          ed (1).  The trailing `?' may be elided.&lt;br /&gt;
&lt;br /&gt;
     p    Print the current line.&lt;br /&gt;
&lt;br /&gt;
     z    Print the current line followed by the next 9 lines.&lt;br /&gt;
          Set the current line to the last line printed.&lt;br /&gt;
&lt;br /&gt;
     control-D&lt;br /&gt;
          Scroll.  Print the next 10 lines.  Set the current line&lt;br /&gt;
          to the last line printed.&lt;br /&gt;
&lt;br /&gt;
     w    Window.  Print the 10 lines around the current line.&lt;br /&gt;
&lt;br /&gt;
     number&lt;br /&gt;
          Set the current line to the given line number.  Print&lt;br /&gt;
          the new current line.&lt;br /&gt;
&lt;br /&gt;
     _c_o_u_n_t +&lt;br /&gt;
          Advance the current line by _c_o_u_n_t lines.  Print the new&lt;br /&gt;
          current line.&lt;br /&gt;
&lt;br /&gt;
     _c_o_u_n_t -&lt;br /&gt;
          Retreat the current line by _c_o_u_n_t lines.  Print the new&lt;br /&gt;
          current line.&lt;br /&gt;
&lt;br /&gt;
     newline&lt;br /&gt;
          Advance the current line by 1 line.  Print the new&lt;br /&gt;
          current line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
     The commands for controlling the execution of the source&lt;br /&gt;
     program are&lt;br /&gt;
&lt;br /&gt;
     _c_o_u_n_t r _a_r_g_s&lt;br /&gt;
          Run the program with the given arguments.  An argument&lt;br /&gt;
          beginning with `&amp;lt;' or `&amp;gt;' causes redirection for the&lt;br /&gt;
          standard input or output respectively.  If _c_o_u_n_t is&lt;br /&gt;
          given, it specifies the number of breakpoints to be&lt;br /&gt;
          ignored.&lt;br /&gt;
&lt;br /&gt;
     _c_o_u_n_t c&lt;br /&gt;
          Continue after a breakpoint or interrupt.  If _c_o_u_n_t is&lt;br /&gt;
          given, it specifies the number of breakpoints to be&lt;br /&gt;
          ignored.&lt;br /&gt;
&lt;br /&gt;
     _c_o_u_n_t s&lt;br /&gt;
          Run the program through _c_o_u_n_t lines.  _C_o_u_n_t defaults to&lt;br /&gt;
          one if it is omitted.&lt;br /&gt;
&lt;br /&gt;
     n    Run the program until it reaches the next line.&lt;br /&gt;
&lt;br /&gt;
     procedure(arg1,arg2,...)&lt;br /&gt;
     procedure(arg1,arg2,...)/_m&lt;br /&gt;
          Execute the named procedure with the given arguments.&lt;br /&gt;
&lt;br /&gt;
          Arguments can be integer, character or string constants&lt;br /&gt;
          or names of variables accessible from the current pro-&lt;br /&gt;
          cedure.  The current implementation is limited to 14&lt;br /&gt;
          arguments and a total length of 448 for string con-&lt;br /&gt;
          stants.  The second form causes the value returned by&lt;br /&gt;
          the procedure to be printed according to format _m.  If&lt;br /&gt;
          no format is given, it defaults to `d'.&lt;br /&gt;
&lt;br /&gt;
     _l_i_n_e_n_u_m_b_e_r b&lt;br /&gt;
          Set a breakpoint at the given line.  If a procedure&lt;br /&gt;
          name without a line number is given (e.g. `proc:'), a&lt;br /&gt;
          breakpoint is placed at the first line in the pro-&lt;br /&gt;
          cedure.  If no _l_i_n_e_n_u_m_b_e_r is given, a list of the&lt;br /&gt;
          currently active breakpoints is printed.&lt;br /&gt;
&lt;br /&gt;
     _l_i_n_e_n_u_m_b_e_r d&lt;br /&gt;
          Delete a breakpoint at the given line.  If no&lt;br /&gt;
          _l_i_n_e_n_u_m_b_e_r is given then the breakpoints are deleted&lt;br /&gt;
          interactively: Each breakpoint location is printed and&lt;br /&gt;
          a line is read from the standard input.  If the line&lt;br /&gt;
          begins with a `y' or `d' then the breakpoint is&lt;br /&gt;
          deleted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
     Miscellaneous commands.&lt;br /&gt;
&lt;br /&gt;
     q    Exit the debugger.&lt;br /&gt;
&lt;br /&gt;
     ! _c_o_m_m_a_n_d&lt;br /&gt;
          The command is interpreted by sh (1).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
     The following commands also exist and are intended only for&lt;br /&gt;
     debugging the debugger.&lt;br /&gt;
&lt;br /&gt;
     a    Toggle debug output.&lt;br /&gt;
&lt;br /&gt;
     x    Print a list of procedures and files being debugged.&lt;br /&gt;
&lt;br /&gt;
== FILES ==&lt;br /&gt;
     a.out&lt;br /&gt;
     core&lt;br /&gt;
&lt;br /&gt;
== SEE ALSO ==&lt;br /&gt;
     [[32v 1m adb|adb(1)]]&lt;br /&gt;
&lt;br /&gt;
== DIAGNOSTICS ==&lt;br /&gt;
     Comments about inaccessible files, syntax errors, abnormal&lt;br /&gt;
     termination of commands, etc.&lt;br /&gt;
&lt;br /&gt;
== BUGS ==&lt;br /&gt;
     Undoubtedly, some features are actually bugs and vice versa.&lt;br /&gt;
&lt;br /&gt;
[[Category:32v man section 1]]&lt;/div&gt;</summary>
		<author><name>Neozeed</name></author>	</entry>

	</feed>