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