diff options
author | Pedro Alves <palves@redhat.com> | 2018-08-24 20:09:19 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2018-08-24 22:57:16 +0100 |
commit | d98fc15be2b8dd5699c1852db7d9d979231123dc (patch) | |
tree | b90de293d215ac05883021a5ac2da87d63136cb2 /bfd/version.h | |
parent | da3c873831707454d45cee6705075b27a1732f09 (diff) | |
download | gdb-d98fc15be2b8dd5699c1852db7d9d979231123dc.zip gdb-d98fc15be2b8dd5699c1852db7d9d979231123dc.tar.gz gdb-d98fc15be2b8dd5699c1852db7d9d979231123dc.tar.bz2 |
gdb/python: Use copy-initialization more when possible
gdb/ChangeLog:
2018-08-24 Pedro Alves <palves@redhat.com>
* python/py-bpevent.c (create_breakpoint_event_object): Use
copy-initialization.
* python/py-continueevent.c (emit_continue_event): Use
copy-initialization.
* python/py-exitedevent.c (create_exited_event_object): Return a
gdbpy_ref<>.
(emit_exited_event): Use copy-initialization.
* python/py-inferior.c (python_new_inferior)
(python_inferior_deleted, add_thread_object): Use
copy-initialization.
* python/py-infevents.c (create_inferior_call_event_object)
(create_register_changed_event_object)
(create_memory_changed_event_object): Return a gdbpy_ref<>.
(emit_inferior_call_event, emit_memory_changed_event)
(emit_register_changed_event): Use copy-initialization.
* python/py-newobjfileevent.c (create_new_objfile_event_object):
Return a gdbpy_ref<>.
(emit_new_objfile_event): Use copy-initialization.
(create_clear_objfiles_event_object): Return a gdbpy_ref<>.
(emit_clear_objfiles_event): Use copy-initialization.
* python/py-signalevent.c (create_signal_event_object): Use
copy-initialization.
* python/py-threadevent.c (create_thread_event_object): Use
copy-initialization.
Diffstat (limited to 'bfd/version.h')
0 files changed, 0 insertions, 0 deletions