From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C3776385DC14; Thu, 28 Jan 2021 08:48:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3776385DC14 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug exp/27265] New: gdbtypes.c:3429: internal-error: type* init_complex_type(const char*, type*): Assertion `target_type->code () == TYPE_CODE_INT || target_type->code () == TYPE_CODE_FLT' failed. Date: Thu, 28 Jan 2021 08:48:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: exp X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2021 08:48:01 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27265 Bug ID: 27265 Summary: gdbtypes.c:3429: internal-error: type* init_complex_type(const char*, type*): Assertion `target_type->code () =3D=3D TYPE_CODE_INT || target_type->code () =3D=3D TYPE_CODE_FLT' failed. Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: exp Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- ... $ gcc ~/hello.c $ gdb -batch a.out -ex start -ex 'p $rip - 5i' Temporary breakpoint 1 at 0x40050b Temporary breakpoint 1, 0x000000000040050b in main () src/gdb/gdbtypes.c:3429: internal-error: type* init_complex_type(const char= *, type*): Assertion `target_type->code () =3D=3D TYPE_CODE_INT || target_type= ->code () =3D=3D TYPE_CODE_FLT' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. ... The assert expects int or float, but instead we have pointer: ... (gdb) p target_type->code () $1 =3D TYPE_CODE_PTR ... --=20 You are receiving this mail because: You are on the CC list for the bug.=