]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Use gdbpy_ref in invoke_match_method
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
bf1ca3b9
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/py-xmethods.c (invoke_match_method): Use
4 gdbpy_ref.
5
572a5524
TT
62017-01-10 Tom Tromey <tom@tromey.com>
7
8 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
9 gdbpy_enter, gdbpy_ref.
10
396a78b6
TT
112017-01-10 Tom Tromey <tom@tromey.com>
12
13 * python/python.c (python_interactive_command): Use gdbpy_enter.
14
a88b13c7
TT
152017-01-10 Tom Tromey <tom@tromey.com>
16
17 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
18 gdbpy_ref.
19
e9f0c363
TT
202017-01-10 Tom Tromey <tom@tromey.com>
21
22 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
23 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
24
6349f452
TT
252017-01-10 Tom Tromey <tom@tromey.com>
26
27 * utils.h (htab_deleter): New struct.
28 (htab_up): New typedef.
29 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
30 gdbpy_enter, gdbpy_ref, htab_up.
31
c0171de6
TT
322017-01-10 Tom Tromey <tom@tromey.com>
33
34 * python/py-unwind.c (pending_frame_invalidate): Remove.
35 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
36
f18e226f
TT
372017-01-10 Tom Tromey <tom@tromey.com>
38
39 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
40 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
41
c57af3f1
TT
422017-01-10 Tom Tromey <tom@tromey.com>
43
44 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
45
60e600ec
TT
462017-01-10 Tom Tromey <tom@tromey.com>
47
48 * python/python.c (gdbpy_eval_from_control_command)
49 (gdbpy_source_script, gdbpy_run_events)
50 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
51 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
52 gdbpy_enter.
53
bf7da5b0
TT
542017-01-10 Tom Tromey <tom@tromey.com>
55
56 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
57
2d38bced
TT
582017-01-10 Tom Tromey <tom@tromey.com>
59
60 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
61
07bc7329
TT
622017-01-10 Tom Tromey <tom@tromey.com>
63
64 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
65 (python_on_inferior_call_pre, python_on_inferior_call_post)
66 (python_on_memory_change, python_on_register_change)
67 (python_inferior_exit, python_new_objfile, add_thread_object)
68 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
69
6e7c365e
TT
702017-01-10 Tom Tromey <tom@tromey.com>
71
72 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
73 (bpfinishpy_handle_exit): Use gdbpy_enter.
74
6ba0cd40
TT
752017-01-10 Tom Tromey <tom@tromey.com>
76
77 * python/py-cmd.c (cmdpy_destroyer)
78 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
79 gdbpy_enter.
80
de2dc875
TT
812017-01-10 Tom Tromey <tom@tromey.com>
82
83 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
84 gdbpy_enter.
85 (gdbpy_breakpoint_has_cond): Likewise.
86
4ecee2c4
TT
872017-01-10 Tom Tromey <tom@tromey.com>
88
89 * python/python.c (gdbpy_enter): New constructor.
90 (~gdbpy_enter): New destructor.
91 (restore_python_env, ensure_python_env): Rewrite.
92 * python/python-internal.h (gdbpy_enter): New class.
93
37fce74f
TT
942017-01-10 Tom Tromey <tom@tromey.com>
95
96 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
97
53a0cca3
TT
982017-01-10 Tom Tromey <tom@tromey.com>
99
100 * python/py-value.c (value_has_field, get_field_flag)
101 (get_field_type, valpy_getitem, convert_value_from_python): Use
102 gdbpy_ref.
103
ff3724f5
TT
1042017-01-10 Tom Tromey <tom@tromey.com>
105
106 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
107 gdbpy_ref.
108
0700aea5
TT
1092017-01-10 Tom Tromey <tom@tromey.com>
110
111 * python/py-prettyprint.c (search_pp_list)
112 (find_pretty_printer_from_objfiles)
113 (find_pretty_printer_from_progspace)
114 (find_pretty_printer_from_gdb, find_pretty_printer)
115 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
116 gdbpy_ref.
117
1bb44c9f
TT
1182017-01-10 Tom Tromey <tom@tromey.com>
119
120 * python/py-param.c (call_doc_function): Use gdbpy_ref.
121
87ce03fd
TT
1222017-01-10 Tom Tromey <tom@tromey.com>
123
124 * python/py-linetable.c (build_line_table_tuple_from_pcs)
125 (ltpy_get_all_source_lines): Use gdbpy_ref.
126
ee0a3fb8
TT
1272017-01-10 Tom Tromey <tom@tromey.com>
128
129 * python/py-framefilter.c (extract_sym, extract_value)
130 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
131 gdbpy_ref.
132
bf2a52fa
TT
1332017-01-10 Tom Tromey <tom@tromey.com>
134
135 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
136
f59fe7f8
TT
1372017-01-10 Tom Tromey <tom@tromey.com>
138
139 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
140
80bd970a
TT
1412017-01-10 Tom Tromey <tom@tromey.com>
142
143 * python/py-function.c (convert_values_to_python, fnpy_init): Use
144 gdbpy_ref.
145
d1b3de2e
TT
1462017-01-10 Tom Tromey <tom@tromey.com>
147
148 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
149
3bb43384
TT
1502017-01-10 Tom Tromey <tom@tromey.com>
151
152 * python/py-type.c (convert_field, make_fielditem, typy_fields)
153 (typy_range): Use gdbpy_ref.
154
abf5651e
TT
1552017-01-10 Tom Tromey <tom@tromey.com>
156
157 * python/py-threadevent.c (create_thread_event_object): Use
158 gdbpy_ref.
159 * python/py-stopevent.c (create_stop_event_object): Simplify.
160 (emit_stop_event): Use gdbpy_ref.
161 * python/py-signalevent.c (create_signal_event_object): Use
162 gdbpy_ref.
163 * python/py-newobjfileevent.c (create_new_objfile_event_object)
164 (emit_new_objfile_event, create_clear_objfiles_event_object)
165 (emit_clear_objfiles_event): Use gdbpy_ref.
166 * python/py-infevents.c (create_inferior_call_event_object)
167 (create_register_changed_event_object)
168 (create_memory_changed_event_object, emit_inferior_call_event)
169 (emit_memory_changed_event, emit_register_changed_event): Use
170 gdbpy_ref.
171 * python/py-exitedevent.c (create_exited_event_object)
172 (emit_exited_event): Use gdbpy_ref.
173 * python/py-event.h (evpy_emit_event): Remove
174 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
175 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
176 * python/py-continueevent.c (emit_continue_event): Use
177 gdbpy_ref.
178 * python/py-breakpoint.c (gdbpy_breakpoint_created)
179 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
180 gdbpy_ref.
181 * python/py-bpevent.c (create_breakpoint_event_object): Use
182 gdbpy_ref.
183
a68ff33e
TT
1842017-01-10 Tom Tromey <tom@tromey.com>
185
186 * python/py-ref.h: New file.
187
7becfd03
SM
1882017-01-10 Simon Marchi <simon.marchi@ericsson.com>
189
190 * cli-out.c (cli_ui_out::do_redirect): Change return type to
191 void.
192 * cli-out.h (cli_ui_out::do_redirect): Likewise.
193 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
194 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
195 * ui-out.c (ui_out::redirect): Likewise.
196 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
197 * cli/cli-logging.c (set_logging_redirect): Update call site of
198 ui_out::redirect.
199 (handle_redirections): Likewise.
200 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
201 * top.c (execute_command_to_string): Likewise.
202 * utils.c (do_ui_out_redirect_pop): Likewise.
203
df294654
SM
2042017-01-10 Simon Marchi <simon.marchi@ericsson.com>
205
206 * stack.c (_initialize_stack): Update "frame" command help message.
207
f5e6296e
IB
2082017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
209
210 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
211
0e2d6fa6
YQ
2122017-01-06 Yao Qi <yao.qi@linaro.org>
213
214 * x86-linux-nat.h: Include gdb_proc_service.h.
215
44d6d3f9
YQ
2162017-01-06 Yao Qi <yao.qi@linaro.org>
217
218 * ser-base.h: Include serial.h.
219
656731fe
YQ
2202017-01-06 Yao Qi <yao.qi@linaro.org>
221
222 * ppc-linux-tdep.h: Include ppc-tdep.h.
223
1ca8f924
YQ
2242017-01-06 Yao Qi <yao.qi@linaro.org>
225
226 * nat/amd64-linux-siginfo.h: Include signal.h.
227
bc3008c4
YQ
2282017-01-06 Yao Qi <yao.qi@linaro.org>
229
230 * nat/aarch64-linux-hw-point.h: Include break-common.h.
231
66c80d03
YQ
2322017-01-06 Yao Qi <yao.qi@linaro.org>
233
234 * mi/mi-parse.h: Include mi-cmds.h.
235
051d2dda
YQ
2362017-01-06 Yao Qi <yao.qi@linaro.org>
237
238 * inf-loop.c: Don't include "target.h".
239 * inf-loop.h: Include it here.
240
8018d34f
YQ
2412017-01-06 Yao Qi <yao.qi@linaro.org>
242
243 * dfp.h: Include "dboulest.h" and "expression.h".
244
c0b8369c
YQ
2452017-01-06 Yao Qi <yao.qi@linaro.org>
246
247 * ax-gdb.h: Include "ax.h".
248
ad5cba2a
YQ
2492017-01-06 Yao Qi <yao.qi@linaro.org>
250
251 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
252 with nat/gdb_ptrace.h.
253
1c33cd7f
YQ
2542017-01-05 Yao Qi <yao.qi@linaro.org>
255
256 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
257 new line.
258 (mips64_fbsd_sigframe_init): Likewise.
259
c988ac1d
JB
2602017-01-04 John Baldwin <jhb@FreeBSD.org>
261
262 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
263 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
264
b268007c
JB
2652017-01-04 John Baldwin <jhb@FreeBSD.org>
266
267 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
268 * NEWS: Mention new FreeBSD/mips native configuration.
269 * config/mips/fbsd.mh: New file.
270 * configure.host: Add mips*-*-freebsd*.
271 * mips-fbsd-nat.c: New file.
272
387360da
JB
2732017-01-04 John Baldwin <jhb@FreeBSD.org>
274
275 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
276 (ALLDEPFILES): Add mips-fbsd-tdep.c.
277 * NEWS: Mention new FreeBSD/mips target.
278 * configure.tgt: Add mips*-*-freebsd*.
279 * mips-fbsd-tdep.c: New file.
280 * mips-fbsd-tdep.h: New file.
281
2aaaf250
YQ
2822017-01-04 Yao Qi <yao.qi@linaro.org>
283
284 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
285 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
286
61baf725
JB
2872017-01-01 Joel Brobecker <brobecker@adacore.com>
288
289 Update copyright year range in all GDB files.
290
c113e7ff 2912017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 292
c113e7ff 293 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 294
c113e7ff 295For older changes see ChangeLog-2016.
c906108c
SS
296\f
297Local Variables:
298mode: change-log
299left-margin: 8
300fill-column: 74
301version-control: never
57da7796 302coding: utf-8
c906108c 303End: