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