[fpc-devel] MIPS big-endian program starts but does nothing

Joost van der Sluis joost at cnoc.nl
Mon Sep 8 18:01:14 CEST 2014


On 09/08/2014 10:25 AM, Reinier Olislagers wrote:
> gdb ./hellomips
>
>
> dlopen failed on 'libthread_db.so.1' - File not found
> GDB will not be able to debug pthreads.
>
> GNU gdb 6.8
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/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 "mips-openwrt-linux"...
> (no debugging symbols found)
> (gdb) run
> Starting program: /usbstorage/backup/hellomips
>
>

That's it? Nothing more? You could try to send a sigint (ctrl-c) and 
then ask for a backtrace (bt).

Or add a breakpoint on main first, and then run the appication. (b main)

Joost.




More information about the fpc-devel mailing list