Use gdbpy_enter in gdbpy_before_prompt_hook
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
4 gdbpy_ref.
5
6 2017-01-10 Tom Tromey <tom@tromey.com>
7
8 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
9 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
10
11 2017-01-10 Tom Tromey <tom@tromey.com>
12
13 * utils.h (htab_deleter): New struct.
14 (htab_up): New typedef.
15 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
16 gdbpy_enter, gdbpy_ref, htab_up.
17
18 2017-01-10 Tom Tromey <tom@tromey.com>
19
20 * python/py-unwind.c (pending_frame_invalidate): Remove.
21 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
22
23 2017-01-10 Tom Tromey <tom@tromey.com>
24
25 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
26 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
27
28 2017-01-10 Tom Tromey <tom@tromey.com>
29
30 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
31
32 2017-01-10 Tom Tromey <tom@tromey.com>
33
34 * python/python.c (gdbpy_eval_from_control_command)
35 (gdbpy_source_script, gdbpy_run_events)
36 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
37 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
38 gdbpy_enter.
39
40 2017-01-10 Tom Tromey <tom@tromey.com>
41
42 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
43
44 2017-01-10 Tom Tromey <tom@tromey.com>
45
46 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
47
48 2017-01-10 Tom Tromey <tom@tromey.com>
49
50 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
51 (python_on_inferior_call_pre, python_on_inferior_call_post)
52 (python_on_memory_change, python_on_register_change)
53 (python_inferior_exit, python_new_objfile, add_thread_object)
54 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
55
56 2017-01-10 Tom Tromey <tom@tromey.com>
57
58 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
59 (bpfinishpy_handle_exit): Use gdbpy_enter.
60
61 2017-01-10 Tom Tromey <tom@tromey.com>
62
63 * python/py-cmd.c (cmdpy_destroyer)
64 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
65 gdbpy_enter.
66
67 2017-01-10 Tom Tromey <tom@tromey.com>
68
69 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
70 gdbpy_enter.
71 (gdbpy_breakpoint_has_cond): Likewise.
72
73 2017-01-10 Tom Tromey <tom@tromey.com>
74
75 * python/python.c (gdbpy_enter): New constructor.
76 (~gdbpy_enter): New destructor.
77 (restore_python_env, ensure_python_env): Rewrite.
78 * python/python-internal.h (gdbpy_enter): New class.
79
80 2017-01-10 Tom Tromey <tom@tromey.com>
81
82 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
83
84 2017-01-10 Tom Tromey <tom@tromey.com>
85
86 * python/py-value.c (value_has_field, get_field_flag)
87 (get_field_type, valpy_getitem, convert_value_from_python): Use
88 gdbpy_ref.
89
90 2017-01-10 Tom Tromey <tom@tromey.com>
91
92 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
93 gdbpy_ref.
94
95 2017-01-10 Tom Tromey <tom@tromey.com>
96
97 * python/py-prettyprint.c (search_pp_list)
98 (find_pretty_printer_from_objfiles)
99 (find_pretty_printer_from_progspace)
100 (find_pretty_printer_from_gdb, find_pretty_printer)
101 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
102 gdbpy_ref.
103
104 2017-01-10 Tom Tromey <tom@tromey.com>
105
106 * python/py-param.c (call_doc_function): Use gdbpy_ref.
107
108 2017-01-10 Tom Tromey <tom@tromey.com>
109
110 * python/py-linetable.c (build_line_table_tuple_from_pcs)
111 (ltpy_get_all_source_lines): Use gdbpy_ref.
112
113 2017-01-10 Tom Tromey <tom@tromey.com>
114
115 * python/py-framefilter.c (extract_sym, extract_value)
116 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
117 gdbpy_ref.
118
119 2017-01-10 Tom Tromey <tom@tromey.com>
120
121 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
122
123 2017-01-10 Tom Tromey <tom@tromey.com>
124
125 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
126
127 2017-01-10 Tom Tromey <tom@tromey.com>
128
129 * python/py-function.c (convert_values_to_python, fnpy_init): Use
130 gdbpy_ref.
131
132 2017-01-10 Tom Tromey <tom@tromey.com>
133
134 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
135
136 2017-01-10 Tom Tromey <tom@tromey.com>
137
138 * python/py-type.c (convert_field, make_fielditem, typy_fields)
139 (typy_range): Use gdbpy_ref.
140
141 2017-01-10 Tom Tromey <tom@tromey.com>
142
143 * python/py-threadevent.c (create_thread_event_object): Use
144 gdbpy_ref.
145 * python/py-stopevent.c (create_stop_event_object): Simplify.
146 (emit_stop_event): Use gdbpy_ref.
147 * python/py-signalevent.c (create_signal_event_object): Use
148 gdbpy_ref.
149 * python/py-newobjfileevent.c (create_new_objfile_event_object)
150 (emit_new_objfile_event, create_clear_objfiles_event_object)
151 (emit_clear_objfiles_event): Use gdbpy_ref.
152 * python/py-infevents.c (create_inferior_call_event_object)
153 (create_register_changed_event_object)
154 (create_memory_changed_event_object, emit_inferior_call_event)
155 (emit_memory_changed_event, emit_register_changed_event): Use
156 gdbpy_ref.
157 * python/py-exitedevent.c (create_exited_event_object)
158 (emit_exited_event): Use gdbpy_ref.
159 * python/py-event.h (evpy_emit_event): Remove
160 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
161 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
162 * python/py-continueevent.c (emit_continue_event): Use
163 gdbpy_ref.
164 * python/py-breakpoint.c (gdbpy_breakpoint_created)
165 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
166 gdbpy_ref.
167 * python/py-bpevent.c (create_breakpoint_event_object): Use
168 gdbpy_ref.
169
170 2017-01-10 Tom Tromey <tom@tromey.com>
171
172 * python/py-ref.h: New file.
173
174 2017-01-10 Simon Marchi <simon.marchi@ericsson.com>
175
176 * cli-out.c (cli_ui_out::do_redirect): Change return type to
177 void.
178 * cli-out.h (cli_ui_out::do_redirect): Likewise.
179 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
180 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
181 * ui-out.c (ui_out::redirect): Likewise.
182 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
183 * cli/cli-logging.c (set_logging_redirect): Update call site of
184 ui_out::redirect.
185 (handle_redirections): Likewise.
186 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
187 * top.c (execute_command_to_string): Likewise.
188 * utils.c (do_ui_out_redirect_pop): Likewise.
189
190 2017-01-10 Simon Marchi <simon.marchi@ericsson.com>
191
192 * stack.c (_initialize_stack): Update "frame" command help message.
193
194 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
195
196 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
197
198 2017-01-06 Yao Qi <yao.qi@linaro.org>
199
200 * x86-linux-nat.h: Include gdb_proc_service.h.
201
202 2017-01-06 Yao Qi <yao.qi@linaro.org>
203
204 * ser-base.h: Include serial.h.
205
206 2017-01-06 Yao Qi <yao.qi@linaro.org>
207
208 * ppc-linux-tdep.h: Include ppc-tdep.h.
209
210 2017-01-06 Yao Qi <yao.qi@linaro.org>
211
212 * nat/amd64-linux-siginfo.h: Include signal.h.
213
214 2017-01-06 Yao Qi <yao.qi@linaro.org>
215
216 * nat/aarch64-linux-hw-point.h: Include break-common.h.
217
218 2017-01-06 Yao Qi <yao.qi@linaro.org>
219
220 * mi/mi-parse.h: Include mi-cmds.h.
221
222 2017-01-06 Yao Qi <yao.qi@linaro.org>
223
224 * inf-loop.c: Don't include "target.h".
225 * inf-loop.h: Include it here.
226
227 2017-01-06 Yao Qi <yao.qi@linaro.org>
228
229 * dfp.h: Include "dboulest.h" and "expression.h".
230
231 2017-01-06 Yao Qi <yao.qi@linaro.org>
232
233 * ax-gdb.h: Include "ax.h".
234
235 2017-01-06 Yao Qi <yao.qi@linaro.org>
236
237 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
238 with nat/gdb_ptrace.h.
239
240 2017-01-05 Yao Qi <yao.qi@linaro.org>
241
242 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
243 new line.
244 (mips64_fbsd_sigframe_init): Likewise.
245
246 2017-01-04 John Baldwin <jhb@FreeBSD.org>
247
248 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
249 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
250
251 2017-01-04 John Baldwin <jhb@FreeBSD.org>
252
253 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
254 * NEWS: Mention new FreeBSD/mips native configuration.
255 * config/mips/fbsd.mh: New file.
256 * configure.host: Add mips*-*-freebsd*.
257 * mips-fbsd-nat.c: New file.
258
259 2017-01-04 John Baldwin <jhb@FreeBSD.org>
260
261 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
262 (ALLDEPFILES): Add mips-fbsd-tdep.c.
263 * NEWS: Mention new FreeBSD/mips target.
264 * configure.tgt: Add mips*-*-freebsd*.
265 * mips-fbsd-tdep.c: New file.
266 * mips-fbsd-tdep.h: New file.
267
268 2017-01-04 Yao Qi <yao.qi@linaro.org>
269
270 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
271 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
272
273 2017-01-01 Joel Brobecker <brobecker@adacore.com>
274
275 Update copyright year range in all GDB files.
276
277 2017-01-01 Joel Brobecker <brobecker@adacore.com>
278
279 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
280
281 For older changes see ChangeLog-2016.
282 \f
283 Local Variables:
284 mode: change-log
285 left-margin: 8
286 fill-column: 74
287 version-control: never
288 coding: utf-8
289 End:
This page took 0.036257 seconds and 5 git commands to generate.