title: How to execute gdb script in eclipse when it attached?
body: <p>I usually run a load libraries script when I attached to a process when I using eclipse.
  I what it run this script automatically after I just attached to the process. But the .gdbinit script is executed at the beginning of attaching. Thus load libraries will fail in the .gdbinit script.
  Is there a "ON_ATTACHED" function to let me do that?</p>