From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34417 invoked by alias); 23 May 2016 14:29:34 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 34387 invoked by uid 89); 23 May 2016 14:29:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:385, HX-Received:10.66.126.11 X-HELO: mail-pa0-f53.google.com Received: from mail-pa0-f53.google.com (HELO mail-pa0-f53.google.com) (209.85.220.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 23 May 2016 14:29:23 +0000 Received: by mail-pa0-f53.google.com with SMTP id xk12so63023135pac.0 for ; Mon, 23 May 2016 07:29:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=OW6IRrs14eSE2JSeIIgJ6CR9eOzl2MOicBovQs44lkQ=; b=egr7gvUqyFKLSenu4m2cO6+IbMa+HHlFUcvkBwF0XcMdbcrUQR3fUgLPiCbUbIMb2b 9q5FSroWCuE7bHNia2m+TLSdxihdki6zWLAJPFd2H+wvAGOcDDGqfDW/3gyqAjelXij2 16HJIprDQf7dgzXiBXijN2jLX5WuPL7OHDWHhhGWiKrzK5ewkjzGfNxhVRvnW+bkWJMe M4ksBOQUoF6VsYeoAmCxtOl+3hfqx8eHttd+xd6DVMlHvhLUoMT+2m5vhsMG5DBLd4BY mYbEuWvQaEXEVzcSeDg13PpL6gaO+giQp0eV7Rzr8O1zZfHJrFlUf1Lh2g121WTN/4bF AWzQ== X-Gm-Message-State: AOPr4FWZn4qzkfJ/FNIxF5PRTEjGMt6ywe32Mku2GuDndw0xEPNcvNIRZWeZs2WJQ14xfg== X-Received: by 10.66.126.11 with SMTP id mu11mr27876099pab.18.1464013761243; Mon, 23 May 2016 07:29:21 -0700 (PDT) Received: from E107787-LIN (gcc113.osuosl.org. [140.211.9.71]) by smtp.gmail.com with ESMTPSA id tk4sm24912157pab.3.2016.05.23.07.29.19 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 23 May 2016 07:29:20 -0700 (PDT) From: Yao Qi To: Tom Tromey Cc: Yao Qi , gdb-patches@sourceware.org Subject: Re: [RFA] Fix PR python/17981 References: <1463629620-8915-1-git-send-email-tom@tromey.com> <8637p988by.fsf@gmail.com> <87r3csna40.fsf@tromey.com> Date: Mon, 23 May 2016 14:29:00 -0000 In-Reply-To: <87r3csna40.fsf@tromey.com> (Tom Tromey's message of "Mon, 23 May 2016 08:05:03 -0600") Message-ID: <864m9o7sqy.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg00391.txt.bz2 Tom Tromey writes: > The docs already seemed correct: > > -- Function: gdb.breakpoints () > Return a sequence holding all of GDB's breakpoints. *Note > Breakpoints In Python::, for more information. Yes, it is correct, but it is better to explicitly document an empty sequence is returned if there are no breakpoints. --=20 Yao (=E9=BD=90=E5=B0=A7)