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