Use gdbpy_enter in py-unwind.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
c0171de6
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/py-unwind.c (pending_frame_invalidate): Remove.
4 (pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.
5
f18e226f
TT
62017-01-10 Tom Tromey <tom@tromey.com>
7
8 * python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
9 (gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.
10
c57af3f1
TT
112017-01-10 Tom Tromey <tom@tromey.com>
12
13 * python/py-type.c (save_objfile_types): Use gdbpy_enter.
14
60e600ec
TT
152017-01-10 Tom Tromey <tom@tromey.com>
16
17 * python/python.c (gdbpy_eval_from_control_command)
18 (gdbpy_source_script, gdbpy_run_events)
19 (gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
20 (gdbpy_free_type_printers, gdbpy_finish_initialization): Use
21 gdbpy_enter.
22
bf7da5b0
TT
232017-01-10 Tom Tromey <tom@tromey.com>
24
25 * python/py-progspace.c (py_free_pspace): Use gdbpy_enter.
26
2d38bced
TT
272017-01-10 Tom Tromey <tom@tromey.com>
28
29 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
30
07bc7329
TT
312017-01-10 Tom Tromey <tom@tromey.com>
32
33 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
34 (python_on_inferior_call_pre, python_on_inferior_call_post)
35 (python_on_memory_change, python_on_register_change)
36 (python_inferior_exit, python_new_objfile, add_thread_object)
37 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
38
6e7c365e
TT
392017-01-10 Tom Tromey <tom@tromey.com>
40
41 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
42 (bpfinishpy_handle_exit): Use gdbpy_enter.
43
6ba0cd40
TT
442017-01-10 Tom Tromey <tom@tromey.com>
45
46 * python/py-cmd.c (cmdpy_destroyer)
47 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
48 gdbpy_enter.
49
de2dc875
TT
502017-01-10 Tom Tromey <tom@tromey.com>
51
52 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
53 gdbpy_enter.
54 (gdbpy_breakpoint_has_cond): Likewise.
55
4ecee2c4
TT
562017-01-10 Tom Tromey <tom@tromey.com>
57
58 * python/python.c (gdbpy_enter): New constructor.
59 (~gdbpy_enter): New destructor.
60 (restore_python_env, ensure_python_env): Rewrite.
61 * python/python-internal.h (gdbpy_enter): New class.
62
37fce74f
TT
632017-01-10 Tom Tromey <tom@tromey.com>
64
65 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
66
53a0cca3
TT
672017-01-10 Tom Tromey <tom@tromey.com>
68
69 * python/py-value.c (value_has_field, get_field_flag)
70 (get_field_type, valpy_getitem, convert_value_from_python): Use
71 gdbpy_ref.
72
ff3724f5
TT
732017-01-10 Tom Tromey <tom@tromey.com>
74
75 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
76 gdbpy_ref.
77
0700aea5
TT
782017-01-10 Tom Tromey <tom@tromey.com>
79
80 * python/py-prettyprint.c (search_pp_list)
81 (find_pretty_printer_from_objfiles)
82 (find_pretty_printer_from_progspace)
83 (find_pretty_printer_from_gdb, find_pretty_printer)
84 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
85 gdbpy_ref.
86
1bb44c9f
TT
872017-01-10 Tom Tromey <tom@tromey.com>
88
89 * python/py-param.c (call_doc_function): Use gdbpy_ref.
90
87ce03fd
TT
912017-01-10 Tom Tromey <tom@tromey.com>
92
93 * python/py-linetable.c (build_line_table_tuple_from_pcs)
94 (ltpy_get_all_source_lines): Use gdbpy_ref.
95
ee0a3fb8
TT
962017-01-10 Tom Tromey <tom@tromey.com>
97
98 * python/py-framefilter.c (extract_sym, extract_value)
99 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
100 gdbpy_ref.
101
bf2a52fa
TT
1022017-01-10 Tom Tromey <tom@tromey.com>
103
104 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
105
f59fe7f8
TT
1062017-01-10 Tom Tromey <tom@tromey.com>
107
108 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
109
80bd970a
TT
1102017-01-10 Tom Tromey <tom@tromey.com>
111
112 * python/py-function.c (convert_values_to_python, fnpy_init): Use
113 gdbpy_ref.
114
d1b3de2e
TT
1152017-01-10 Tom Tromey <tom@tromey.com>
116
117 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
118
3bb43384
TT
1192017-01-10 Tom Tromey <tom@tromey.com>
120
121 * python/py-type.c (convert_field, make_fielditem, typy_fields)
122 (typy_range): Use gdbpy_ref.
123
abf5651e
TT
1242017-01-10 Tom Tromey <tom@tromey.com>
125
126 * python/py-threadevent.c (create_thread_event_object): Use
127 gdbpy_ref.
128 * python/py-stopevent.c (create_stop_event_object): Simplify.
129 (emit_stop_event): Use gdbpy_ref.
130 * python/py-signalevent.c (create_signal_event_object): Use
131 gdbpy_ref.
132 * python/py-newobjfileevent.c (create_new_objfile_event_object)
133 (emit_new_objfile_event, create_clear_objfiles_event_object)
134 (emit_clear_objfiles_event): Use gdbpy_ref.
135 * python/py-infevents.c (create_inferior_call_event_object)
136 (create_register_changed_event_object)
137 (create_memory_changed_event_object, emit_inferior_call_event)
138 (emit_memory_changed_event, emit_register_changed_event): Use
139 gdbpy_ref.
140 * python/py-exitedevent.c (create_exited_event_object)
141 (emit_exited_event): Use gdbpy_ref.
142 * python/py-event.h (evpy_emit_event): Remove
143 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
144 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
145 * python/py-continueevent.c (emit_continue_event): Use
146 gdbpy_ref.
147 * python/py-breakpoint.c (gdbpy_breakpoint_created)
148 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
149 gdbpy_ref.
150 * python/py-bpevent.c (create_breakpoint_event_object): Use
151 gdbpy_ref.
152
a68ff33e
TT
1532017-01-10 Tom Tromey <tom@tromey.com>
154
155 * python/py-ref.h: New file.
156
7becfd03
SM
1572017-01-10 Simon Marchi <simon.marchi@ericsson.com>
158
159 * cli-out.c (cli_ui_out::do_redirect): Change return type to
160 void.
161 * cli-out.h (cli_ui_out::do_redirect): Likewise.
162 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
163 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
164 * ui-out.c (ui_out::redirect): Likewise.
165 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
166 * cli/cli-logging.c (set_logging_redirect): Update call site of
167 ui_out::redirect.
168 (handle_redirections): Likewise.
169 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
170 * top.c (execute_command_to_string): Likewise.
171 * utils.c (do_ui_out_redirect_pop): Likewise.
172
df294654
SM
1732017-01-10 Simon Marchi <simon.marchi@ericsson.com>
174
175 * stack.c (_initialize_stack): Update "frame" command help message.
176
f5e6296e
IB
1772017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
178
179 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
180
0e2d6fa6
YQ
1812017-01-06 Yao Qi <yao.qi@linaro.org>
182
183 * x86-linux-nat.h: Include gdb_proc_service.h.
184
44d6d3f9
YQ
1852017-01-06 Yao Qi <yao.qi@linaro.org>
186
187 * ser-base.h: Include serial.h.
188
656731fe
YQ
1892017-01-06 Yao Qi <yao.qi@linaro.org>
190
191 * ppc-linux-tdep.h: Include ppc-tdep.h.
192
1ca8f924
YQ
1932017-01-06 Yao Qi <yao.qi@linaro.org>
194
195 * nat/amd64-linux-siginfo.h: Include signal.h.
196
bc3008c4
YQ
1972017-01-06 Yao Qi <yao.qi@linaro.org>
198
199 * nat/aarch64-linux-hw-point.h: Include break-common.h.
200
66c80d03
YQ
2012017-01-06 Yao Qi <yao.qi@linaro.org>
202
203 * mi/mi-parse.h: Include mi-cmds.h.
204
051d2dda
YQ
2052017-01-06 Yao Qi <yao.qi@linaro.org>
206
207 * inf-loop.c: Don't include "target.h".
208 * inf-loop.h: Include it here.
209
8018d34f
YQ
2102017-01-06 Yao Qi <yao.qi@linaro.org>
211
212 * dfp.h: Include "dboulest.h" and "expression.h".
213
c0b8369c
YQ
2142017-01-06 Yao Qi <yao.qi@linaro.org>
215
216 * ax-gdb.h: Include "ax.h".
217
ad5cba2a
YQ
2182017-01-06 Yao Qi <yao.qi@linaro.org>
219
220 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
221 with nat/gdb_ptrace.h.
222
1c33cd7f
YQ
2232017-01-05 Yao Qi <yao.qi@linaro.org>
224
225 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
226 new line.
227 (mips64_fbsd_sigframe_init): Likewise.
228
c988ac1d
JB
2292017-01-04 John Baldwin <jhb@FreeBSD.org>
230
231 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
232 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
233
b268007c
JB
2342017-01-04 John Baldwin <jhb@FreeBSD.org>
235
236 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
237 * NEWS: Mention new FreeBSD/mips native configuration.
238 * config/mips/fbsd.mh: New file.
239 * configure.host: Add mips*-*-freebsd*.
240 * mips-fbsd-nat.c: New file.
241
387360da
JB
2422017-01-04 John Baldwin <jhb@FreeBSD.org>
243
244 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
245 (ALLDEPFILES): Add mips-fbsd-tdep.c.
246 * NEWS: Mention new FreeBSD/mips target.
247 * configure.tgt: Add mips*-*-freebsd*.
248 * mips-fbsd-tdep.c: New file.
249 * mips-fbsd-tdep.h: New file.
250
2aaaf250
YQ
2512017-01-04 Yao Qi <yao.qi@linaro.org>
252
253 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
254 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
255
61baf725
JB
2562017-01-01 Joel Brobecker <brobecker@adacore.com>
257
258 Update copyright year range in all GDB files.
259
c113e7ff 2602017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 261
c113e7ff 262 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 263
c113e7ff 264For older changes see ChangeLog-2016.
c906108c
SS
265\f
266Local Variables:
267mode: change-log
268left-margin: 8
269fill-column: 74
270version-control: never
57da7796 271coding: utf-8
c906108c 272End:
This page took 2.140689 seconds and 4 git commands to generate.