Use gdbpy_enter in py-objfile.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
2d38bced
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/py-objfile.c (py_free_objfile): Use gdbpy_enter.
4
07bc7329
TT
52017-01-10 Tom Tromey <tom@tromey.com>
6
7 * python/py-inferior.c (python_on_normal_stop, python_on_resume)
8 (python_on_inferior_call_pre, python_on_inferior_call_post)
9 (python_on_memory_change, python_on_register_change)
10 (python_inferior_exit, python_new_objfile, add_thread_object)
11 (delete_thread_object, py_free_inferior): Use gdbpy_enter.
12
6e7c365e
TT
132017-01-10 Tom Tromey <tom@tromey.com>
14
15 * python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
16 (bpfinishpy_handle_exit): Use gdbpy_enter.
17
6ba0cd40
TT
182017-01-10 Tom Tromey <tom@tromey.com>
19
20 * python/py-cmd.c (cmdpy_destroyer)
21 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
22 gdbpy_enter.
23
de2dc875
TT
242017-01-10 Tom Tromey <tom@tromey.com>
25
26 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
27 gdbpy_enter.
28 (gdbpy_breakpoint_has_cond): Likewise.
29
4ecee2c4
TT
302017-01-10 Tom Tromey <tom@tromey.com>
31
32 * python/python.c (gdbpy_enter): New constructor.
33 (~gdbpy_enter): New destructor.
34 (restore_python_env, ensure_python_env): Rewrite.
35 * python/python-internal.h (gdbpy_enter): New class.
36
37fce74f
TT
372017-01-10 Tom Tromey <tom@tromey.com>
38
39 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
40
53a0cca3
TT
412017-01-10 Tom Tromey <tom@tromey.com>
42
43 * python/py-value.c (value_has_field, get_field_flag)
44 (get_field_type, valpy_getitem, convert_value_from_python): Use
45 gdbpy_ref.
46
ff3724f5
TT
472017-01-10 Tom Tromey <tom@tromey.com>
48
49 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
50 gdbpy_ref.
51
0700aea5
TT
522017-01-10 Tom Tromey <tom@tromey.com>
53
54 * python/py-prettyprint.c (search_pp_list)
55 (find_pretty_printer_from_objfiles)
56 (find_pretty_printer_from_progspace)
57 (find_pretty_printer_from_gdb, find_pretty_printer)
58 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
59 gdbpy_ref.
60
1bb44c9f
TT
612017-01-10 Tom Tromey <tom@tromey.com>
62
63 * python/py-param.c (call_doc_function): Use gdbpy_ref.
64
87ce03fd
TT
652017-01-10 Tom Tromey <tom@tromey.com>
66
67 * python/py-linetable.c (build_line_table_tuple_from_pcs)
68 (ltpy_get_all_source_lines): Use gdbpy_ref.
69
ee0a3fb8
TT
702017-01-10 Tom Tromey <tom@tromey.com>
71
72 * python/py-framefilter.c (extract_sym, extract_value)
73 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
74 gdbpy_ref.
75
bf2a52fa
TT
762017-01-10 Tom Tromey <tom@tromey.com>
77
78 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
79
f59fe7f8
TT
802017-01-10 Tom Tromey <tom@tromey.com>
81
82 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
83
80bd970a
TT
842017-01-10 Tom Tromey <tom@tromey.com>
85
86 * python/py-function.c (convert_values_to_python, fnpy_init): Use
87 gdbpy_ref.
88
d1b3de2e
TT
892017-01-10 Tom Tromey <tom@tromey.com>
90
91 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
92
3bb43384
TT
932017-01-10 Tom Tromey <tom@tromey.com>
94
95 * python/py-type.c (convert_field, make_fielditem, typy_fields)
96 (typy_range): Use gdbpy_ref.
97
abf5651e
TT
982017-01-10 Tom Tromey <tom@tromey.com>
99
100 * python/py-threadevent.c (create_thread_event_object): Use
101 gdbpy_ref.
102 * python/py-stopevent.c (create_stop_event_object): Simplify.
103 (emit_stop_event): Use gdbpy_ref.
104 * python/py-signalevent.c (create_signal_event_object): Use
105 gdbpy_ref.
106 * python/py-newobjfileevent.c (create_new_objfile_event_object)
107 (emit_new_objfile_event, create_clear_objfiles_event_object)
108 (emit_clear_objfiles_event): Use gdbpy_ref.
109 * python/py-infevents.c (create_inferior_call_event_object)
110 (create_register_changed_event_object)
111 (create_memory_changed_event_object, emit_inferior_call_event)
112 (emit_memory_changed_event, emit_register_changed_event): Use
113 gdbpy_ref.
114 * python/py-exitedevent.c (create_exited_event_object)
115 (emit_exited_event): Use gdbpy_ref.
116 * python/py-event.h (evpy_emit_event): Remove
117 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
118 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
119 * python/py-continueevent.c (emit_continue_event): Use
120 gdbpy_ref.
121 * python/py-breakpoint.c (gdbpy_breakpoint_created)
122 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
123 gdbpy_ref.
124 * python/py-bpevent.c (create_breakpoint_event_object): Use
125 gdbpy_ref.
126
a68ff33e
TT
1272017-01-10 Tom Tromey <tom@tromey.com>
128
129 * python/py-ref.h: New file.
130
7becfd03
SM
1312017-01-10 Simon Marchi <simon.marchi@ericsson.com>
132
133 * cli-out.c (cli_ui_out::do_redirect): Change return type to
134 void.
135 * cli-out.h (cli_ui_out::do_redirect): Likewise.
136 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
137 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
138 * ui-out.c (ui_out::redirect): Likewise.
139 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
140 * cli/cli-logging.c (set_logging_redirect): Update call site of
141 ui_out::redirect.
142 (handle_redirections): Likewise.
143 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
144 * top.c (execute_command_to_string): Likewise.
145 * utils.c (do_ui_out_redirect_pop): Likewise.
146
df294654
SM
1472017-01-10 Simon Marchi <simon.marchi@ericsson.com>
148
149 * stack.c (_initialize_stack): Update "frame" command help message.
150
f5e6296e
IB
1512017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
152
153 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
154
0e2d6fa6
YQ
1552017-01-06 Yao Qi <yao.qi@linaro.org>
156
157 * x86-linux-nat.h: Include gdb_proc_service.h.
158
44d6d3f9
YQ
1592017-01-06 Yao Qi <yao.qi@linaro.org>
160
161 * ser-base.h: Include serial.h.
162
656731fe
YQ
1632017-01-06 Yao Qi <yao.qi@linaro.org>
164
165 * ppc-linux-tdep.h: Include ppc-tdep.h.
166
1ca8f924
YQ
1672017-01-06 Yao Qi <yao.qi@linaro.org>
168
169 * nat/amd64-linux-siginfo.h: Include signal.h.
170
bc3008c4
YQ
1712017-01-06 Yao Qi <yao.qi@linaro.org>
172
173 * nat/aarch64-linux-hw-point.h: Include break-common.h.
174
66c80d03
YQ
1752017-01-06 Yao Qi <yao.qi@linaro.org>
176
177 * mi/mi-parse.h: Include mi-cmds.h.
178
051d2dda
YQ
1792017-01-06 Yao Qi <yao.qi@linaro.org>
180
181 * inf-loop.c: Don't include "target.h".
182 * inf-loop.h: Include it here.
183
8018d34f
YQ
1842017-01-06 Yao Qi <yao.qi@linaro.org>
185
186 * dfp.h: Include "dboulest.h" and "expression.h".
187
c0b8369c
YQ
1882017-01-06 Yao Qi <yao.qi@linaro.org>
189
190 * ax-gdb.h: Include "ax.h".
191
ad5cba2a
YQ
1922017-01-06 Yao Qi <yao.qi@linaro.org>
193
194 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
195 with nat/gdb_ptrace.h.
196
1c33cd7f
YQ
1972017-01-05 Yao Qi <yao.qi@linaro.org>
198
199 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
200 new line.
201 (mips64_fbsd_sigframe_init): Likewise.
202
c988ac1d
JB
2032017-01-04 John Baldwin <jhb@FreeBSD.org>
204
205 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
206 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
207
b268007c
JB
2082017-01-04 John Baldwin <jhb@FreeBSD.org>
209
210 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
211 * NEWS: Mention new FreeBSD/mips native configuration.
212 * config/mips/fbsd.mh: New file.
213 * configure.host: Add mips*-*-freebsd*.
214 * mips-fbsd-nat.c: New file.
215
387360da
JB
2162017-01-04 John Baldwin <jhb@FreeBSD.org>
217
218 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
219 (ALLDEPFILES): Add mips-fbsd-tdep.c.
220 * NEWS: Mention new FreeBSD/mips target.
221 * configure.tgt: Add mips*-*-freebsd*.
222 * mips-fbsd-tdep.c: New file.
223 * mips-fbsd-tdep.h: New file.
224
2aaaf250
YQ
2252017-01-04 Yao Qi <yao.qi@linaro.org>
226
227 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
228 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
229
61baf725
JB
2302017-01-01 Joel Brobecker <brobecker@adacore.com>
231
232 Update copyright year range in all GDB files.
233
c113e7ff 2342017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 235
c113e7ff 236 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 237
c113e7ff 238For older changes see ChangeLog-2016.
c906108c
SS
239\f
240Local Variables:
241mode: change-log
242left-margin: 8
243fill-column: 74
244version-control: never
57da7796 245coding: utf-8
c906108c 246End:
This page took 2.118239 seconds and 4 git commands to generate.