title: calling gdb print from python script
body: <p>I have a python gdb script that finds a pointer to some important value.</p>
  
  <p>I want to call gdb print command to have this value assigned to value history for future references in other debug commands. </p>
  
  <p>How to do it?</p>
  
  <p>I know that I can define python function that will return this value - but I really want gdb command for backward compatibility with old gdb scripts.</p>