1 2017-01-10 Tom Tromey <tom@tromey.com>
3 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
4 (python_on_inferior_call_pre, python_on_inferior_call_post)
5 (python_on_memory_change, python_on_register_change)
6 (python_inferior_exit, python_new_objfile, add_thread_object)
7 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
9 2017-01-10 Tom Tromey <tom@tromey.com>
11 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
12 (bpfinishpy_handle_exit): Use gdbpy_enter.
14 2017-01-10 Tom Tromey <tom@tromey.com>
16 * python/py-cmd.c (cmdpy_destroyer)
17 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
20 2017-01-10 Tom Tromey <tom@tromey.com>
22 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
24 (gdbpy_breakpoint_has_cond): Likewise.
26 2017-01-10 Tom Tromey <tom@tromey.com>
28 * python/python.c (gdbpy_enter): New constructor.
29 (~gdbpy_enter): New destructor.
30 (restore_python_env, ensure_python_env): Rewrite.
31 * python/python-internal.h (gdbpy_enter): New class.
33 2017-01-10 Tom Tromey <tom@tromey.com>
35 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
37 2017-01-10 Tom Tromey <tom@tromey.com>
39 * python/py-value.c (value_has_field, get_field_flag)
40 (get_field_type, valpy_getitem, convert_value_from_python): Use
43 2017-01-10 Tom Tromey <tom@tromey.com>
45 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
48 2017-01-10 Tom Tromey <tom@tromey.com>
50 * python/py-prettyprint.c (search_pp_list)
51 (find_pretty_printer_from_objfiles)
52 (find_pretty_printer_from_progspace)
53 (find_pretty_printer_from_gdb, find_pretty_printer)
54 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
57 2017-01-10 Tom Tromey <tom@tromey.com>
59 * python/py-param.c (call_doc_function): Use gdbpy_ref.
61 2017-01-10 Tom Tromey <tom@tromey.com>
63 * python/py-linetable.c (build_line_table_tuple_from_pcs)
64 (ltpy_get_all_source_lines): Use gdbpy_ref.
66 2017-01-10 Tom Tromey <tom@tromey.com>
68 * python/py-framefilter.c (extract_sym, extract_value)
69 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
72 2017-01-10 Tom Tromey <tom@tromey.com>
74 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
76 2017-01-10 Tom Tromey <tom@tromey.com>
78 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
80 2017-01-10 Tom Tromey <tom@tromey.com>
82 * python/py-function.c (convert_values_to_python, fnpy_init): Use
85 2017-01-10 Tom Tromey <tom@tromey.com>
87 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
89 2017-01-10 Tom Tromey <tom@tromey.com>
91 * python/py-type.c (convert_field, make_fielditem, typy_fields)
92 (typy_range): Use gdbpy_ref.
94 2017-01-10 Tom Tromey <tom@tromey.com>
96 * python/py-threadevent.c (create_thread_event_object): Use
98 * python/py-stopevent.c (create_stop_event_object): Simplify.
99 (emit_stop_event): Use gdbpy_ref.
100 * python/py-signalevent.c (create_signal_event_object): Use
102 * python/py-newobjfileevent.c (create_new_objfile_event_object)
103 (emit_new_objfile_event, create_clear_objfiles_event_object)
104 (emit_clear_objfiles_event): Use gdbpy_ref.
105 * python/py-infevents.c (create_inferior_call_event_object)
106 (create_register_changed_event_object)
107 (create_memory_changed_event_object, emit_inferior_call_event)
108 (emit_memory_changed_event, emit_register_changed_event): Use
110 * python/py-exitedevent.c (create_exited_event_object)
111 (emit_exited_event): Use gdbpy_ref.
112 * python/py-event.h (evpy_emit_event): Remove
113 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
114 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
115 * python/py-continueevent.c (emit_continue_event): Use
117 * python/py-breakpoint.c (gdbpy_breakpoint_created)
118 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
120 * python/py-bpevent.c (create_breakpoint_event_object): Use
123 2017-01-10 Tom Tromey <tom@tromey.com>
125 * python/py-ref.h: New file.
127 2017-01-10 Simon Marchi <simon.marchi@ericsson.com>
129 * cli-out.c (cli_ui_out::do_redirect): Change return type to
131 * cli-out.h (cli_ui_out::do_redirect): Likewise.
132 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
133 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
134 * ui-out.c (ui_out::redirect): Likewise.
135 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
136 * cli/cli-logging.c (set_logging_redirect): Update call site of
138 (handle_redirections): Likewise.
139 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
140 * top.c (execute_command_to_string): Likewise.
141 * utils.c (do_ui_out_redirect_pop): Likewise.
143 2017-01-10 Simon Marchi <simon.marchi@ericsson.com>
145 * stack.c (_initialize_stack): Update "frame" command help message.
147 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
149 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
151 2017-01-06 Yao Qi <yao.qi@linaro.org>
153 * x86-linux-nat.h: Include gdb_proc_service.h.
155 2017-01-06 Yao Qi <yao.qi@linaro.org>
157 * ser-base.h: Include serial.h.
159 2017-01-06 Yao Qi <yao.qi@linaro.org>
161 * ppc-linux-tdep.h: Include ppc-tdep.h.
163 2017-01-06 Yao Qi <yao.qi@linaro.org>
165 * nat/amd64-linux-siginfo.h: Include signal.h.
167 2017-01-06 Yao Qi <yao.qi@linaro.org>
169 * nat/aarch64-linux-hw-point.h: Include break-common.h.
171 2017-01-06 Yao Qi <yao.qi@linaro.org>
173 * mi/mi-parse.h: Include mi-cmds.h.
175 2017-01-06 Yao Qi <yao.qi@linaro.org>
177 * inf-loop.c: Don't include "target.h".
178 * inf-loop.h: Include it here.
180 2017-01-06 Yao Qi <yao.qi@linaro.org>
182 * dfp.h: Include "dboulest.h" and "expression.h".
184 2017-01-06 Yao Qi <yao.qi@linaro.org>
186 * ax-gdb.h: Include "ax.h".
188 2017-01-06 Yao Qi <yao.qi@linaro.org>
190 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
191 with nat/gdb_ptrace.h.
193 2017-01-05 Yao Qi <yao.qi@linaro.org>
195 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
197 (mips64_fbsd_sigframe_init): Likewise.
199 2017-01-04 John Baldwin <jhb@FreeBSD.org>
201 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
202 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
204 2017-01-04 John Baldwin <jhb@FreeBSD.org>
206 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
207 * NEWS: Mention new FreeBSD/mips native configuration.
208 * config/mips/fbsd.mh: New file.
209 * configure.host: Add mips*-*-freebsd*.
210 * mips-fbsd-nat.c: New file.
212 2017-01-04 John Baldwin <jhb@FreeBSD.org>
214 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
215 (ALLDEPFILES): Add mips-fbsd-tdep.c.
216 * NEWS: Mention new FreeBSD/mips target.
217 * configure.tgt: Add mips*-*-freebsd*.
218 * mips-fbsd-tdep.c: New file.
219 * mips-fbsd-tdep.h: New file.
221 2017-01-04 Yao Qi <yao.qi@linaro.org>
223 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
224 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
226 2017-01-01 Joel Brobecker <brobecker@adacore.com>
228 Update copyright year range in all GDB files.
230 2017-01-01 Joel Brobecker <brobecker@adacore.com>
232 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
234 For older changes see ChangeLog-2016.
240 version-control: never