binutils-gdb/gdb/python
Phil Muldoon 824cc835aa Implement explicit locations for Python breakpoints.
This introduces several new keywords to the bppy_init constructor.
The spec parameter is now optional but mutually exclusive to the
explicit keywords source, label, function and line.

gdb/ChangeLog

2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>

       * python/py-breakpoint.c (bppy_init): Use string_to_event_location
       over basic location code. Implement explicit location keywords.
       (bppy_init_validate_args): New function.
       * NEWS: Document Python explicit breakpoint locations.

doc/ChangeLog

2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>

       * python.texi (Breakpoints In Python): Add text relating
       to allowed explicit locations and keywords in gdb.Breakpoints.

testsuite/ChangeLog

2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>

       * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
       tests for explicit locations.
2017-12-07 16:47:33 +00:00
..
lib/gdb
py-all-events.def
py-arch.c
py-auto-load.c Constify add_info 2017-11-07 13:59:09 -07:00
py-block.c
py-bpevent.c
py-breakpoint.c Implement explicit locations for Python breakpoints. 2017-12-07 16:47:33 +00:00
py-cmd.c Constify execute_command 2017-11-07 13:59:09 -07:00
py-continueevent.c
py-event-types.def
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c
py-frame.c
py-framefilter.c
py-function.c
py-gdb-readline.c Fix build with GCC 8: strncpy ->strcpy 2017-11-22 12:22:11 +00:00
py-inferior.c
py-infevents.c Remove some unused variables 2017-12-05 16:05:50 -05:00
py-infthread.c
py-instruction.c
py-instruction.h
py-lazy-string.c
py-linetable.c
py-newobjfileevent.c
py-objfile.c
py-param.c Constify add_setshow_* 2017-11-07 13:59:09 -07:00
py-prettyprint.c
py-progspace.c
py-record-btrace.c Remove some unused variables 2017-12-05 16:05:50 -05:00
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c
py-record.h
py-ref.h
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c
py-symtab.c
py-threadevent.c
py-type.c Remove some unused variables 2017-12-05 16:05:50 -05:00
py-unwind.c Python unwinder sniffer: PyExc_KeyboardInterrupt -> Quit 2017-11-16 18:44:44 +00:00
py-utils.c
py-value.c Remove some unused variables 2017-12-05 16:05:50 -05:00
py-varobj.c
py-xmethods.c
python-config.py
python-internal.h
python.c Remove some unused variables 2017-12-05 16:05:50 -05:00
python.h