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