2011-03-14 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Mon, 14 Mar 2011 16:09:55 +0000 (16:09 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Mon, 14 Mar 2011 16:09:55 +0000 (16:09 +0000)
commit7371cf6d8db5a0c04550fc95b1acc87857ac348c
tree9efe92bd981241731fcdae40a017da24e0c30ed0
parent34e77a920a469734b88c8efc79be94be955b1029
2011-03-14  Phil Muldoon  <pmuldoon@redhat.com>

    * gdb.texinfo (Breakpoints In Python): Add description and
              example
      of Python stop function operation.

2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>

    * gdb.python/py-breakpoint.exp: Add Python stop operations
              tests.

2011-03-14  Phil Muldoon  <pmuldoon@redhat.com>

    * python/python.h: Declare gdbpy_should_stop and
    gdbpy_breakpoint_has_py_cond.
    * python/python.c: Add python.h to includes.  Remove
    python.h from
    HAVE_PYTHON definition
    (gdbpy_should_stop): New dummy function.
    (gdbpy_breakpoint_has_py_cond): New dummy function.
    * python/py-breakpoint.c (bppy_init): Rewrite to allow
    sub-classing capabilities.
    (gdbpy_should_stop): New function.
    (gdbpy_breakpoint_has_py_cond): New function.
    (local_setattro): New function.
    * breakpoint.c (condition_command): Add check for Python
    'stop'
    operation.
    (bpstat_check_breakpoint_conditions): Execute Python
    'stop'
    operation function as part of stop/continue tests.
gdb/ChangeLog
gdb/breakpoint.c
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/python/py-breakpoint.c
gdb/python/python.c
gdb/python/python.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-breakpoint.exp