]>
Commit | Line | Data |
---|---|---|
1 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2 | ||
3 | * ada-lang.c (ada_binop_minmax): New function. | |
4 | (ada_evaluate_subexp): Use it. | |
5 | ||
6 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
7 | ||
8 | * ada-lang.c (ada_unop_atr): New function. | |
9 | (ada_evaluate_subexp): Use it. | |
10 | ||
11 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
12 | ||
13 | * ada-lang.c (ada_binop_in_bounds): New function. | |
14 | (ada_evaluate_subexp): Use it. | |
15 | ||
16 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
17 | ||
18 | * ada-lang.c (ada_ternop_slice): New function. | |
19 | (ada_evaluate_subexp): Use it. | |
20 | ||
21 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
22 | ||
23 | * ada-lang.c (ada_equal_binop): New function. | |
24 | (ada_evaluate_subexp): Use it. | |
25 | ||
26 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
27 | ||
28 | * ada-lang.c (ada_mult_binop): New function. | |
29 | (ada_evaluate_subexp): Use it. | |
30 | ||
31 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
32 | ||
33 | * ada-lang.c (ada_abs): New function. | |
34 | (ada_evaluate_subexp): Use it. | |
35 | ||
36 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
37 | ||
38 | * ada-lang.c (ada_atr_size): New function. | |
39 | (ada_evaluate_subexp): Use it. | |
40 | ||
41 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
42 | ||
43 | * ada-lang.c (ada_atr_tag): New function. | |
44 | (ada_evaluate_subexp): Use it. | |
45 | ||
46 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
47 | ||
48 | * ada-lang.c (ada_unop_in_range): New function. | |
49 | (ada_evaluate_subexp): Use it. | |
50 | ||
51 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
52 | ||
53 | * ada-lang.c (ada_unop_neg): New function. | |
54 | (ada_evaluate_subexp): Use it. | |
55 | ||
56 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
57 | ||
58 | * ada-lang.c (eval_ternop_in_range): New function. | |
59 | (ada_evaluate_subexp): Use it. | |
60 | ||
61 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
62 | ||
63 | * opencl-lang.c (eval_opencl_assign): New function. | |
64 | (evaluate_subexp_opencl): Use it. | |
65 | ||
66 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
67 | ||
68 | * eval.c (eval_op_objc_msgcall): New function. | |
69 | (evaluate_subexp_standard): Use it. | |
70 | ||
71 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
72 | ||
73 | * eval.c (eval_binop_assign_modify): New function. | |
74 | (evaluate_subexp_standard): Use it. | |
75 | ||
76 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
77 | ||
78 | * m2-lang.c (eval_op_m2_subscript): New function. | |
79 | (evaluate_subexp_modula2): Use it. | |
80 | ||
81 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
82 | ||
83 | * m2-lang.c (eval_op_m2_high): New function. | |
84 | (evaluate_subexp_modula2): Use it. | |
85 | ||
86 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
87 | ||
88 | * eval.c (evaluate_subexp_for_address_base): New function. | |
89 | (evaluate_subexp_for_address): Use it. | |
90 | (evaluate_subexp_for_sizeof_base): New function. | |
91 | (evaluate_subexp_for_sizeof): Use it. | |
92 | ||
93 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
94 | ||
95 | * rust-lang.c (eval_op_rust_structop): New function. | |
96 | (rust_evaluate_subexp): Use it. | |
97 | ||
98 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
99 | ||
100 | * rust-lang.c (eval_op_rust_struct_anon): New function. | |
101 | (rust_evaluate_subexp): Use it. | |
102 | ||
103 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
104 | ||
105 | * rust-lang.c (eval_op_rust_array): New function. | |
106 | (rust_evaluate_subexp): Use it. | |
107 | ||
108 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
109 | ||
110 | * rust-lang.c (eval_op_rust_complement): New function. | |
111 | (rust_evaluate_subexp): Use it. | |
112 | ||
113 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
114 | ||
115 | * rust-lang.c (eval_op_rust_ind): New function. | |
116 | (rust_evaluate_subexp): Use it. | |
117 | ||
118 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
119 | ||
120 | * rust-lang.c (rust_subscript): Change parameters. | |
121 | (rust_evaluate_subexp): Update. | |
122 | ||
123 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
124 | ||
125 | * rust-lang.c (rust_range): Change parameters. | |
126 | (rust_evaluate_subexp): Update. | |
127 | ||
128 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
129 | ||
130 | * f-lang.c (eval_op_f_allocated): New function. | |
131 | (evaluate_subexp_f): Use it. | |
132 | ||
133 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
134 | ||
135 | * f-lang.c (fortran_require_array): New function. | |
136 | (evaluate_subexp_f): Use it. | |
137 | ||
138 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
139 | ||
140 | * f-lang.c (eval_op_f_kind): New function. | |
141 | (evaluate_subexp_f): Use it. | |
142 | ||
143 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
144 | ||
145 | * f-lang.c (eval_op_f_cmplx): New function. | |
146 | (evaluate_subexp_f): Use it. | |
147 | ||
148 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
149 | ||
150 | * f-lang.c (eval_op_f_modulo): New function. | |
151 | (evaluate_subexp_f): Use it. | |
152 | ||
153 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
154 | ||
155 | * f-lang.c (eval_op_f_floor): New function. | |
156 | (evaluate_subexp_f): Use it. | |
157 | ||
158 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
159 | ||
160 | * f-lang.c (eval_op_f_ceil): New function. | |
161 | (evaluate_subexp_f): Use it. | |
162 | ||
163 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
164 | ||
165 | * f-lang.c (eval_op_f_mod): New function. | |
166 | (evaluate_subexp_f): Use it. | |
167 | ||
168 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
169 | ||
170 | * f-lang.c (eval_op_f_abs): New function. | |
171 | (evaluate_subexp_f): Use it. | |
172 | ||
173 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
174 | ||
175 | * eval.c (eval_op_type): New function. | |
176 | (evaluate_subexp_standard): Use it. | |
177 | ||
178 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
179 | ||
180 | * eval.c (eval_op_postdec): New function. | |
181 | (evaluate_subexp_standard): Use it. | |
182 | ||
183 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
184 | ||
185 | * eval.c (eval_op_postinc): New function. | |
186 | (evaluate_subexp_standard): Use it. | |
187 | ||
188 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
189 | ||
190 | * eval.c (eval_op_predec): New file. | |
191 | (evaluate_subexp_standard): Use it. | |
192 | ||
193 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
194 | ||
195 | * eval.c (eval_op_preinc): New function. | |
196 | (evaluate_subexp_standard): Use it. | |
197 | ||
198 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
199 | ||
200 | * eval.c (eval_op_memval): New function. | |
201 | (evaluate_subexp_standard): Use it. | |
202 | ||
203 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
204 | ||
205 | * eval.c (eval_op_alignof): New function. | |
206 | (evaluate_subexp_standard): Use it. | |
207 | ||
208 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
209 | ||
210 | * eval.c (eval_op_ind): New function. | |
211 | (evaluate_subexp_standard): Use it. | |
212 | ||
213 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
214 | ||
215 | * eval.c (eval_op_lognot): New function. | |
216 | (evaluate_subexp_standard): Use it. | |
217 | ||
218 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
219 | ||
220 | * eval.c (eval_op_complement): New function. | |
221 | (evaluate_subexp_standard): Use it. | |
222 | ||
223 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
224 | ||
225 | * eval.c (eval_op_neg): New function. | |
226 | (evaluate_subexp_standard): Use it. | |
227 | ||
228 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
229 | ||
230 | * eval.c (eval_op_plus): New function. | |
231 | (evaluate_subexp_standard): Use it. | |
232 | ||
233 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
234 | ||
235 | * eval.c (eval_op_repeat): New function. | |
236 | (evaluate_subexp_standard): Use it. | |
237 | ||
238 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
239 | ||
240 | * eval.c (eval_op_leq): New function. | |
241 | (evaluate_subexp_standard): Use it. | |
242 | ||
243 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
244 | ||
245 | * eval.c (eval_op_geq): New function. | |
246 | (evaluate_subexp_standard): Use it. | |
247 | ||
248 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
249 | ||
250 | * eval.c (eval_op_gtr): New function. | |
251 | (evaluate_subexp_standard): Use it. | |
252 | ||
253 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
254 | ||
255 | * eval.c (eval_op_less): New function. | |
256 | (evaluate_subexp_standard): Use it. | |
257 | ||
258 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
259 | ||
260 | * eval.c (eval_op_notequal): New function. | |
261 | (evaluate_subexp_standard): Use it. | |
262 | ||
263 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
264 | ||
265 | * eval.c (eval_op_equal): New function. | |
266 | (evaluate_subexp_standard): Use it. | |
267 | ||
268 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
269 | ||
270 | * eval.c (eval_op_subscript): New function. | |
271 | (evaluate_subexp_standard): Use it. | |
272 | ||
273 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
274 | ||
275 | * eval.c (eval_op_binary): New function. | |
276 | (evaluate_subexp_standard): Use it. | |
277 | ||
278 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
279 | ||
280 | * eval.c (eval_op_sub): New function. | |
281 | (evaluate_subexp_standard): Use it. | |
282 | ||
283 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
284 | ||
285 | * eval.c (eval_op_add): New function. | |
286 | (evaluate_subexp_standard): Use it. | |
287 | ||
288 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
289 | ||
290 | * eval.c (eval_op_member): New function. | |
291 | (evaluate_subexp_standard): Use it. | |
292 | ||
293 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
294 | ||
295 | * eval.c (eval_op_structop_ptr): New function. | |
296 | (evaluate_subexp_standard): Use it. | |
297 | ||
298 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
299 | ||
300 | * eval.c (eval_op_structop_struct): New function. | |
301 | (evaluate_subexp_standard): Use it. | |
302 | ||
303 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
304 | ||
305 | * eval.c (eval_op_ternop): New function. | |
306 | (evaluate_subexp_standard): Use it. | |
307 | ||
308 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
309 | ||
310 | * eval.c (eval_op_concat): New function. | |
311 | (evaluate_subexp_standard): Use it. | |
312 | ||
313 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
314 | ||
315 | * eval.c (eval_op_objc_selector): New function. | |
316 | (evaluate_subexp_standard): Use it. | |
317 | ||
318 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
319 | ||
320 | * eval.c (eval_op_string): New function. | |
321 | (evaluate_subexp_standard): Use it. | |
322 | ||
323 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
324 | ||
325 | * eval.c (eval_op_register): New function. | |
326 | (evaluate_subexp_standard): Use it. | |
327 | ||
328 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
329 | ||
330 | * eval.c (eval_op_func_static_var): New function. | |
331 | (evaluate_subexp_standard): Use it. | |
332 | ||
333 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
334 | ||
335 | * eval.c (eval_op_var_msym_value): New function. | |
336 | (evaluate_subexp_standard): Use it. | |
337 | ||
338 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
339 | ||
340 | * eval.c (eval_op_var_entry_value): New function. | |
341 | (evaluate_subexp_standard): Use it. | |
342 | ||
343 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
344 | ||
345 | * eval.c (eval_op_scope): New function. | |
346 | (evaluate_subexp_standard): Use it. | |
347 | ||
348 | 2021-03-06 Chernov Sergey <klen_s@mail.ru> | |
349 | ||
350 | PR gdb/27528: | |
351 | * ada-lang.c (ada_fold_name): Use gdb::to_string. | |
352 | ||
353 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
354 | ||
355 | * dwarf2/sect-names.h (dwarf2_elf_names): Declare. | |
356 | * dwarf2/read.h (dwarf2_get_dwz_file): Move to dwz.h. | |
357 | * dwarf2/read.c (dwarf2_elf_names): No longer static. | |
358 | (locate_dwz_sections, dwz_search_other_debugdirs) | |
359 | (dwarf2_get_dwz_file): Move to dwz.c. | |
360 | * dwarf2/dwz.h (dwarf2_get_dwz_file): Move declaration from | |
361 | read.h. | |
362 | * dwarf2/dwz.c (locate_dwz_sections, dwz_search_other_debugdirs) | |
363 | (dwarf2_get_dwz_file): Move from read.c. | |
364 | ||
365 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
366 | ||
367 | * debuginfod-support.h: Include scoped_fd.h. | |
368 | ||
369 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
370 | ||
371 | * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter. | |
372 | * dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter. | |
373 | (get_abbrev_section_for_cu, read_attribute_value) | |
374 | (get_debug_line_section): Update. | |
375 | * dwarf2/macro.c (dwarf_decode_macro_bytes): Update. | |
376 | ||
377 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
378 | ||
379 | * dwarf2/sect-names.h (struct dwarf2_section_names) <matches>: New | |
380 | method. | |
381 | * dwarf2/read.c (section_is_p): Remove. | |
382 | (dwarf2_per_bfd::locate_sections) | |
383 | (dwarf2_per_bfd::locate_sections, locate_dwz_sections) | |
384 | (locate_v1_virtual_dwo_sections, dwarf2_locate_dwo_sections) | |
385 | (dwarf2_locate_common_dwp_sections) | |
386 | (dwarf2_locate_v2_dwp_sections, dwarf2_locate_v5_dwp_sections): | |
387 | Update. | |
388 | ||
389 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
390 | ||
391 | * xcoffread.c: Include sect-names.h. | |
392 | * symfile.h (struct dwarf2_section_names, struct | |
393 | dwarf2_debug_sections): Move to dwarf2/sect-names.h. | |
394 | * dwarf2/sect-names.h: New file, from symfile.h. | |
395 | * dwarf2/read.c: Include sect-names.h. | |
396 | ||
397 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
398 | ||
399 | * dwarf2/read.c (read_attribute): Make 'abbrev' const. | |
400 | * dwarf2/abbrev.c (abbrev_table::alloc_abbrev): Remove. | |
401 | (abbrev_table::read): Update. | |
402 | * dwarf2/abbrev.h (struct attr_abbrev): Move earlier. | |
403 | (struct abbrev_info): Reformat. | |
404 | <attrs>: Now an array. | |
405 | (struct abbrev_table) <alloc_abbrev>: Remove. | |
406 | ||
407 | 2021-03-06 Weimin Pan <weimin.pan@oracle.com> | |
408 | ||
409 | * ctfread.c (ctf_psymtab_add_enums): New function. | |
410 | (ctf_psymtab_type_cb): call ctf_psymtab_add_enums. | |
411 | ||
412 | 2021-03-06 Weimin Pan <weimin.pan@oracle.com> | |
413 | ||
414 | * ctfread.c (read_func_kind_type): Set up function arguments. | |
415 | ||
416 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> | |
417 | Andrew Burgess <andrew.burgess@embecosm.com> | |
418 | ||
419 | * riscv-none-tdep.c: Add 'user-regs.h' and 'target-description.h' | |
420 | includes. | |
421 | (riscv_csrset): New static global. | |
422 | (riscv_update_csrmap): New function. | |
423 | (riscv_iterate_over_regset_sections): Process CSRs. | |
424 | ||
425 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> | |
426 | ||
427 | * riscv-tdep.c (riscv_feature_name_csr): Define. | |
428 | (riscv_feature_name_cpu): Define. | |
429 | (riscv_feature_name_fpu): Define. | |
430 | (riscv_feature_name_virtual): Define. | |
431 | (riscv_xreg_feature): Use riscv_feature_name_cpu. | |
432 | (riscv_freg_feature): Use riscv_feature_name_fpu. | |
433 | (riscv_virtual_feature): Use riscv_feature_name_virtual. | |
434 | (riscv_csr_feature): Use riscv_feature_name_csr. | |
435 | * riscv-tdep.h (riscv_feature_name_csr): Declare. | |
436 | ||
437 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> | |
438 | Craig Blackmore <craig.blackmore@embecosm.com> | |
439 | ||
440 | * Makefile.in (ALL_TARGET_OBS): Add riscv-none-tdep.o. | |
441 | (ALLDEPFILES): Add riscv-none-tdep.c. | |
442 | * configure: Regenerate. | |
443 | * configure.ac (CONFIG_OBS): Add elf-none-tdep.o when BFD has ELF | |
444 | support. | |
445 | * configure.tgt (riscv*-*-*): Include riscv-none-tdep.c. | |
446 | * elf-none-tdep.c: New file. | |
447 | * elf-none-tdep.h: New file. | |
448 | * riscv-none-tdep.c: New file. | |
449 | ||
450 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> | |
451 | Andrew Burgess <andrew.burgess@embecosm.com> | |
452 | ||
453 | * corelow.c: Add 'xml-tdesc.h' include. | |
454 | (core_target::read_description): Load the target description from | |
455 | the core file when possible. | |
456 | * fbsd-tdep.c (fbsd_make_corefile_notes): Add target description | |
457 | note. | |
458 | * gcore-elf.c: Add 'gdbsupport/tdesc.h' include. | |
459 | (gcore_elf_make_tdesc_note): New function. | |
460 | * gcore-elf.h (gcore_elf_make_tdesc_note): Declare. | |
461 | * linux-tdep.c (linux_make_corefile_notes): Add target description | |
462 | note. | |
463 | ||
464 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> | |
465 | ||
466 | * Makefile.in (SFILES): Add gcore-elf.c. | |
467 | (HFILES_NO_SRCDIR): Add gcore-elf.h | |
468 | * configure: Regenerate. | |
469 | * configure.ac: Add gcore-elf.o to CONFIG_OBS if we have ELF | |
470 | support. | |
471 | * fbsd-tdep.c: Add 'gcore-elf.h' include. | |
472 | (struct fbsd_collect_regset_section_cb_data): Delete. | |
473 | (fbsd_collect_regset_section_cb): Delete. | |
474 | (fbsd_collect_thread_registers): Delete. | |
475 | (struct fbsd_corefile_thread_data): Delete. | |
476 | (fbsd_corefile_thread): Delete. | |
477 | (fbsd_make_corefile_notes): Call | |
478 | gcore_elf_build_thread_register_notes instead of the now deleted | |
479 | FreeBSD code. | |
480 | * gcore-elf.c: New file, the content was moved here from | |
481 | linux-tdep.c, functions were renamed and given minor cleanup. | |
482 | * gcore-elf.h: New file. | |
483 | * gcore.c (gcore_find_signalled_thread): Moved here from | |
484 | linux-tdep.c and given a new name. Minor cleanups. | |
485 | * gcore.h (gcore_find_signalled_thread): Declare. | |
486 | * linux-tdep.c: Add 'gcore.h' and 'gcore-elf.h' includes. | |
487 | (struct linux_collect_regset_section_cb_data): Delete. | |
488 | (linux_collect_regset_section_cb): Delete. | |
489 | (linux_collect_thread_registers): Delete. | |
490 | (linux_corefile_thread): Call | |
491 | gcore_elf_build_thread_register_notes. | |
492 | (find_signalled_thread): Delete. | |
493 | (linux_make_corefile_notes): Call gcore_find_signalled_thread. | |
494 | ||
495 | 2021-03-04 Simon Marchi <simon.marchi@polymtl.ca> | |
496 | ||
497 | PR gdb/27147 | |
498 | * sparc-nat.h (sparc_fetch_inferior_registers): Add | |
499 | process_stratum_target parameter, | |
500 | sparc_store_inferior_registers): update callers. | |
501 | * sparc-nat.c (sparc_fetch_inferior_registers, | |
502 | sparc_store_inferior_registers): Add process_stratum_target | |
503 | parameter. Switch current thread before calling | |
504 | sparc_supply_gregset / sparc_collect_rwindow. | |
505 | (sparc_store_inferior_registers): Likewise. | |
506 | * sparc-obsd-tdep.c (sparc32obsd_supply_uthread): Add assertion. | |
507 | (sparc32obsd_collect_uthread): Likewise. | |
508 | * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): | |
509 | Add assertion. | |
510 | * sparc64-obsd-tdep.c (sparc64obsd_collect_uthread, | |
511 | sparc64obsd_supply_uthread): Add assertion. | |
512 | ||
513 | 2021-03-04 Tom Tromey <tromey@adacore.com> | |
514 | ||
515 | * ada-lang.c (struct match_data) <found_sym>: Now bool. | |
516 | (aux_add_nonlocal_symbols): Update. | |
517 | (ada_add_block_symbols): Change "found_sym" to bool. | |
518 | ||
519 | 2021-03-03 Tom Tromey <tromey@adacore.com> | |
520 | ||
521 | * ada-lang.c (ada_resolve_function): Update comment. | |
522 | (is_nonfunction, add_symbols_from_enclosing_procs) | |
523 | (remove_extra_symbols): Likewise. | |
524 | (struct match_data): Add constructor, initializers. | |
525 | (add_nonlocal_symbols): Remove memset. | |
526 | (aux_add_nonlocal_symbols): Update comment. | |
527 | (ada_add_block_renamings, add_nonlocal_symbols) | |
528 | (ada_add_all_symbols): Likewise. | |
529 | * ada-exp.y (write_var_or_type): Clean up trailing whitespace. | |
530 | ||
531 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
532 | ||
533 | * ada-lang.c (cast_from_gnat_encoded_fixed_point_type) | |
534 | (cast_to_gnat_encoded_fixed_point_type): Remove. | |
535 | (ada_value_cast, ada_evaluate_subexp): Update. | |
536 | (gnat_encoded_fixed_point_type_info) | |
537 | (ada_is_gnat_encoded_fixed_point_type) | |
538 | (gnat_encoded_fixed_point_delta) | |
539 | (gnat_encoded_fixed_point_scaling_factor): Remove. | |
540 | * ada-lang.h (ada_is_gnat_encoded_fixed_point_type) | |
541 | (gnat_encoded_fixed_point_delta) | |
542 | (gnat_encoded_fixed_point_scaling_factor): Don't declare. | |
543 | * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Remove. | |
544 | (ada_print_type): Update. | |
545 | * ada-valprint.c (ada_value_print_num): Update. | |
546 | * dwarf2/read.c (ada_get_gnat_encoded_number) | |
547 | (ada_get_gnat_encoded_ratio): New functions. | |
548 | (finish_fixed_point_type): Use them. Add parameters. | |
549 | (GNAT_FIXED_POINT_SUFFIX): New define. | |
550 | (gnat_encoded_fixed_point_type_info): New function. | |
551 | (read_base_type): Handle gnat encodings. | |
552 | ||
553 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
554 | ||
555 | * ada-lang.c (ada_fold_name, ada_variant_discrim_name) | |
556 | (ada_enum_name, scan_discrim_bound, to_fixed_range_type): Use | |
557 | std::string. | |
558 | (GROW_VECT): Remove. | |
559 | (grow_vect): Remove. | |
560 | ||
561 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
562 | ||
563 | * ada-lang.h (ada_lookup_symbol_list): Return a vector. | |
564 | * ada-lang.c (resolve_subexp): Update. | |
565 | (ada_resolve_function): Accept a vector. | |
566 | (is_nonfunction, add_defn_to_vec) | |
567 | (add_symbols_from_enclosing_procs): Likewise. | |
568 | (num_defns_collected, defns_collected): Remove. | |
569 | (remove_extra_symbols): Return a vector. | |
570 | (remove_irrelevant_renamings): Return void. | |
571 | (ada_add_local_symbols): Accept a vector. | |
572 | (struct match_data) <obstackp>: Remove. | |
573 | <resultp>: New member. | |
574 | (aux_add_nonlocal_symbols): Update. | |
575 | (ada_add_block_renamings, add_nonlocal_symbols) | |
576 | (ada_add_all_symbols): Accept a vector. | |
577 | (ada_lookup_symbol_list_worker, ada_lookup_symbol_list): Return a | |
578 | vector. | |
579 | (ada_lookup_symbol): Update. | |
580 | (ada_add_block_symbols): Accept a vector. | |
581 | (get_var_value, iterate_over_symbols): Update. | |
582 | * ada-exp.y (block_lookup, write_var_or_type, write_name_assoc): | |
583 | Update. | |
584 | ||
585 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
586 | ||
587 | * ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom. | |
588 | ||
589 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
590 | ||
591 | * ada-lang.c (struct ada_symbol_cache) <cache_space>: Now an | |
592 | auto_obstack. | |
593 | <root>: Initialize. | |
594 | (ada_pspace_data): Remove destructor. | |
595 | <sym_cache>: Now a unique_ptr. | |
596 | (ada_init_symbol_cache, ada_free_symbol_cache): Remove. | |
597 | (ada_get_symbol_cache): Use 'new'. | |
598 | (ada_clear_symbol_cache): Rewrite. | |
599 | ||
600 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
601 | ||
602 | * ada-lang.c (add_nonlocal_symbols): Handle case where objfile->sf | |
603 | is null. | |
604 | ||
605 | 2021-02-27 Lancelot Six <lsix@lancelotsix.com> | |
606 | ||
607 | PR gdb/27393 | |
608 | * source.c (add_path): Skip empty dirnames. | |
609 | ||
610 | 2021-02-25 Kevin Buettner <kevinb@redhat.com> | |
611 | ||
612 | * nat/aarch64-sve-linux-ptrace.h: Add comment regarding | |
613 | include order for <sys/ptrace.h> and <asm/ptrace.h>. | |
614 | ||
615 | 2021-02-25 Simon Marchi <simon.marchi@polymtl.ca> | |
616 | ||
617 | PR gdb/26861 | |
618 | * target.c (target_mourn_inferior): Only compare pids in | |
619 | target_mourn_inferior. | |
620 | ||
621 | 2021-02-25 Jan Matyas <jmatyas@codasip.com> | |
622 | ||
623 | PR gdb/26819 | |
624 | * remote.c (remote_target::start_remote): Ensure the single | |
625 | thread, automatically added for remote targets without the | |
626 | concept of threading, is initially in set to the "resumed" | |
627 | state. | |
628 | * remote.c (remote_target::add_current_inferior_and_thread): | |
629 | Add return value - return the main thread. | |
630 | ||
631 | 2021-02-25 Jan Vrany <jan.vrany@labware.com> | |
632 | ||
633 | * gdb/mi/mi-interp.c (mi_traceframe_changed): Remove trailing \n from output. | |
634 | (mi_tsv_created): Likewise. | |
635 | (mi_tsv_deleted): Likewise. | |
636 | ||
637 | 2021-02-25 Tom de Vries <tdevries@suse.de> | |
638 | ||
639 | PR symtab/27354 | |
640 | * dwarf2/read.c (open_and_init_dwo_file): Use rcuh_kind::COMPILE as | |
641 | section_kind for &dwo_file->sections.info. | |
642 | ||
643 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> | |
644 | ||
645 | PR fortran/26155 | |
646 | * f-lang.c (fortran_argument_convert): Delete declaration. | |
647 | (fortran_prepare_argument): New function. | |
648 | (evaluate_subexp_f): Move logic to new function | |
649 | fortran_prepare_argument. | |
650 | ||
651 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> | |
652 | ||
653 | * f-exp.y (f77_keywords): Add 'associated'. | |
654 | * f-lang.c (fortran_associated): New function. | |
655 | (evaluate_subexp_f): Handle FORTRAN_ASSOCIATED. | |
656 | (operator_length_f): Likewise. | |
657 | (print_unop_or_binop_subexp_f): New function. | |
658 | (print_subexp_f): Make use of print_unop_or_binop_subexp_f for | |
659 | FORTRAN_ASSOCIATED, FORTRAN_LBOUND, and FORTRAN_UBOUND. | |
660 | (dump_subexp_body_f): Handle FORTRAN_ASSOCIATED. | |
661 | (operator_check_f): Likewise. | |
662 | * std-operator.def: Add FORTRAN_ASSOCIATED. | |
663 | ||
664 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> | |
665 | ||
666 | * f-exp.y (fortran_operators): Add ".xor.". | |
667 | ||
668 | 2021-02-24 Tom de Vries <tdevries@suse.de> | |
669 | ||
670 | PR symtab/27336 | |
671 | * dwarf2/attribute.c (attribute::form_is_signed): New function | |
672 | factored out of ... | |
673 | * dwarf2/attribute.h (attribute::as_signed): ... here. | |
674 | (attribute::is_nonnegative, attribute::as_nonnegative): New function. | |
675 | (attribute::form_is_signed): Declare. | |
676 | * dwarf2/read.c (new_symbol): Use is_nonnegative and as_nonnegative | |
677 | for DW_AT_decl_file. | |
678 | ||
679 | 2021-02-24 Kevin Buettner <kevinb@redhat.com> | |
680 | ||
681 | * nat/aarch64-linux-hw-point.c: Add comment regarding include | |
682 | order for <sys/ptrace.h> and <asm/ptrace.h>. | |
683 | ||
684 | 2021-02-24 Kevin Buettner <kevinb@redhat.com> | |
685 | ||
686 | * nat/aarch64-linux-hw-point.c: Include <asm/ptrace.h> after | |
687 | <sys/ptrace.h>. | |
688 | ||
689 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
690 | ||
691 | * exec.c (set_section_command): Move variable declarations into | |
692 | the function body, and use std::string instead of a fixed size | |
693 | buffer. | |
694 | ||
695 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
696 | ||
697 | * exec.c (exec_target::get_section_table): Delete member function. | |
698 | (section_table_read_available_memory): Use current_top_target, not | |
699 | just the exec_ops target. | |
700 | * target-delegates.c: Regenerate. | |
701 | * target.c (default_get_section_table): New function. | |
702 | * target.h (target_ops::get_section_table): Change default | |
703 | behaviour to call default_get_section_table. | |
704 | (default_get_section_table): Declare. | |
705 | ||
706 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
707 | ||
708 | * exec.c (exec_target::close): Call new clear_target_sections | |
709 | function. | |
710 | (program_space::add_target_sections): Update name of member | |
711 | variable. | |
712 | (program_space::add_target_sections): Update name of member | |
713 | variable. | |
714 | (program_space::remove_target_sections): Likewise. | |
715 | (exec_one_fork): Use new target_sections member function. | |
716 | (exec_target::get_section_table): Likewise. | |
717 | (exec_target::files_info): Likewise. | |
718 | (set_section_command): Likewise. | |
719 | (exec_set_section_address): Likewise. | |
720 | (exec_target::has_memory): Use new target_sections member | |
721 | function. | |
722 | * progspace.h (program_space::clear_target_sections): New member | |
723 | function. | |
724 | (program_space::target_sections): Rename member variable to | |
725 | m_target_sections, replace with a new member function. | |
726 | (program_space::m_target_sections): New member variable. | |
727 | * solib-dsbt.c (scan_dyntag): Use new member function. | |
728 | * solib-svr4.c (scan_dyntag): Likewise. | |
729 | ||
730 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
731 | ||
732 | * gdb/bfd-target.c (class target_bfd) <get_section_table>: Make | |
733 | return type const. | |
734 | * gdb/exec.c (struct exec_target) <get_section_table>: Likewise. | |
735 | (section_table_read_available_memory): Make local const. | |
736 | (exec_target::xfer_partial): Make local const. | |
737 | (print_section_info): Make parameter const. | |
738 | * gdb/exec.h (print_section_info): Likewise. | |
739 | * gdb/ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Make local | |
740 | const. | |
741 | * gdb/record-btrace.c (record_btrace_target::xfer_partial): | |
742 | Likewise. | |
743 | * gdb/remote.c (remote_target::remote_xfer_live_readonly_partial): | |
744 | Likewise. | |
745 | * gdb/s390-tdep.c (s390_load): Likewise. | |
746 | * gdb/solib-dsbt.c (scan_dyntag): Likewise. | |
747 | * gdb/solib-svr4.c (scan_dyntag): Likewise. | |
748 | * gdb/target-debug.h (target_debug_print_target_section_table_p): | |
749 | Rename to... | |
750 | (target_debug_print_const_target_section_table_p): ...this. | |
751 | * gdb/target-delegates.c: Regenerate. | |
752 | * gdb/target.c (target_get_section_table): Make return type const. | |
753 | (target_section_by_addr): Likewise. Also make some locals const. | |
754 | (memory_xfer_partial_1): Make some locals const. | |
755 | * gdb/target.h (struct target_ops) <get_section_table>: Make | |
756 | return type const. | |
757 | (target_section_by_addr): Likewise. | |
758 | (target_get_section_table): Likewise. | |
759 | ||
760 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
761 | ||
762 | * NEWS: Mention new 'maint info target-sections' command. | |
763 | * maint.c (maintenance_info_target_sections): New function. | |
764 | (_initialize_maint_cmds): Register new command. | |
765 | ||
766 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
767 | ||
768 | * riscv-tdep.c (riscv_features_from_gdbarch_info): Rename to... | |
769 | (riscv_features_from_bfd): ...this. Change parameter type to | |
770 | 'bfd*', and update as required. | |
771 | (riscv_find_default_target_description): Update call to | |
772 | riscv_features_from_bfd. Select a default xlen based on | |
773 | info.bfd_arch_info. | |
774 | (riscv_gdbarch_init): Update call to riscv_features_from_bfd. | |
775 | ||
776 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
777 | ||
778 | * eval.c (evaluate_subexp_standard): Call value_ind for points to | |
779 | dynamic types in UNOP_IND. | |
780 | ||
781 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> | |
782 | ||
783 | PR gdb/26828 | |
784 | * dwarf2/read.c (dwarf2_queue_guard) <dwarf2_queue_guard>: | |
785 | Instantiate queue. | |
786 | (~dwarf2_queue_guard): Clear queue. | |
787 | (queue_comp_unit): Assert that queue is | |
788 | instantiated. | |
789 | (process_queue): Adjust. | |
790 | * dwarf2/read.h (struct dwarf2_per_bfd) <queue>: Make optional. | |
791 | ||
792 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> | |
793 | ||
794 | PR gdb/26828 | |
795 | * dwarf2/read.c (maybe_queue_comp_unit): Check if CU is expanded | |
796 | to decide whether or not to enqueue it for expansion. | |
797 | (follow_die_offset, follow_die_sig_1): Ensure we load the DIEs | |
798 | after calling maybe_queue_comp_unit. | |
799 | ||
800 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> | |
801 | ||
802 | * linux-nat.c (linux_nat_filter_event): Return void. | |
803 | ||
804 | 2021-02-22 Tom Tromey <tromey@adacore.com> | |
805 | ||
806 | * solib-svr4.c (enable_break): Update. | |
807 | * bfd-target.c (class target_bfd) <target_bfd>: Change parameter | |
808 | type. | |
809 | (target_bfd_reopen): Change parameter type. | |
810 | * bfd-target.h (target_bfd_reopen): Change parameter type. | |
811 | ||
812 | 2021-02-22 Simon Marchi <simon.marchi@polymtl.ca> | |
813 | ||
814 | * thread.c (add_thread_silent): Add assert. | |
815 | (find_thread_ptid): Add assert. | |
816 | ||
817 | 2021-02-22 Simon Marchi <simon.marchi@polymtl.ca> | |
818 | ||
819 | PR gdb/27435 | |
820 | * inf-ptrace.c (struct target_unpusher): Move to target.h. | |
821 | (target_unpush_up): Likewise. | |
822 | * procfs.c (procfs_target::attach): Push target early. Use | |
823 | target_unpush_up to unpush target in case of error. | |
824 | * target.h (struct target_unpusher): Move here. | |
825 | (target_unpush_up): Likewise. | |
826 | ||
827 | 2021-02-19 Kevin Buettner <kevinb@redhat.com> | |
828 | ||
829 | * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h" | |
830 | (which in turn includes <gnulib/config.h>) before include | |
831 | of <signal.h>. | |
832 | ||
833 | 2021-02-19 Nelson Chu <nelson.chu@sifive.com> | |
834 | ||
835 | PR 27158 | |
836 | * riscv-tdep.c (decode_ci_type_insn): Updated encoding macros. | |
837 | (decode_j_type_insn): Likewise. | |
838 | (decode_cj_type_insn): Likewise. | |
839 | (decode_b_type_insn): Likewise. | |
840 | (decode): Likewise. | |
841 | ||
842 | 2021-02-18 Tom Tromey <tom@tromey.com> | |
843 | ||
844 | * expression.h (struct expression) <evaluate>: Declare method. | |
845 | * eval.c (evaluate_subexp): Simplify. | |
846 | (expression::evaluate): New method. | |
847 | (evaluate_expression, evaluate_type): Use expression::evaluate. | |
848 | ||
849 | 2021-02-17 Kevin Buettner <kevinb@redhat.com> | |
850 | ||
851 | * ada-lang.c (ada_fold_name): Check for non-empty string prior | |
852 | to accessing it. | |
853 | (ada_lookup_name_info): Likewise. | |
854 | ||
855 | 2021-02-13 Mike Frysinger <vapier@gentoo.org> | |
856 | ||
857 | * aclocal.m4: Regenerate. | |
858 | ||
859 | 2021-02-12 Tom de Vries <tdevries@suse.de> | |
860 | ||
861 | PR threads/26228 | |
862 | * linux-nat.c (lin_thread_get_thread_signals): Remove. | |
863 | (lin_thread_signals): New static var. | |
864 | (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal): | |
865 | New function. | |
866 | * linux-nat.h (lin_thread_get_thread_signals): Remove. | |
867 | (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal): | |
868 | Declare. | |
869 | * linux-thread-db.c (check_thread_signals): Use | |
870 | lin_thread_get_thread_signal_num and lin_thread_get_thread_signal. | |
871 | ||
872 | 2021-02-12 Andrew Burgess <andrew.burgess@embecosm.com> | |
873 | ||
874 | * f-exp.y (f77_keywords): Add allocated. | |
875 | * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED. | |
876 | (operator_length_f): Likewise. | |
877 | (print_subexp_f): Likewise. | |
878 | (dump_subexp_body_f): Likewise. | |
879 | (operator_check_f): Likewise. | |
880 | * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator. | |
881 | ||
882 | 2021-02-11 Tom de Vries <tdevries@suse.de> | |
883 | ||
884 | PR symtab/27353 | |
885 | * dwarf2/attribute.c (attribute::form_requires_reprocessing): | |
886 | Return true for DW_FORM_strx. | |
887 | ||
888 | 2021-02-11 Tom Tromey <tromey@adacore.com> | |
889 | ||
890 | PR gdb/27383: | |
891 | * parse.c (write_exp_symbol_reference): Write sym.block. | |
892 | ||
893 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> | |
894 | ||
895 | * NEWS: Mention changes to 'maint info sections'. | |
896 | * maint.c (match_substring): Return a bool, fix whitespace issue. | |
897 | (struct single_bfd_flag_info): New struct. | |
898 | (bfd_flag_info): New static global. | |
899 | (match_bfd_flags): Return a bool, use bfd_flag_info. | |
900 | (print_bfd_flags): Use bfd_flag_info. | |
901 | (maint_print_section_info): Delete trailing whitespace. | |
902 | (struct maint_info_sections_opts): New struct. | |
903 | (maint_info_sections_option_defs): New static global. | |
904 | (maint_info_sections_completer): New function. | |
905 | (maintenance_info_sections): Use option parsing mechanism. | |
906 | (_initialize_maint_cmds): Update command help text for 'maint info | |
907 | sections' and register a command completer. | |
908 | ||
909 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> | |
910 | ||
911 | * maint.c (print_bfd_section_info_maybe_relocated): Delete, | |
912 | functionality merged into... | |
913 | (maint_print_all_sections): ...this new function. | |
914 | (maintenance_info_sections): Make use of maint_print_all_sections, | |
915 | allow all objects to be printed even where there's no executable. | |
916 | ||
917 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> | |
918 | ||
919 | * breakpoint.c (resolve_sal_pc): Make use of | |
920 | bound_minimal_symbol::obj_section. | |
921 | * maint.c (maintenance_translate_address): Likewise. | |
922 | * minsyms.c (minimal_symbol_upper_bound): Likewise. | |
923 | * minsyms.h (struct bound_minimal_symbol) <obj_section>: New | |
924 | member function. | |
925 | * printcmd.c (info_address_command): Make use of | |
926 | bound_minimal_symbol::obj_section. | |
927 | ||
928 | 2021-02-11 Alan Modra <amodra@gmail.com> | |
929 | ||
930 | * arm-symbian-tdep.c: Delete. | |
931 | * NEWS: Mention arm-symbian removal. | |
932 | * Makefile.in: Remove arm-symbian-tdep entries. | |
933 | * configure.tgt: Remove arm*-*-symbianelf*. | |
934 | * doc/gdb.texinfo: Remove mention of SymbianOS. | |
935 | * osabi.c (gdb_osabi_names): Remove "Symbian". | |
936 | * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN. | |
937 | * testsuite/gdb.base/ending-run.exp: Remove E32Main handling. | |
938 | * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf* | |
939 | handling. | |
940 | * testsuite/gdb.base/dup-sect.exp: Likewise. | |
941 | * testsuite/gdb.base/long_long.exp: Likewise. | |
942 | * testsuite/gdb.base/solib-weak.exp: Likewise. | |
943 | * testsuite/gdb.guile/scm-section-script.exp: Likewise. | |
944 | * testsuite/gdb.python/py-section-script.exp: Likewise. | |
945 | * testsuite/lib/dwarf.exp: Likewise. | |
946 | * testsuite/lib/gdb.exp: Likewise. | |
947 | ||
948 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> | |
949 | ||
950 | * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token. | |
951 | (exp): New pattern using UNOP_OR_BINOP_INTRINSIC. | |
952 | (one_or_two_args): New pattern. | |
953 | (f77_keywords): Add lbound and ubound. | |
954 | * f-lang.c (fortran_bounds_all_dims): New function. | |
955 | (fortran_bounds_for_dimension): New function. | |
956 | (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND. | |
957 | (operator_length_f): Likewise. | |
958 | (print_subexp_f): Likewise. | |
959 | (dump_subexp_body_f): Likewise. | |
960 | (operator_check_f): Likewise. | |
961 | * std-operator.def (FORTRAN_LBOUND): Define. | |
962 | (FORTRAN_UBOUND): Define. | |
963 | ||
964 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> | |
965 | ||
966 | * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index | |
967 | and set_section_index member functions where appropriate. | |
968 | * coffread.c (coff_symtab_read): Likewise. | |
969 | (process_coff_symbol): Likewise. | |
970 | * ctfread.c (set_symbol_address): Likewise. | |
971 | * dwarf2/read.c (add_partial_symbol): Likewise. | |
972 | (var_decode_location): Likewise. | |
973 | * language.c: Likewise. | |
974 | * minsyms.c (minimal_symbol_reader::record_full): Likewise. | |
975 | (compact_minimal_symbols): Likewise. | |
976 | (minimal_symbol_upper_bound): Likewise. | |
977 | * objfiles.c (relocate_one_symbol): Likewise. | |
978 | * psympriv.h (partial_symbol::obj_section): Likewise. | |
979 | (partial_symbol::address): Likewise. | |
980 | * psymtab.c (partial_symtab::add_psymbol): Likewise. | |
981 | * stabsread.c (scan_file_globals): Likewise. | |
982 | * symmisc.c (dump_msymbols): Likewise. | |
983 | * symtab.c (general_symbol_info::obj_section): Likewise. | |
984 | (fixup_section): Likewise. | |
985 | (get_msymbol_address): Likewise. | |
986 | * symtab.h (general_symbol_info::section): Rename to... | |
987 | (general_symbol_info::m_section): ...this. | |
988 | (general_symbol_info::set_section_index): New member function. | |
989 | (general_symbol_info::section_index): Likewise. | |
990 | (SYMBOL_SECTION): Delete. | |
991 | (MSYMBOL_VALUE_ADDRESS): Make use of section_index and | |
992 | set_section_index member functions where appropriate. | |
993 | (MSYMBOL_SECTION): Delete. | |
994 | (symbol::symbol): Update to initialize 'm_section'. | |
995 | * xcoffread.c (read_xcoff_symtab): Make use of set_section_index. | |
996 | (process_xcoff_symbol): Likewise. | |
997 | ||
998 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> | |
999 | ||
1000 | * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and | |
1001 | MSYMBOL_OBJ_SECTION. | |
1002 | * findvar.c (language_defn::read_var_value): Likewise. | |
1003 | * infcmd.c (jump_command): Likewise. | |
1004 | * linespec.c (minsym_found): Likewise. | |
1005 | * maint.c (maintenance_translate_address): Likewise. | |
1006 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise. | |
1007 | (minimal_symbol_upper_bound): Likewise. | |
1008 | * parse.c (find_minsym_type_and_address): Likewise. | |
1009 | (operator_check_standard): Likewise. | |
1010 | * printcmd.c (info_address_command): Likewise. | |
1011 | * symmisc.c (dump_msymbols): Likewise. | |
1012 | (print_symbol): Likewise. | |
1013 | * symtab.c (general_symbol_info::obj_section): Define new | |
1014 | function. | |
1015 | (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION. | |
1016 | (find_pc_sect_compunit_symtab): Likewise. | |
1017 | (find_function_start_sal): Likewise. | |
1018 | (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and | |
1019 | MSYMBOL_OBJ_SECTION. | |
1020 | * symtab.h (struct general_symbol_info) <obj_section>: Declare new | |
1021 | function. | |
1022 | (SYMBOL_OBJ_SECTION): Delete. | |
1023 | (MSYMBOL_OBJ_SECTION): Delete. | |
1024 | ||
1025 | 2021-02-09 Tom Tromey <tom@tromey.com> | |
1026 | ||
1027 | * stap-probe.c (stap_parse_argument_conditionally): Fix typo. | |
1028 | ||
1029 | 2021-02-09 Tom de Vries <tdevries@suse.de> | |
1030 | ||
1031 | PR symtab/27341 | |
1032 | * dwarf2/read.c (read_array_type): Return NULL when not being able to | |
1033 | construct an array type. Add assert to ensure that element_type is | |
1034 | not being modified. | |
1035 | ||
1036 | 2021-02-09 Andrew Burgess <andrew.burgess@embecosm.com> | |
1037 | ||
1038 | * gcore.c (struct gcore_collect_regset_section_cb_data): Delete. | |
1039 | (gcore_collect_regset_section_cb): Delete. | |
1040 | (gcore_collect_thread_registers): Delete. | |
1041 | (gcore_build_thread_register_notes): Delete. | |
1042 | (gcore_find_signalled_thread): Delete. | |
1043 | * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete | |
1044 | 'gdbarch' and 'thread_info' declarations. | |
1045 | (gcore_build_thread_register_notes): Delete declaration. | |
1046 | (gcore_find_signalled_thread): Likewise. | |
1047 | * fbsd-tdep.c: Remove 'gcore.h' include. | |
1048 | (struct fbsd_collect_regset_section_cb_data): New struct. | |
1049 | (fbsd_collect_regset_section_cb): New function. | |
1050 | (fbsd_collect_thread_registers): New function. | |
1051 | (struct fbsd_corefile_thread_data): New struct. | |
1052 | (fbsd_corefile_thread): New function. | |
1053 | (fbsd_make_corefile_notes): Call FreeBSD specific code. | |
1054 | * linux-tdep.c: Remove 'gcore.h' include. | |
1055 | (struct linux_collect_regset_section_cb_data): New struct. | |
1056 | (linux_collect_regset_section_cb): New function. | |
1057 | (linux_collect_thread_registers): New function. | |
1058 | (linux_corefile_thread): Call Linux specific code. | |
1059 | (find_signalled_thread): New function. | |
1060 | (linux_make_corefile_notes): Call find_signalled_thread. | |
1061 | ||
1062 | 2021-02-09 Tom Tromey <tromey@adacore.com> | |
1063 | ||
1064 | * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy | |
1065 | not_lval value. | |
1066 | * value.c (value_contents_copy_raw): Now static. | |
1067 | * value.h (value_contents_copy_raw): Don't declare. | |
1068 | ||
1069 | 2021-02-09 Tom Tromey <tromey@adacore.com> | |
1070 | ||
1071 | * gdbtypes.c (resolve_dynamic_struct): Handle structure with no | |
1072 | fields. | |
1073 | ||
1074 | 2021-02-08 Shahab Vahedi <shahab@synopsys.com> | |
1075 | ||
1076 | PR tdep/27369 | |
1077 | * arc-linux-tdep.c (handle_atomic_sequence): New. | |
1078 | (arc_linux_software_single_step): Call handle_atomic_sequence(). | |
1079 | ||
1080 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
1081 | ||
1082 | * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member | |
1083 | function. | |
1084 | (REQUIRE_WINDOW): Call is_valid member function. | |
1085 | (REQUIRE_WINDOW_FOR_SETTER): New define. | |
1086 | (gdbpy_tui_is_valid): Call is_valid member function. | |
1087 | (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead. | |
1088 | * tui/tui-data.h (struct tui_win_info) <is_visible>: Check | |
1089 | tui_active too. | |
1090 | * tui/tui-layout.c (tui_apply_current_layout): Add an assert. | |
1091 | * tui/tui.c (tui_enable): Move setting of tui_active earlier in | |
1092 | the function. | |
1093 | ||
1094 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
1095 | ||
1096 | * python/py-tui.c (gdbpy_tui_set_title): Check that the new value | |
1097 | for the title is not nullptr. | |
1098 | ||
1099 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
1100 | ||
1101 | * tui-layout.c (saved_tui_windows): Delete. | |
1102 | (tui_apply_current_layout): Don't make use of saved_tui_windows, | |
1103 | call new get_windows member function instead. | |
1104 | (tui_get_window_by_name): Check in tui_windows. | |
1105 | (tui_layout_window::apply): Don't add to tui_windows. | |
1106 | * tui-layout.h (tui_layout_base::get_windows): New member function. | |
1107 | (tui_layout_window::get_windows): Likewise. | |
1108 | (tui_layout_split::get_windows): Likewise. | |
1109 | ||
1110 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
1111 | ||
1112 | * tui/tui-layout.c (tui_apply_current_layout): Restore the delete | |
1113 | of the window objects. | |
1114 | ||
1115 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
1116 | ||
1117 | * python/python.c (gdbpy_print_stack): Reformat an error message. | |
1118 | ||
1119 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
1120 | ||
1121 | * tui/tui-interp.c (tui_command_line_handler): New function. | |
1122 | (tui_interp::resume): Register tui_command_line_handler as the | |
1123 | input_handler. | |
1124 | * tui/tui-io.c (tui_inject_newline_into_command_window): New | |
1125 | function. | |
1126 | (tui_getc_1): Delete handling of '\n' and '\r'. | |
1127 | * tui-io.h (tui_inject_newline_into_command_window): Declare. | |
1128 | ||
1129 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> | |
1130 | ||
1131 | * tui/tui-regs.c (tui_data_window::display_registers_from): | |
1132 | Mark invisible register sub windows. | |
1133 | (tui_data_window::check_register_values): Ignore invisible | |
1134 | register sub windows. | |
1135 | ||
1136 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> | |
1137 | ||
1138 | * tui/tui-regs.c (tui_data_item_window::rerender): Don't call | |
1139 | n_spaces with a negative value. | |
1140 | ||
1141 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> | |
1142 | ||
1143 | * tui/tui-regs.c (tui_data_window::display_registers_from): | |
1144 | Add refresh_window call. | |
1145 | ||
1146 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> | |
1147 | ||
1148 | * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next. | |
1149 | ||
1150 | 2021-02-05 Simon Marchi <simon.marchi@polymtl.ca> | |
1151 | ||
1152 | * symmisc.c (std_in, std_out, std_err): Remove. | |
1153 | (_initialize_symmisc): Don't set std_in, std_out and std_err. | |
1154 | ||
1155 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
1156 | ||
1157 | PR breakpoints/27330 | |
1158 | * breakpoint.c (create_exception_master_breakpoint): Handle case that | |
1159 | glibc object file has debug info. | |
1160 | ||
1161 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
1162 | ||
1163 | PR symtab/27333 | |
1164 | * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit. | |
1165 | ||
1166 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
1167 | ||
1168 | PR breakpoints/27313 | |
1169 | * break-catch-syscall.c (catch_syscall_split_args): Reject negative | |
1170 | syscall numbers. | |
1171 | ||
1172 | 2021-02-05 Tom Tromey <tom@tromey.com> | |
1173 | ||
1174 | * compile/compile-c-support.c (get_compile_context) | |
1175 | (c_get_compile_context, cplus_get_compile_context): Change return | |
1176 | type. | |
1177 | * language.c (language_defn::get_compile_instance): New method. | |
1178 | * language.h (language_defn::get_compile_instance): Change return | |
1179 | type. No longer inline. | |
1180 | * c-lang.c (c_language::get_compile_instance): Change return type. | |
1181 | (cplus_language::get_compile_instance): Change return type. | |
1182 | * c-lang.h (c_get_compile_context, cplus_get_compile_context): | |
1183 | Change return type. | |
1184 | * compile/compile.c (compile_to_object): Update. | |
1185 | ||
1186 | 2021-02-05 Tom Tromey <tom@tromey.com> | |
1187 | ||
1188 | * parser-defs.h (write_exp_symbol_reference): Declare. | |
1189 | * parse.c (write_exp_symbol_reference): New function. | |
1190 | * p-exp.y (variable): Use write_exp_symbol_reference. | |
1191 | * m2-exp.y (variable): Use write_exp_symbol_reference. | |
1192 | * f-exp.y (variable): Use write_exp_symbol_reference. | |
1193 | * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference. | |
1194 | * c-exp.y (variable): Use write_exp_symbol_reference. | |
1195 | ||
1196 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
1197 | ||
1198 | PR exp/27265 | |
1199 | * valarith.c (complex_binop): Throw an error if complex type can't | |
1200 | be created. | |
1201 | ||
1202 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
1203 | ||
1204 | PR symtab/27307 | |
1205 | * dwarf2/read.c (create_cus_from_debug_names_list): Add missing | |
1206 | return. | |
1207 | ||
1208 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
1209 | ||
1210 | * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation. | |
1211 | ||
1212 | 2021-02-04 Mike Frysinger <vapier@gentoo.org> | |
1213 | ||
1214 | * configure.tgt (riscv*-*-*): Set gdb_sim. | |
1215 | ||
1216 | 2021-02-04 Simon Marchi <simon.marchi@polymtl.ca> | |
1217 | ||
1218 | * target.c (target_is_non_stop_p): Return bool. | |
1219 | * target.h (target_is_non_stop_p): Return bool. | |
1220 | ||
1221 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> | |
1222 | ||
1223 | * record-full.c (record_full_async_inferior_event_handler): | |
1224 | Don't clear async event handler. | |
1225 | (record_full_base_target::wait): Clear async event handler at | |
1226 | beginning. | |
1227 | ||
1228 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> | |
1229 | ||
1230 | * record-btrace.c (record_btrace_handle_async_inferior_event): | |
1231 | Don't clear async event handler. | |
1232 | (record_btrace_target::wait): Clear async event handler at | |
1233 | beginning. | |
1234 | ||
1235 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> | |
1236 | ||
1237 | * remote.c (remote_target::wait): Clear async event handler at | |
1238 | beginning, mark if needed at the end. | |
1239 | (remote_async_inferior_event_handler): Don't set or clear async | |
1240 | event handler. | |
1241 | ||
1242 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> | |
1243 | ||
1244 | * async-event.h (async_event_handler_func): Add documentation. | |
1245 | * async-event.c (check_async_event_handlers): Don't clear | |
1246 | async_event_handler ready flag. | |
1247 | * infrun.c (infrun_async_inferior_event_handler): Clear ready | |
1248 | flag. | |
1249 | * record-btrace.c (record_btrace_handle_async_inferior_event): | |
1250 | Likewise. | |
1251 | * record-full.c (record_full_async_inferior_event_handler): | |
1252 | Likewise. | |
1253 | * remote-notif.c (remote_async_get_pending_events_handler): | |
1254 | Likewise. | |
1255 | * remote.c (remote_async_inferior_event_handler): Likewise. | |
1256 | ||
1257 | 2021-02-03 Simon Marchi <simon.marchi@polymtl.ca> | |
1258 | ||
1259 | * infrun.c (handle_inferior_event): Move stop_soon variable to | |
1260 | inner scope. | |
1261 | ||
1262 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
1263 | ||
1264 | * infcmd.c (detach_command): Hold strong reference to target, and | |
1265 | if all-stop on entry, restart threads on exit. | |
1266 | * infrun.c (switch_back_to_stepped_thread): Factor out bits to ... | |
1267 | (restart_stepped_thread): ... this new function. Also handle | |
1268 | trap_expected. | |
1269 | (restart_after_all_stop_detach): New function. | |
1270 | * infrun.h (restart_after_all_stop_detach): Declare. | |
1271 | ||
1272 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
1273 | ||
1274 | * infrun.c (struct step_over_info): Initialize fields. | |
1275 | (prepare_for_detach): Handle ongoing in-line step over. | |
1276 | ||
1277 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
1278 | ||
1279 | * linux-nat.c (linux_nat_target::detach): Remove breakpoints | |
1280 | here... | |
1281 | * remote.c (remote_target::remote_detach_1): ... and here ... | |
1282 | * target.c (target_detach): ... instead of here. | |
1283 | * target.h (target_ops::detach): Add comment. | |
1284 | ||
1285 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
1286 | ||
1287 | * infrun.c (struct wait_one_event): Move higher up. | |
1288 | (prepare_for_detach): Abort in-progress displaced steps instead of | |
1289 | letting them complete. | |
1290 | (handle_one): If the inferior is detaching, don't add the thread | |
1291 | back to the global step-over chain. | |
1292 | (restart_threads): Don't restart threads if detaching. | |
1293 | (handle_signal_stop): Remove inferior::detaching reference. | |
1294 | ||
1295 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
1296 | ||
1297 | * infrun.c (prepare_for_detach): Don't release scoped_restore | |
1298 | before returning. | |
1299 | ||
1300 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
1301 | ||
1302 | * infrun.c (handle_one): New function, factored out from ... | |
1303 | (stop_all_threads): ... here. | |
1304 | ||
1305 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
1306 | ||
1307 | * remote.c (remote_notif_stop_ack): Don't error out on | |
1308 | TARGET_WAITKIND_IGNORE; instead, just ignore the notification. | |
1309 | (remote_target::discard_pending_stop_replies): Don't delete | |
1310 | in-flight notification; instead, clear its contents. | |
1311 | ||
1312 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
1313 | ||
1314 | * remote.c (extended_remote_target::attach): Set target async in | |
1315 | the target-non-stop path too. | |
1316 | ||
1317 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
1318 | ||
1319 | PR gdb/27055 | |
1320 | * infrun.c (handle_signal_stop): Move main context_switch call | |
1321 | earlier, before STOP_QUIETLY_NO_SIGSTOP. | |
1322 | ||
1323 | 2021-02-02 Lancelot SIX <lsix@lancelotsix.com> | |
1324 | ||
1325 | * NEWS (Changed commands): Add entry for the behavior change of | |
1326 | the inferior command. | |
1327 | * inferior.c (inferior_command): When no argument is given to the | |
1328 | inferior command, display info about the currently selected | |
1329 | inferior. | |
1330 | ||
1331 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
1332 | ||
1333 | * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return | |
1334 | a sect_offset. | |
1335 | (read_attribute_reprocess): Adjust. | |
1336 | ||
1337 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
1338 | ||
1339 | * dwarf2/die.h (struct die_info) <ranges_base>: Split in... | |
1340 | <gnu_ranges_base>: ... this... | |
1341 | <rnglists_base>: ... and this. | |
1342 | * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in... | |
1343 | <gnu_ranges_base>: ... this... | |
1344 | <rnglists_base>: ... and this. | |
1345 | (read_cutu_die_from_dwo): Adjust | |
1346 | (dwarf2_get_pc_bounds): Adjust | |
1347 | (dwarf2_record_block_ranges): Adjust. | |
1348 | (read_full_die_1): Adjust | |
1349 | (partial_die_info::read): Adjust. | |
1350 | (read_rnglist_index): Adjust. | |
1351 | ||
1352 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
1353 | ||
1354 | PR gdb/26813 | |
1355 | * dwarf2/read.c (read_loclists_rnglists_header): Add | |
1356 | header_offset parameter and use it. | |
1357 | (read_loclist_index): Read header of the current contribution, | |
1358 | not the one at the beginning of the section. | |
1359 | (read_rnglist_index): Likewise. | |
1360 | ||
1361 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
1362 | ||
1363 | PR gdb/26813 | |
1364 | * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear | |
1365 | requires_reprocessing flag. | |
1366 | * dwarf2/attribute.c (attribute::form_is_unsigned): Handle | |
1367 | DW_FORM_loclistx. | |
1368 | (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx | |
1369 | and DW_FORM_loclistx. | |
1370 | * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned | |
1371 | instead of set_address for DW_FORM_loclistx and | |
1372 | DW_FORM_rnglistx. | |
1373 | ||
1374 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
1375 | ||
1376 | * dwarf2/read.c (read_loclist_index): Remove bound check for | |
1377 | start of offset. | |
1378 | (read_rnglist_index): Likewise. | |
1379 | ||
1380 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
1381 | ||
1382 | * dwarf2/read.c (read_loclist_index): Add bound check for the end | |
1383 | of the offset. | |
1384 | ||
1385 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
1386 | ||
1387 | * dwarf2/read.c (read_rnglist_index): Fix bound check. | |
1388 | ||
1389 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
1390 | ||
1391 | * dwarf2/read.c (read_loclist_index): Change complaints into | |
1392 | errors. | |
1393 | ||
1394 | 2021-02-02 Tom de Vries <tdevries@suse.de> | |
1395 | ||
1396 | PR symtab/24620 | |
1397 | * dwarf2/index-write.c (write_one_signatured_type): Skip if | |
1398 | psymtab == nullptr. | |
1399 | ||
1400 | 2021-02-01 Andrew Burgess <andrew.burgess@embecosm.com> | |
1401 | ||
1402 | * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h. | |
1403 | * gcore.c (struct gcore_collect_regset_section_cb_data): Moved | |
1404 | here from linux-tdep.c and given a new name. Minor cleanups. | |
1405 | (gcore_collect_regset_section_cb): Likewise. | |
1406 | (gcore_collect_thread_registers): Likewise. | |
1407 | (gcore_build_thread_register_notes): Likewise. | |
1408 | (gcore_find_signalled_thread): Likewise. | |
1409 | * gcore.h (gcore_build_thread_register_notes): Declare. | |
1410 | (gcore_find_signalled_thread): Declare. | |
1411 | * fbsd-tdep.c: Add 'gcore.h' include. | |
1412 | (struct fbsd_collect_regset_section_cb_data): Delete. | |
1413 | (fbsd_collect_regset_section_cb): Delete. | |
1414 | (fbsd_collect_thread_registers): Delete. | |
1415 | (struct fbsd_corefile_thread_data): Delete. | |
1416 | (fbsd_corefile_thread): Delete. | |
1417 | (fbsd_make_corefile_notes): Call | |
1418 | gcore_build_thread_register_notes instead of the now deleted | |
1419 | FreeBSD code. | |
1420 | * linux-tdep.c: Add 'gcore.h' include. | |
1421 | (struct linux_collect_regset_section_cb_data): Delete. | |
1422 | (linux_collect_regset_section_cb): Delete. | |
1423 | (linux_collect_thread_registers): Delete. | |
1424 | (linux_corefile_thread): Call | |
1425 | gcore_build_thread_register_notes. | |
1426 | (find_signalled_thread): Delete. | |
1427 | (linux_make_corefile_notes): Call gcore_find_signalled_thread. | |
1428 | ||
1429 | 2021-01-29 Tom de Vries <tdevries@suse.de> | |
1430 | ||
1431 | PR breakpoints/26063 | |
1432 | * infrun.c (process_event_stop_test): Reset | |
1433 | ecs->event_thread->current_line to 0 if is-stmt=n and frame has | |
1434 | changed. | |
1435 | ||
1436 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> | |
1437 | ||
1438 | * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an | |
1439 | assert. Extend the header comment. | |
1440 | ||
1441 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> | |
1442 | ||
1443 | * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c. | |
1444 | (HFILES_NO_SRCDIR): Add tui/tui-location.h. | |
1445 | * tui/tui-data.h (TUI_STATUS_WIN): Define. | |
1446 | (tui_locator_win_info_ptr): Delete declaration. | |
1447 | * tui/tui-disasm.c: Add 'tui/tui-location.h' include. | |
1448 | (tui_disasm_window::set_contents): Fetch state from tui_location | |
1449 | global. | |
1450 | (tui_get_begin_asm_address): Likewise. | |
1451 | * tui/tui-layout.c (tui_apply_current_layout): Remove special case | |
1452 | for locator window. | |
1453 | (get_locator_window): Delete. | |
1454 | (initialize_known_windows): Treat locator window just like all the | |
1455 | rest. | |
1456 | * tui/tui-source.c: Add 'tui/tui-location.h' include. | |
1457 | (tui_source_window::set_contents): Fetch state from tui_location | |
1458 | global. | |
1459 | (tui_source_window::showing_source_p): Likewise. | |
1460 | * tui/tui-stack.c: Add 'tui/tui-location.h' include. | |
1461 | (_locator): Delete. | |
1462 | (tui_locator_win_info_ptr): Delete. | |
1463 | (tui_locator_window::make_status_line): Fetch state from | |
1464 | tui_location global. | |
1465 | (tui_locator_window::rerender): Remove check of 'handle', | |
1466 | reindent function body. | |
1467 | (tui_locator_window::set_locator_fullname): Delete. | |
1468 | (tui_locator_window::set_locator_info): Delete. | |
1469 | (tui_update_locator_fullname): Delete. | |
1470 | (tui_show_frame_info): Likewise. | |
1471 | (tui_show_locator_content): Access window through TUI_STATUS_WIN. | |
1472 | * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to | |
1473 | tui/tui-location.h and renamed to | |
1474 | tui_location_tracker::set_location. | |
1475 | (tui_locator_window::set_locator_fullname): Moved to | |
1476 | tui/tui-location.h and renamed to | |
1477 | tui_location_tracker::set_fullname. | |
1478 | (tui_locator_window::full_name): Delete. | |
1479 | (tui_locator_window::proc_name): Delete. | |
1480 | (tui_locator_window::line_no): Delete. | |
1481 | (tui_locator_window::addr): Delete. | |
1482 | (tui_locator_window::gdbarch): Delete. | |
1483 | (tui_update_locator_fullname): Delete declaration. | |
1484 | * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling | |
1485 | for locator window. | |
1486 | * tui/tui-winsource.c: Add 'tui/tui-location.h' include. | |
1487 | (tui_display_main): Call function on tui_location directly. | |
1488 | * tui/tui.h (enum tui_win_type): Add STATUS_WIN. | |
1489 | * tui/tui-location.c: New file. | |
1490 | * tui/tui-location.h: New file. | |
1491 | ||
1492 | 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca> | |
1493 | ||
1494 | * gdbtypes.h (get_type_arch): Rename to... | |
1495 | (struct type) <arch>: ... this, update all users. | |
1496 | ||
1497 | 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca> | |
1498 | ||
1499 | * gdbtypes.h (struct type) <arch>: Rename to... | |
1500 | <arch_owner>: ... this, update all users. | |
1501 | <objfile>: Rename to... | |
1502 | <objfile_owner>: ... this, update all users. | |
1503 | ||
1504 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> | |
1505 | ||
1506 | * gdbcmd.h (execute_command_to_string): Update comment. | |
1507 | * top.c (execute_command_to_string): Update header comment. | |
1508 | ||
1509 | 2021-01-28 Tom de Vries <tdevries@suse.de> | |
1510 | ||
1511 | PR breakpoints/27205 | |
1512 | * breakpoint.c (create_longjmp_master_breakpoint_probe) | |
1513 | (create_longjmp_master_breakpoint_names): New function, factored out | |
1514 | of ... | |
1515 | (create_longjmp_master_breakpoint): ... here. Only try to install | |
1516 | longjmp_names breakpoints in libc.so/libc.so.debug if installing probe | |
1517 | breakpoint in libc.so failed. | |
1518 | ||
1519 | 2021-01-27 Lancelot SIX <lsix@lancelotsix.com> | |
1520 | ||
1521 | PR gdb/27133 | |
1522 | * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the | |
1523 | unique_ptr is released when the wrapped pointer is kept for later | |
1524 | use. | |
1525 | ||
1526 | 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com> | |
1527 | ||
1528 | * aarch64-tdep.c (aarch64_displaced_step_others): Account for | |
1529 | BLR and BR instructions. | |
1530 | * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode. | |
1531 | (enum aarch64_masks): New. | |
1532 | ||
1533 | 2021-01-26 Tom Tromey <tromey@adacore.com> | |
1534 | ||
1535 | * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM) | |
1536 | (DEBUG_EXCEPT): Use debug_prefixed_printf_cond. | |
1537 | (windows_init_thread_list, windows_nat::handle_load_dll) | |
1538 | (windows_nat::handle_unload_dll, windows_nat_target::resume) | |
1539 | (windows_nat_target::resume) | |
1540 | (windows_nat_target::get_windows_debug_event) | |
1541 | (windows_nat_target::interrupt, windows_xfer_memory) | |
1542 | (windows_nat_target::close): Update. | |
1543 | * nat/windows-nat.c (DEBUG_EVENTS): Use | |
1544 | debug_prefixed_printf_cond. | |
1545 | (matching_pending_stop, fetch_pending_stop) | |
1546 | (continue_last_debug_event): Update. | |
1547 | ||
1548 | 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com> | |
1549 | ||
1550 | * linux-tdep.c (linux_make_mappings_corefile_notes): Start using | |
1551 | elfcore_write_file_note. | |
1552 | ||
1553 | 2021-01-26 Shahab Vahedi <shahab@synopsys.com> | |
1554 | ||
1555 | * arc-tdep.c (arc_add_reggroups): New function. | |
1556 | (arc_gdbarch_init): Call arc_add_reggroups. | |
1557 | ||
1558 | 2021-01-26 Anton Kolesov <anton.kolesov@synopsys.com> | |
1559 | ||
1560 | * arc-tdep.c (arc_skip_prologue): Log "pc" address. | |
1561 | ||
1562 | 2021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de> | |
1563 | Simon Marchi <simon.marchi@polymtl.ca> | |
1564 | Tom de Vries <tdevries@suse.de> | |
1565 | ||
1566 | * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for | |
1567 | DW_AT_ranges. | |
1568 | ||
1569 | 2021-01-25 Tom Tromey <tromey@adacore.com> | |
1570 | ||
1571 | * dwarf2/read.c (get_mpz): New function. | |
1572 | (get_dwarf2_rational_constant): Use it. | |
1573 | ||
1574 | 2021-01-25 Tom Tromey <tromey@adacore.com> | |
1575 | ||
1576 | * ada-lang.c (resolve_subexp): Handle array context. | |
1577 | ||
1578 | 2021-01-23 Tom Tromey <tom@tromey.com> | |
1579 | ||
1580 | PR compile/25575 | |
1581 | * compile/compile-loc2c.c (note_register): New function. | |
1582 | (pushf_register_address, pushf_register): Use it. | |
1583 | ||
1584 | 2021-01-23 Tom Tromey <tom@tromey.com> | |
1585 | ||
1586 | * symtab.h (struct symbol_computed_ops) <generate_c_location>: | |
1587 | Change type of "registers_used". | |
1588 | * dwarf2/loc.h (dwarf2_compile_property_to_c): Update. | |
1589 | * dwarf2/loc.c (dwarf2_compile_property_to_c) | |
1590 | (locexpr_generate_c_location, loclist_generate_c_location): Change | |
1591 | type of "registers_used". | |
1592 | * compile/compile.h (compile_dwarf_expr_to_c) | |
1593 | (compile_dwarf_bounds_to_c): Update. | |
1594 | * compile/compile-loc2c.c (pushf_register_address) | |
1595 | (pushf_register, do_compile_dwarf_expr_to_c) | |
1596 | (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type | |
1597 | of "registers_used". | |
1598 | * compile/compile-c.h (generate_c_for_variable_locations): | |
1599 | Update. | |
1600 | * compile/compile-c-symbols.c (generate_vla_size) | |
1601 | (generate_c_for_for_one_variable): Change type of | |
1602 | "registers_used". | |
1603 | (generate_c_for_variable_locations): Return std::vector. | |
1604 | * compile/compile-c-support.c (generate_register_struct): Change | |
1605 | type of "registers_used". | |
1606 | (compute): Update. | |
1607 | ||
1608 | 2021-01-23 Tom Tromey <tom@tromey.com> | |
1609 | ||
1610 | * compile/compile-internal.h (class compile_instance) | |
1611 | <set_arguments>: Change return type. | |
1612 | * compile/compile.c (compile_to_object): Remove call to reset. | |
1613 | (compile_instance::set_arguments): Change return type. | |
1614 | ||
1615 | 2021-01-23 Simon Marchi <simon.marchi@polymtl.ca> | |
1616 | ||
1617 | * gdbtypes.c (copy_type_recursive): Use get_type_arch. | |
1618 | * gdbtypes.h (struct type) <set_owner>: Add asserts. | |
1619 | ||
1620 | 2021-01-23 Lancelot SIX <lsix@lancelotsix.com> | |
1621 | ||
1622 | * Makefile.in (SELFTESTS_SRCS): Add | |
1623 | unittests/gdb_tilde_expand-selftests.c. | |
1624 | * unittests/gdb_tilde_expand-selftests.c: New file. | |
1625 | ||
1626 | 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com> | |
1627 | ||
1628 | PR cli/25956 | |
1629 | * NEWS: Mention new command. | |
1630 | * cli/cli-style.c: Add 'cli/cli-setshow.h' include. | |
1631 | (version_style): Define. | |
1632 | (cli_style_option::cli_style_option): Add intensity parameter, and | |
1633 | use as appropriate. | |
1634 | (_initialize_cli_style): Register version style set/show commands. | |
1635 | * cli/cli-style.h (cli_style_option): Add intensity parameter. | |
1636 | (version_style): Declare. | |
1637 | * top.c (print_gdb_version): Use version_stype, and styled_string | |
1638 | to print the GDB version string. | |
1639 | ||
1640 | 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com> | |
1641 | ||
1642 | * utils.c (emit_style_escape): Only emit an escape sequence if the | |
1643 | requested style is different than the current applied style. | |
1644 | (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and | |
1645 | current applied_style. | |
1646 | (fputs_styled): Remove is_default check. | |
1647 | (fputs_styled_unfiltered): Likewise. | |
1648 | (vfprintf_styled_no_gdbfmt): Likewise. | |
1649 | ||
1650 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
1651 | ||
1652 | * remote.h (remote_debug_printf): New. | |
1653 | (remote_debug_printf_nofunc): New. | |
1654 | (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New. | |
1655 | * remote.c: Use above macros throughout file. | |
1656 | ||
1657 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
1658 | ||
1659 | * remote.h (remote_debug): Change to bool. | |
1660 | * remote.c (remote_debug): Change to bool. | |
1661 | (_initialize_remote): Adjust. | |
1662 | ||
1663 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
1664 | ||
1665 | * target.h (remote_debug): Move to... | |
1666 | * remote.h (remote_debug): ... here. | |
1667 | * top.c (remote_debug): Move to... | |
1668 | * remote.c (remote_debug): ... here. | |
1669 | * remote-sim.c: Include remote.h. | |
1670 | ||
1671 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
1672 | ||
1673 | * cli/cli-cmds.c (show_remote_debug): Remove. | |
1674 | (show_remote_timeout): Remove. | |
1675 | (_initialize_cli_cmds): Don't register commands. | |
1676 | * remote.c (show_remote_debug): Move here. | |
1677 | (show_remote_timeout): Move here. | |
1678 | (_initialize_remote): Register commands. | |
1679 | ||
1680 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
1681 | ||
1682 | * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the | |
1683 | type::objfile method instead. | |
1684 | ||
1685 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
1686 | ||
1687 | * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to | |
1688 | use the type::is_objfile_owned method. | |
1689 | ||
1690 | 2021-01-22 Simon Marchi <simon.marchi@efficios.com> | |
1691 | ||
1692 | * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust. | |
1693 | (TYPE_OWNER): Remove. | |
1694 | (TYPE_OBJFILE): Adjust. | |
1695 | (struct main_type) <flag_objfile_owned>: Rename to... | |
1696 | <m_flag_objfile_owned>: ... this. | |
1697 | <owner>: Rename to... | |
1698 | <m_owner>: ... this. | |
1699 | (struct type) <is_objfile_owned, set_owner, objfile, arch>: New | |
1700 | methods. | |
1701 | (TYPE_ALLOC): Adjust. | |
1702 | * gdbtypes.c (alloc_type): Adjust. | |
1703 | (alloc_type_arch): Adjust. | |
1704 | (alloc_type_copy): Adjust. | |
1705 | (get_type_arch): Adjust. | |
1706 | (smash_type): Adjust. | |
1707 | (lookup_array_range_type): Adjust. | |
1708 | (recursive_dump_type): Adjust. | |
1709 | (copy_type_recursive): Adjust. | |
1710 | * compile/compile-c-types.c (convert_func): Adjust. | |
1711 | (convert_type_basic): Adjust. | |
1712 | * compile/compile-cplus-types.c (compile_cplus_convert_func): | |
1713 | Adjust. | |
1714 | * language.c | |
1715 | (language_arch_info::type_and_symbol::alloc_type_symbol): | |
1716 | Adjust. | |
1717 | ||
1718 | 2021-01-21 Luis Machado <luis.machado@linaro.org> | |
1719 | ||
1720 | * coffread.c (enter_linenos): Passing string to complaint. | |
1721 | * valops.c (value_assign): Make array view. | |
1722 | ||
1723 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> | |
1724 | ||
1725 | * auto-load.h (debug_auto_load): Move here. | |
1726 | (auto_load_debug_printf): New. | |
1727 | * auto-load.c: Use auto_load_debug_printf. | |
1728 | (debug_auto_load): Move to header. | |
1729 | * linux-thread-db.c (try_thread_db_load): Use | |
1730 | auto_load_debug_printf. | |
1731 | * main.c (captured_main_1): Likewise. | |
1732 | ||
1733 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> | |
1734 | ||
1735 | * f-valprint.c (f77_array_offset_tbl): Remove. | |
1736 | ||
1737 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> | |
1738 | ||
1739 | * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file. | |
1740 | ||
1741 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> | |
1742 | ||
1743 | * ser-tcp.c (wait_for_connect): Use interruptible_select instead | |
1744 | of gdb_select. | |
1745 | ||
1746 | 2021-01-21 Hannes Domani <ssbssa@yahoo.de> | |
1747 | ||
1748 | PR python/19151 | |
1749 | * python/py-breakpoint.c (bppy_get_location): Handle | |
1750 | bp_hardware_breakpoint. | |
1751 | (bppy_init): Likewise. | |
1752 | (gdbpy_breakpoint_created): Likewise. | |
1753 | ||
1754 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> | |
1755 | ||
1756 | * arm-tdep.c (arm_debug_printf): Add and use throughout file. | |
1757 | ||
1758 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> | |
1759 | ||
1760 | * gdb_bfd.c (debug_bfd_cache): Change type to bool. | |
1761 | (_initialize_gdb_bfd): Adjust. | |
1762 | ||
1763 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> | |
1764 | ||
1765 | PR gdb/26828 | |
1766 | * dwarf2/read.c (maybe_queue_comp_unit): Add assertion. | |
1767 | ||
1768 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> | |
1769 | ||
1770 | * dwarf2/read.c (follow_die_offset): Add logging. | |
1771 | (dwarf2_per_objfile::age_comp_units): Add logging. | |
1772 | ||
1773 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> | |
1774 | ||
1775 | * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static. | |
1776 | * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind, | |
1777 | aarch64_stub_unwind, aarch64_normal_base, ): Make static. | |
1778 | * arm-linux-tdep.c (arm_prologue_unwind): Make static. | |
1779 | * arm-tdep.c (struct frame_unwind): Make static. | |
1780 | * auto-load.c (auto_load_safe_path_vec): Make static. | |
1781 | * csky-tdep.c (csky_stub_unwind): Make static. | |
1782 | * gdbarch.c (gdbarch_data_registry): Make static. | |
1783 | * gnu-v2-abi.c (gnu_v2_abi_ops): Make static. | |
1784 | * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static. | |
1785 | * i386-tdep.c (i386_frame_setup_skip_insns, | |
1786 | i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns): | |
1787 | Make static. | |
1788 | * infrun.c (observer_mode): Make static. | |
1789 | * linux-nat.c (sigchld_action): Make static. | |
1790 | * linux-thread-db.c (thread_db_list): Make static. | |
1791 | * maint-test-options.c (maintenance_test_options_list): | |
1792 | * mep-tdep.c (mep_csr_registers): Make static. | |
1793 | * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name. | |
1794 | (stats): Make static. | |
1795 | * nat/linux-osdata.c (struct osdata_type): Make static. | |
1796 | * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static. | |
1797 | * progspace.c (last_program_space_num): Make static. | |
1798 | * python/py-param.c (struct parm_constant): Remove struct type | |
1799 | name. | |
1800 | (parm_constants): Make static. | |
1801 | * python/py-record-btrace.c (btpy_list_methods): Make static. | |
1802 | * python/py-record.c (recpy_gap_type): Make static. | |
1803 | * record.c (record_goto_cmdlist): Make static. | |
1804 | * regcache.c (regcache_descr_handle): Make static. | |
1805 | * registry.h (DEFINE_REGISTRY): Make definition static. | |
1806 | * symmisc.c (std_in, std_out, std_err): Make static. | |
1807 | * top.c (previous_saved_command_line): Make static. | |
1808 | * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make | |
1809 | static. | |
1810 | * unittests/command-def-selftests.c (nr_duplicates, | |
1811 | nr_invalid_prefixcmd, lists): Make static. | |
1812 | * unittests/observable-selftests.c (test_notification): Make | |
1813 | static. | |
1814 | * unittests/optional/assignment/1.cc (counter): Make static. | |
1815 | * unittests/optional/assignment/2.cc (counter): Make static. | |
1816 | * unittests/optional/assignment/3.cc (counter): Make static. | |
1817 | * unittests/optional/assignment/4.cc (counter): Make static. | |
1818 | * unittests/optional/assignment/5.cc (counter): Make static. | |
1819 | * unittests/optional/assignment/6.cc (counter): Make static. | |
1820 | ||
1821 | 2021-01-20 Joel Sherrill <joel@rtems.org> | |
1822 | ||
1823 | PR gdb/27219 | |
1824 | * remote.c (struct remote_thread_info) <resume_state>: Rename | |
1825 | to... | |
1826 | <get_resume_state>: ... this. | |
1827 | (remote_target::resume): Adjust. | |
1828 | (remote_target::commit_resume): Adjust. | |
1829 | (remote_target::select_thread_for_ambiguous_stop_reply): Adjust. | |
1830 | ||
1831 | 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net> | |
1832 | Tom Tromey <tom@tromey.com> | |
1833 | ||
1834 | * stap-probe.c (stap_parse_single_operand): Handle '!' | |
1835 | operator. | |
1836 | (stap_parse_argument_conditionally): Likewise. | |
1837 | Skip spaces after processing open-parenthesis sub-expression. | |
1838 | (stap_parse_argument_1): Skip spaces after call to | |
1839 | stap_parse_argument_conditionally. | |
1840 | Handle case when right-side expression is a parenthesized | |
1841 | sub-expression. | |
1842 | Skip spaces after call to stap_parse_argument_1. | |
1843 | ||
1844 | 2021-01-19 Lancelot SIX <lsix@lancelotsix.com> | |
1845 | ||
1846 | * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN. | |
1847 | ||
1848 | 2021-01-19 Luis Machado <luis.machado@linaro.org> | |
1849 | ||
1850 | * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate | |
1851 | memory and save data. | |
1852 | (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr) | |
1853 | (trad_frame_set_unknown, trad_frame_set_value_bytes) | |
1854 | (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p) | |
1855 | (trad_frame_value_bytes_p): Remove. | |
1856 | (trad_frame_reset_saved_regs): Adjust documentation. | |
1857 | * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a | |
1858 | constructor and reset the state of the registers. | |
1859 | (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p) | |
1860 | (trad_frame_value_bytes_p, trad_frame_set_value) | |
1861 | (trad_frame_set_realreg, trad_frame_set_addr) | |
1862 | (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove. | |
1863 | (trad_frame_set_reg_realreg): Update to call member function. | |
1864 | (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise. | |
1865 | (trad_frame_get_prev_register): Likewise. | |
1866 | ||
1867 | * aarch64-tdep.c (aarch64_analyze_prologue) | |
1868 | (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1) | |
1869 | (aarch64_prologue_prev_register): Update to use member functions. | |
1870 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise. | |
1871 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise. | |
1872 | * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise. | |
1873 | * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache) | |
1874 | (arm_make_epilogue_frame_cache): Likewise. | |
1875 | * avr-tdep.c (avr_frame_unwind_cache) | |
1876 | (avr_frame_prev_register): Likewise. | |
1877 | * cris-tdep.c (cris_scan_prologue): Likewise. | |
1878 | * csky-tdep.c (csky_frame_unwind_cache): Likewise. | |
1879 | * frv-tdep.c (frv_analyze_prologue): Likewise. | |
1880 | * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise. | |
1881 | * lm32-tdep.c (lm32_frame_cache): Likewise. | |
1882 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. | |
1883 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
1884 | * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache) | |
1885 | (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise. | |
1886 | (reset_saved_regs): Adjust to set realreg. | |
1887 | * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to | |
1888 | call member functions. | |
1889 | * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache) | |
1890 | * s390-tdep.c (s390_prologue_frame_unwind_cache) | |
1891 | (s390_backchain_frame_unwind_cache): Likewise. | |
1892 | * score-tdep.c (score7_analyze_prologue) | |
1893 | (score3_analyze_prologue, score_make_prologue_cache): Likewise. | |
1894 | * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise. | |
1895 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise. | |
1896 | * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise. | |
1897 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise. | |
1898 | * tilegx-tdep.c (tilegx_analyze_prologue) | |
1899 | (tilegx_frame_cache): Likewise. | |
1900 | * v850-tdep.c (v850_frame_cache): Likewise. | |
1901 | * vax-tdep.c (vax_frame_cache): Likewise. | |
1902 | ||
1903 | 2021-01-19 Luis Machado <luis.machado@linaro.org> | |
1904 | ||
1905 | * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead | |
1906 | of buffer + length. | |
1907 | (put_frame_register_bytes): Likewise. | |
1908 | Adjust documentation. | |
1909 | (get_frame_memory): Pass a gdb::array_view instead of buffer + length. | |
1910 | (safe_frame_unwind_memory): Likewise. | |
1911 | * frame.c (get_frame_register_bytes, put_frame_register_bytes) | |
1912 | (get_frame_memory, safe_frame_unwind_memory): Adjust to use | |
1913 | gdb::array_view. | |
1914 | * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise. | |
1915 | * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise. | |
1916 | * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise. | |
1917 | * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise. | |
1918 | * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise. | |
1919 | * dwarf2/loc.c (rw_pieced_value): Likewise. | |
1920 | * hppa-tdep.c (hppa_frame_cache): Likewise. | |
1921 | * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise. | |
1922 | * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise. | |
1923 | * i386-linux-tdep.c (i386_linux_sigtramp_start) | |
1924 | (i386_linux_rt_sigtramp_start): Likewise. | |
1925 | * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise. | |
1926 | * i386-tdep.c (i386_register_to_value): Likewise. | |
1927 | * i387-tdep.c (i387_register_to_value): Likewise. | |
1928 | * ia64-tdep.c (ia64_register_to_value): Likewise. | |
1929 | * m32r-linux-tdep.c (m32r_linux_sigtramp_start) | |
1930 | (m32r_linux_rt_sigtramp_start): Likewise. | |
1931 | * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise. | |
1932 | * m68k-tdep.c (m68k_register_to_value): Likewise. | |
1933 | * mips-tdep.c (mips_register_to_value) | |
1934 | (mips_value_to_register): Likewise. | |
1935 | * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer) | |
1936 | (ppcfbsd_sigtramp_frame_cache): Likewise. | |
1937 | * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer) | |
1938 | (ppcobsd_sigtramp_frame_cache): Likewise. | |
1939 | * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p) | |
1940 | (rs6000_register_to_value): Likewise. | |
1941 | * tilegx-tdep.c (tilegx_analyze_prologue): Likewise. | |
1942 | * tramp-frame.c (tramp_frame_start): Likewise. | |
1943 | * valops.c (value_assign): Likewise. | |
1944 | ||
1945 | 2021-01-19 Luis Machado <luis.machado@linaro.org> | |
1946 | ||
1947 | * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an | |
1948 | array_view. | |
1949 | * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view | |
1950 | instead of buffer and size. | |
1951 | (trad_frame_set_reg_value_bytes): Likewise. | |
1952 | * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise. | |
1953 | (trad_frame_set_value_bytes): Likewise. | |
1954 | ||
1955 | 2021-01-18 Mike Frysinger <vapier@gentoo.org> | |
1956 | ||
1957 | * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s. | |
1958 | ||
1959 | 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com> | |
1960 | ||
1961 | * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete. | |
1962 | (riscv_fbsd_gregset): Use riscv_supply_regset. | |
1963 | (riscv_fbsd_fpregset): Likewise. | |
1964 | * riscv-linux-tdep.c (riscv_linux_gregset): Likewise. | |
1965 | (riscv_linux_fregset): Likewise. | |
1966 | * riscv-tdep.c (riscv_supply_regset): Define new function. | |
1967 | * riscv-tdep.h (riscv_supply_regset): Declare new function. | |
1968 | ||
1969 | 2021-01-18 Tom de Vries <tdevries@suse.de> | |
1970 | ||
1971 | PR tdep/27172 | |
1972 | * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR): | |
1973 | New macro. | |
1974 | (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper | |
1975 | for SEGV_BNDERR. | |
1976 | ||
1977 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> | |
1978 | ||
1979 | * remote.c (class remote_target) <remote_hostio_send_command, | |
1980 | remote_hostio_parse_result>: Constify parameter. | |
1981 | (remote_hostio_parse_result): Likewise. | |
1982 | (remote_target::remote_hostio_send_command): Adjust. | |
1983 | (remote_target::remote_hostio_pread_vFile): Adjust. | |
1984 | (remote_target::fileio_readlink): Adjust. | |
1985 | (remote_target::fileio_fstat): Adjust. | |
1986 | ||
1987 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> | |
1988 | ||
1989 | * remote.c (remote_target::start_remote): Move wait_status to | |
1990 | narrower scope. | |
1991 | ||
1992 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> | |
1993 | ||
1994 | * remote.c (class remote_target): | |
1995 | <add_current_inferior_and_thread>: Constify parameter. | |
1996 | (stop_reply_extract_thread): Likewise. | |
1997 | (remote_target::get_current_thread): Likewise. | |
1998 | (remote_target::add_current_inferior_and_thread): Likewise. | |
1999 | ||
2000 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> | |
2001 | ||
2002 | * remote.c (class remote_target) | |
2003 | <remote_unpack_thread_info_response, | |
2004 | parse_threadlist_response>: Constify parameter and/or return | |
2005 | value and or local variable. | |
2006 | (stub_unpack_int): Likewise. | |
2007 | (unpack_nibble): Likewise. | |
2008 | (unpack_byte): Likewise. | |
2009 | (unpack_int): Likewise. | |
2010 | (unpack_string): Likewise. | |
2011 | (unpack_threadid): Likewise. | |
2012 | (remote_target::remote_unpack_thread_info_response): Likewise. | |
2013 | (remote_target::parse_threadlist_response): Likewise. | |
2014 | ||
2015 | 2021-01-15 Andrew Burgess <andrew.burgess@embecosm.com> | |
2016 | ||
2017 | * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0. | |
2018 | ||
2019 | 2021-01-14 Lancelot Six <lsix@lancelotsix.com> | |
2020 | ||
2021 | * MAINTAINERS (Write After Approval): Add myself. | |
2022 | ||
2023 | 2021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de> | |
2024 | ||
2025 | * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error | |
2026 | because is_trivially_default_constructible was first implemented with | |
2027 | gcc-5. | |
2028 | ||
2029 | 2021-01-14 Tom de Vries <tdevries@suse.de> | |
2030 | ||
2031 | PR breakpoints/27151 | |
2032 | * objfiles.h (in_plt_section): Handle .plt.sec. | |
2033 | ||
2034 | 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com> | |
2035 | ||
2036 | PR gdb/26819 | |
2037 | * remote.c | |
2038 | (remote_target::select_thread_for_ambiguous_stop_reply): New | |
2039 | member function. | |
2040 | (remote_target::process_stop_reply): Call | |
2041 | select_thread_for_ambiguous_stop_reply. | |
2042 | ||
2043 | 2021-01-13 Simon Marchi <simon.marchi@efficios.com> | |
2044 | ||
2045 | * record-btrace.c (class record_btrace_target): Remove. | |
2046 | (record_btrace_target::commit_resume): Remove. | |
2047 | * record-full.c (class record_full_target): Remove. | |
2048 | (record_full_target::commit_resume): Remove. | |
2049 | ||
2050 | 2021-01-13 Simon Marchi <simon.marchi@efficios.com> | |
2051 | ||
2052 | * remote.c (enum class resume_state): New. | |
2053 | (struct resumed_pending_vcont_info): New. | |
2054 | (struct remote_thread_info) <resume_state, set_not_resumed, | |
2055 | set_resumed_pending_vcont, resumed_pending_vcont_info, | |
2056 | set_resumed, m_resume_state, m_resumed_pending_vcont_info>: | |
2057 | New. | |
2058 | <last_resume_step, last_resume_sig, vcont_resumed>: Remove. | |
2059 | (remote_target::remote_add_thread): Adjust. | |
2060 | (remote_target::process_initial_stop_replies): Adjust. | |
2061 | (remote_target::resume): Adjust. | |
2062 | (remote_target::commit_resume): Rely on state in | |
2063 | remote_thread_info and not on tp->executing. | |
2064 | (remote_target::process_stop_reply): Adjust. | |
2065 | ||
2066 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
2067 | ||
2068 | * arc-tdep.h (arc_debug_printf): New. | |
2069 | * arc-tdep.c: Use arc_debug_printf. | |
2070 | * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use. | |
2071 | * arc-linux-tdep.c (arc_linux_debug_printf): Add and use. | |
2072 | * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use. | |
2073 | ||
2074 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
2075 | ||
2076 | * arc-tdep.h (arc_debug): Change type to bool. | |
2077 | * arc-tdep.c (arc_debug): Change type to bool. | |
2078 | (arc_analyze_prologue): Adjust. | |
2079 | (_initialize_arc_tdep): Use add_setshow_boolean_cmd. | |
2080 | * arc-linux-nat.c (ps_get_thread_area): Adjust. | |
2081 | ||
2082 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
2083 | ||
2084 | * auto-load.c (auto_load_objfile_script_1): Use bool. | |
2085 | (execute_script_contents): Use bool. | |
2086 | ||
2087 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
2088 | ||
2089 | * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move | |
2090 | comment here. | |
2091 | * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move | |
2092 | comment to header. | |
2093 | * extension-priv.h (struct extension_language_script_ops) | |
2094 | <auto_load_enabled>: Return bool. | |
2095 | * extension.h (ext_lang_auto_load_enabled): Return bool, move | |
2096 | comment here. | |
2097 | * extension.c (ext_lang_auto_load_enabled): Return bool, move | |
2098 | comment to header. | |
2099 | * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool, | |
2100 | move comment here. | |
2101 | * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool, | |
2102 | move comment to header. | |
2103 | * python/python-header.h (gdbpy_auto_load_enabled): Return bool, | |
2104 | move comment here. | |
2105 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool, | |
2106 | move comment to header. | |
2107 | ||
2108 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
2109 | ||
2110 | * auto-load.h (file_is_auto_load_safe): Change return type to | |
2111 | bool, move comment here. | |
2112 | * auto-load.c (file_is_auto_load_safe): Change return type and | |
2113 | advice_printed to bool. Move comment to header. | |
2114 | ||
2115 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
2116 | ||
2117 | * jit.c (jit_debug_printf): New, use throughout file. | |
2118 | ||
2119 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> | |
2120 | ||
2121 | * infrun.c (normal_stop): Fix indentation. | |
2122 | ||
2123 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> | |
2124 | ||
2125 | * top.h (readnow_symbol_files, readnever_symbol_files): Move | |
2126 | declarations to ... | |
2127 | * symfile.h: ... here. | |
2128 | * symfile.c: Update doc. | |
2129 | ||
2130 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> | |
2131 | ||
2132 | * target.h (baud_rate, serial_parity): Move declarations... | |
2133 | * serial.h: ... here. | |
2134 | * main.c: Include serial.h. | |
2135 | * serial.c (baud_rate, serial_parity): Update doc. | |
2136 | ||
2137 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> | |
2138 | ||
2139 | * top.c (pre_init_ui_hook): Remove. | |
2140 | ||
2141 | 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com> | |
2142 | ||
2143 | * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers. | |
2144 | (aarch64_vnv_type): Add "bf" type in h field of v registers. | |
2145 | * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated. | |
2146 | * features/aarch64-fpu.xml: Add bfloat16 type. | |
2147 | ||
2148 | 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com> | |
2149 | ||
2150 | * expprint.c (dump_subexp_body_standard): Handle OP_BOOL. | |
2151 | ||
2152 | 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com> | |
2153 | ||
2154 | * f-exp.y (dot_ops): Rename to... | |
2155 | (fortran_operators): ...this. Add a header comment. Add symbol | |
2156 | based operators. | |
2157 | (yylex): Update to use fortran_operators not dot_ops. Remove | |
2158 | special handling for '**', this is now included in | |
2159 | fortran_operators. | |
2160 | ||
2161 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> | |
2162 | ||
2163 | * arch/aarch64-insn.h (aarch64_debug_printf): New. | |
2164 | * arch/aarch64-insn.c: Use aarch64_debug_printf. | |
2165 | * aarch64-tdep.c: Use aarch64_debug_printf. | |
2166 | ||
2167 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> | |
2168 | ||
2169 | * solib-aix.c (solib_aix_debug_printf): New, use throughout | |
2170 | file. | |
2171 | ||
2172 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> | |
2173 | ||
2174 | * jit.c (jit_debug): Change type to bool. | |
2175 | (_initialize_jit): Adjust. | |
2176 | ||
2177 | 2021-01-09 Tom Tromey <tom@tromey.com> | |
2178 | ||
2179 | PR compile/23672 | |
2180 | * compile/compile.c (compile_to_object): Avoid crash when | |
2181 | osabi_triplet_regexp returns NULL. | |
2182 | ||
2183 | 2021-01-09 Tom Tromey <tom@tromey.com> | |
2184 | ||
2185 | * tracepoint.h (class collection_list) <append_exp>: Take a | |
2186 | std::string. | |
2187 | * tracepoint.c (collection_list::append_exp): Take a std::string. | |
2188 | (encode_actions_1): Update. | |
2189 | ||
2190 | 2021-01-08 Tom Tromey <tromey@adacore.com> | |
2191 | ||
2192 | * parse.c (parse_expression): Add void_context_p parameter. Use | |
2193 | parse_exp_in_context. | |
2194 | * printcmd.c (print_command_1): Change voidprint to bool. Pass to | |
2195 | parse_expression. | |
2196 | (print_command, call_command): Update. | |
2197 | * expression.h (parse_expression): Add void_context_p parameter. | |
2198 | ||
2199 | 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
2200 | ||
2201 | * value.c (set_value_component_location): Adjust the VALUE_LVAL | |
2202 | for internalvar components that have a dynamic location. | |
2203 | ||
2204 | 2021-01-08 Tom de Vries <tdevries@suse.de> | |
2205 | ||
2206 | PR gdb/26881 | |
2207 | * breakpoint.c (create_exception_master_breakpoint_probe) | |
2208 | (create_exception_master_breakpoint_hook): Factor out | |
2209 | of ... | |
2210 | (create_exception_master_breakpoint): ... here. Only try to install | |
2211 | the master exception breakpoint in objfile.debug using the | |
2212 | _Unwind_DebugHook method, if the install using probes in objfile | |
2213 | failed. | |
2214 | ||
2215 | 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
2216 | ||
2217 | * f-lang.c (fortran_value_subarray): Call value_from_component. | |
2218 | ||
2219 | 2021-01-07 Mike Frysinger <vapier@gentoo.org> | |
2220 | ||
2221 | * remote-sim.c: Include memory-map.h. | |
2222 | (gdbsim_target): Define memory_map override. | |
2223 | (gdbsim_target::memory_map): Define. | |
2224 | ||
2225 | 2021-01-07 Tom Tromey <tromey@adacore.com> | |
2226 | ||
2227 | * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix. | |
2228 | ||
2229 | 2021-01-07 Tom Tromey <tromey@adacore.com> | |
2230 | ||
2231 | * ada-lang.c (add_component_interval): Start loop using vector's | |
2232 | updated size. | |
2233 | ||
2234 | 2021-01-06 Tom Tromey <tromey@adacore.com> | |
2235 | ||
2236 | * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>: | |
2237 | Do not cast result. | |
2238 | * valarith.c (fixed_point_binop): Handle multiplication | |
2239 | and division specially. | |
2240 | * valops.c (value_to_gdb_mpq): New function. | |
2241 | (value_cast_to_fixed_point): Use it. | |
2242 | ||
2243 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> | |
2244 | ||
2245 | * tui/tui-winsource.c (tui_source_window_base::refresh_window): | |
2246 | Call wnoutrefresh instead of tui_win_info::refresh_window. | |
2247 | ||
2248 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> | |
2249 | ||
2250 | * tui/tui-source.c (tui_source_window::show_line_number): | |
2251 | Redraw second space after line number. | |
2252 | ||
2253 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> | |
2254 | ||
2255 | PR tui/26927 | |
2256 | * tui/tui-winsource.c (tui_source_window_base::refresh_window): | |
2257 | Fix source pad size in prefresh. | |
2258 | (tui_source_window_base::show_source_content): Grow source pad | |
2259 | if necessary. | |
2260 | ||
2261 | 2021-01-04 Mike Frysinger <vapier@gentoo.org> | |
2262 | ||
2263 | * bfin-tdep.c (bfin_push_dummy_call): Use align_up. | |
2264 | (bfin_frame_align): Use align_down. | |
2265 | ||
2266 | 2021-01-04 Tom de Vries <tdevries@suse.de> | |
2267 | ||
2268 | * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq | |
2269 | terminators that do not terminate anything. | |
2270 | ||
2271 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> | |
2272 | ||
2273 | * debug.c (debug_print_depth): New. | |
2274 | * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New. | |
2275 | (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New. | |
2276 | * infrun.c (start_step_over): Use | |
2277 | INFRUN_SCOPED_DEBUG_ENTER_EXIT. | |
2278 | (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and | |
2279 | INFRUN_SCOPED_DEBUG_START_END. | |
2280 | (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT. | |
2281 | ||
2282 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> | |
2283 | ||
2284 | * infrun.c (print_target_wait_results): Use infrun_debug_printf. | |
2285 | ||
2286 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> | |
2287 | ||
2288 | * utils.c (vfprintf_unfiltered): Print timestamp only when | |
2289 | previous debug output ended with a newline. | |
2290 | ||
2291 | 2021-01-04 Luis Machado <luis.machado@linaro.org> | |
2292 | ||
2293 | Update all users of trad_frame_saved_reg to use the new member | |
2294 | functions. | |
2295 | ||
2296 | Remote all struct keywords from declarations of trad_frame_saved_reg | |
2297 | types, except on forward declarations. | |
2298 | ||
2299 | * aarch64-tdep.c: Update. | |
2300 | * alpha-mdebug-tdep.c: Update. | |
2301 | * alpha-tdep.c: Update. | |
2302 | * arc-tdep.c: Update. | |
2303 | * arm-tdep.c: Update. | |
2304 | * avr-tdep.c: Update. | |
2305 | * cris-tdep.c: Update. | |
2306 | * csky-tdep.c: Update. | |
2307 | * frv-tdep.c: Update. | |
2308 | * hppa-linux-tdep.c: Update. | |
2309 | * hppa-tdep.c: Update. | |
2310 | * hppa-tdep.h: Update. | |
2311 | * lm32-tdep.c: Update. | |
2312 | * m32r-linux-tdep.c: Update. | |
2313 | * m32r-tdep.c: Update. | |
2314 | * m68hc11-tdep.c: Update. | |
2315 | * mips-tdep.c: Update. | |
2316 | * moxie-tdep.c: Update. | |
2317 | * riscv-tdep.c: Update. | |
2318 | * rs6000-tdep.c: Update. | |
2319 | * s390-linux-tdep.c: Update. | |
2320 | * s390-tdep.c: Update. | |
2321 | * score-tdep.c: Update. | |
2322 | * sparc-netbsd-tdep.c: Update. | |
2323 | * sparc-sol2-tdep.c: Update. | |
2324 | * sparc64-fbsd-tdep.c: Update. | |
2325 | * sparc64-netbsd-tdep.c: Update. | |
2326 | * sparc64-obsd-tdep.c: Update. | |
2327 | * sparc64-sol2-tdep.c: Update. | |
2328 | * tilegx-tdep.c: Update. | |
2329 | * v850-tdep.c: Update. | |
2330 | * vax-tdep.c: Update. | |
2331 | ||
2332 | * frame-unwind.c (frame_unwind_got_bytes): Make parameter const. | |
2333 | * frame-unwind.h (frame_unwind_got_bytes): Likewise. | |
2334 | ||
2335 | * trad-frame.c: Update. | |
2336 | Remove TF_REG_* enum. | |
2337 | (trad_frame_alloc_saved_regs): Add a static assertion to check for | |
2338 | a trivially-constructible struct. | |
2339 | (trad_frame_reset_saved_regs): Adjust to use member function. | |
2340 | (trad_frame_value_p): Likewise. | |
2341 | (trad_frame_addr_p): Likewise. | |
2342 | (trad_frame_realreg_p): Likewise. | |
2343 | (trad_frame_value_bytes_p): Likewise. | |
2344 | (trad_frame_set_value): Likewise. | |
2345 | (trad_frame_set_realreg): Likewise. | |
2346 | (trad_frame_set_addr): Likewise. | |
2347 | (trad_frame_set_unknown): Likewise. | |
2348 | (trad_frame_set_value_bytes): Likewise. | |
2349 | (trad_frame_get_prev_register): Likewise. | |
2350 | * trad-frame.h: Update. | |
2351 | (trad_frame_saved_reg_kind): New enum. | |
2352 | (struct trad_frame_saved_reg) <addr, realreg, data>: Remove. | |
2353 | <m_kind, m_reg>: New member fields. | |
2354 | <set_value, set_realreg, set_addr, set_unknown, set_value_bytes> | |
2355 | <kind, value, realreg, addr, value_bytes, is_value, is_realreg> | |
2356 | <is_addr, is_unknown, is_value_bytes>: New member functions. | |
2357 | ||
2358 | 2021-01-02 Simon Marchi <simon.marchi@polymtl.ca> | |
2359 | ||
2360 | * target-float.c: Fix typos. | |
2361 | ||
2362 | 2021-01-02 Hannes Domani <ssbssa@yahoo.de> | |
2363 | ||
2364 | * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer. | |
2365 | ||
2366 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> | |
2367 | ||
2368 | * gdbarch.sh: Update copyright year range. | |
2369 | ||
2370 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> | |
2371 | ||
2372 | Update copyright year range in copyright header of all GDB files. | |
2373 | ||
2374 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> | |
2375 | ||
2376 | * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport" | |
2377 | to the list of directories to update. | |
2378 | ||
2379 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> | |
2380 | ||
2381 | * top.c (print_gdb_version): Update copyright year. | |
2382 | ||
2383 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> | |
2384 | ||
2385 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020. | |
2386 | ||
2387 | For older changes see ChangeLog-2020. | |
2388 | \f | |
2389 | Local Variables: | |
2390 | mode: change-log | |
2391 | left-margin: 8 | |
2392 | fill-column: 74 | |
2393 | version-control: never | |
2394 | coding: utf-8 | |
2395 | End: |