From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id ACC9C3858D28 for ; Mon, 25 Apr 2022 11:26:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ACC9C3858D28 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35080) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niwro-00079q-Kq; Mon, 25 Apr 2022 07:26:56 -0400 Received: from [87.69.77.57] (port=1854 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niwro-0007Zl-3H; Mon, 25 Apr 2022 07:26:56 -0400 Date: Mon, 25 Apr 2022 14:26:39 +0300 Message-Id: <831qxlo13k.fsf@gnu.org> From: Eli Zaretskii To: Andrew Burgess Cc: gdb-patches@sourceware.org, andrew.burgess@embecosm.com In-Reply-To: (message from Andrew Burgess via Gdb-patches on Mon, 25 Apr 2022 10:15:39 +0100) Subject: Re: [PATCHv4 3/5] gdb/python: implement the print_insn extension language hook References: X-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2022 11:26:59 -0000 > Date: Mon, 25 Apr 2022 10:15:39 +0100 > From: Andrew Burgess via Gdb-patches > Cc: Andrew Burgess > > gdb/Makefile.in | 1 + > gdb/NEWS | 34 + > gdb/data-directory/Makefile.in | 1 + > gdb/doc/python.texi | 247 +++++++ > gdb/python/lib/gdb/disassembler.py | 109 +++ > gdb/python/py-disasm.c | 970 +++++++++++++++++++++++++ > gdb/python/python-internal.h | 16 + > gdb/python/python.c | 3 +- > gdb/testsuite/gdb.python/py-disasm.c | 25 + > gdb/testsuite/gdb.python/py-disasm.exp | 150 ++++ > gdb/testsuite/gdb.python/py-disasm.py | 456 ++++++++++++ > 11 files changed, 2011 insertions(+), 1 deletion(-) > create mode 100644 gdb/python/lib/gdb/disassembler.py > create mode 100644 gdb/python/py-disasm.c > create mode 100644 gdb/testsuite/gdb.python/py-disasm.c > create mode 100644 gdb/testsuite/gdb.python/py-disasm.exp > create mode 100644 gdb/testsuite/gdb.python/py-disasm.py Thanks, the documentation parts are OK.