DOKK / manpages / debian 11 / debugedit / debugedit.8.en
DEBUGEDIT(8) System Administration Utilities DEBUGEDIT(8)

debugedit - Debuginfo editing helper

debugedit [options] file

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.

The command takes exactly one file argument and edits the file in-place.

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
if recomputing the build ID note use this string as hash seed
do not recompute build ID note even when -i or -s are given
print the debugedit version

-?, --help
Show this help message
Display brief usage message

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

March 2021 debugedit