From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B506B3857438; Mon, 20 Mar 2023 16:04:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B506B3857438 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679328283; bh=t+CbUrqkAgRuahPEn6PnF88WCvhjDHSR4cF5POls5Xs=; h=From:To:Subject:Date:From; b=w12y7OK3/RQmvmACZCjnz/+IS9nL5fZdQJ8rVx0ZL1caYXPSE812Ad3vWNx3V3LwJ ZEkor5TrFbK8hYp4mmNvTTTDMc4vLlQWDjQzeyUEr4ZgcPiQapwtXYU2KcrfOl/XkI Bfxjt9QdimP+kqD3zangXcjyxA0Zm/4TM+yligHQ= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/30253] New: [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type Date: Mon, 20 Mar 2023 16:04:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30253 Bug ID: 30253 Summary: [gdb] FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- I'm getting: ... (outer-gdb) PASS: gdb.gdb/python-helper.exp: pretty print type print *val->m_type->main_type^M $2 =3D ^M {name =3D 0x2bd7980 "int",^M code =3D TYPE_CODE_INT,^M flags =3D [],^M owner =3D 0x2bd6de0 (gdbarch),^M target_type =3D 0x0,^M int_stuff =3D { bit_size =3D 32, bit_offset =3D 0 }}^M (outer-gdb) FAIL: gdb.gdb/python-helper.exp: pretty print type->main_type ... Test-case expects: ... set answer [multi_line \ "$decimal =3D " \ "{name =3D $hex \"int\"," \ " code =3D TYPE_CODE_INT," \ " flags =3D \[^\r\n\]+," \ " owner =3D $hex \\(gdbarch\\)," \ " target_type =3D 0x0," \ " type_specific_field =3D TYPE_SPECIFIC_NONE}"] gdb_test -prompt $outer_prompt_re "print *val->m_type->main_type" $answ= er "pretty print type->main_type" ... --=20 You are receiving this mail because: You are on the CC list for the bug.=