Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Apr 2018 21:41:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 181722] gdb on ARM unable to sensibly debug core file from assert(3)
Message-ID:  <bug-181722-7-MNrSWVacsr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-181722-7@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

Oleksandr Tymoshenko <gonzo@FreeBSD.org> changed:

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

--- Comment #1 from Oleksandr Tymoshenko <gonzo@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-181722-7-MNrSWVacsr>