[fpc-devel] MIPS big-endian program starts but does nothing
reinierolislagers at gmail.com
Mon Sep 8 10:25:44 CEST 2014
On 07/09/2014 23:12, Nikolai Zhubr wrote:
> 07.09.2014 15:50, Florian Klämpfl:
>> Is gdb or strace available on this system?
> Yes. Both strace and gdb packages are available in openwrt (at least in
> the latest official release),
Yes, I've got both of them installed as well as binutils.
execve("./hellomips", ["./hellomips"], [/* 11 vars */]) = 0
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
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)
Starting program: /usbstorage/backup/hellomips
I could recompile everything to use e.g. dwarf2 - remember doing that
before but I think gdb complained about something else then. Still,
happy to give it a go.
More information about the fpc-devel