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