gdb: add remote_debug_printf
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
2189c312
SM
12021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
2
3 * remote.h (remote_debug_printf): New.
4 (remote_debug_printf_nofunc): New.
5 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
6 * remote.c: Use above macros throughout file.
7
02349803
SM
82021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
9
10 * remote.h (remote_debug): Change to bool.
11 * remote.c (remote_debug): Change to bool.
12 (_initialize_remote): Adjust.
13
cda09ec9
SM
142021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
15
16 * target.h (remote_debug): Move to...
17 * remote.h (remote_debug): ... here.
18 * top.c (remote_debug): Move to...
19 * remote.c (remote_debug): ... here.
20 * remote-sim.c: Include remote.h.
21
baf2b57f
SM
222021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
23
24 * cli/cli-cmds.c (show_remote_debug): Remove.
25 (show_remote_timeout): Remove.
26 (_initialize_cli_cmds): Don't register commands.
27 * remote.c (show_remote_debug): Move here.
28 (show_remote_timeout): Move here.
29 (_initialize_remote): Register commands.
30
344e9841
SM
312021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
32
33 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
34 type::objfile method instead.
35
30625020
SM
362021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
37
38 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
39 use the type::is_objfile_owned method.
40
5b7d941b
SM
412021-01-22 Simon Marchi <simon.marchi@efficios.com>
42
43 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
44 (TYPE_OWNER): Remove.
45 (TYPE_OBJFILE): Adjust.
46 (struct main_type) <flag_objfile_owned>: Rename to...
47 <m_flag_objfile_owned>: ... this.
48 <owner>: Rename to...
49 <m_owner>: ... this.
50 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
51 methods.
52 (TYPE_ALLOC): Adjust.
53 * gdbtypes.c (alloc_type): Adjust.
54 (alloc_type_arch): Adjust.
55 (alloc_type_copy): Adjust.
56 (get_type_arch): Adjust.
57 (smash_type): Adjust.
58 (lookup_array_range_type): Adjust.
59 (recursive_dump_type): Adjust.
60 (copy_type_recursive): Adjust.
61 * compile/compile-c-types.c (convert_func): Adjust.
62 (convert_type_basic): Adjust.
63 * compile/compile-cplus-types.c (compile_cplus_convert_func):
64 Adjust.
65 * language.c
66 (language_arch_info::type_and_symbol::alloc_type_symbol):
67 Adjust.
68
d5d24e12
LM
692021-01-21 Luis Machado <luis.machado@linaro.org>
70
71 * coffread.c (enter_linenos): Passing string to complaint.
72 * valops.c (value_assign): Make array view.
73
a59902a7
SM
742021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
75
76 * auto-load.h (debug_auto_load): Move here.
77 (auto_load_debug_printf): New.
78 * auto-load.c: Use auto_load_debug_printf.
79 (debug_auto_load): Move to header.
80 * linux-thread-db.c (try_thread_db_load): Use
81 auto_load_debug_printf.
82 * main.c (captured_main_1): Likewise.
83
d3abc0ce
SM
842021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
85
86 * f-valprint.c (f77_array_offset_tbl): Remove.
87
1e15fcac
SM
882021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
89
90 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
91
439706e6
SM
922021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
93
94 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
95 of gdb_select.
96
325d39e4
HD
972021-01-21 Hannes Domani <ssbssa@yahoo.de>
98
99 PR python/19151
100 * python/py-breakpoint.c (bppy_get_location): Handle
101 bp_hardware_breakpoint.
102 (bppy_init): Likewise.
103 (gdbpy_breakpoint_created): Likewise.
104
7cb6d92a
SM
1052021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
106
107 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
108
d4dd4fca
SM
1092021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
110
111 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
112 (_initialize_gdb_bfd): Adjust.
113
de53369b
SM
1142021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
115
116 PR gdb/26828
117 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
118
17e593e9
SM
1192021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
120
121 * dwarf2/read.c (follow_die_offset): Add logging.
122 (dwarf2_per_objfile::age_comp_units): Add logging.
123
6bd434d6
SM
1242021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
125
126 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
127 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
128 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
129 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
130 * arm-tdep.c (struct frame_unwind): Make static.
131 * auto-load.c (auto_load_safe_path_vec): Make static.
132 * csky-tdep.c (csky_stub_unwind): Make static.
133 * gdbarch.c (gdbarch_data_registry): Make static.
134 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
135 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
136 * i386-tdep.c (i386_frame_setup_skip_insns,
137 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
138 Make static.
139 * infrun.c (observer_mode): Make static.
140 * linux-nat.c (sigchld_action): Make static.
141 * linux-thread-db.c (thread_db_list): Make static.
142 * maint-test-options.c (maintenance_test_options_list):
143 * mep-tdep.c (mep_csr_registers): Make static.
144 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
145 (stats): Make static.
146 * nat/linux-osdata.c (struct osdata_type): Make static.
147 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
148 * progspace.c (last_program_space_num): Make static.
149 * python/py-param.c (struct parm_constant): Remove struct type
150 name.
151 (parm_constants): Make static.
152 * python/py-record-btrace.c (btpy_list_methods): Make static.
153 * python/py-record.c (recpy_gap_type): Make static.
154 * record.c (record_goto_cmdlist): Make static.
155 * regcache.c (regcache_descr_handle): Make static.
156 * registry.h (DEFINE_REGISTRY): Make definition static.
157 * symmisc.c (std_in, std_out, std_err): Make static.
158 * top.c (previous_saved_command_line): Make static.
159 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
160 static.
161 * unittests/command-def-selftests.c (nr_duplicates,
162 nr_invalid_prefixcmd, lists): Make static.
163 * unittests/observable-selftests.c (test_notification): Make
164 static.
165 * unittests/optional/assignment/1.cc (counter): Make static.
166 * unittests/optional/assignment/2.cc (counter): Make static.
167 * unittests/optional/assignment/3.cc (counter): Make static.
168 * unittests/optional/assignment/4.cc (counter): Make static.
169 * unittests/optional/assignment/5.cc (counter): Make static.
170 * unittests/optional/assignment/6.cc (counter): Make static.
171
a6c11cbb
JS
1722021-01-20 Joel Sherrill <joel@rtems.org>
173
174 PR gdb/27219
175 * remote.c (struct remote_thread_info) <resume_state>: Rename
176 to...
177 <get_resume_state>: ... this.
178 (remote_target::resume): Adjust.
179 (remote_target::commit_resume): Adjust.
180 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
181
6f52fdf4
SDJ
1822021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
183 Tom Tromey <tom@tromey.com>
184
185 * stap-probe.c (stap_parse_single_operand): Handle '!'
186 operator.
187 (stap_parse_argument_conditionally): Likewise.
188 Skip spaces after processing open-parenthesis sub-expression.
189 (stap_parse_argument_1): Skip spaces after call to
190 stap_parse_argument_conditionally.
191 Handle case when right-side expression is a parenthesized
192 sub-expression.
193 Skip spaces after call to stap_parse_argument_1.
194
1c3b85ad
LS
1952021-01-19 Lancelot SIX <lsix@lancelotsix.com>
196
197 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
198
a9a87d35
LM
1992021-01-19 Luis Machado <luis.machado@linaro.org>
200
201 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
202 memory and save data.
203 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
204 (trad_frame_set_unknown, trad_frame_set_value_bytes)
205 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
206 (trad_frame_value_bytes_p): Remove.
207 (trad_frame_reset_saved_regs): Adjust documentation.
208 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
209 constructor and reset the state of the registers.
210 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
211 (trad_frame_value_bytes_p, trad_frame_set_value)
212 (trad_frame_set_realreg, trad_frame_set_addr)
213 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
214 (trad_frame_set_reg_realreg): Update to call member function.
215 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
216 (trad_frame_get_prev_register): Likewise.
217
218 * aarch64-tdep.c (aarch64_analyze_prologue)
219 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
220 (aarch64_prologue_prev_register): Update to use member functions.
221 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
222 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
223 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
224 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
225 (arm_make_epilogue_frame_cache): Likewise.
226 * avr-tdep.c (avr_frame_unwind_cache)
227 (avr_frame_prev_register): Likewise.
228 * cris-tdep.c (cris_scan_prologue): Likewise.
229 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
230 * frv-tdep.c (frv_analyze_prologue): Likewise.
231 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
232 * lm32-tdep.c (lm32_frame_cache): Likewise.
233 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
234 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
235 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
236 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
237 (reset_saved_regs): Adjust to set realreg.
238 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
239 call member functions.
240 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
241 * s390-tdep.c (s390_prologue_frame_unwind_cache)
242 (s390_backchain_frame_unwind_cache): Likewise.
243 * score-tdep.c (score7_analyze_prologue)
244 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
245 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
246 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
247 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
248 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
249 * tilegx-tdep.c (tilegx_analyze_prologue)
250 (tilegx_frame_cache): Likewise.
251 * v850-tdep.c (v850_frame_cache): Likewise.
252 * vax-tdep.c (vax_frame_cache): Likewise.
253
bdec2917
LM
2542021-01-19 Luis Machado <luis.machado@linaro.org>
255
256 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
257 of buffer + length.
258 (put_frame_register_bytes): Likewise.
259 Adjust documentation.
260 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
261 (safe_frame_unwind_memory): Likewise.
262 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
263 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
264 gdb::array_view.
265 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
266 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
267 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
268 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
269 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
270 * dwarf2/loc.c (rw_pieced_value): Likewise.
271 * hppa-tdep.c (hppa_frame_cache): Likewise.
272 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
273 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
274 * i386-linux-tdep.c (i386_linux_sigtramp_start)
275 (i386_linux_rt_sigtramp_start): Likewise.
276 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
277 * i386-tdep.c (i386_register_to_value): Likewise.
278 * i387-tdep.c (i387_register_to_value): Likewise.
279 * ia64-tdep.c (ia64_register_to_value): Likewise.
280 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
281 (m32r_linux_rt_sigtramp_start): Likewise.
282 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
283 * m68k-tdep.c (m68k_register_to_value): Likewise.
284 * mips-tdep.c (mips_register_to_value)
285 (mips_value_to_register): Likewise.
286 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
287 (ppcfbsd_sigtramp_frame_cache): Likewise.
288 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
289 (ppcobsd_sigtramp_frame_cache): Likewise.
290 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
291 (rs6000_register_to_value): Likewise.
292 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
293 * tramp-frame.c (tramp_frame_start): Likewise.
294 * valops.c (value_assign): Likewise.
295
ccbe4c82
LM
2962021-01-19 Luis Machado <luis.machado@linaro.org>
297
298 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
299 array_view.
300 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
301 instead of buffer and size.
302 (trad_frame_set_reg_value_bytes): Likewise.
303 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
304 (trad_frame_set_value_bytes): Likewise.
305
0e7620dc
MF
3062021-01-18 Mike Frysinger <vapier@gentoo.org>
307
308 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
309
6a9ad81c
AB
3102021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
311
312 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
313 (riscv_fbsd_gregset): Use riscv_supply_regset.
314 (riscv_fbsd_fpregset): Likewise.
315 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
316 (riscv_linux_fregset): Likewise.
317 * riscv-tdep.c (riscv_supply_regset): Define new function.
318 * riscv-tdep.h (riscv_supply_regset): Declare new function.
319
d3d7d1ba
TV
3202021-01-18 Tom de Vries <tdevries@suse.de>
321
322 PR tdep/27172
323 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
324 New macro.
325 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
326 for SEGV_BNDERR.
327
aa2838cc
SM
3282021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
329
330 * remote.c (class remote_target) <remote_hostio_send_command,
331 remote_hostio_parse_result>: Constify parameter.
332 (remote_hostio_parse_result): Likewise.
333 (remote_target::remote_hostio_send_command): Adjust.
334 (remote_target::remote_hostio_pread_vFile): Adjust.
335 (remote_target::fileio_readlink): Adjust.
336 (remote_target::fileio_fstat): Adjust.
337
b5c8f22d
SM
3382021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
339
340 * remote.c (remote_target::start_remote): Move wait_status to
341 narrower scope.
342
e3b2741b
SM
3432021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
344
345 * remote.c (class remote_target):
346 <add_current_inferior_and_thread>: Constify parameter.
347 (stop_reply_extract_thread): Likewise.
348 (remote_target::get_current_thread): Likewise.
349 (remote_target::add_current_inferior_and_thread): Likewise.
350
cecb1912
SM
3512021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
352
353 * remote.c (class remote_target)
354 <remote_unpack_thread_info_response,
355 parse_threadlist_response>: Constify parameter and/or return
356 value and or local variable.
357 (stub_unpack_int): Likewise.
358 (unpack_nibble): Likewise.
359 (unpack_byte): Likewise.
360 (unpack_int): Likewise.
361 (unpack_string): Likewise.
362 (unpack_threadid): Likewise.
363 (remote_target::remote_unpack_thread_info_response): Likewise.
364 (remote_target::parse_threadlist_response): Likewise.
365
5a11fff0
AB
3662021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
367
368 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
369
17e89137
LS
3702021-01-14 Lancelot Six <lsix@lancelotsix.com>
371
372 * MAINTAINERS (Write After Approval): Add myself.
373
58eadc4b
BE
3742021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
375
376 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
377 because is_trivially_default_constructible was first implemented with
378 gcc-5.
379
5fae2a2c
TV
3802021-01-14 Tom de Vries <tdevries@suse.de>
381
382 PR breakpoints/27151
383 * objfiles.h (in_plt_section): Handle .plt.sec.
384
8f66807b
AB
3852021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
386
387 PR gdb/26819
388 * remote.c
389 (remote_target::select_thread_for_ambiguous_stop_reply): New
390 member function.
391 (remote_target::process_stop_reply): Call
392 select_thread_for_ambiguous_stop_reply.
393
bd497355
SM
3942021-01-13 Simon Marchi <simon.marchi@efficios.com>
395
396 * record-btrace.c (class record_btrace_target): Remove.
397 (record_btrace_target::commit_resume): Remove.
398 * record-full.c (class record_full_target): Remove.
399 (record_full_target::commit_resume): Remove.
400
c9d22089
SM
4012021-01-13 Simon Marchi <simon.marchi@efficios.com>
402
403 * remote.c (enum class resume_state): New.
404 (struct resumed_pending_vcont_info): New.
405 (struct remote_thread_info) <resume_state, set_not_resumed,
406 set_resumed_pending_vcont, resumed_pending_vcont_info,
407 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
408 New.
409 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
410 (remote_target::remote_add_thread): Adjust.
411 (remote_target::process_initial_stop_replies): Adjust.
412 (remote_target::resume): Adjust.
413 (remote_target::commit_resume): Rely on state in
414 remote_thread_info and not on tp->executing.
415 (remote_target::process_stop_reply): Adjust.
416
d8d1feb4
SM
4172021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
418
419 * arc-tdep.h (arc_debug_printf): New.
420 * arc-tdep.c: Use arc_debug_printf.
421 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
422 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
423 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
424
fb0f5031
SM
4252021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
426
427 * arc-tdep.h (arc_debug): Change type to bool.
428 * arc-tdep.c (arc_debug): Change type to bool.
429 (arc_analyze_prologue): Adjust.
430 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
431 * arc-linux-nat.c (ps_get_thread_area): Adjust.
432
5bf7e91b
SM
4332021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
434
435 * auto-load.c (auto_load_objfile_script_1): Use bool.
436 (execute_script_contents): Use bool.
437
db972fce
SM
4382021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
439
440 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
441 comment here.
442 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
443 comment to header.
444 * extension-priv.h (struct extension_language_script_ops)
445 <auto_load_enabled>: Return bool.
446 * extension.h (ext_lang_auto_load_enabled): Return bool, move
447 comment here.
448 * extension.c (ext_lang_auto_load_enabled): Return bool, move
449 comment to header.
450 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
451 move comment here.
452 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
453 move comment to header.
454 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
455 move comment here.
456 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
457 move comment to header.
458
5e12f48f
SM
4592021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
460
461 * auto-load.h (file_is_auto_load_safe): Change return type to
462 bool, move comment here.
463 * auto-load.c (file_is_auto_load_safe): Change return type and
464 advice_printed to bool. Move comment to header.
465
54ca9002
SM
4662021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
467
468 * jit.c (jit_debug_printf): New, use throughout file.
469
24a7f1b5
SM
4702021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
471
472 * infrun.c (normal_stop): Fix indentation.
473
fe7a351a
SM
4742021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
475
476 * top.h (readnow_symbol_files, readnever_symbol_files): Move
477 declarations to ...
478 * symfile.h: ... here.
479 * symfile.c: Update doc.
480
16e9019e
SM
4812021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
482
483 * target.h (baud_rate, serial_parity): Move declarations...
484 * serial.h: ... here.
485 * main.c: Include serial.h.
486 * serial.c (baud_rate, serial_parity): Update doc.
487
b2f2ae0d
SM
4882021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
489
490 * top.c (pre_init_ui_hook): Remove.
491
5291fe3c
SP
4922021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
493
494 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
495 (aarch64_vnv_type): Add "bf" type in h field of v registers.
496 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
497 * features/aarch64-fpu.xml: Add bfloat16 type.
498
ce38f5ed
AB
4992021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
500
501 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
502
7c654b71
AB
5032021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
504
505 * f-exp.y (dot_ops): Rename to...
506 (fortran_operators): ...this. Add a header comment. Add symbol
507 based operators.
508 (yylex): Update to use fortran_operators not dot_ops. Remove
509 special handling for '**', this is now included in
510 fortran_operators.
511
c6185dce
SM
5122021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
513
514 * arch/aarch64-insn.h (aarch64_debug_printf): New.
515 * arch/aarch64-insn.c: Use aarch64_debug_printf.
516 * aarch64-tdep.c: Use aarch64_debug_printf.
517
eef401dc
SM
5182021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
519
520 * solib-aix.c (solib_aix_debug_printf): New, use throughout
521 file.
522
062eaacb
SM
5232021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
524
525 * jit.c (jit_debug): Change type to bool.
526 (_initialize_jit): Adjust.
527
54585eee
TT
5282021-01-09 Tom Tromey <tom@tromey.com>
529
530 PR compile/23672
531 * compile/compile.c (compile_to_object): Avoid crash when
532 osabi_triplet_regexp returns NULL.
533
bc167b6b
TT
5342021-01-09 Tom Tromey <tom@tromey.com>
535
536 * tracepoint.h (class collection_list) <append_exp>: Take a
537 std::string.
538 * tracepoint.c (collection_list::append_exp): Take a std::string.
539 (encode_actions_1): Update.
540
8fc48b79
TT
5412021-01-08 Tom Tromey <tromey@adacore.com>
542
543 * parse.c (parse_expression): Add void_context_p parameter. Use
544 parse_exp_in_context.
545 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
546 parse_expression.
547 (print_command, call_command): Update.
548 * expression.h (parse_expression): Add void_context_p parameter.
549
3c8c6de2
AB
5502021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
551
552 * value.c (set_value_component_location): Adjust the VALUE_LVAL
553 for internalvar components that have a dynamic location.
554
1940319c
TV
5552021-01-08 Tom de Vries <tdevries@suse.de>
556
557 PR gdb/26881
558 * breakpoint.c (create_exception_master_breakpoint_probe)
559 (create_exception_master_breakpoint_hook): Factor out
560 of ...
561 (create_exception_master_breakpoint): ... here. Only try to install
562 the master exception breakpoint in objfile.debug using the
563 _Unwind_DebugHook method, if the install using probes in objfile
564 failed.
565
e3436813
AB
5662021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
567
568 * f-lang.c (fortran_value_subarray): Call value_from_component.
569
e904f56d
MF
5702021-01-07 Mike Frysinger <vapier@gentoo.org>
571
572 * remote-sim.c: Include memory-map.h.
573 (gdbsim_target): Define memory_map override.
574 (gdbsim_target::memory_map): Define.
575
959d6a67
TT
5762021-01-07 Tom Tromey <tromey@adacore.com>
577
578 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
579
d4813f10
TT
5802021-01-07 Tom Tromey <tromey@adacore.com>
581
582 * ada-lang.c (add_component_interval): Start loop using vector's
583 updated size.
584
b49180ac
TT
5852021-01-06 Tom Tromey <tromey@adacore.com>
586
587 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
588 Do not cast result.
589 * valarith.c (fixed_point_binop): Handle multiplication
590 and division specially.
591 * valops.c (value_to_gdb_mpq): New function.
592 (value_cast_to_fixed_point): Use it.
593
55195361
HD
5942021-01-05 Hannes Domani <ssbssa@yahoo.de>
595
596 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
597 Call wnoutrefresh instead of tui_win_info::refresh_window.
598
1b6d4bb2
HD
5992021-01-05 Hannes Domani <ssbssa@yahoo.de>
600
601 * tui/tui-source.c (tui_source_window::show_line_number):
602 Redraw second space after line number.
603
b5ff370e
HD
6042021-01-05 Hannes Domani <ssbssa@yahoo.de>
605
606 PR tui/26927
607 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
608 Fix source pad size in prefresh.
609 (tui_source_window_base::show_source_content): Grow source pad
610 if necessary.
611
c68ea49f
MF
6122021-01-04 Mike Frysinger <vapier@gentoo.org>
613
614 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
615 (bfin_frame_align): Use align_down.
616
e4ad960a
TV
6172021-01-04 Tom de Vries <tdevries@suse.de>
618
619 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
620 terminators that do not terminate anything.
621
3ec3145c
SM
6222021-01-04 Simon Marchi <simon.marchi@efficios.com>
623
624 * debug.c (debug_print_depth): New.
625 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
626 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
627 * infrun.c (start_step_over): Use
628 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
629 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
630 INFRUN_SCOPED_DEBUG_START_END.
631 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
632
e71daf80
SM
6332021-01-04 Simon Marchi <simon.marchi@efficios.com>
634
635 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
636
335709bc
SM
6372021-01-04 Simon Marchi <simon.marchi@efficios.com>
638
639 * utils.c (vfprintf_unfiltered): Print timestamp only when
640 previous debug output ended with a newline.
641
098caef4
LM
6422021-01-04 Luis Machado <luis.machado@linaro.org>
643
644 Update all users of trad_frame_saved_reg to use the new member
645 functions.
646
647 Remote all struct keywords from declarations of trad_frame_saved_reg
648 types, except on forward declarations.
649
650 * aarch64-tdep.c: Update.
651 * alpha-mdebug-tdep.c: Update.
652 * alpha-tdep.c: Update.
653 * arc-tdep.c: Update.
654 * arm-tdep.c: Update.
655 * avr-tdep.c: Update.
656 * cris-tdep.c: Update.
657 * csky-tdep.c: Update.
658 * frv-tdep.c: Update.
659 * hppa-linux-tdep.c: Update.
660 * hppa-tdep.c: Update.
661 * hppa-tdep.h: Update.
662 * lm32-tdep.c: Update.
663 * m32r-linux-tdep.c: Update.
664 * m32r-tdep.c: Update.
665 * m68hc11-tdep.c: Update.
666 * mips-tdep.c: Update.
667 * moxie-tdep.c: Update.
668 * riscv-tdep.c: Update.
669 * rs6000-tdep.c: Update.
670 * s390-linux-tdep.c: Update.
671 * s390-tdep.c: Update.
672 * score-tdep.c: Update.
673 * sparc-netbsd-tdep.c: Update.
674 * sparc-sol2-tdep.c: Update.
675 * sparc64-fbsd-tdep.c: Update.
676 * sparc64-netbsd-tdep.c: Update.
677 * sparc64-obsd-tdep.c: Update.
678 * sparc64-sol2-tdep.c: Update.
679 * tilegx-tdep.c: Update.
680 * v850-tdep.c: Update.
681 * vax-tdep.c: Update.
682
683 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
684 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
685
686 * trad-frame.c: Update.
687 Remove TF_REG_* enum.
688 (trad_frame_alloc_saved_regs): Add a static assertion to check for
689 a trivially-constructible struct.
690 (trad_frame_reset_saved_regs): Adjust to use member function.
691 (trad_frame_value_p): Likewise.
692 (trad_frame_addr_p): Likewise.
693 (trad_frame_realreg_p): Likewise.
694 (trad_frame_value_bytes_p): Likewise.
695 (trad_frame_set_value): Likewise.
696 (trad_frame_set_realreg): Likewise.
697 (trad_frame_set_addr): Likewise.
698 (trad_frame_set_unknown): Likewise.
699 (trad_frame_set_value_bytes): Likewise.
700 (trad_frame_get_prev_register): Likewise.
701 * trad-frame.h: Update.
702 (trad_frame_saved_reg_kind): New enum.
703 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
704 <m_kind, m_reg>: New member fields.
705 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
706 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
707 <is_addr, is_unknown, is_value_bytes>: New member functions.
708
9898e882
SM
7092021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
710
711 * target-float.c: Fix typos.
712
b66b4e65
HD
7132021-01-02 Hannes Domani <ssbssa@yahoo.de>
714
715 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
716
b5b5650a
JB
7172021-01-01 Joel Brobecker <brobecker@adacore.com>
718
719 * gdbarch.sh: Update copyright year range.
720
3666a048
JB
7212021-01-01 Joel Brobecker <brobecker@adacore.com>
722
723 Update copyright year range in copyright header of all GDB files.
724
ff7e39b6
JB
7252021-01-01 Joel Brobecker <brobecker@adacore.com>
726
727 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
728 to the list of directories to update.
729
2b47c078
JB
7302021-01-01 Joel Brobecker <brobecker@adacore.com>
731
732 * top.c (print_gdb_version): Update copyright year.
733
476923f1 7342021-01-01 Joel Brobecker <brobecker@adacore.com>
c8f02daa 735
476923f1 736 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
c8f02daa 737
476923f1 738For older changes see ChangeLog-2020.
c906108c
SS
739\f
740Local Variables:
741mode: change-log
742left-margin: 8
743fill-column: 74
744version-control: never
57da7796 745coding: utf-8
c906108c 746End:
This page took 3.700494 seconds and 4 git commands to generate.