Regression with gdb scripts for Linux kernel

Jan Kiszka jan.kiszka@web.de
Wed Aug 27 06:35:00 GMT 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/gdb/attachments/20140827/fabad14a/attachment.sig>


More information about the Gdb mailing list