Re: Regression with gdb scripts for Linux kernel

Jan Kratochvil <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.