This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Regression with gdb scripts for Linux kernel


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)
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
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:
Find the GDB manual and other documentation resources online at:
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?


Attachment: signature.asc
Description: OpenPGP digital signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]