Date: Tue, 20 Oct 2015 14:38:48 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: freebsd-toolchain@FreeBSD.org Cc: John Baldwin <jhb@FreeBSD.org> Subject: clang confuses kgdb on static symbols Message-ID: <562627C8.5060108@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?562627C8.5060108>