DOKK / manpages / debian 10 / debugedit / debugedit.8.en
DEBUGEDIT(8) System Manager's Manual DEBUGEDIT(8)

debugedit - Debuginfo editing helper

debugedit [options] files...

This manual page documents briefly the debugedit command, which can be used to edit debuginfo section of object files (either binaries or separate debug info files).

It is useful for producing consistent information in binaries for debugging regardless build location.

These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files.

-?, --help
Show summary of options.
base build directory of objects
directory to rewrite base-dir into
file where to put list of source and header file names
recompute build ID note and print ID on stdout

debugedit -b `pwd` -d /usr/lib/debug

Rewrites path compliled into binary from current directory to /usr/lib/debug.

rpm(8)

10 September 2013 Michal Cihar