<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://tech-pubs.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Dbx</id>
	<title>Dbx - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://tech-pubs.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Dbx"/>
	<link rel="alternate" type="text/html" href="http://tech-pubs.net/wiki/index.php?title=Dbx&amp;action=history"/>
	<updated>2026-04-19T23:52:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>http://tech-pubs.net/wiki/index.php?title=Dbx&amp;diff=421&amp;oldid=prev</id>
		<title>Raion: Created page with &quot;&#039;&#039;&#039;dbx&#039;&#039;&#039; is the IRIX debugger used for IRIS Development Option and MIPSPro based binaries. It is the primary system debugger, available in the &quot;ProDev Workshop&quot; CDs.  == Cheat Sheet == For those unfamiliar, this section explains how to load and use it.   === Getting Started === % dbx [program] – Launch dbx with a program.  % dbx [program] program.core – Load a core dump.  % dbx -I [path] – Add search path for source files.  === Running Programs === run [ar...&quot;</title>
		<link rel="alternate" type="text/html" href="http://tech-pubs.net/wiki/index.php?title=Dbx&amp;diff=421&amp;oldid=prev"/>
		<updated>2025-11-17T04:26:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;dbx&amp;#039;&amp;#039;&amp;#039; is the IRIX debugger used for &lt;a href=&quot;/wiki/index.php/IRIS_Development_Option&quot; title=&quot;IRIS Development Option&quot;&gt;IRIS Development Option&lt;/a&gt; and &lt;a href=&quot;/wiki/index.php/MIPSPro&quot; title=&quot;MIPSPro&quot;&gt;MIPSPro&lt;/a&gt; based binaries. It is the primary system debugger, available in the &amp;quot;ProDev Workshop&amp;quot; CDs.  == Cheat Sheet == For those unfamiliar, this section explains how to load and use it.   === Getting Started === % dbx [program] – Launch dbx with a program.  % dbx [program] program.core – Load a core dump.  % dbx -I [path] – Add search path for source files.  === Running Programs === run [ar...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;dbx&amp;#039;&amp;#039;&amp;#039; is the IRIX debugger used for [[IRIS Development Option]] and [[MIPSPro]] based binaries. It is the primary system debugger, available in the &amp;quot;ProDev Workshop&amp;quot; CDs.&lt;br /&gt;
&lt;br /&gt;
== Cheat Sheet ==&lt;br /&gt;
For those unfamiliar, this section explains how to load and use it. &lt;br /&gt;
&lt;br /&gt;
=== Getting Started ===&lt;br /&gt;
% dbx [program] – Launch dbx with a program.&lt;br /&gt;
&lt;br /&gt;
% dbx [program] program.core – Load a core dump.&lt;br /&gt;
&lt;br /&gt;
% dbx -I [path] – Add search path for source files.&lt;br /&gt;
&lt;br /&gt;
=== Running Programs ===&lt;br /&gt;
run [args] – Run the program with optional arguments.&lt;br /&gt;
&lt;br /&gt;
rerun – Restart program with the same arguments.&lt;br /&gt;
&lt;br /&gt;
kill – Stop the current program.&lt;br /&gt;
&lt;br /&gt;
quit – Exit dbx.&lt;br /&gt;
&lt;br /&gt;
=== Breakpoints ===&lt;br /&gt;
stop in function – Break at a function.&lt;br /&gt;
&lt;br /&gt;
stop at file:line – Break at a line.&lt;br /&gt;
&lt;br /&gt;
delete n – Delete breakpoint number n.&lt;br /&gt;
&lt;br /&gt;
status – List breakpoints.&lt;br /&gt;
&lt;br /&gt;
==== GDB Equivalents ====&lt;br /&gt;
dbx: stop in func → gdb: break func&lt;br /&gt;
&lt;br /&gt;
dbx: stop at file:line → gdb: break file:line&lt;br /&gt;
&lt;br /&gt;
dbx: status → gdb: info breakpoints&lt;br /&gt;
&lt;br /&gt;
=== Stepping &amp;amp; Execution Control ===&lt;br /&gt;
step – Step into.&lt;br /&gt;
&lt;br /&gt;
next – Step over.&lt;br /&gt;
&lt;br /&gt;
cont – Continue.&lt;br /&gt;
&lt;br /&gt;
where – Show call stack.&lt;br /&gt;
&lt;br /&gt;
up / down – Move in the call stack.&lt;br /&gt;
&lt;br /&gt;
==== GDB Equivalents ====&lt;br /&gt;
dbx: step → gdb: step&lt;br /&gt;
&lt;br /&gt;
dbx: next → gdb: next&lt;br /&gt;
&lt;br /&gt;
dbx: cont → gdb: continue&lt;br /&gt;
&lt;br /&gt;
dbx: where → gdb: backtrace&lt;br /&gt;
&lt;br /&gt;
=== Examining Variables ===&lt;br /&gt;
print var – Show variable.&lt;br /&gt;
&lt;br /&gt;
whatis var – Show type.&lt;br /&gt;
&lt;br /&gt;
dump var – Expand structure contents.&lt;br /&gt;
&lt;br /&gt;
display var – Auto‑print each step.&lt;br /&gt;
&lt;br /&gt;
undisplay var – Remove display.&lt;br /&gt;
&lt;br /&gt;
==== GDB Equivalents ====&lt;br /&gt;
dbx: print → gdb: print&lt;br /&gt;
&lt;br /&gt;
dbx: whatis → gdb: ptype&lt;br /&gt;
&lt;br /&gt;
dbx: dump → gdb: print *var or info locals&lt;br /&gt;
&lt;br /&gt;
=== Modifying State ===&lt;br /&gt;
assign var = value – Set variable.&lt;br /&gt;
&lt;br /&gt;
call function(args) – Call a function in the debugged program.&lt;br /&gt;
&lt;br /&gt;
==== GDB Equivalents ====&lt;br /&gt;
dbx: assign → gdb: set var var=value&lt;br /&gt;
&lt;br /&gt;
dbx: call → gdb: call&lt;br /&gt;
&lt;br /&gt;
=== Source Navigation ===&lt;br /&gt;
list – Show code around the current location.&lt;br /&gt;
&lt;br /&gt;
list file:line – Show code for a specific place.&lt;br /&gt;
&lt;br /&gt;
=== Signals ===&lt;br /&gt;
ignore signal – Ignore a signal.&lt;br /&gt;
&lt;br /&gt;
handle signal – Let program handle signal.&lt;br /&gt;
&lt;br /&gt;
catchsignal signal – Break when a signal occurs.&lt;br /&gt;
&lt;br /&gt;
==== GDB Equivalents ====&lt;br /&gt;
dbx: ignore → gdb: handle SIGX ignore&lt;br /&gt;
&lt;br /&gt;
dbx: catchsignal → gdb: catch signal&lt;br /&gt;
&lt;br /&gt;
=== Core Files ===&lt;br /&gt;
debug [program] program.core – Load executable + core.&lt;br /&gt;
&lt;br /&gt;
where – Inspect stack.&lt;br /&gt;
&lt;br /&gt;
dump var – Inspect state.&lt;br /&gt;
&lt;br /&gt;
=== Useful Misc Commands ===&lt;br /&gt;
help – Show help.&lt;br /&gt;
&lt;br /&gt;
help topic – Help on a specific topic.&lt;br /&gt;
&lt;br /&gt;
sh command – Run a shell command.&lt;/div&gt;</summary>
		<author><name>Raion</name></author>
	</entry>
</feed>