From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D47BA3846047; Wed, 6 Jan 2021 18:47:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D47BA3846047 From: "hi-angel at yandex dot ru" To: gdb-prs@sourceware.org Subject: [Bug python/27141] [RFE] Getting a python-call result is overly complicated Date: Wed, 06 Jan 2021 18:47:03 +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: hi-angel at yandex dot ru 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: 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:47:03 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27141 --- Comment #3 from Hi-Angel --- Ah, right, I stand corrected: the reason it didn't work for me is that I us= ed gdb.Command, whereas instead I should've used gdb.Function. The example in = docs works for example=C2=B9 1: https://sourceware.org/gdb/current/onlinedocs/gdb/Functions-In-Python.ht= ml --=20 You are receiving this mail because: You are on the CC list for the bug.=