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