This patch moves the GDB commands to set a breakpoint in the 'main()' function into a separate file that can be included from other run scripts. Fixes #876.