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