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