Changes between Version 10 and Version 11 of AndreesStuff


Ignore:
Timestamp:
Sep 26, 2006, 11:54:16 AM (12 years ago)
Author:
andree
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndreesStuff

    v10 v11  
    159159tools/svn2build "mindi mondo"
    160160}}}
     161
     162=== Creating Backtraces ===
     163
     164== General ==
     165
     166Backtraces can be very useful to trouble-shoot issues like segmentation faults. To create a useful backtrace, you need gdb (the GNU Debugger) installed and an application (and possibly libraries) with debugging symbols built in. The following will explain how to do this.
     167
     168== gdb ==
     169
     170gdb should be part of your distribution just use your favourite way to install the package, e.g.
     171
     172{{{
     173apt-get gdb
     174}}}
     175
     176for Debian and friends (such as Ubuntu) or
     177
     178{{{
     179yum gdb
     180}}}
     181
     182for Fedora/RedHat/Mandriva
     183
     184
     185== mondoarchive/mondorescue with debugging symbols ==
     186
     187To get mondoarchive and mondorescue with debugging symbols built in, you need to build from the source.
     188
     189Get the latest stable mondo source package from ftp://ftp.mondorescue.org/src/, e.g. mondo-2.0.9.tar.gz, unpack:
     190
     191{{{
     192tar xvzf mondo-2.0.9.tar.gz
     193}}}
     194
     195enter into the new directory and build using make:
     196
     197{{{
     198cd mondo-2.0.9
     199make
     200}}}
     201
     202You will end up with binary in the following locations which are non-stripped, i.e. they contain debugging symbols:
     203{{{
     204file
     205}}}
     206
     207and
     208
     209{{{
     210file
     211}}}
     212
     213Make backups of the original mondoarchive and mondorestore binaries and copy they newly created over the original ones.
     214
     215== mondoarchive ==
     216
     217== mondorestore ==
     218