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