binutils-gdb/gdb/testsuite/gdb.python
Phil Muldoon 84f4c1fe05 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
* python/py-breakpoint.c (BPPY_REQUIRE_VALID): Check if bp is
	NULL.
	(BPPY_SET_REQUIRE_VALID): Ditto.
	(bpnum_is_valid): Delete function.
	(bppy_get_visibility): New function.
	(bppy_new): Parse for, and validate internal keyword.  Pass
	internal keyword to breakpoint or watchpoint functions.
	(build_bp_list): New function.
	(gdbpy_breakpoints): Rewrite.  Use build_bp_list and
	iterate_over_breakpoints.
	(gdbpy_breakpoint_created): Rewrite.  Do not store breakpoints in a
	look-aside vector.
	(gdbpy_breakpoint_deleted): Rewrite, defer breakpoint management
	to internal breakpoint chain.

	* breakpoint.c (set_breakpoint_number): New function.
	(breakpoint_1): Check if breakpoint number is more than zero.
	(set_raw_breakpoint_without_location): Set py_bp_object to NULL.
	(create_breakpoint_sal): Take a new parameter called internal.
	Call set_breakpoint_number with internal parameter.  Do not
	mention internal breakpoints.  All callers updated.
	(create_breakpoint): Ditto.
	(create_breakpoints_sal): Ditto.
	(watch_command_1): Ditto.
	(watch_command_wrapper): Take a new parameter called internal.
	All callers updated.
	(rwatch_command_wrapper): Ditto.
	(awatch_command_wrapper): Ditto.
	(save_breakpoints): Update breakpoint save condition check.
	(iterate_over_breakpoints): New function.
	* breakpoint.h: Add conditional python includes.  Add py_bp_object
	and comment to struct breakpoint.  Update all callers.
	* defs.h: Add PyObject definition for GDB builds without Python.

2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>

	* gdb.texinfo (Breakpoints In Python): Document "internal"
	parameter, and visible attribute.


2010-11-11  Phil Muldoon  <pmuldoon@redhat.com>

	* gdb.python/py-breakpoint.exp: Add internal watchpoint and
	breakpoint tests.
2010-11-11 14:11:56 +00:00
..
lib-types.cc New python module gdb.types. 2010-10-13 20:08:46 +00:00
lib-types.exp New python module gdb.types. 2010-10-13 20:08:46 +00:00
Makefile.in New python module gdb.types. 2010-10-13 20:08:46 +00:00
py-block.c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-block.exp * lib/gdb-python.exp: New file. 2010-10-01 17:03:50 +00:00
py-breakpoint.c 2010-04-12 Phil Muldoon <pmuldoon@redhat.com> 2010-04-12 09:49:35 +00:00
py-breakpoint.exp 2010-11-11 Phil Muldoon <pmuldoon@redhat.com> 2010-11-11 14:11:56 +00:00
py-cmd.exp Add python gdb.GdbError and gdb.string_to_argv. 2010-05-25 15:27:17 +00:00
py-error.exp gdb/ 2010-10-13 13:24:40 +00:00
py-error.py gdb/ 2010-10-13 13:24:40 +00:00
py-frame.c 2010-02-28 Phil Muldoon <pmuldoon@redhat.com> 2010-02-28 21:56:50 +00:00
py-frame.exp * lib/gdb-python.exp: New file. 2010-10-01 17:03:50 +00:00
py-function.exp 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 11:11:17 +00:00
py-inferior.c * gdb.stabs/gdb11479.c (hack): New function. 2010-07-27 16:58:22 +00:00
py-inferior.exp * lib/gdb-python.exp: New file. 2010-10-01 17:03:50 +00:00
py-infthread.c 2010-06-28 Phil Muldoon <pmuldoon@redhat.com> 2010-06-28 21:16:04 +00:00
py-infthread.exp 2010-06-28 Phil Muldoon <pmuldoon@redhat.com> 2010-06-28 21:16:04 +00:00
py-mi.exp 2010-04-14 Phil Muldoon <pmuldoon@redhat.com> 2010-04-14 12:02:46 +00:00
py-parameter.exp * gdb.python/py-param.exp: Delete, contents moved to ... 2010-11-05 17:07:36 +00:00
py-pp-maint.c New python module gdb.printing, and new commands info pretty-printer, 2010-11-02 22:44:13 +00:00
py-pp-maint.exp New python module gdb.printing, and new commands info pretty-printer, 2010-11-02 22:44:13 +00:00
py-pp-maint.py New python module gdb.printing, and new commands info pretty-printer, 2010-11-02 22:44:13 +00:00
py-prettyprint.c gdb 2010-10-18 19:14:03 +00:00
py-prettyprint.exp gdb 2010-10-18 19:14:03 +00:00
py-prettyprint.py gdb 2010-10-18 19:14:03 +00:00
py-progspace.c * NEWS: Add entry for python program space support. 2010-04-15 19:54:13 +00:00
py-progspace.exp * NEWS: Add entry for python program space support. 2010-04-15 19:54:13 +00:00
py-section-script.c Add support for auto-loading scripts from .debug_gdb_scripts section. 2010-04-23 16:20:13 +00:00
py-section-script.exp Add support for auto-loading scripts from .debug_gdb_scripts section. 2010-04-23 16:20:13 +00:00
py-section-script.py Add support for auto-loading scripts from .debug_gdb_scripts section. 2010-04-23 16:20:13 +00:00
py-shared-sl.c * gdb.python/py-shared.exp: New file, factored out from 2010-08-19 17:00:58 +00:00
py-shared.c * gdb.python/py-shared.exp: New file, factored out from 2010-08-19 17:00:58 +00:00
py-shared.exp * lib/gdb-python.exp: New file. 2010-10-01 17:03:50 +00:00
py-symbol.c 2010-02-24 Phil Muldoon <pmuldoon@redhat.com> 2010-02-24 21:18:28 +00:00
py-symbol.exp * lib/gdb-python.exp: New file. 2010-10-01 17:03:50 +00:00
py-symtab.exp * lib/gdb-python.exp: New file. 2010-10-01 17:03:50 +00:00
py-template.cc
py-template.exp 2010-06-08 Michael Snyder <msnyder@vmware.com> 2010-06-10 19:48:20 +00:00
py-type.c gdb 2010-07-28 20:50:17 +00:00
py-type.exp * lib/gdb-python.exp: New file. 2010-10-01 17:03:50 +00:00
py-value.c gdb 2010-08-23 20:29:19 +00:00
py-value.exp * lib/gdb-python.exp: New file. 2010-10-01 17:03:50 +00:00
python-1.c * gdb.python/py-shared.exp: New file, factored out from 2010-08-19 17:00:58 +00:00
python.c * gdb.python/py-shared.exp: New file, factored out from 2010-08-19 17:00:58 +00:00
python.exp * lib/gdb-python.exp: New file. 2010-10-01 17:03:50 +00:00
source1
source2.py