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, 1 Sep 2014 14:28:05 +0200
- 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:
> 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.
>
> Any ideas? Do you need a core file?
The file /data/linux/build-dbg/net/netfilter/xt_tcpudp.ko would be useful if
it crashes with: gdb -readnow /data/linux/build-dbg/net/netfilter/xt_tcpudp.ko
backtrace of the GDB crash would be also good.
Fedora uses CONFIG_NETFILTER_XTABLES=y and 'gdb -readnow vmlinux' does not
crash for me.
Jan