armv6hf gdb issue

Maxim Sobolev sobomax at FreeBSD.org
Sat Jul 18 01:12:02 UTC 2015


Hi, I am running armv6hf build on my BBB and found that gdb is unable to
open a core file anymore:

*[sobomax at beaglebone ~/projects/rtpproxy/tests]$ gdb ../src/rtpproxy_debug
/tmp/rtpproxy_debug.45611.core*
*GNU gdb 6.1.1 [FreeBSD]*
*Copyright 2004 Free Software Foundation, Inc.*
*GDB is free software, covered by the GNU General Public License, and you
are*
*welcome to change it and/or distribute copies of it under certain
conditions.*
*Type "show copying" to see the conditions.*
*There is absolutely no warranty for GDB.  Type "show warranty" for
details.*
*This GDB was configured as "armv6hf-marcel-freebsd"...*
*Core was generated by `rtpproxy_debug'.*
*Program terminated with signal 10, Bus error.*
*Reading symbols from /lib/libm.so.5...done.*
*Loaded symbols for /lib/libm.so.5*
*Reading symbols from /lib/libthr.so.3...done.*
*Loaded symbols for /lib/libthr.so.3*
*Reading symbols from /lib/libc.so.7...done.*
*Loaded symbols for /lib/libc.so.7*
*Reading symbols from /lib/libgcc_s.so.1...done.*
*Loaded symbols for /lib/libgcc_s.so.1*
*Reading symbols from /libexec/ld-elf.so.1...done.*
*Loaded symbols for /libexec/ld-elf.so.1*
*#0  dtime2ts (dtime=*
*/storage/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/regcache.c:1147:
internal-error: int register_offset_hack(struct gdbarch *, int): Assertion
`regnum >= 0 && regnum < descr->nr_cooked_registers' failed.*
*A problem internal to GDB has been detected,*
*further debugging may prove unreliable.*
*Quit this debugging session? (y or n) y*

Please check. Thanks!

-Maxim


More information about the freebsd-arm mailing list