From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E5306384B0F4; Thu, 9 Sep 2021 11:29:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E5306384B0F4 From: "andrew.burgess at embecosm dot com" To: gdb-prs@sourceware.org Subject: [Bug ada/28321] New: Can't set convenience variables when the language is Ada Date: Thu, 09 Sep 2021 11:29:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: ada X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew.burgess at embecosm dot com 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, 09 Sep 2021 11:29:16 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28321 Bug ID: 28321 Summary: Can't set convenience variables when the language is Ada Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: ada Assignee: unassigned at sourceware dot org Reporter: andrew.burgess at embecosm dot com Target Milestone: --- Consider this session: $ gdb -q (gdb) set $var1 =3D 123 (gdb) print $var1 $1 =3D 123 (gdb) set language ada (gdb) set $var2 =3D 234 warning: Expression is not an assignment (and might have no effect) (gdb) print $var2 $2 =3D void (gdb) print $var1 $3 =3D 123 (gdb)=20 We are unable to set convenience variables if the currentl language is Ada.= =20 Changing the language back to C allows us to once again set convenience variables. --=20 You are receiving this mail because: You are on the CC list for the bug.=