title: Python Scripting : how to execute unix commands inside gdb prompt using python script..?
body: <p>I want to execute linux commands (eg. bt, break, frame etc) inside gdb prompt using python scripting.
  for example: i am using    <code>subprocess.call(["gdb"], shell=True)</code>
  this line takes me to (gdb) prompt by executing  gdb command but after it when i try
      <code>subprocess.call(["backtrace"], shell=True)</code>
  it shows /bin/sh:backtrace: command not found</p>