remove debug symbols to a seperate file

[xx]#objcopy --only-keep-debug a.out a.symbol
[xx]#objcopy --strip-debug a.out a.release
[xx]#(gdb)add-symbol ./a.symbol
原文地址:https://www.cnblogs.com/redstar9451/p/10184879.html