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