This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Regression with gdb scripts for Linux kernel
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Jan Kiszka <jan dot kiszka at web dot de>
- Cc: Tom Tromey <tromey at redhat dot com>, gdb at sourceware dot org
- Date: Mon, 24 Nov 2014 17:33:19 +0100
- Subject: Re: Regression with gdb scripts for Linux kernel
- Authentication-results: sourceware.org; auth=none
- References: <53FD7C12 dot 4000301 at web dot de>
On Wed, 27 Aug 2014 08:34:58 +0200, Jan Kiszka wrote:
> I'm getting this with my kernel gdb scripts since commit 012370f681
> (handle VLA in a struct or union).
[...]
> (gdb) lx-symbols
> loading vmlinux
> scanning for modules in /data/linux/build-dbg
> loading @0xffffffffa05da000: /data/linux/build-dbg/net/netfilter/xt_tcpudp.ko
> ../../gdb/gdbtypes.c:1779: internal-error: resolve_dynamic_struct: Assertion `TYPE_NFIELDS (type) > 0' failed.
Minimal reproducer filed as:
[7.8 regression] internal-error: resolve_dynamic_struct: Assertion `TYPE_NFIELDS (type) > 0' failed.
https://sourceware.org/bugzilla/show_bug.cgi?id=17642
Jan