Difference between revisions of "DDD"

From ArmadeusWiki
Jump to: navigation, search
(Installation)
(Launch)
Line 9: Line 9:
 
==Launch==
 
==Launch==
 
<pre class="host">
 
<pre class="host">
  [armadeus] $ ddd --debugger ./buildroot/build_arm/staging_dir/bin/arm-linux-gdb
+
  $ ddd --debugger ./buildroot/build_arm/staging_dir/bin/arm-linux-gdb
 +
(gdb) file your_prog
 +
(gdb) set solib-absolute-prefix ./buildroot/build_armv5te/staging_dir/
 +
(gdb) target remote 192.168.0.10:2345
 +
(gdb) ...
 
</pre>
 
</pre>
  

Revision as of 20:15, 27 October 2009

GNU DDD is a graphical front-end for command-line debuggers such as GDB, DBX, WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger, or the Python debugger. Besides "usual" front-end features such as viewing source texts, DDD has become famous through its interactive graphical data display, where data structures are displayed as graphs.

Installation

  • Ubuntu/KUbuntu/XUbuntu:
 $ sudo apt-get install ddd

Launch

 $ ddd --debugger ./buildroot/build_arm/staging_dir/bin/arm-linux-gdb
 (gdb) file your_prog
 (gdb) set solib-absolute-prefix ./buildroot/build_armv5te/staging_dir/
 (gdb) target remote 192.168.0.10:2345
 (gdb) ...

Links