clang confuses kgdb on static symbols
Andriy Gapon
avg at FreeBSD.org
Tue Oct 20 11:41:21 UTC 2015
I see exactly the same behavior both kgdb and kgdb710 (devel/gdb with KGDB option):
(kgdb) p/x intr_cpus
No symbol "intr_cpus" in current context.
(kgdb) p/x 'intr_cpus.0'
$1 = 0xf
Not sure if clang should try to not produce that '.0' suffix (especially given
that there are no other intr_cpus symbols) or if kgdb should somehow figure out
the suffix.
--
Andriy Gapon
More information about the freebsd-toolchain
mailing list