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.
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 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 "i386-redhat-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /home/subrahmanyam/crash/ls...(no debugging symbols found)...done.
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
disassemble No function contains program counter for selected frame. (gdb)
Can you please help in decoding the core file.