When loading the executable, I get:
GNU gdb (Linaro GDB) 7.8-2014.09
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <gnu.org/.../gpl.html>
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-arago-linux --target=arm-linux-gnueabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.linaro.org>.
Find the GDB manual and other documentation resources online at:
<www.gnu.org/.../>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
0xb6fe1c90 in process_dl_debug (dl_debug=0x0) at rtld.c:2252
2252 rtld.c: No such file or directory.
warning: Could not load shared library symbols for 3 libraries, e.g. /lib/arm-linux-gnueabihf/libpthread.so.0.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Temporary breakpoint 4, main () at ../main.c:69
69 int stat = 0;
What setting am I missing?