This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug symtab/17642] [7.8 regression] internal-error: resolve_dynamic_struct: Assertion `TYPE_NFIELDS (type) > 0' failed.


https://sourceware.org/bugzilla/show_bug.cgi?id=17642

--- Comment #4 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, 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 <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-13  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-13  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.

-----------------------------------------------------------------------

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.


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