Regression with gdb scripts for Linux kernel

Jan Kiszka <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Tom,

I'm getting this with my kernel gdb scripts since commit 012370f681
(handle VLA in a struct or union).

jan@mchn199C:/data/linux/build-dbg> gdb vmlinux
GNU gdb (GDB) 7.7.50.20140604-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from vmlinux...done.
(gdb) tar rem :1234
Remote debugging using :1234
native_safe_halt () at ../arch/x86/include/asm/irqflags.h:50
50      }
(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.

Any ideas? Do you need a core file?

Thanks,
Jan
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlP9fBwACgkQitSsb3rl5xQRUACgttvU3J76yTtDsdaQaWNxOz30
Fx8AoIALLStleqp7UAr0XseW0kv7uC/T
=vZ60
-----END PGP SIGNATURE-----
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.