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