GDB: add to solib-search-path
1 answer
There is no easy built-in way to do this. However, there are two less simple ways.
The simplest of the two is to use Python scripts to change the setting. It's easy to get the current value from Python and change it as a string.
The more difficult it is to use the combination set logging
, shell
and source
to do it. The idea is to print the current value in a file, overwrite the file as a new command set
and then the source
result.
+1
source to share