Tom Tromey
1957f6b89f
Fix PR python/17981
...
PR python/17981 notes that gdb.breakpoints() returns None when there
are no breakpoints; whereas an empty list or tuple would be more in
keeping with Python and the documentation.
This patch fixes the bug by changing the no-breakpoint return to make
an empty tuple.
Built and regtested on x86-64 Fedora 23.
2016-05-23 Tom Tromey <tom@tromey.com >
PR python/17981:
* python/py-breakpoint.c (gdbpy_breakpoints): Return a new tuple
when there are no breakpoints.
2016-05-23 Tom Tromey <tom@tromey.com >
* python.texi (Basic Python): Document gdb.breakpoints return.
2016-05-23 Tom Tromey <tom@tromey.com >
PR python/17981:
* gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
no-breakpoint case.
2016-05-24 09:55:01 -06:00
..
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-03-10 17:12:30 -05:00
2016-03-10 17:12:30 -05:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-05-24 09:55:01 -06:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-04-27 18:09:14 -04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-12 01:12:38 +00:00
2016-01-13 11:00:54 +00:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-04-09 08:41:41 -04:00
2016-03-31 15:32:38 +03:00
2016-03-31 15:32:38 +03:00
2016-04-06 09:39:16 +03:00
2016-01-01 08:43:22 +04:00
2016-04-06 09:39:16 +03:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-05-23 10:08:34 -06:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-20 13:44:33 -05:00
2016-01-20 13:44:33 -05:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-05-23 10:08:34 -06:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-18 14:30:23 +00:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-04-27 18:09:14 -04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-11 22:12:16 +01:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00
2016-01-01 08:43:22 +04:00