I want to set a custom solib-search-path for GDB when debugging a QNX device. My application loads libraries from all-over, and I run the debugger dozens, if not hundreds of times per day. It's really tedious to have to go to the GDB console every time the debugger launches and paste in my giant solib-search-path… And if I forget to do it, half my breakpoints won't get hit and the debug session is a bust…
I've set the solib-search-path in "Preferences|Debugger|GDB|Additional Startup Commands" but the solib-search-path I put there gets clobbered by the one sent by Qt Creator during GDB initialization.
In Qt Creator 3.0.1 if I put the solib-search-path command in "Preferences|Debugger|GDB|Debugging Helper Customization" it would work - those commands were run after Qt Creator's command that set the solib-search-path. But in subsequent releases of Qt Creator this workaround no longer works.
My request would be that commands entered in the GDB "Additional Startup Commands" be concatenated to the existing commands, but I would be happy if the "Additional Startup Commands" override the Qt Creator commands.