-
- Downloads
Turn gdbpy_ref into a template
This turns gdbpy_ref into a template class, so that it can be used to wrap subclasses of PyObject. The default argument remains PyObject; and this necessitated renaming uses of "gdbpy_ref" to "gdbpy_ref<>". gdb/ChangeLog 2017-02-10 Tom Tromey <tom@tromey.com> * python/py-ref.h (gdbpy_ref_policy): Now a template. (gdbpy_ref): Now a template; allow subclasses of PyObject to be used. * python/py-arch.c, python/py-bpevent.c, python/py-breakpoint.c, python/py-cmd.c, python/py-continueevent.c, python/py-event.c, python/py-exitedevent.c, python/py-finishbreakpoint.c, python/py-framefilter.c, python/py-function.c, python/py-inferior.c, python/py-infevents.c, python/py-linetable.c, python/py-newobjfileevent.c, python/py-param.c, python/py-prettyprint.c, python/py-ref.h, python/py-signalevent.c, python/py-stopevent.c, python/py-symbol.c, python/py-threadevent.c, python/py-type.c, python/py-unwind.c, python/py-utils.c, python/py-value.c, python/py-varobj.c, python/py-xmethods.c, python/python.c, varobj.c: Change gdbpy_ref to gdbpy_ref<>.
Showing
- gdb/ChangeLog 18 additions, 0 deletionsgdb/ChangeLog
- gdb/python/py-arch.c 2 additions, 2 deletionsgdb/python/py-arch.c
- gdb/python/py-bpevent.c 1 addition, 1 deletiongdb/python/py-bpevent.c
- gdb/python/py-breakpoint.c 2 additions, 2 deletionsgdb/python/py-breakpoint.c
- gdb/python/py-cmd.c 21 additions, 21 deletionsgdb/python/py-cmd.c
- gdb/python/py-continueevent.c 1 addition, 1 deletiongdb/python/py-continueevent.c
- gdb/python/py-event.c 3 additions, 2 deletionsgdb/python/py-event.c
- gdb/python/py-exitedevent.c 4 additions, 4 deletionsgdb/python/py-exitedevent.c
- gdb/python/py-finishbreakpoint.c 2 additions, 2 deletionsgdb/python/py-finishbreakpoint.c
- gdb/python/py-framefilter.c 31 additions, 30 deletionsgdb/python/py-framefilter.c
- gdb/python/py-function.c 7 additions, 7 deletionsgdb/python/py-function.c
- gdb/python/py-inferior.c 3 additions, 3 deletionsgdb/python/py-inferior.c
- gdb/python/py-infevents.c 12 additions, 12 deletionsgdb/python/py-infevents.c
- gdb/python/py-linetable.c 4 additions, 4 deletionsgdb/python/py-linetable.c
- gdb/python/py-newobjfileevent.c 4 additions, 4 deletionsgdb/python/py-newobjfileevent.c
- gdb/python/py-param.c 6 additions, 6 deletionsgdb/python/py-param.c
- gdb/python/py-prettyprint.c 28 additions, 27 deletionsgdb/python/py-prettyprint.c
- gdb/python/py-ref.h 8 additions, 5 deletionsgdb/python/py-ref.h
- gdb/python/py-signalevent.c 2 additions, 2 deletionsgdb/python/py-signalevent.c
- gdb/python/py-stopevent.c 2 additions, 2 deletionsgdb/python/py-stopevent.c
Loading
Please register or sign in to comment