NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/53643: gdb on core files fails on arm

>Number:         53643
>Category:       toolchain
>Synopsis:       gdb on core files fails on arm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 29 22:45:00 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.25
The NetBSD Foundation, Inc.
System: NetBSD 8.99.25 NetBSD 8.99.25 (SUNXI) #78: Sat Sep 29 20:54:01 CEST 2018 evbarm
Architecture: earmv7hfeb
Machine: evbarm

The new openssl does not work well on arm. I get various core files, but
looking at them seems to be unreliable:

Core was generated by `ssh-add'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0x6f559468 in _armv7_tick () from /usr/lib/
(gdb) bt
#0  0x6f559468 in _armv7_tick () from /usr/lib/
Register 25 is not available

Note that even the pc register is likely wrong - the instruction it points
at is not illegal on this cpu, and tracing through the call in live
instances does not throw a SIGILL.

Just use gdb on a core file on arm. Maybe special for big endian arm?


Home | Main Index | Thread Index | Old Index