From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12084 invoked by alias); 5 May 2018 01:34:40 -0000 Mailing-List: contact gdb-testers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-testers-owner@sourceware.org Received: (qmail 11123 invoked by uid 89); 5 May 2018 01:34:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: kwanyin.sergiodj.net Received: from kwanyin.sergiodj.net (HELO kwanyin.sergiodj.net) (158.69.185.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 05 May 2018 01:34:38 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [binutils-gdb] Allow breakpoint commands to be set from Python From: sergiodj+buildbot@sergiodj.net To: gdb-testers@sourceware.org Message-Id: Date: Sat, 05 May 2018 01:34:00 -0000 X-SW-Source: 2018-q2/txt/msg03400.txt.bz2 *** TEST RESULTS FOR COMMIT a913fffbdee21fdd50e8de0596358be425775678 *** Author: Tom Tromey Branch: master Commit: a913fffbdee21fdd50e8de0596358be425775678 Allow breakpoint commands to be set from Python This changes the Python API so that breakpoint commands can be set by writing to the "commands" attribute. ChangeLog 2018-05-04 Tom Tromey PR python/22731: * NEWS: Mention that breakpoint commands are writable. * python/py-breakpoint.c (bppy_set_commands): New function. (breakpoint_object_getset) <"commands">: Use it. doc/ChangeLog 2018-05-04 Tom Tromey PR python/22731: * python.texi (Breakpoints In Python): Mention that "commands" is writable. testsuite/ChangeLog 2018-05-04 Tom Tromey PR python/22731: * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.