$ cat gdbinit target remote localhost:2331 monitor halt monitor speed auto monitor endian little load compiled/out/sos-arm7em-sailnet symbol-file compiled/out/sos-arm7em-sailnet monitor reset monitor reg sp (0) monitor reg pc (4) $ arm-none-eabi-gdb -x gdbinit GNU gdb (GNU Tools for ARM Embedded Processors) 7.6.0.20140731-cvs Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-linux-gnu --target=arm-none-eabi". For bug reporting instructions, please see: . 0x08001de4 in ?? () Select auto target interface speed (4000 kHz) Target endianess set to "little endian" Loading section .text, size 0x3378 lma 0x8000000 Loading section .rodata, size 0x19b8 lma 0x8003378 Loading section .data, size 0xa0 lma 0x8004d30 Loading section .checksum, size 0x14 lma 0x8004dd0 Start address 0x80002c4, load size 19940 Transfer rate: 4868 KB/sec, 4985 bytes/write. Resetting target Writing register (SP = 0x10010000) Writing register (PC = 0x080002C5) (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x08001cf4 in start_first_thread (thread=0x20003070 ) at /home/ecd/src/svn/brainaid/sailnet/trunk/src/sos/platform/sailnet/init.c:23 23 syscall1(int, start_first_thread, os_thread_t *, thread); (gdb) c Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x08001cf4 in start_first_thread (thread=0x20003070 ) at /home/ecd/src/svn/brainaid/sailnet/trunk/src/sos/platform/sailnet/init.c:23 23 syscall1(int, start_first_thread, os_thread_t *, thread); (gdb) s ^C Program received signal SIGINT, Interrupt. 0x08001cf4 in start_first_thread (thread=0x20003070 ) at /home/ecd/src/svn/brainaid/sailnet/trunk/src/sos/platform/sailnet/init.c:23 23 syscall1(int, start_first_thread, os_thread_t *, thread); (gdb)