Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 18:11:53 -0700
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>, freebsd-arm@freebsd.org
Subject:   armv6hf gdb issue
Message-ID:  <CAH7qZftdW8Uudty7z6G4uZR763zKxVph%2BgpTn%2BnKde-ZpQ7ryQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi, I am running armv6hf build on my BBB and found that gdb is unable to
open a core file anymore:

*[sobomax@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH7qZftdW8Uudty7z6G4uZR763zKxVph%2BgpTn%2BnKde-ZpQ7ryQ>