1 2017-01-10 Tom Tromey <tom@tromey.com>
3 * python/python.c (gdbpy_enter): New constructor.
4 (~gdbpy_enter): New destructor.
5 (restore_python_env, ensure_python_env): Rewrite.
6 * python/python-internal.h (gdbpy_enter): New class.
8 2017-01-10 Tom Tromey <tom@tromey.com>
10 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
12 2017-01-10 Tom Tromey <tom@tromey.com>
14 * python/py-value.c (value_has_field, get_field_flag)
15 (get_field_type, valpy_getitem, convert_value_from_python): Use
18 2017-01-10 Tom Tromey <tom@tromey.com>
20 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
23 2017-01-10 Tom Tromey <tom@tromey.com>
25 * python/py-prettyprint.c (search_pp_list)
26 (find_pretty_printer_from_objfiles)
27 (find_pretty_printer_from_progspace)
28 (find_pretty_printer_from_gdb, find_pretty_printer)
29 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
32 2017-01-10 Tom Tromey <tom@tromey.com>
34 * python/py-param.c (call_doc_function): Use gdbpy_ref.
36 2017-01-10 Tom Tromey <tom@tromey.com>
38 * python/py-linetable.c (build_line_table_tuple_from_pcs)
39 (ltpy_get_all_source_lines): Use gdbpy_ref.
41 2017-01-10 Tom Tromey <tom@tromey.com>
43 * python/py-framefilter.c (extract_sym, extract_value)
44 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
47 2017-01-10 Tom Tromey <tom@tromey.com>
49 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
51 2017-01-10 Tom Tromey <tom@tromey.com>
53 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
55 2017-01-10 Tom Tromey <tom@tromey.com>
57 * python/py-function.c (convert_values_to_python, fnpy_init): Use
60 2017-01-10 Tom Tromey <tom@tromey.com>
62 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
64 2017-01-10 Tom Tromey <tom@tromey.com>
66 * python/py-type.c (convert_field, make_fielditem, typy_fields)
67 (typy_range): Use gdbpy_ref.
69 2017-01-10 Tom Tromey <tom@tromey.com>
71 * python/py-threadevent.c (create_thread_event_object): Use
73 * python/py-stopevent.c (create_stop_event_object): Simplify.
74 (emit_stop_event): Use gdbpy_ref.
75 * python/py-signalevent.c (create_signal_event_object): Use
77 * python/py-newobjfileevent.c (create_new_objfile_event_object)
78 (emit_new_objfile_event, create_clear_objfiles_event_object)
79 (emit_clear_objfiles_event): Use gdbpy_ref.
80 * python/py-infevents.c (create_inferior_call_event_object)
81 (create_register_changed_event_object)
82 (create_memory_changed_event_object, emit_inferior_call_event)
83 (emit_memory_changed_event, emit_register_changed_event): Use
85 * python/py-exitedevent.c (create_exited_event_object)
86 (emit_exited_event): Use gdbpy_ref.
87 * python/py-event.h (evpy_emit_event): Remove
88 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
89 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
90 * python/py-continueevent.c (emit_continue_event): Use
92 * python/py-breakpoint.c (gdbpy_breakpoint_created)
93 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
95 * python/py-bpevent.c (create_breakpoint_event_object): Use
98 2017-01-10 Tom Tromey <tom@tromey.com>
100 * python/py-ref.h: New file.
102 2017-01-10 Simon Marchi <simon.marchi@ericsson.com>
104 * cli-out.c (cli_ui_out::do_redirect): Change return type to
106 * cli-out.h (cli_ui_out::do_redirect): Likewise.
107 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
108 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
109 * ui-out.c (ui_out::redirect): Likewise.
110 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
111 * cli/cli-logging.c (set_logging_redirect): Update call site of
113 (handle_redirections): Likewise.
114 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
115 * top.c (execute_command_to_string): Likewise.
116 * utils.c (do_ui_out_redirect_pop): Likewise.
118 2017-01-10 Simon Marchi <simon.marchi@ericsson.com>
120 * stack.c (_initialize_stack): Update "frame" command help message.
122 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
124 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
126 2017-01-06 Yao Qi <yao.qi@linaro.org>
128 * x86-linux-nat.h: Include gdb_proc_service.h.
130 2017-01-06 Yao Qi <yao.qi@linaro.org>
132 * ser-base.h: Include serial.h.
134 2017-01-06 Yao Qi <yao.qi@linaro.org>
136 * ppc-linux-tdep.h: Include ppc-tdep.h.
138 2017-01-06 Yao Qi <yao.qi@linaro.org>
140 * nat/amd64-linux-siginfo.h: Include signal.h.
142 2017-01-06 Yao Qi <yao.qi@linaro.org>
144 * nat/aarch64-linux-hw-point.h: Include break-common.h.
146 2017-01-06 Yao Qi <yao.qi@linaro.org>
148 * mi/mi-parse.h: Include mi-cmds.h.
150 2017-01-06 Yao Qi <yao.qi@linaro.org>
152 * inf-loop.c: Don't include "target.h".
153 * inf-loop.h: Include it here.
155 2017-01-06 Yao Qi <yao.qi@linaro.org>
157 * dfp.h: Include "dboulest.h" and "expression.h".
159 2017-01-06 Yao Qi <yao.qi@linaro.org>
161 * ax-gdb.h: Include "ax.h".
163 2017-01-06 Yao Qi <yao.qi@linaro.org>
165 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
166 with nat/gdb_ptrace.h.
168 2017-01-05 Yao Qi <yao.qi@linaro.org>
170 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
172 (mips64_fbsd_sigframe_init): Likewise.
174 2017-01-04 John Baldwin <jhb@FreeBSD.org>
176 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
177 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
179 2017-01-04 John Baldwin <jhb@FreeBSD.org>
181 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
182 * NEWS: Mention new FreeBSD/mips native configuration.
183 * config/mips/fbsd.mh: New file.
184 * configure.host: Add mips*-*-freebsd*.
185 * mips-fbsd-nat.c: New file.
187 2017-01-04 John Baldwin <jhb@FreeBSD.org>
189 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
190 (ALLDEPFILES): Add mips-fbsd-tdep.c.
191 * NEWS: Mention new FreeBSD/mips target.
192 * configure.tgt: Add mips*-*-freebsd*.
193 * mips-fbsd-tdep.c: New file.
194 * mips-fbsd-tdep.h: New file.
196 2017-01-04 Yao Qi <yao.qi@linaro.org>
198 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
199 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
201 2017-01-01 Joel Brobecker <brobecker@adacore.com>
203 Update copyright year range in all GDB files.
205 2017-01-01 Joel Brobecker <brobecker@adacore.com>
207 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
209 For older changes see ChangeLog-2016.
215 version-control: never