From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20148 invoked by alias); 13 Dec 2014 14:34:52 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 20114 invoked by uid 55); 13 Dec 2014 14:34:51 -0000 From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/17642] [7.8 regression] internal-error: resolve_dynamic_struct: Assertion `TYPE_NFIELDS (type) > 0' failed. Date: Sat, 13 Dec 2014 14:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: 7.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jan.kratochvil at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q4/txt/msg00380.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17642 --- Comment #4 from 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, master has been updated via 5537b577695dd5cd72395590d7ebd7aa92ee856a (commit) from 14aba1ac0d583ebd77b7645f88308d75c0a69d0f (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=5537b577695dd5cd72395590d7ebd7aa92ee856a commit 5537b577695dd5cd72395590d7ebd7aa92ee856a Author: Jan Kratochvil 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 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-13 Jan Kratochvil PR symtab/17642 * gdbtypes.c (resolve_dynamic_type_internal): Apply check_typedef to TYPE if not TYPE_CODE_TYPEDEF. gdb/testsuite/ChangeLog 2014-12-13 Jan Kratochvil 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. ----------------------------------------------------------------------- Summary of changes: gdb/ChangeLog | 6 +++ gdb/gdbtypes.c | 64 ++++++++++++++++------------- 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, 131 insertions(+), 29 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.