gdb/tui: compare pointer to nullptr, not 0
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
4
5 2021-01-14 Lancelot Six <lsix@lancelotsix.com>
6
7 * MAINTAINERS (Write After Approval): Add myself.
8
9 2021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
10
11 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
12 because is_trivially_default_constructible was first implemented with
13 gcc-5.
14
15 2021-01-14 Tom de Vries <tdevries@suse.de>
16
17 PR breakpoints/27151
18 * objfiles.h (in_plt_section): Handle .plt.sec.
19
20 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
21
22 PR gdb/26819
23 * remote.c
24 (remote_target::select_thread_for_ambiguous_stop_reply): New
25 member function.
26 (remote_target::process_stop_reply): Call
27 select_thread_for_ambiguous_stop_reply.
28
29 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
30
31 * record-btrace.c (class record_btrace_target): Remove.
32 (record_btrace_target::commit_resume): Remove.
33 * record-full.c (class record_full_target): Remove.
34 (record_full_target::commit_resume): Remove.
35
36 2021-01-13 Simon Marchi <simon.marchi@efficios.com>
37
38 * remote.c (enum class resume_state): New.
39 (struct resumed_pending_vcont_info): New.
40 (struct remote_thread_info) <resume_state, set_not_resumed,
41 set_resumed_pending_vcont, resumed_pending_vcont_info,
42 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
43 New.
44 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
45 (remote_target::remote_add_thread): Adjust.
46 (remote_target::process_initial_stop_replies): Adjust.
47 (remote_target::resume): Adjust.
48 (remote_target::commit_resume): Rely on state in
49 remote_thread_info and not on tp->executing.
50 (remote_target::process_stop_reply): Adjust.
51
52 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
53
54 * arc-tdep.h (arc_debug_printf): New.
55 * arc-tdep.c: Use arc_debug_printf.
56 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
57 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
58 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
59
60 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
61
62 * arc-tdep.h (arc_debug): Change type to bool.
63 * arc-tdep.c (arc_debug): Change type to bool.
64 (arc_analyze_prologue): Adjust.
65 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
66 * arc-linux-nat.c (ps_get_thread_area): Adjust.
67
68 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
69
70 * auto-load.c (auto_load_objfile_script_1): Use bool.
71 (execute_script_contents): Use bool.
72
73 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
74
75 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
76 comment here.
77 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
78 comment to header.
79 * extension-priv.h (struct extension_language_script_ops)
80 <auto_load_enabled>: Return bool.
81 * extension.h (ext_lang_auto_load_enabled): Return bool, move
82 comment here.
83 * extension.c (ext_lang_auto_load_enabled): Return bool, move
84 comment to header.
85 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
86 move comment here.
87 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
88 move comment to header.
89 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
90 move comment here.
91 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
92 move comment to header.
93
94 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
95
96 * auto-load.h (file_is_auto_load_safe): Change return type to
97 bool, move comment here.
98 * auto-load.c (file_is_auto_load_safe): Change return type and
99 advice_printed to bool. Move comment to header.
100
101 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
102
103 * jit.c (jit_debug_printf): New, use throughout file.
104
105 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
106
107 * infrun.c (normal_stop): Fix indentation.
108
109 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
110
111 * top.h (readnow_symbol_files, readnever_symbol_files): Move
112 declarations to ...
113 * symfile.h: ... here.
114 * symfile.c: Update doc.
115
116 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
117
118 * target.h (baud_rate, serial_parity): Move declarations...
119 * serial.h: ... here.
120 * main.c: Include serial.h.
121 * serial.c (baud_rate, serial_parity): Update doc.
122
123 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
124
125 * top.c (pre_init_ui_hook): Remove.
126
127 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
128
129 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
130 (aarch64_vnv_type): Add "bf" type in h field of v registers.
131 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
132 * features/aarch64-fpu.xml: Add bfloat16 type.
133
134 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
135
136 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
137
138 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
139
140 * f-exp.y (dot_ops): Rename to...
141 (fortran_operators): ...this. Add a header comment. Add symbol
142 based operators.
143 (yylex): Update to use fortran_operators not dot_ops. Remove
144 special handling for '**', this is now included in
145 fortran_operators.
146
147 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
148
149 * arch/aarch64-insn.h (aarch64_debug_printf): New.
150 * arch/aarch64-insn.c: Use aarch64_debug_printf.
151 * aarch64-tdep.c: Use aarch64_debug_printf.
152
153 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
154
155 * solib-aix.c (solib_aix_debug_printf): New, use throughout
156 file.
157
158 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
159
160 * jit.c (jit_debug): Change type to bool.
161 (_initialize_jit): Adjust.
162
163 2021-01-09 Tom Tromey <tom@tromey.com>
164
165 PR compile/23672
166 * compile/compile.c (compile_to_object): Avoid crash when
167 osabi_triplet_regexp returns NULL.
168
169 2021-01-09 Tom Tromey <tom@tromey.com>
170
171 * tracepoint.h (class collection_list) <append_exp>: Take a
172 std::string.
173 * tracepoint.c (collection_list::append_exp): Take a std::string.
174 (encode_actions_1): Update.
175
176 2021-01-08 Tom Tromey <tromey@adacore.com>
177
178 * parse.c (parse_expression): Add void_context_p parameter. Use
179 parse_exp_in_context.
180 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
181 parse_expression.
182 (print_command, call_command): Update.
183 * expression.h (parse_expression): Add void_context_p parameter.
184
185 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
186
187 * value.c (set_value_component_location): Adjust the VALUE_LVAL
188 for internalvar components that have a dynamic location.
189
190 2021-01-08 Tom de Vries <tdevries@suse.de>
191
192 PR gdb/26881
193 * breakpoint.c (create_exception_master_breakpoint_probe)
194 (create_exception_master_breakpoint_hook): Factor out
195 of ...
196 (create_exception_master_breakpoint): ... here. Only try to install
197 the master exception breakpoint in objfile.debug using the
198 _Unwind_DebugHook method, if the install using probes in objfile
199 failed.
200
201 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
202
203 * f-lang.c (fortran_value_subarray): Call value_from_component.
204
205 2021-01-07 Mike Frysinger <vapier@gentoo.org>
206
207 * remote-sim.c: Include memory-map.h.
208 (gdbsim_target): Define memory_map override.
209 (gdbsim_target::memory_map): Define.
210
211 2021-01-07 Tom Tromey <tromey@adacore.com>
212
213 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
214
215 2021-01-07 Tom Tromey <tromey@adacore.com>
216
217 * ada-lang.c (add_component_interval): Start loop using vector's
218 updated size.
219
220 2021-01-06 Tom Tromey <tromey@adacore.com>
221
222 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
223 Do not cast result.
224 * valarith.c (fixed_point_binop): Handle multiplication
225 and division specially.
226 * valops.c (value_to_gdb_mpq): New function.
227 (value_cast_to_fixed_point): Use it.
228
229 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
230
231 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
232 Call wnoutrefresh instead of tui_win_info::refresh_window.
233
234 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
235
236 * tui/tui-source.c (tui_source_window::show_line_number):
237 Redraw second space after line number.
238
239 2021-01-05 Hannes Domani <ssbssa@yahoo.de>
240
241 PR tui/26927
242 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
243 Fix source pad size in prefresh.
244 (tui_source_window_base::show_source_content): Grow source pad
245 if necessary.
246
247 2021-01-04 Mike Frysinger <vapier@gentoo.org>
248
249 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
250 (bfin_frame_align): Use align_down.
251
252 2021-01-04 Tom de Vries <tdevries@suse.de>
253
254 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
255 terminators that do not terminate anything.
256
257 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
258
259 * debug.c (debug_print_depth): New.
260 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
261 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
262 * infrun.c (start_step_over): Use
263 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
264 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
265 INFRUN_SCOPED_DEBUG_START_END.
266 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
267
268 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
269
270 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
271
272 2021-01-04 Simon Marchi <simon.marchi@efficios.com>
273
274 * utils.c (vfprintf_unfiltered): Print timestamp only when
275 previous debug output ended with a newline.
276
277 2021-01-04 Luis Machado <luis.machado@linaro.org>
278
279 Update all users of trad_frame_saved_reg to use the new member
280 functions.
281
282 Remote all struct keywords from declarations of trad_frame_saved_reg
283 types, except on forward declarations.
284
285 * aarch64-tdep.c: Update.
286 * alpha-mdebug-tdep.c: Update.
287 * alpha-tdep.c: Update.
288 * arc-tdep.c: Update.
289 * arm-tdep.c: Update.
290 * avr-tdep.c: Update.
291 * cris-tdep.c: Update.
292 * csky-tdep.c: Update.
293 * frv-tdep.c: Update.
294 * hppa-linux-tdep.c: Update.
295 * hppa-tdep.c: Update.
296 * hppa-tdep.h: Update.
297 * lm32-tdep.c: Update.
298 * m32r-linux-tdep.c: Update.
299 * m32r-tdep.c: Update.
300 * m68hc11-tdep.c: Update.
301 * mips-tdep.c: Update.
302 * moxie-tdep.c: Update.
303 * riscv-tdep.c: Update.
304 * rs6000-tdep.c: Update.
305 * s390-linux-tdep.c: Update.
306 * s390-tdep.c: Update.
307 * score-tdep.c: Update.
308 * sparc-netbsd-tdep.c: Update.
309 * sparc-sol2-tdep.c: Update.
310 * sparc64-fbsd-tdep.c: Update.
311 * sparc64-netbsd-tdep.c: Update.
312 * sparc64-obsd-tdep.c: Update.
313 * sparc64-sol2-tdep.c: Update.
314 * tilegx-tdep.c: Update.
315 * v850-tdep.c: Update.
316 * vax-tdep.c: Update.
317
318 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
319 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
320
321 * trad-frame.c: Update.
322 Remove TF_REG_* enum.
323 (trad_frame_alloc_saved_regs): Add a static assertion to check for
324 a trivially-constructible struct.
325 (trad_frame_reset_saved_regs): Adjust to use member function.
326 (trad_frame_value_p): Likewise.
327 (trad_frame_addr_p): Likewise.
328 (trad_frame_realreg_p): Likewise.
329 (trad_frame_value_bytes_p): Likewise.
330 (trad_frame_set_value): Likewise.
331 (trad_frame_set_realreg): Likewise.
332 (trad_frame_set_addr): Likewise.
333 (trad_frame_set_unknown): Likewise.
334 (trad_frame_set_value_bytes): Likewise.
335 (trad_frame_get_prev_register): Likewise.
336 * trad-frame.h: Update.
337 (trad_frame_saved_reg_kind): New enum.
338 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
339 <m_kind, m_reg>: New member fields.
340 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
341 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
342 <is_addr, is_unknown, is_value_bytes>: New member functions.
343
344 2021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
345
346 * target-float.c: Fix typos.
347
348 2021-01-02 Hannes Domani <ssbssa@yahoo.de>
349
350 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
351
352 2021-01-01 Joel Brobecker <brobecker@adacore.com>
353
354 * gdbarch.sh: Update copyright year range.
355
356 2021-01-01 Joel Brobecker <brobecker@adacore.com>
357
358 Update copyright year range in copyright header of all GDB files.
359
360 2021-01-01 Joel Brobecker <brobecker@adacore.com>
361
362 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
363 to the list of directories to update.
364
365 2021-01-01 Joel Brobecker <brobecker@adacore.com>
366
367 * top.c (print_gdb_version): Update copyright year.
368
369 2021-01-01 Joel Brobecker <brobecker@adacore.com>
370
371 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
372
373 For older changes see ChangeLog-2020.
374 \f
375 Local Variables:
376 mode: change-log
377 left-margin: 8
378 fill-column: 74
379 version-control: never
380 coding: utf-8
381 End:
This page took 0.037696 seconds and 4 git commands to generate.