cross compiled NetBSD utility /bin/ls for ARM, core files gives error no core file handler recognizes format
<p>I have cross compiled /bin/ls NetBSD utility for ARM platform. While executing the same I see that application crashed. Tried decoding the same using gdb. I see the following errors.</p>

<p>GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5_5.2)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <a href="http://gnu.org/licenses/gpl.html" rel="nofollow">http://gnu.org/licenses/gpl.html</a>
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 "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
<a href="http://www.gnu.org/software/gdb/bugs/" rel="nofollow">http://www.gnu.org/software/gdb/bugs/</a>...
Reading symbols from /home/subrahmanyam/crash/ls...(no debugging symbols found)...done.</p>

<p>no core file handler recognizes format, using default
Can't fetch registers from this type of core file
Can't fetch registers from this type of core file
Core was generated by `sh'.
Program terminated with signal 4, Illegal instruction.
Can't fetch registers from this type of core file
Can't fetch registers from this type of core file</p>

<p>disassemble
No function contains program counter for selected frame.
(gdb)                                                   </p>

<p>Can you please help in decoding the core file.</p>