6.2. Using dwz
To optimize DWARF debugging information in a binary file, run the
dwztool as follows:
scl enable devtoolset-4 'dwz [option...] file_name'
Note that you can execute any command using the
sclutility, causing it to be run with the Red Hat Developer Toolset binaries used in preference to the Red Hat Enterprise Linux system equivalent. This allows you to run a shell session with Red Hat Developer Toolset
scl enable devtoolset-4 'bash'
To verify the version of
dwzyou are using at any point, type the following at a shell prompt:
Red Hat Developer Toolset's
dwzexecutable path will begin with
/opt. Alternatively, you can use the following command to confirm that the version number matches that for Red Hat Developer Toolset