$ objcopy --only-keep-debug <src-executable-file> <dst-debug-symbol-only-file>
$ strip <src-executable-file>