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