From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 58A3F3858404; Fri, 9 Sep 2022 08:09:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 58A3F3858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1662710999; bh=IObkGpZTLC+p2FPQMLOscF8gF2W7+eech360sC5Ims4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZCGu0Kp+7y4UXyiaijEF8YJXF9svbdu8j8eLEhztCeY+24rbCRVSGawFtckV4sI/L tMv/mZiaOnQdvpzV4ttauxzteObz5utJsx/lCsMn0I0V8o5ARqx76oULn2JHHf+0ae Rx3ueCgOTKGD9jqs+OS81f9Scix7h452M3UfS4x8= From: "grees at undo dot io" To: gdb-prs@sourceware.org Subject: [Bug mi/29554] --simple-values does not take reference types into account Date: Fri, 09 Sep 2022 08:09:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: mi X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: grees at undo dot io X-Bugzilla-Status: UNCONFIRMED 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: attachments.created Message-ID: In-Reply-To: References: 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=3D29554 --- Comment #2 from Gareth Rees --- Created attachment 14329 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14329&action=3Ded= it Patch against 154f2735ad implementing solution (2) Here's an alternative patch implementing solution (2), adding a '--scalar-values' option for the PRINT-VALUES argument to '-stack-list-arguments' and similar commands. This option prints the value only for scalars and so matches the behaviour of the 'scalars' argument to the 'set print frame-arguments' command. References to structures are not scalars, and so the option is suitable for use by IDEs. --=20 You are receiving this mail because: You are on the CC list for the bug.=