Use gdbpy_enter in py-cmd.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
6ba0cd40
TT
12017-01-10 Tom Tromey <tom@tromey.com>
2
3 * python/py-cmd.c (cmdpy_destroyer)
4 (cmdpy_completer_handle_brkchars, cmdpy_completer): Use
5 gdbpy_enter.
6
de2dc875
TT
72017-01-10 Tom Tromey <tom@tromey.com>
8
9 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
10 gdbpy_enter.
11 (gdbpy_breakpoint_has_cond): Likewise.
12
4ecee2c4
TT
132017-01-10 Tom Tromey <tom@tromey.com>
14
15 * python/python.c (gdbpy_enter): New constructor.
16 (~gdbpy_enter): New destructor.
17 (restore_python_env, ensure_python_env): Rewrite.
18 * python/python-internal.h (gdbpy_enter): New class.
19
37fce74f
TT
202017-01-10 Tom Tromey <tom@tromey.com>
21
22 * python/py-symbol.c (gdbpy_lookup_symbol): Use gdbpy_ref.
23
53a0cca3
TT
242017-01-10 Tom Tromey <tom@tromey.com>
25
26 * python/py-value.c (value_has_field, get_field_flag)
27 (get_field_type, valpy_getitem, convert_value_from_python): Use
28 gdbpy_ref.
29
ff3724f5
TT
302017-01-10 Tom Tromey <tom@tromey.com>
31
32 * python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
33 gdbpy_ref.
34
0700aea5
TT
352017-01-10 Tom Tromey <tom@tromey.com>
36
37 * python/py-prettyprint.c (search_pp_list)
38 (find_pretty_printer_from_objfiles)
39 (find_pretty_printer_from_progspace)
40 (find_pretty_printer_from_gdb, find_pretty_printer)
41 (gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
42 gdbpy_ref.
43
1bb44c9f
TT
442017-01-10 Tom Tromey <tom@tromey.com>
45
46 * python/py-param.c (call_doc_function): Use gdbpy_ref.
47
87ce03fd
TT
482017-01-10 Tom Tromey <tom@tromey.com>
49
50 * python/py-linetable.c (build_line_table_tuple_from_pcs)
51 (ltpy_get_all_source_lines): Use gdbpy_ref.
52
ee0a3fb8
TT
532017-01-10 Tom Tromey <tom@tromey.com>
54
55 * python/py-framefilter.c (extract_sym, extract_value)
56 (get_py_iter_from_func, bootstrap_python_frame_filters): Use
57 gdbpy_ref.
58
bf2a52fa
TT
592017-01-10 Tom Tromey <tom@tromey.com>
60
61 * python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.
62
f59fe7f8
TT
632017-01-10 Tom Tromey <tom@tromey.com>
64
65 * python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.
66
80bd970a
TT
672017-01-10 Tom Tromey <tom@tromey.com>
68
69 * python/py-function.c (convert_values_to_python, fnpy_init): Use
70 gdbpy_ref.
71
d1b3de2e
TT
722017-01-10 Tom Tromey <tom@tromey.com>
73
74 * python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.
75
3bb43384
TT
762017-01-10 Tom Tromey <tom@tromey.com>
77
78 * python/py-type.c (convert_field, make_fielditem, typy_fields)
79 (typy_range): Use gdbpy_ref.
80
abf5651e
TT
812017-01-10 Tom Tromey <tom@tromey.com>
82
83 * python/py-threadevent.c (create_thread_event_object): Use
84 gdbpy_ref.
85 * python/py-stopevent.c (create_stop_event_object): Simplify.
86 (emit_stop_event): Use gdbpy_ref.
87 * python/py-signalevent.c (create_signal_event_object): Use
88 gdbpy_ref.
89 * python/py-newobjfileevent.c (create_new_objfile_event_object)
90 (emit_new_objfile_event, create_clear_objfiles_event_object)
91 (emit_clear_objfiles_event): Use gdbpy_ref.
92 * python/py-infevents.c (create_inferior_call_event_object)
93 (create_register_changed_event_object)
94 (create_memory_changed_event_object, emit_inferior_call_event)
95 (emit_memory_changed_event, emit_register_changed_event): Use
96 gdbpy_ref.
97 * python/py-exitedevent.c (create_exited_event_object)
98 (emit_exited_event): Use gdbpy_ref.
99 * python/py-event.h (evpy_emit_event): Remove
100 CPYCHECKER_STEALS_REFERENCE_TO_ARG annotation.
101 * python/py-event.c (evpy_emit_event): Use gdbpy_ref.
102 * python/py-continueevent.c (emit_continue_event): Use
103 gdbpy_ref.
104 * python/py-breakpoint.c (gdbpy_breakpoint_created)
105 (gdbpy_breakpoint_deleted, gdbpy_breakpoint_modified): Use
106 gdbpy_ref.
107 * python/py-bpevent.c (create_breakpoint_event_object): Use
108 gdbpy_ref.
109
a68ff33e
TT
1102017-01-10 Tom Tromey <tom@tromey.com>
111
112 * python/py-ref.h: New file.
113
7becfd03
SM
1142017-01-10 Simon Marchi <simon.marchi@ericsson.com>
115
116 * cli-out.c (cli_ui_out::do_redirect): Change return type to
117 void.
118 * cli-out.h (cli_ui_out::do_redirect): Likewise.
119 * mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
120 * mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
121 * ui-out.c (ui_out::redirect): Likewise.
122 * ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
123 * cli/cli-logging.c (set_logging_redirect): Update call site of
124 ui_out::redirect.
125 (handle_redirections): Likewise.
126 * scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
127 * top.c (execute_command_to_string): Likewise.
128 * utils.c (do_ui_out_redirect_pop): Likewise.
129
df294654
SM
1302017-01-10 Simon Marchi <simon.marchi@ericsson.com>
131
132 * stack.c (_initialize_stack): Update "frame" command help message.
133
f5e6296e
IB
1342017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
135
136 * d-exp.y (CastExpression): Emit UNOP_CAST_TYPE.
137
0e2d6fa6
YQ
1382017-01-06 Yao Qi <yao.qi@linaro.org>
139
140 * x86-linux-nat.h: Include gdb_proc_service.h.
141
44d6d3f9
YQ
1422017-01-06 Yao Qi <yao.qi@linaro.org>
143
144 * ser-base.h: Include serial.h.
145
656731fe
YQ
1462017-01-06 Yao Qi <yao.qi@linaro.org>
147
148 * ppc-linux-tdep.h: Include ppc-tdep.h.
149
1ca8f924
YQ
1502017-01-06 Yao Qi <yao.qi@linaro.org>
151
152 * nat/amd64-linux-siginfo.h: Include signal.h.
153
bc3008c4
YQ
1542017-01-06 Yao Qi <yao.qi@linaro.org>
155
156 * nat/aarch64-linux-hw-point.h: Include break-common.h.
157
66c80d03
YQ
1582017-01-06 Yao Qi <yao.qi@linaro.org>
159
160 * mi/mi-parse.h: Include mi-cmds.h.
161
051d2dda
YQ
1622017-01-06 Yao Qi <yao.qi@linaro.org>
163
164 * inf-loop.c: Don't include "target.h".
165 * inf-loop.h: Include it here.
166
8018d34f
YQ
1672017-01-06 Yao Qi <yao.qi@linaro.org>
168
169 * dfp.h: Include "dboulest.h" and "expression.h".
170
c0b8369c
YQ
1712017-01-06 Yao Qi <yao.qi@linaro.org>
172
173 * ax-gdb.h: Include "ax.h".
174
ad5cba2a
YQ
1752017-01-06 Yao Qi <yao.qi@linaro.org>
176
177 * Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
178 with nat/gdb_ptrace.h.
179
1c33cd7f
YQ
1802017-01-05 Yao Qi <yao.qi@linaro.org>
181
182 * mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
183 new line.
184 (mips64_fbsd_sigframe_init): Likewise.
185
c988ac1d
JB
1862017-01-04 John Baldwin <jhb@FreeBSD.org>
187
188 * mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
189 GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.
190
b268007c
JB
1912017-01-04 John Baldwin <jhb@FreeBSD.org>
192
193 * Makefile.in (ALLDEPFILES): Add mips-fbsd-nat.c.
194 * NEWS: Mention new FreeBSD/mips native configuration.
195 * config/mips/fbsd.mh: New file.
196 * configure.host: Add mips*-*-freebsd*.
197 * mips-fbsd-nat.c: New file.
198
387360da
JB
1992017-01-04 John Baldwin <jhb@FreeBSD.org>
200
201 * Makefile.in (ALL_TARGET_OBS): Add mips-fbsd-tdep.o.
202 (ALLDEPFILES): Add mips-fbsd-tdep.c.
203 * NEWS: Mention new FreeBSD/mips target.
204 * configure.tgt: Add mips*-*-freebsd*.
205 * mips-fbsd-tdep.c: New file.
206 * mips-fbsd-tdep.h: New file.
207
2aaaf250
YQ
2082017-01-04 Yao Qi <yao.qi@linaro.org>
209
210 * dwarf2loc.c (write_pieced_value): Don't use VALUE_FRAME_ID (to),
211 use c->frame_id when the piece location is DWARF_VALUE_REGISTER.
212
61baf725
JB
2132017-01-01 Joel Brobecker <brobecker@adacore.com>
214
215 Update copyright year range in all GDB files.
216
c113e7ff 2172017-01-01 Joel Brobecker <brobecker@adacore.com>
ce0db137 218
c113e7ff 219 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2016.
ce0db137 220
c113e7ff 221For older changes see ChangeLog-2016.
c906108c
SS
222\f
223Local Variables:
224mode: change-log
225left-margin: 8
226fill-column: 74
227version-control: never
57da7796 228coding: utf-8
c906108c 229End:
This page took 2.093964 seconds and 4 git commands to generate.