[Bug 181722] gdb on ARM unable to sensibly debug core file from assert(3)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 3 21:41:06 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181722

Oleksandr Tymoshenko <gonzo at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|In Progress                 |Closed
         Resolution|---                         |Overcome By Events
                 CC|                            |gonzo at FreeBSD.org

--- Comment #1 from Oleksandr Tymoshenko <gonzo at FreeBSD.org> ---
Looks like this bug has been already fixed, I am able to get a proper backtrace
from the core file:

root@:~ # gdb ./a.out ./a.out.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 "armv6-marcel-freebsd"...(no debugging symbols
found)...
Core was generated by `./a.out'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libc.so.7...Reading symbols from
/usr/lib/debug//lib/libc.so.7.debug...done.
done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...Reading symbols from
/usr/lib/debug//libexec/ld-elf.so.1.debug...done.
done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x201b0da4 in thr_kill () from /lib/libc.so.7
(gdb) bt
#0  0x201b0da4 in thr_kill () from /lib/libc.so.7
#1  0x201b0d84 in __raise (s=6) at /src/FreeBSD/11/lib/libc/gen/raise.c:52
#2  0x201b0d08 in abort () at /src/FreeBSD/11/lib/libc/stdlib/abort.c:65
#3  0x2022afec in __assert (func=<value optimized out>, file=<value optimized
out>, line=<value optimized out>, failedexpr=<value optimized out>)
    at /src/FreeBSD/11/lib/libc/gen/assert.c:51
#4  0x000086d0 in f2 ()
#5  0x000086d0 in f2 ()
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-arm mailing list