Fail to load debug symbols from external file when debugging with gdb
I am investigating how to use gdb for debugging with symbols in external file.
I build a small executable that depend og and equally small shared libaray.
I build the execuablte with cmake producing the following g++ command (I have left out various includes for simplicity):