title: Using variables in gdbinit script
body: <p>I'd like to use variables inside .gdbinit script to later expand it in <code>add-symbole-file</code>. However for some reason the variable is not expanded. </p>
  
  <pre><code>set $project_root = C:/Projects/Gitlab/ASW
  
  ...
  
  add-symbol-file $project_root/fm_bc/FM_Lib.out
  </code></pre>
  
  <p>I tried to use <code>$project_root</code> as <code>$(project_root)</code> and <code>${project_root}</code>.</p>
  
  <p>I'm using <code>arm-none-eabi-gdb</code> (<em>GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20160923-cvs</em>) without Python support and recompilation on Windows is not possible.</p>