Use gdbpy_enter in py-prettyprint.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e9f0c363
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
4 gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
5
6349f452
TT
62017-01-10 Tom Tromey <tom@tromey.com>
7
8 * utils.h (htab_deleter): New struct.
9 (htab_up): New typedef.
10 * python/py-framefilter.c (gdbpy_apply_frame_filter): Use
11 gdbpy_enter, gdbpy_ref, htab_up.
12
c0171de6
TT
132017-01-10 Tom Tromey <tom@tromey.com>
14
15 * python/py-unwind.c (pending_frame_invalidate): Remove.
16 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
17
f18e226f
TT
182017-01-10 Tom Tromey <tom@tromey.com>
19
20 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
21 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
22
c57af3f1
TT
232017-01-10 Tom Tromey <tom@tromey.com>
24
25 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
26
60e600ec
TT
272017-01-10 Tom Tromey <tom@tromey.com>
28
29 * python/python.c (gdbpy_eval_from_control_command)
30 (gdbpy_source_script, gdbpy_run_events)
31 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
32 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
33 gdbpy_enter.
34
bf7da5b0
TT
352017-01-10 Tom Tromey <tom@tromey.com>
36
37 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
38
2d38bced
TT
392017-01-10 Tom Tromey <tom@tromey.com>
40
41 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
42
07bc7329
TT
432017-01-10 Tom Tromey <tom@tromey.com>
44
45 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
46 (python_on_inferior_call_pre, python_on_inferior_call_post)
47 (python_on_memory_change, python_on_register_change)
48 (python_inferior_exit, python_new_objfile, add_thread_object)
49 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
50
6e7c365e
TT
512017-01-10 Tom Tromey <tom@tromey.com>
52
53 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
54 (bpfinishpy_handle_exit): Use gdbpy_enter.
55
6ba0cd40
TT
562017-01-10 Tom Tromey <tom@tromey.com>
57
58 * python/py-cmd.c (cmdpy_destroyer)
59 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
60 gdbpy_enter.
61
de2dc875
TT
622017-01-10 Tom Tromey <tom@tromey.com>
63
64 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
65 gdbpy_enter.
66 (gdbpy_breakpoint_has_cond): Likewise.
67
4ecee2c4
TT
682017-01-10 Tom Tromey <tom@tromey.com>
69
70 * python/python.c (gdbpy_enter): New constructor.
71 (~gdbpy_enter): New destructor.
72 (restore_python_env, ensure_python_env): Rewrite.
73 * python/python-internal.h (gdbpy_enter): New class.
74
37fce74f
TT
752017-01-10 Tom Tromey <tom@tromey.com>
76
77 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
78
53a0cca3
TT
792017-01-10 Tom Tromey <tom@tromey.com>
80
81 * python/py-value.c (value_has_field, get_field_flag)
82 (get_field_type, valpy_getitem, convert_value_from_python): Use
83 gdbpy_ref.
84
ff3724f5
TT
852017-01-10 Tom Tromey <tom@tromey.com>
86
87 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
88 gdbpy_ref.
89
0700aea5
TT
902017-01-10 Tom Tromey <tom@tromey.com>
91
92 * python/py-prettyprint.c (search_pp_list)
93 (find_pretty_printer_from_objfiles)
94 (find_pretty_printer_from_progspace)
95 (find_pretty_printer_from_gdb, find_pretty_printer)
96 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
97 gdbpy_ref.
98
1bb44c9f
TT
992017-01-10 Tom Tromey <tom@tromey.com>
100
101 * python/py-param.c (call_doc_function): Use gdbpy_ref.
102
87ce03fd
TT
1032017-01-10 Tom Tromey <tom@tromey.com>
104
105 * python/py-linetable.c (build_line_table_tuple_from_pcs)
106 (ltpy_get_all_source_lines): Use gdbpy_ref.
107
ee0a3fb8
TT
1082017-01-10 Tom Tromey <tom@tromey.com>
109
110 * python/py-framefilter.c (extract_sym, extract_value)
111 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
112 gdbpy_ref.
113
bf2a52fa
TT
1142017-01-10 Tom Tromey <tom@tromey.com>
115
116 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
117
f59fe7f8
TT
1182017-01-10 Tom Tromey <tom@tromey.com>
119
120 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
121
80bd970a
TT
1222017-01-10 Tom Tromey <tom@tromey.com>
123
124 * python/py-function.c (convert_values_to_python, fnpy_init): Use
125 gdbpy_ref.
126
d1b3de2e
TT
1272017-01-10 Tom Tromey <tom@tromey.com>
128
129 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
130
3bb43384
TT
1312017-01-10 Tom Tromey <tom@tromey.com>
132
133 * python/py-type.c (convert_field, make_fielditem, typy_fields)
134 (typy_range): Use gdbpy_ref.
135
abf5651e
TT
1362017-01-10 Tom Tromey <tom@tromey.com>
137
138 * python/py-threadevent.c (create_thread_event_object): Use
139 gdbpy_ref.
140 * python/py-stopevent.c (create_stop_event_object): Simplify.
141 (emit_stop_event): Use gdbpy_ref.
142 * python/py-signalevent.c (create_signal_event_object): Use
143 gdbpy_ref.
144 * python/py-newobjfileevent.c (create_new_objfile_event_object)
145 (emit_new_objfile_event, create_clear_objfiles_event_object)
146 (emit_clear_objfiles_event): Use gdbpy_ref.
147 * python/py-infevents.c (create_inferior_call_event_object)
148 (create_register_changed_event_object)
149 (create_memory_changed_event_object, emit_inferior_call_event)
150 (emit_memory_changed_event, emit_register_changed_event): Use
151 gdbpy_ref.
152 * python/py-exitedevent.c (create_exited_event_object)
153 (emit_exited_event): Use gdbpy_ref.
154 * python/py-event.h (evpy_emit_event): Remove
155 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
156 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
157 * python/py-continueevent.c (emit_continue_event): Use
158 gdbpy_ref.
159 * python/py-breakpoint.c (gdbpy_breakpoint_created)
160 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
161 gdbpy_ref.
162 * python/py-bpevent.c (create_breakpoint_event_object): Use
163 gdbpy_ref.
164
a68ff33e
TT
1652017-01-10 Tom Tromey <tom@tromey.com>
166
167 * python/py-ref.h: New file.
168
7becfd03
SM
1692017-01-10 Simon Marchi <simon.marchi@ericsson.com>
170
171 * cli-out.c (cli_ui_out::do_redirect): Change return type to
172 void.
173 * cli-out.h (cli_ui_out::do_redirect): Likewise.
174 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
175 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
176 * ui-out.c (ui_out::redirect): Likewise.
177 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
178 * cli/cli-logging.c (set_logging_redirect): Update call site of
179 ui_out::redirect.
180 (handle_redirections): Likewise.
181 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
182 * top.c (execute_command_to_string): Likewise.
183 * utils.c (do_ui_out_redirect_pop): Likewise.
184
df294654
SM
1852017-01-10 Simon Marchi <simon.marchi@ericsson.com>
186
187 * stack.c (_initialize_stack): Update "frame" command help message.
188
f5e6296e
IB
1892017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
190
191 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
192
0e2d6fa6
YQ
1932017-01-06 Yao Qi <yao.qi@linaro.org>
194
195 * x86-linux-nat.h: Include gdb_proc_service.h.
196
44d6d3f9
YQ
1972017-01-06 Yao Qi <yao.qi@linaro.org>
198
199 * ser-base.h: Include serial.h.
200
656731fe
YQ
2012017-01-06 Yao Qi <yao.qi@linaro.org>
202
203 * ppc-linux-tdep.h: Include ppc-tdep.h.
204
1ca8f924
YQ
2052017-01-06 Yao Qi <yao.qi@linaro.org>
206
207 * nat/amd64-linux-siginfo.h: Include signal.h.
208
bc3008c4
YQ
2092017-01-06 Yao Qi <yao.qi@linaro.org>
210
211 * nat/aarch64-linux-hw-point.h: Include break-common.h.
212
66c80d03
YQ
2132017-01-06 Yao Qi <yao.qi@linaro.org>
214
215 * mi/mi-parse.h: Include mi-cmds.h.
216
051d2dda
YQ
2172017-01-06 Yao Qi <yao.qi@linaro.org>
218
219 * inf-loop.c: Don't include "target.h".
220 * inf-loop.h: Include it here.
221
8018d34f
YQ
2222017-01-06 Yao Qi <yao.qi@linaro.org>
223
224 * dfp.h: Include "dboulest.h" and "expression.h".
225
c0b8369c
YQ
2262017-01-06 Yao Qi <yao.qi@linaro.org>
227
228 * ax-gdb.h: Include "ax.h".
229
ad5cba2a
YQ
2302017-01-06 Yao Qi <yao.qi@linaro.org>
231
232 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
233 with nat/gdb_ptrace.h.
234
1c33cd7f
YQ
2352017-01-05 Yao Qi <yao.qi@linaro.org>
236
237 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
238 new line.
239 (mips64_fbsd_sigframe_init): Likewise.
240
c988ac1d
JB
2412017-01-04 John Baldwin <jhb@FreeBSD.org>
242
243 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
244 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
245
b268007c
JB
2462017-01-04 John Baldwin <jhb@FreeBSD.org>
247
248 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
249 * NEWS: Mention new FreeBSD/mips native configuration.
250 * config/mips/fbsd.mh: New file.
251 * configure.host: Add mips*-*-freebsd*.
252 * mips-fbsd-nat.c: New file.
253
387360da
JB
2542017-01-04 John Baldwin <jhb@FreeBSD.org>
255
256 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
257 (ALLDEPFILES): Add mips-fbsd-tdep.c.
258 * NEWS: Mention new FreeBSD/mips target.
259 * configure.tgt: Add mips*-*-freebsd*.
260 * mips-fbsd-tdep.c: New file.
261 * mips-fbsd-tdep.h: New file.
262
2aaaf250
YQ
2632017-01-04 Yao Qi <yao.qi@linaro.org>
264
265 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
266 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
267
61baf725
JB
2682017-01-01 Joel Brobecker <brobecker@adacore.com>
269
270 Update copyright year range in all GDB files.
271
c113e7ff 2722017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 273
c113e7ff 274 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 275
c113e7ff 276For older changes see ChangeLog-2016.
c906108c
SS
277\f
278Local Variables:
279mode: change-log
280left-margin: 8
281fill-column: 74
282version-control: never
57da7796 283coding: utf-8
c906108c 284End:
This page took 2.287129 seconds and 4 git commands to generate.