From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C7602384A07D; Wed, 6 Jan 2021 18:15:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7602384A07D From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug python/27141] [RFE] Getting a python-call result is overly complicated Date: Wed, 06 Jan 2021 18:15:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org 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: cc 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 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: Wed, 06 Jan 2021 18:15:48 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27141 Hannes Domani changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ssbssa at sourceware dot o= rg --- Comment #2 from Hannes Domani --- (In reply to Hi-Angel from comment #1) > UPD: turns out, current situation is worse. Even if we only consider > workarounds such as using a convenience function, gdb does not allow > returning a value from them. That's not true, you can return a value from a convenience function. And I think this kind of situation is a perfect example where I would use i= t. --=20 You are receiving this mail because: You are on the CC list for the bug.=