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