This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix PR python/17981
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org
- Date: Mon, 23 May 2016 15:29:09 +0100
- Subject: Re: [RFA] Fix PR python/17981
- Authentication-results: sourceware.org; auth=none
- References: <1463629620-8915-1-git-send-email-tom at tromey dot com> <8637p988by dot fsf at gmail dot com> <87r3csna40 dot fsf at tromey dot com>
Tom Tromey <tom@tromey.com> 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.
--
Yao (éå)