expected pattern of gdb simulator t-105@makoto 16:08:24/110318(..gcc/sample_code)% cat gdb-sim-PASS.gdb GNU gdb 6.6-ximo16-.* Copyright \(C\) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host= --target=ximo16--elf". cpu_restart: 89:../../../src/sim/ximo16/ximo16_sim.c: getting elf_start -> 0x6000 Connected to the simulator. Loading section .init, size 0x[0-9a-f]+ vma 0x6000 Loading section .data, size 0x[0-9a-f]+ vma 0x6100 Loading section .text, size 0x[0-9a-f]+ vma 0x6400 Loading section .fini, size 0x40 vma 0xffe0 Start address 0x6000 Transfer rate: [0-9]+ bits in <1 sec. Breakpoint 1 at 0xffe4 Breakpoint 2 at 0xffe8 cpu_restart: 89:../../../src/sim/ximo16/ximo16_sim.c: getting elf_start -> 0x6000 Breakpoint 1, 0x0000ffe4 in \?\? \(\) The program is running. Exit anyway\? \(y or n\) \n[answered Y; input not from terminal\] t-105@makoto 16:08:25/110318(..gcc/sample_code)%