This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/17642] [7.8 regression] internal-error: resolve_dynamic_struct: Assertion `TYPE_NFIELDS (type) > 0' failed.
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 15 Dec 2014 19:04:16 +0000
- Subject: [Bug symtab/17642] [7.8 regression] internal-error: resolve_dynamic_struct: Assertion `TYPE_NFIELDS (type) > 0' failed.
- Auto-submitted: auto-generated
- References: <bug-17642-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17642
--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, gdb-7.8-branch has been updated
via dbdc8a04a60670542cfda8749a2be78779ff7720 (commit)
via c644a8577431101e5f50b6d9664a4606bd92cbfd (commit)
from 20d3bf4f6929aea6bb828a0a9febe0f2a3dffbe5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dbdc8a04a60670542cfda8749a2be78779ff7720
commit dbdc8a04a60670542cfda8749a2be78779ff7720
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Dec 13 15:31:59 2014 +0100
Fix 7.8 regression: resolve_dynamic_struct: Assertion `TYPE_NFIELDS (type)
> 0' (PR 17642)
https://sourceware.org/bugzilla/show_bug.cgi?id=17642
Regression since:
commit 012370f6818657a816df1463ee71ca4e4ee40b33
Author: Tom Tromey <tromey@redhat.com>
Date: Thu May 8 11:26:44 2014 -0600
handle VLA in a struct or union
Bugreport:
Regression with gdb scripts for Linux kernel
https://sourceware.org/ml/gdb/2014-08/msg00127.html
That big change after "else" is just reindentation.
gdb/ChangeLog
2014-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
PR symtab/17642
* gdbtypes.c (resolve_dynamic_type_internal): Apply check_typedef to
TYPE if not TYPE_CODE_TYPEDEF.
gdb/testsuite/ChangeLog
2014-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
PR symtab/17642
* gdb.base/vla-stub-define.c: New file.
* gdb.base/vla-stub.c: New file.
* gdb.base/vla-stub.exp: New file.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c644a8577431101e5f50b6d9664a4606bd92cbfd
commit c644a8577431101e5f50b6d9664a4606bd92cbfd
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Mon Nov 24 18:05:04 2014 +0100
Reindent code (resolve_dynamic_type_internal).
gdb/ChangeLog
2014-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdbtypes.c (resolve_dynamic_type_internal): Reindent the code.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 10 +++++
gdb/gdbtypes.c | 62 ++++++++++++++++-------------
gdb/testsuite/ChangeLog | 7 +++
gdb/testsuite/gdb.base/vla-stub-define.c | 21 ++++++++++
gdb/testsuite/gdb.base/vla-stub.c | 37 ++++++++++++++++++
gdb/testsuite/gdb.base/vla-stub.exp | 25 ++++++++++++
6 files changed, 134 insertions(+), 28 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/vla-stub-define.c
create mode 100644 gdb/testsuite/gdb.base/vla-stub.c
create mode 100644 gdb/testsuite/gdb.base/vla-stub.exp
--
You are receiving this mail because:
You are on the CC list for the bug.