Change type of encoding argument to gdbpy_extract_lazy_string
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
1eba6383
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/py-prettyprint.c (print_string_repr, print_children):
4 Update.
5 * python/py-lazy-string.c (gdbpy_extract_lazy_string): Change type
6 of "encoding".
7 * varobj.c (varobj_value_get_print_value): Update.
8 * python/python-internal.h (gdbpy_extract_lazy_string): Update.
9
bde7b3e3
TT
102017-01-10 Tom Tromey <tom@tromey.com>
11
12 * varobj.c (varobj_get_display_hint)
13 (dynamic_varobj_has_child_method, install_new_value_visualizer)
14 (varobj_set_visualizer, free_variable): Use
15 gdbpy_enter_varobj.
16
a7785f8c
TT
172017-01-10 Tom Tromey <tom@tromey.com>
18
19 * python/python.c (python_command): Use gdbpy_enter, gdbpy_ref.
20 (do_finish_initialization): New function. Use gdbpy_ref.
21 (gdbpy_finish_initialization): Use gdbpy_enter. Call
22 do_finish_initialization.
23
2865bfce
TT
242017-01-10 Tom Tromey <tom@tromey.com>
25
26 * python/py-param.c (get_set_value, get_show_value): Use
27 gdbpy_enter, gdbpy_ref.
28
0e9dcc75
TT
292017-01-10 Tom Tromey <tom@tromey.com>
30
31 * python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.
32
12a5cedd
TT
332017-01-10 Tom Tromey <tom@tromey.com>
34
35 * python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.
36
788f2586
TT
372017-01-10 Tom Tromey <tom@tromey.com>
38
39 * python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
40 Use gdbpy_enter_varobj.
41
6cd67bea
TT
422017-01-10 Tom Tromey <tom@tromey.com>
43
44 * varobj.c (gdbpy_enter_varobj): New constructor.
45 * python/python-internal.h (gdbpy_enter_varobj): New class.
46 * python/py-varobj.c (py_varobj_get_iterator): Use
47 gdbpy_enter_varobj.
48
14b122bf
TT
492017-01-10 Tom Tromey <tom@tromey.com>
50
51 * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
52 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
53 (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
54 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
55 unique_xmalloc_ptr.
56 (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
57
bf1ca3b9
TT
582017-01-10 Tom Tromey <tom@tromey.com>
59
60 * python/py-xmethods.c (invoke_match_method): Use
61 gdbpy_ref.
62
572a5524
TT
632017-01-10 Tom Tromey <tom@tromey.com>
64
65 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
66 gdbpy_enter, gdbpy_ref.
67
396a78b6
TT
682017-01-10 Tom Tromey <tom@tromey.com>
69
70 * python/python.c (python_interactive_command): Use gdbpy_enter.
71
a88b13c7
TT
722017-01-10 Tom Tromey <tom@tromey.com>
73
74 * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
75 gdbpy_ref.
76
e9f0c363
TT
772017-01-10 Tom Tromey <tom@tromey.com>
78
79 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
80 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
81
6349f452
TT
822017-01-10 Tom Tromey <tom@tromey.com>
83
84 * utils.h (htab_deleter): New struct.
85 (htab_up): New typedef.
86 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
87 gdbpy_enter, gdbpy_ref, htab_up.
88
c0171de6
TT
892017-01-10 Tom Tromey <tom@tromey.com>
90
91 * python/py-unwind.c (pending_frame_invalidate): Remove.
92 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
93
f18e226f
TT
942017-01-10 Tom Tromey <tom@tromey.com>
95
96 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
97 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
98
c57af3f1
TT
992017-01-10 Tom Tromey <tom@tromey.com>
100
101 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
102
60e600ec
TT
1032017-01-10 Tom Tromey <tom@tromey.com>
104
105 * python/python.c (gdbpy_eval_from_control_command)
106 (gdbpy_source_script, gdbpy_run_events)
107 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
108 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
109 gdbpy_enter.
110
bf7da5b0
TT
1112017-01-10 Tom Tromey <tom@tromey.com>
112
113 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
114
2d38bced
TT
1152017-01-10 Tom Tromey <tom@tromey.com>
116
117 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
118
07bc7329
TT
1192017-01-10 Tom Tromey <tom@tromey.com>
120
121 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
122 (python_on_inferior_call_pre, python_on_inferior_call_post)
123 (python_on_memory_change, python_on_register_change)
124 (python_inferior_exit, python_new_objfile, add_thread_object)
125 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
126
6e7c365e
TT
1272017-01-10 Tom Tromey <tom@tromey.com>
128
129 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
130 (bpfinishpy_handle_exit): Use gdbpy_enter.
131
6ba0cd40
TT
1322017-01-10 Tom Tromey <tom@tromey.com>
133
134 * python/py-cmd.c (cmdpy_destroyer)
135 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
136 gdbpy_enter.
137
de2dc875
TT
1382017-01-10 Tom Tromey <tom@tromey.com>
139
140 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
141 gdbpy_enter.
142 (gdbpy_breakpoint_has_cond): Likewise.
143
4ecee2c4
TT
1442017-01-10 Tom Tromey <tom@tromey.com>
145
146 * python/python.c (gdbpy_enter): New constructor.
147 (~gdbpy_enter): New destructor.
148 (restore_python_env, ensure_python_env): Rewrite.
149 * python/python-internal.h (gdbpy_enter): New class.
150
37fce74f
TT
1512017-01-10 Tom Tromey <tom@tromey.com>
152
153 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
154
53a0cca3
TT
1552017-01-10 Tom Tromey <tom@tromey.com>
156
157 * python/py-value.c (value_has_field, get_field_flag)
158 (get_field_type, valpy_getitem, convert_value_from_python): Use
159 gdbpy_ref.
160
ff3724f5
TT
1612017-01-10 Tom Tromey <tom@tromey.com>
162
163 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
164 gdbpy_ref.
165
0700aea5
TT
1662017-01-10 Tom Tromey <tom@tromey.com>
167
168 * python/py-prettyprint.c (search_pp_list)
169 (find_pretty_printer_from_objfiles)
170 (find_pretty_printer_from_progspace)
171 (find_pretty_printer_from_gdb, find_pretty_printer)
172 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
173 gdbpy_ref.
174
1bb44c9f
TT
1752017-01-10 Tom Tromey <tom@tromey.com>
176
177 * python/py-param.c (call_doc_function): Use gdbpy_ref.
178
87ce03fd
TT
1792017-01-10 Tom Tromey <tom@tromey.com>
180
181 * python/py-linetable.c (build_line_table_tuple_from_pcs)
182 (ltpy_get_all_source_lines): Use gdbpy_ref.
183
ee0a3fb8
TT
1842017-01-10 Tom Tromey <tom@tromey.com>
185
186 * python/py-framefilter.c (extract_sym, extract_value)
187 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
188 gdbpy_ref.
189
bf2a52fa
TT
1902017-01-10 Tom Tromey <tom@tromey.com>
191
192 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
193
f59fe7f8
TT
1942017-01-10 Tom Tromey <tom@tromey.com>
195
196 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
197
80bd970a
TT
1982017-01-10 Tom Tromey <tom@tromey.com>
199
200 * python/py-function.c (convert_values_to_python, fnpy_init): Use
201 gdbpy_ref.
202
d1b3de2e
TT
2032017-01-10 Tom Tromey <tom@tromey.com>
204
205 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
206
3bb43384
TT
2072017-01-10 Tom Tromey <tom@tromey.com>
208
209 * python/py-type.c (convert_field, make_fielditem, typy_fields)
210 (typy_range): Use gdbpy_ref.
211
abf5651e
TT
2122017-01-10 Tom Tromey <tom@tromey.com>
213
214 * python/py-threadevent.c (create_thread_event_object): Use
215 gdbpy_ref.
216 * python/py-stopevent.c (create_stop_event_object): Simplify.
217 (emit_stop_event): Use gdbpy_ref.
218 * python/py-signalevent.c (create_signal_event_object): Use
219 gdbpy_ref.
220 * python/py-newobjfileevent.c (create_new_objfile_event_object)
221 (emit_new_objfile_event, create_clear_objfiles_event_object)
222 (emit_clear_objfiles_event): Use gdbpy_ref.
223 * python/py-infevents.c (create_inferior_call_event_object)
224 (create_register_changed_event_object)
225 (create_memory_changed_event_object, emit_inferior_call_event)
226 (emit_memory_changed_event, emit_register_changed_event): Use
227 gdbpy_ref.
228 * python/py-exitedevent.c (create_exited_event_object)
229 (emit_exited_event): Use gdbpy_ref.
230 * python/py-event.h (evpy_emit_event): Remove
231 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
232 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
233 * python/py-continueevent.c (emit_continue_event): Use
234 gdbpy_ref.
235 * python/py-breakpoint.c (gdbpy_breakpoint_created)
236 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
237 gdbpy_ref.
238 * python/py-bpevent.c (create_breakpoint_event_object): Use
239 gdbpy_ref.
240
a68ff33e
TT
2412017-01-10 Tom Tromey <tom@tromey.com>
242
243 * python/py-ref.h: New file.
244
7becfd03
SM
2452017-01-10 Simon Marchi <simon.marchi@ericsson.com>
246
247 * cli-out.c (cli_ui_out::do_redirect): Change return type to
248 void.
249 * cli-out.h (cli_ui_out::do_redirect): Likewise.
250 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
251 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
252 * ui-out.c (ui_out::redirect): Likewise.
253 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
254 * cli/cli-logging.c (set_logging_redirect): Update call site of
255 ui_out::redirect.
256 (handle_redirections): Likewise.
257 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
258 * top.c (execute_command_to_string): Likewise.
259 * utils.c (do_ui_out_redirect_pop): Likewise.
260
df294654
SM
2612017-01-10 Simon Marchi <simon.marchi@ericsson.com>
262
263 * stack.c (_initialize_stack): Update "frame" command help message.
264
f5e6296e
IB
2652017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
266
267 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
268
0e2d6fa6
YQ
2692017-01-06 Yao Qi <yao.qi@linaro.org>
270
271 * x86-linux-nat.h: Include gdb_proc_service.h.
272
44d6d3f9
YQ
2732017-01-06 Yao Qi <yao.qi@linaro.org>
274
275 * ser-base.h: Include serial.h.
276
656731fe
YQ
2772017-01-06 Yao Qi <yao.qi@linaro.org>
278
279 * ppc-linux-tdep.h: Include ppc-tdep.h.
280
1ca8f924
YQ
2812017-01-06 Yao Qi <yao.qi@linaro.org>
282
283 * nat/amd64-linux-siginfo.h: Include signal.h.
284
bc3008c4
YQ
2852017-01-06 Yao Qi <yao.qi@linaro.org>
286
287 * nat/aarch64-linux-hw-point.h: Include break-common.h.
288
66c80d03
YQ
2892017-01-06 Yao Qi <yao.qi@linaro.org>
290
291 * mi/mi-parse.h: Include mi-cmds.h.
292
051d2dda
YQ
2932017-01-06 Yao Qi <yao.qi@linaro.org>
294
295 * inf-loop.c: Don't include "target.h".
296 * inf-loop.h: Include it here.
297
8018d34f
YQ
2982017-01-06 Yao Qi <yao.qi@linaro.org>
299
300 * dfp.h: Include "dboulest.h" and "expression.h".
301
c0b8369c
YQ
3022017-01-06 Yao Qi <yao.qi@linaro.org>
303
304 * ax-gdb.h: Include "ax.h".
305
ad5cba2a
YQ
3062017-01-06 Yao Qi <yao.qi@linaro.org>
307
308 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
309 with nat/gdb_ptrace.h.
310
1c33cd7f
YQ
3112017-01-05 Yao Qi <yao.qi@linaro.org>
312
313 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
314 new line.
315 (mips64_fbsd_sigframe_init): Likewise.
316
c988ac1d
JB
3172017-01-04 John Baldwin <jhb@FreeBSD.org>
318
319 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
320 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
321
b268007c
JB
3222017-01-04 John Baldwin <jhb@FreeBSD.org>
323
324 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
325 * NEWS: Mention new FreeBSD/mips native configuration.
326 * config/mips/fbsd.mh: New file.
327 * configure.host: Add mips*-*-freebsd*.
328 * mips-fbsd-nat.c: New file.
329
387360da
JB
3302017-01-04 John Baldwin <jhb@FreeBSD.org>
331
332 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
333 (ALLDEPFILES): Add mips-fbsd-tdep.c.
334 * NEWS: Mention new FreeBSD/mips target.
335 * configure.tgt: Add mips*-*-freebsd*.
336 * mips-fbsd-tdep.c: New file.
337 * mips-fbsd-tdep.h: New file.
338
2aaaf250
YQ
3392017-01-04 Yao Qi <yao.qi@linaro.org>
340
341 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
342 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
343
61baf725
JB
3442017-01-01 Joel Brobecker <brobecker@adacore.com>
345
346 Update copyright year range in all GDB files.
347
c113e7ff 3482017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 349
c113e7ff 350 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 351
c113e7ff 352For older changes see ChangeLog-2016.
c906108c
SS
353\f
354Local Variables:
355mode: change-log
356left-margin: 8
357fill-column: 74
358version-control: never
57da7796 359coding: utf-8
c906108c 360End:
This page took 2.129615 seconds and 4 git commands to generate.