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