ITK/GDBPretty/Installation/Linux: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
No edit summary |
|||
Line 28: | Line 28: | ||
== Install custom pretty-printers == | == Install custom pretty-printers == | ||
=== Basic pretty-printers === | |||
yum install python-matplotlib | |||
Place the following in ''~/.gdbinit'' | |||
<pre> | |||
some stuff | |||
oeau eoau | |||
aoue | |||
</pre> | |||
=== ''libstdcxx'' pretty-printers === | |||
cd ~/gdb | |||
mkdir |
Revision as of 07:43, 17 November 2010
Fedora 14 example
Install package dependencies
yum install gcc gcc-c++ git texinfo ncurses-devel flex bison
Build custom GDB
Build it
cd ~ mkdir gdb cd gdb git clone git://gitorious.org/~thewtex/gdb-python/archer-thewtex-python.git source mkdir build install cd build ../source/configure --prefix=$(cd ../install && pwd) make -j2 all install
Put it at the top of the system PATH
su - cd /usr/local/bin ln -s /home/user/gdb/install/bin/gdb exit
Logout and login to a new shell to ensure the system follows the new path.
Install custom pretty-printers
Basic pretty-printers
yum install python-matplotlib
Place the following in ~/.gdbinit
some stuff oeau eoau aoue
libstdcxx pretty-printers
cd ~/gdb mkdir