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