2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Fri, 9 Apr 2010 09:41:43 +0000 (09:41 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Fri, 9 Apr 2010 09:41:43 +0000 (09:41 +0000)
commitadc368187c7bc29c3c227cf986dd021973ce6eaf
treec01aaab1fc72d2ea058c1be7c717317312a38b81
parente760a81b7959d2d3474f12622be217ff218f5e06
2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>
        Tom Tromey  <tromey@redhat.com>

* breakpoint.c (condition_command): Simplify.  Move condition
setting code to ...
(set_breakpoint_condition): ... here.  New function.
* breakpoint.h  (set_breakpoint_condition): Declare.
* Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpoint.
(SUBDIR_PYTHON_SRCS): Likewise.
(py-breakpoint.o): New rule.
* python/py-breakpoint.c: New file.
* python/python-internal.h (gdbpy_breakpoints)
(gdbpy_initialize_breakpoints): Declare.
(GDB_PY_SET_HANDLE_EXCEPTION) Define.

2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/py-breakpoint.exp: New File.
* gdb.python/py-breakpoint.C: Ditto.

2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>
        Tom Tromey  <tromey@redhat.com>

* gdb.texinfo (Breakpoints In Python): New Node.
14 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/NEWS
gdb/breakpoint.c
gdb/breakpoint.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/python/py-breakpoint.c [new file with mode: 0644]
gdb/python/python-internal.h
gdb/python/python.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/Makefile.in
gdb/testsuite/gdb.python/py-breakpoint.c [new file with mode: 0644]
gdb/testsuite/gdb.python/py-breakpoint.exp [new file with mode: 0644]