NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/55851: gdb and kernel backtraces disagree about symbol name syntax
>Number: 55851
>Category: kern
>Synopsis: gdb and kernel backtraces disagree about symbol name syntax
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 08 14:30:00 +0000 2020
>Originator: Martin Husemann
>Release: NetBSD 9.99.77
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD martins.aprisoft.de 9.99.77 NetBSD 9.99.77 (GENERIC) #38: Mon Dec 7 09:49:52 CET 2020 martin%martins.aprisoft.de@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Kernel backtraces get "nice" formated names, but unfortunately those are
not always helpfull with modern gcc and inlining.
For example I got this part of a backtrace from a panic:
rtwn_start.part.0() at netbsd:rtwn_start.part.0+0x61
rtwn_transmit() at netbsd:rtwn_transmit+0xb0
[...]
Unfortunately I can not use these addresses for gdb:
(gdb) list *(rtwn_start.part.0+0x61)
A syntax error in expression, near `.0+0x61)'.
addr2line does not deal with them either.
It would be helpfull if just the raw address value would be printed
in an extra column.
>How-To-Repeat:
s/a
>Fix:
n/a
Home |
Main Index |
Thread Index |
Old Index