Introduce binop_operation
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
373907ff
TT
12021-03-08 Tom Tromey <tom@tromey.com>
2
3 * expop.h (class binop_operation, class usual_ax_binop_operation):
4 New.
5 (exp_operation, intdiv_operation, mod_operation, mul_operation)
6 (div_operation, rem_operation, lsh_operation, rsh_operation)
7 (bitwise_and_operation, bitwise_ior_operation)
8 (bitwise_xor_operation): New typedefs.
9 * eval.c (eval_op_binary): No longer static.
10
5133d78b
TT
112021-03-08 Tom Tromey <tom@tromey.com>
12
13 * expop.h (class sub_operation): New.
14 * eval.c (eval_op_sub): No longer static. Remove "op" parameter.
15 (evaluate_subexp_standard): Update.
16
a94323b6
TT
172021-03-08 Tom Tromey <tom@tromey.com>
18
19 * expop.h (class add_operation): New.
20 * eval.c (eval_op_add): No longer static. Remove "op" parameter.
21 (evaluate_subexp_standard): Update.
22
e51e26a0
TT
232021-03-08 Tom Tromey <tom@tromey.com>
24
25 * expop.h (class concat_operation): New.
26 * eval.c (eval_op_concat): No longer static. Remove "op"
27 parameter.
28 (evaluate_subexp_standard): Update.
29
07f724a8
TT
302021-03-08 Tom Tromey <tom@tromey.com>
31
32 * expop.h (class structop_member_operation)
33 (class structop_mptr_operation): New.
34 * eval.c (eval_op_member): No longer static.
35
ab0609be
TT
362021-03-08 Tom Tromey <tom@tromey.com>
37
38 * expop.h (class structop_ptr_operation): New.
39 * eval.c (eval_op_structop_ptr): No longer static. Remove "op"
40 parameter.
41
808b22cf
TT
422021-03-08 Tom Tromey <tom@tromey.com>
43
44 * expop.h (class structop_base_operation)
45 (class structop_operation): New.
46 * eval.c (eval_op_structop_struct): No longer static.
47
8cfd3e95
TT
482021-03-08 Tom Tromey <tom@tromey.com>
49
50 * expop.h (class complex_operation): New.
51
09db3700
TT
522021-03-08 Tom Tromey <tom@tromey.com>
53
54 * eval.c (eval_op_objc_selector): No longer static.
55 * c-exp.h (class objc_selector_operation): New.
56
06dc61b9
TT
572021-03-08 Tom Tromey <tom@tromey.com>
58
59 * eval.c: Include c-exp.h.
60 * c-exp.h (class objc_nsstring_operation): New.
61
72d0a711
TT
622021-03-08 Tom Tromey <tom@tromey.com>
63
64 * c-lang.c (c_string_operation::evaluate): New method.
65 * c-exp.h: New file.
66
9186293f
TT
672021-03-08 Tom Tromey <tom@tromey.com>
68
69 * expop.h (class ternop_cond_operation): New.
70 * ax-gdb.c (ternop_cond_operation::do_generate_ax): New method.
71
1594e0bb
TT
722021-03-08 Tom Tromey <tom@tromey.com>
73
74 * expop.h (class ternop_slice_operation): New.
75 * eval.c (eval_op_ternop): No longer static.
76
b50db09f
TT
772021-03-08 Tom Tromey <tom@tromey.com>
78
79 * expop.h (class string_operation): New.
80 * eval.c (eval_op_string): No longer static.
81
e6e01e16
TT
822021-03-08 Tom Tromey <tom@tromey.com>
83
84 * expop.h (class internalvar_operation): New.
85 * ax-gdb.c (internalvar_operation::do_generate_ax): New method.
86
e6985c5e
TT
872021-03-08 Tom Tromey <tom@tromey.com>
88
89 * expop.h (class bool_operation): New.
90
55bdbff8
TT
912021-03-08 Tom Tromey <tom@tromey.com>
92
93 * expop.h (class register_operation): New.
94 * eval.c (eval_op_register): No longer static.
95 * ax-gdb.c (register_operation::do_generate_ax): New method.
96
247d935b
TT
972021-03-08 Tom Tromey <tom@tromey.com>
98
99 * expop.h (class last_operation): New.
100
17679395
TT
1012021-03-08 Tom Tromey <tom@tromey.com>
102
103 * expop.h (class func_static_var_operation): New.
104 * eval.c (eval_op_func_static_var): No longer static.
105
b5cc3923
TT
1062021-03-08 Tom Tromey <tom@tromey.com>
107
108 * expop.h (class var_entry_value_operation): New.
109 * eval.c (eval_op_var_entry_value): No longer static.
110
0c8effa3
TT
1112021-03-08 Tom Tromey <tom@tromey.com>
112
113 * expression.h (class operation) <set_outermost>: New method.
114 * expop.h (class var_msym_value_operation): New.
115 * eval.c (eval_op_var_msym_value): No longer static.
116 (var_msym_value_operation::evaluate_for_address)
117 (var_msym_value_operation::evaluate_for_sizeof)
118 (var_msym_value_operation::evaluate_for_cast): New methods.
119 * ax-gdb.c (var_msym_value_operation::do_generate_ax): New
120 method.
121
d336c29e
TT
1222021-03-08 Tom Tromey <tom@tromey.com>
123
124 * expop.h (class long_const_operation): New.
125 * ax-gdb.c (long_const_operation::do_generate_ax): New method.
126
d5ab122c
TT
1272021-03-08 Tom Tromey <tom@tromey.com>
128
129 * expop.h (class scope_operation): New.
130 * eval.c (eval_op_scope): No longer static.
131 (scope_operation::evaluate_for_address): New method.
132 * ax-gdb.c (scope_operation::do_generate_ax): New method.
133
cae26a0c
TT
1342021-03-08 Tom Tromey <tom@tromey.com>
135
136 * expprint.c (float_const_operation::dump): New method.
137 * expop.h (float_data): New typedef.
138 (class float_const_operation): New.
139
75f9892d
TT
1402021-03-08 Tom Tromey <tom@tromey.com>
141
142 * expop.h (gen_expr_binop, gen_expr_structop): Declare.
143 * ax-gdb.c (gen_expr_binop): New function.
144 (gen_expr_structop): Likewise.
145
de401988
TT
1462021-03-08 Tom Tromey <tom@tromey.com>
147
148 * expprint.c (expr::dump_for_expression): New functions.
149 * expop.h (dump_for_expression): New overloads.
150 (tuple_holding_operation::dump, tuple_holding_operation::do_dump):
151 Update.
152
e2803273
TT
1532021-03-08 Tom Tromey <tom@tromey.com>
154
155 * expression.h (expr::operation): New class.
156 (expr::make_operation): New function.
157 (expr::operation_up): New typedef.
158 * expop.h: New file.
159 * eval.c (operation::evaluate_for_cast)
160 (operation::evaluate_for_address, operation::evaluate_for_sizeof):
161 New methods.
162 * ax-gdb.c (operation::generate_ax): New method.
163
e18c58f2
TT
1642021-03-08 Tom Tromey <tom@tromey.com>
165
166 * ax-gdb.c (gen_expr_binop_rest): Remove "pc" parameter.
167 (gen_expr_binop_rest): New overload.
168
c0d7ed8c
TT
1692021-03-08 Tom Tromey <tom@tromey.com>
170
171 * eval.c (eval_multi_subscript): New function.
172 (evaluate_subexp_standard): Use it.
173
dd5fd283
TT
1742021-03-08 Tom Tromey <tom@tromey.com>
175
176 * ada-lang.c (ada_binop_exp): New function.
177 (ada_evaluate_subexp): Use it.
178
3848abd6
TT
1792021-03-08 Tom Tromey <tom@tromey.com>
180
181 * ada-lang.c (ada_val_atr): Rename from value_val_atr. Change
182 parameters.
183 (ada_evaluate_subexp): Use it.
184
38dc70cf
TT
1852021-03-08 Tom Tromey <tom@tromey.com>
186
187 * ada-lang.c (ada_binop_minmax): New function.
188 (ada_evaluate_subexp): Use it.
189
b84564fc
TT
1902021-03-08 Tom Tromey <tom@tromey.com>
191
192 * ada-lang.c (ada_unop_atr): New function.
193 (ada_evaluate_subexp): Use it.
194
b467efaa
TT
1952021-03-08 Tom Tromey <tom@tromey.com>
196
197 * ada-lang.c (ada_binop_in_bounds): New function.
198 (ada_evaluate_subexp): Use it.
199
5ce19db8
TT
2002021-03-08 Tom Tromey <tom@tromey.com>
201
202 * ada-lang.c (ada_ternop_slice): New function.
203 (ada_evaluate_subexp): Use it.
204
214b13ac
TT
2052021-03-08 Tom Tromey <tom@tromey.com>
206
207 * ada-lang.c (ada_equal_binop): New function.
208 (ada_evaluate_subexp): Use it.
209
faa1dfd7
TT
2102021-03-08 Tom Tromey <tom@tromey.com>
211
212 * ada-lang.c (ada_mult_binop): New function.
213 (ada_evaluate_subexp): Use it.
214
d05e24e6
TT
2152021-03-08 Tom Tromey <tom@tromey.com>
216
217 * ada-lang.c (ada_abs): New function.
218 (ada_evaluate_subexp): Use it.
219
68c75735
TT
2202021-03-08 Tom Tromey <tom@tromey.com>
221
222 * ada-lang.c (ada_atr_size): New function.
223 (ada_evaluate_subexp): Use it.
224
020dbabe
TT
2252021-03-08 Tom Tromey <tom@tromey.com>
226
227 * ada-lang.c (ada_atr_tag): New function.
228 (ada_evaluate_subexp): Use it.
229
7efc87ff
TT
2302021-03-08 Tom Tromey <tom@tromey.com>
231
232 * ada-lang.c (ada_unop_in_range): New function.
233 (ada_evaluate_subexp): Use it.
234
82390ab8
TT
2352021-03-08 Tom Tromey <tom@tromey.com>
236
237 * ada-lang.c (ada_unop_neg): New function.
238 (ada_evaluate_subexp): Use it.
239
62d4bd94
TT
2402021-03-08 Tom Tromey <tom@tromey.com>
241
242 * ada-lang.c (eval_ternop_in_range): New function.
243 (ada_evaluate_subexp): Use it.
244
3634f669
TT
2452021-03-08 Tom Tromey <tom@tromey.com>
246
247 * opencl-lang.c (eval_opencl_assign): New function.
248 (evaluate_subexp_opencl): Use it.
249
5e80600e
TT
2502021-03-08 Tom Tromey <tom@tromey.com>
251
252 * eval.c (eval_op_objc_msgcall): New function.
253 (evaluate_subexp_standard): Use it.
254
fb5ba2ab
TT
2552021-03-08 Tom Tromey <tom@tromey.com>
256
257 * eval.c (eval_binop_assign_modify): New function.
258 (evaluate_subexp_standard): Use it.
259
a49881f7
TT
2602021-03-08 Tom Tromey <tom@tromey.com>
261
262 * m2-lang.c (eval_op_m2_subscript): New function.
263 (evaluate_subexp_modula2): Use it.
264
41bdced5
TT
2652021-03-08 Tom Tromey <tom@tromey.com>
266
267 * m2-lang.c (eval_op_m2_high): New function.
268 (evaluate_subexp_modula2): Use it.
269
13ea014a
TT
2702021-03-08 Tom Tromey <tom@tromey.com>
271
272 * eval.c (evaluate_subexp_for_address_base): New function.
273 (evaluate_subexp_for_address): Use it.
274 (evaluate_subexp_for_sizeof_base): New function.
275 (evaluate_subexp_for_sizeof): Use it.
276
1fa41fc7
TT
2772021-03-08 Tom Tromey <tom@tromey.com>
278
279 * rust-lang.c (eval_op_rust_structop): New function.
280 (rust_evaluate_subexp): Use it.
281
575cae23
TT
2822021-03-08 Tom Tromey <tom@tromey.com>
283
284 * rust-lang.c (eval_op_rust_struct_anon): New function.
285 (rust_evaluate_subexp): Use it.
286
05104233
TT
2872021-03-08 Tom Tromey <tom@tromey.com>
288
289 * rust-lang.c (eval_op_rust_array): New function.
290 (rust_evaluate_subexp): Use it.
291
6fa9831f
TT
2922021-03-08 Tom Tromey <tom@tromey.com>
293
294 * rust-lang.c (eval_op_rust_complement): New function.
295 (rust_evaluate_subexp): Use it.
296
d123f9e4
TT
2972021-03-08 Tom Tromey <tom@tromey.com>
298
299 * rust-lang.c (eval_op_rust_ind): New function.
300 (rust_evaluate_subexp): Use it.
301
984af2cb
TT
3022021-03-08 Tom Tromey <tom@tromey.com>
303
304 * rust-lang.c (rust_subscript): Change parameters.
305 (rust_evaluate_subexp): Update.
306
d148f803
TT
3072021-03-08 Tom Tromey <tom@tromey.com>
308
309 * rust-lang.c (rust_range): Change parameters.
310 (rust_evaluate_subexp): Update.
311
9cbd1c20
TT
3122021-03-08 Tom Tromey <tom@tromey.com>
313
314 * f-lang.c (eval_op_f_allocated): New function.
315 (evaluate_subexp_f): Use it.
316
3c18c49c
TT
3172021-03-08 Tom Tromey <tom@tromey.com>
318
319 * f-lang.c (fortran_require_array): New function.
320 (evaluate_subexp_f): Use it.
321
216f6fcb
TT
3222021-03-08 Tom Tromey <tom@tromey.com>
323
324 * f-lang.c (eval_op_f_kind): New function.
325 (evaluate_subexp_f): Use it.
326
00f2db6f
TT
3272021-03-08 Tom Tromey <tom@tromey.com>
328
329 * f-lang.c (eval_op_f_cmplx): New function.
330 (evaluate_subexp_f): Use it.
331
93b2b5fa
TT
3322021-03-08 Tom Tromey <tom@tromey.com>
333
334 * f-lang.c (eval_op_f_modulo): New function.
335 (evaluate_subexp_f): Use it.
336
9f1a1f3c
TT
3372021-03-08 Tom Tromey <tom@tromey.com>
338
339 * f-lang.c (eval_op_f_floor): New function.
340 (evaluate_subexp_f): Use it.
341
3dc41f3c
TT
3422021-03-08 Tom Tromey <tom@tromey.com>
343
344 * f-lang.c (eval_op_f_ceil): New function.
345 (evaluate_subexp_f): Use it.
346
e08109f2
TT
3472021-03-08 Tom Tromey <tom@tromey.com>
348
349 * f-lang.c (eval_op_f_mod): New function.
350 (evaluate_subexp_f): Use it.
351
cc05c68e
TT
3522021-03-08 Tom Tromey <tom@tromey.com>
353
354 * f-lang.c (eval_op_f_abs): New function.
355 (evaluate_subexp_f): Use it.
356
aec95807
TT
3572021-03-08 Tom Tromey <tom@tromey.com>
358
359 * eval.c (eval_op_type): New function.
360 (evaluate_subexp_standard): Use it.
361
a220ead5
TT
3622021-03-08 Tom Tromey <tom@tromey.com>
363
364 * eval.c (eval_op_postdec): New function.
365 (evaluate_subexp_standard): Use it.
366
abffe116
TT
3672021-03-08 Tom Tromey <tom@tromey.com>
368
369 * eval.c (eval_op_postinc): New function.
370 (evaluate_subexp_standard): Use it.
371
9e1361b7
TT
3722021-03-08 Tom Tromey <tom@tromey.com>
373
374 * eval.c (eval_op_predec): New file.
375 (evaluate_subexp_standard): Use it.
376
00f50884
TT
3772021-03-08 Tom Tromey <tom@tromey.com>
378
379 * eval.c (eval_op_preinc): New function.
380 (evaluate_subexp_standard): Use it.
381
3aef2a07
TT
3822021-03-08 Tom Tromey <tom@tromey.com>
383
384 * eval.c (eval_op_memval): New function.
385 (evaluate_subexp_standard): Use it.
386
acee9468
TT
3872021-03-08 Tom Tromey <tom@tromey.com>
388
389 * eval.c (eval_op_alignof): New function.
390 (evaluate_subexp_standard): Use it.
391
786f70ee
TT
3922021-03-08 Tom Tromey <tom@tromey.com>
393
394 * eval.c (eval_op_ind): New function.
395 (evaluate_subexp_standard): Use it.
396
24338fb9
TT
3972021-03-08 Tom Tromey <tom@tromey.com>
398
399 * eval.c (eval_op_lognot): New function.
400 (evaluate_subexp_standard): Use it.
401
1f09ec81
TT
4022021-03-08 Tom Tromey <tom@tromey.com>
403
404 * eval.c (eval_op_complement): New function.
405 (evaluate_subexp_standard): Use it.
406
606d105f
TT
4072021-03-08 Tom Tromey <tom@tromey.com>
408
409 * eval.c (eval_op_neg): New function.
410 (evaluate_subexp_standard): Use it.
411
39f288be
TT
4122021-03-08 Tom Tromey <tom@tromey.com>
413
414 * eval.c (eval_op_plus): New function.
415 (evaluate_subexp_standard): Use it.
416
eed70b1c
TT
4172021-03-08 Tom Tromey <tom@tromey.com>
418
419 * eval.c (eval_op_repeat): New function.
420 (evaluate_subexp_standard): Use it.
421
60cdd487
TT
4222021-03-08 Tom Tromey <tom@tromey.com>
423
424 * eval.c (eval_op_leq): New function.
425 (evaluate_subexp_standard): Use it.
426
96e3efd9
TT
4272021-03-08 Tom Tromey <tom@tromey.com>
428
429 * eval.c (eval_op_geq): New function.
430 (evaluate_subexp_standard): Use it.
431
1f78d732
TT
4322021-03-08 Tom Tromey <tom@tromey.com>
433
434 * eval.c (eval_op_gtr): New function.
435 (evaluate_subexp_standard): Use it.
436
6cad1349
TT
4372021-03-08 Tom Tromey <tom@tromey.com>
438
439 * eval.c (eval_op_less): New function.
440 (evaluate_subexp_standard): Use it.
441
1fcb3559
TT
4422021-03-08 Tom Tromey <tom@tromey.com>
443
444 * eval.c (eval_op_notequal): New function.
445 (evaluate_subexp_standard): Use it.
446
0cc96de8
TT
4472021-03-08 Tom Tromey <tom@tromey.com>
448
449 * eval.c (eval_op_equal): New function.
450 (evaluate_subexp_standard): Use it.
451
288d26bc
TT
4522021-03-08 Tom Tromey <tom@tromey.com>
453
454 * eval.c (eval_op_subscript): New function.
455 (evaluate_subexp_standard): Use it.
456
7cdcdd02
TT
4572021-03-08 Tom Tromey <tom@tromey.com>
458
459 * eval.c (eval_op_binary): New function.
460 (evaluate_subexp_standard): Use it.
461
d9790e22
TT
4622021-03-08 Tom Tromey <tom@tromey.com>
463
464 * eval.c (eval_op_sub): New function.
465 (evaluate_subexp_standard): Use it.
466
aedaf9ac
TT
4672021-03-08 Tom Tromey <tom@tromey.com>
468
469 * eval.c (eval_op_add): New function.
470 (evaluate_subexp_standard): Use it.
471
b7a96ed2
TT
4722021-03-08 Tom Tromey <tom@tromey.com>
473
474 * eval.c (eval_op_member): New function.
475 (evaluate_subexp_standard): Use it.
476
fb461aa3
TT
4772021-03-08 Tom Tromey <tom@tromey.com>
478
479 * eval.c (eval_op_structop_ptr): New function.
480 (evaluate_subexp_standard): Use it.
481
3e96c4fc
TT
4822021-03-08 Tom Tromey <tom@tromey.com>
483
484 * eval.c (eval_op_structop_struct): New function.
485 (evaluate_subexp_standard): Use it.
486
f960a617
TT
4872021-03-08 Tom Tromey <tom@tromey.com>
488
489 * eval.c (eval_op_ternop): New function.
490 (evaluate_subexp_standard): Use it.
491
5c2f201e
TT
4922021-03-08 Tom Tromey <tom@tromey.com>
493
494 * eval.c (eval_op_concat): New function.
495 (evaluate_subexp_standard): Use it.
496
f871bae1
TT
4972021-03-08 Tom Tromey <tom@tromey.com>
498
499 * eval.c (eval_op_objc_selector): New function.
500 (evaluate_subexp_standard): Use it.
501
14a1c64a
TT
5022021-03-08 Tom Tromey <tom@tromey.com>
503
504 * eval.c (eval_op_string): New function.
505 (evaluate_subexp_standard): Use it.
506
ffff730b
TT
5072021-03-08 Tom Tromey <tom@tromey.com>
508
509 * eval.c (eval_op_register): New function.
510 (evaluate_subexp_standard): Use it.
511
9b1d8af6
TT
5122021-03-08 Tom Tromey <tom@tromey.com>
513
514 * eval.c (eval_op_func_static_var): New function.
515 (evaluate_subexp_standard): Use it.
516
c0df9289
TT
5172021-03-08 Tom Tromey <tom@tromey.com>
518
519 * eval.c (eval_op_var_msym_value): New function.
520 (evaluate_subexp_standard): Use it.
521
50b98adc
TT
5222021-03-08 Tom Tromey <tom@tromey.com>
523
524 * eval.c (eval_op_var_entry_value): New function.
525 (evaluate_subexp_standard): Use it.
526
ea2d29f7
TT
5272021-03-08 Tom Tromey <tom@tromey.com>
528
529 * eval.c (eval_op_scope): New function.
530 (evaluate_subexp_standard): Use it.
531
01573d73
TT
5322021-03-06 Chernov Sergey <klen_s@mail.ru>
533
534 PR gdb/27528:
535 * ada-lang.c (ada_fold_name): Use gdb::to_string.
536
9938d15a
TT
5372021-03-06 Tom Tromey <tom@tromey.com>
538
539 * dwarf2/sect-names.h (dwarf2_elf_names): Declare.
540 * dwarf2/read.h (dwarf2_get_dwz_file): Move to dwz.h.
541 * dwarf2/read.c (dwarf2_elf_names): No longer static.
542 (locate_dwz_sections, dwz_search_other_debugdirs)
543 (dwarf2_get_dwz_file): Move to dwz.c.
544 * dwarf2/dwz.h (dwarf2_get_dwz_file): Move declaration from
545 read.h.
546 * dwarf2/dwz.c (locate_dwz_sections, dwz_search_other_debugdirs)
547 (dwarf2_get_dwz_file): Move from read.c.
548
18035655
TT
5492021-03-06 Tom Tromey <tom@tromey.com>
550
551 * debuginfod-support.h: Include scoped_fd.h.
552
a7308ce0
TT
5532021-03-06 Tom Tromey <tom@tromey.com>
554
555 * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter.
556 * dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter.
557 (get_abbrev_section_for_cu, read_attribute_value)
558 (get_debug_line_section): Update.
559 * dwarf2/macro.c (dwarf_decode_macro_bytes): Update.
560
fbedd546
TT
5612021-03-06 Tom Tromey <tom@tromey.com>
562
563 * dwarf2/sect-names.h (struct dwarf2_section_names) <matches>: New
564 method.
565 * dwarf2/read.c (section_is_p): Remove.
566 (dwarf2_per_bfd::locate_sections)
567 (dwarf2_per_bfd::locate_sections, locate_dwz_sections)
568 (locate_v1_virtual_dwo_sections, dwarf2_locate_dwo_sections)
569 (dwarf2_locate_common_dwp_sections)
570 (dwarf2_locate_v2_dwp_sections, dwarf2_locate_v5_dwp_sections):
571 Update.
572
c2a62a3d
TT
5732021-03-06 Tom Tromey <tom@tromey.com>
574
575 * xcoffread.c: Include sect-names.h.
576 * symfile.h (struct dwarf2_section_names, struct
577 dwarf2_debug_sections): Move to dwarf2/sect-names.h.
578 * dwarf2/sect-names.h: New file, from symfile.h.
579 * dwarf2/read.c: Include sect-names.h.
580
4444f407
TT
5812021-03-06 Tom Tromey <tom@tromey.com>
582
583 * dwarf2/read.c (read_attribute): Make 'abbrev' const.
584 * dwarf2/abbrev.c (abbrev_table::alloc_abbrev): Remove.
585 (abbrev_table::read): Update.
586 * dwarf2/abbrev.h (struct attr_abbrev): Move earlier.
587 (struct abbrev_info): Reformat.
588 <attrs>: Now an array.
589 (struct abbrev_table) <alloc_abbrev>: Remove.
590
dd99cf0c
WP
5912021-03-06 Weimin Pan <weimin.pan@oracle.com>
592
593 * ctfread.c (ctf_psymtab_add_enums): New function.
594 (ctf_psymtab_type_cb): call ctf_psymtab_add_enums.
595
844be3f2
WP
5962021-03-06 Weimin Pan <weimin.pan@oracle.com>
597
598 * ctfread.c (read_func_kind_type): Set up function arguments.
599
b2668f28
AB
6002021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
601 Andrew Burgess <andrew.burgess@embecosm.com>
602
603 * riscv-none-tdep.c: Add 'user-regs.h' and 'target-description.h'
604 includes.
605 (riscv_csrset): New static global.
606 (riscv_update_csrmap): New function.
607 (riscv_iterate_over_regset_sections): Process CSRs.
608
d782d24b
AB
6092021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
610
611 * riscv-tdep.c (riscv_feature_name_csr): Define.
612 (riscv_feature_name_cpu): Define.
613 (riscv_feature_name_fpu): Define.
614 (riscv_feature_name_virtual): Define.
615 (riscv_xreg_feature): Use riscv_feature_name_cpu.
616 (riscv_freg_feature): Use riscv_feature_name_fpu.
617 (riscv_virtual_feature): Use riscv_feature_name_virtual.
618 (riscv_csr_feature): Use riscv_feature_name_csr.
619 * riscv-tdep.h (riscv_feature_name_csr): Declare.
620
fb8f3fc0
AB
6212021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
622 Craig Blackmore <craig.blackmore@embecosm.com>
623
624 * Makefile.in (ALL_TARGET_OBS): Add riscv-none-tdep.o.
625 (ALLDEPFILES): Add riscv-none-tdep.c.
626 * configure: Regenerate.
627 * configure.ac (CONFIG_OBS): Add elf-none-tdep.o when BFD has ELF
628 support.
629 * configure.tgt (riscv*-*-*): Include riscv-none-tdep.c.
630 * elf-none-tdep.c: New file.
631 * elf-none-tdep.h: New file.
632 * riscv-none-tdep.c: New file.
633
95ce627a
AB
6342021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
635 Andrew Burgess <andrew.burgess@embecosm.com>
636
637 * corelow.c: Add 'xml-tdesc.h' include.
638 (core_target::read_description): Load the target description from
639 the core file when possible.
640 * fbsd-tdep.c (fbsd_make_corefile_notes): Add target description
641 note.
642 * gcore-elf.c: Add 'gdbsupport/tdesc.h' include.
643 (gcore_elf_make_tdesc_note): New function.
644 * gcore-elf.h (gcore_elf_make_tdesc_note): Declare.
645 * linux-tdep.c (linux_make_corefile_notes): Add target description
646 note.
647
f3a5df7b
AB
6482021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
649
650 * Makefile.in (SFILES): Add gcore-elf.c.
651 (HFILES_NO_SRCDIR): Add gcore-elf.h
652 * configure: Regenerate.
653 * configure.ac: Add gcore-elf.o to CONFIG_OBS if we have ELF
654 support.
655 * fbsd-tdep.c: Add 'gcore-elf.h' include.
656 (struct fbsd_collect_regset_section_cb_data): Delete.
657 (fbsd_collect_regset_section_cb): Delete.
658 (fbsd_collect_thread_registers): Delete.
659 (struct fbsd_corefile_thread_data): Delete.
660 (fbsd_corefile_thread): Delete.
661 (fbsd_make_corefile_notes): Call
662 gcore_elf_build_thread_register_notes instead of the now deleted
663 FreeBSD code.
664 * gcore-elf.c: New file, the content was moved here from
665 linux-tdep.c, functions were renamed and given minor cleanup.
666 * gcore-elf.h: New file.
667 * gcore.c (gcore_find_signalled_thread): Moved here from
668 linux-tdep.c and given a new name. Minor cleanups.
669 * gcore.h (gcore_find_signalled_thread): Declare.
670 * linux-tdep.c: Add 'gcore.h' and 'gcore-elf.h' includes.
671 (struct linux_collect_regset_section_cb_data): Delete.
672 (linux_collect_regset_section_cb): Delete.
673 (linux_collect_thread_registers): Delete.
674 (linux_corefile_thread): Call
675 gcore_elf_build_thread_register_notes.
676 (find_signalled_thread): Delete.
677 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
678
d1e93af6
SM
6792021-03-04 Simon Marchi <simon.marchi@polymtl.ca>
680
681 PR gdb/27147
682 * sparc-nat.h (sparc_fetch_inferior_registers): Add
683 process_stratum_target parameter,
684 sparc_store_inferior_registers): update callers.
685 * sparc-nat.c (sparc_fetch_inferior_registers,
686 sparc_store_inferior_registers): Add process_stratum_target
687 parameter. Switch current thread before calling
688 sparc_supply_gregset / sparc_collect_rwindow.
689 (sparc_store_inferior_registers): Likewise.
690 * sparc-obsd-tdep.c (sparc32obsd_supply_uthread): Add assertion.
691 (sparc32obsd_collect_uthread): Likewise.
692 * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
693 Add assertion.
694 * sparc64-obsd-tdep.c (sparc64obsd_collect_uthread,
695 sparc64obsd_supply_uthread): Add assertion.
696
1178743e
TT
6972021-03-04 Tom Tromey <tromey@adacore.com>
698
699 * ada-lang.c (struct match_data) <found_sym>: Now bool.
700 (aux_add_nonlocal_symbols): Update.
701 (ada_add_block_symbols): Change "found_sym" to bool.
702
1bfa81ac
TT
7032021-03-03 Tom Tromey <tromey@adacore.com>
704
705 * ada-lang.c (ada_resolve_function): Update comment.
706 (is_nonfunction, add_symbols_from_enclosing_procs)
707 (remove_extra_symbols): Likewise.
708 (struct match_data): Add constructor, initializers.
709 (add_nonlocal_symbols): Remove memset.
710 (aux_add_nonlocal_symbols): Update comment.
711 (ada_add_block_renamings, add_nonlocal_symbols)
712 (ada_add_all_symbols): Likewise.
713 * ada-exp.y (write_var_or_type): Clean up trailing whitespace.
714
bbcdf9ab
TT
7152021-03-02 Tom Tromey <tromey@adacore.com>
716
717 * ada-lang.c (cast_from_gnat_encoded_fixed_point_type)
718 (cast_to_gnat_encoded_fixed_point_type): Remove.
719 (ada_value_cast, ada_evaluate_subexp): Update.
720 (gnat_encoded_fixed_point_type_info)
721 (ada_is_gnat_encoded_fixed_point_type)
722 (gnat_encoded_fixed_point_delta)
723 (gnat_encoded_fixed_point_scaling_factor): Remove.
724 * ada-lang.h (ada_is_gnat_encoded_fixed_point_type)
725 (gnat_encoded_fixed_point_delta)
726 (gnat_encoded_fixed_point_scaling_factor): Don't declare.
727 * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Remove.
728 (ada_print_type): Update.
729 * ada-valprint.c (ada_value_print_num): Update.
730 * dwarf2/read.c (ada_get_gnat_encoded_number)
731 (ada_get_gnat_encoded_ratio): New functions.
732 (finish_fixed_point_type): Use them. Add parameters.
733 (GNAT_FIXED_POINT_SUFFIX): New define.
734 (gnat_encoded_fixed_point_type_info): New function.
735 (read_base_type): Handle gnat encodings.
736
5f9febe0
TT
7372021-03-02 Tom Tromey <tromey@adacore.com>
738
739 * ada-lang.c (ada_fold_name, ada_variant_discrim_name)
740 (ada_enum_name, scan_discrim_bound, to_fixed_range_type): Use
741 std::string.
742 (GROW_VECT): Remove.
743 (grow_vect): Remove.
744
d1183b06
TT
7452021-03-02 Tom Tromey <tromey@adacore.com>
746
747 * ada-lang.h (ada_lookup_symbol_list): Return a vector.
748 * ada-lang.c (resolve_subexp): Update.
749 (ada_resolve_function): Accept a vector.
750 (is_nonfunction, add_defn_to_vec)
751 (add_symbols_from_enclosing_procs): Likewise.
752 (num_defns_collected, defns_collected): Remove.
753 (remove_extra_symbols): Return a vector.
754 (remove_irrelevant_renamings): Return void.
755 (ada_add_local_symbols): Accept a vector.
756 (struct match_data) <obstackp>: Remove.
757 <resultp>: New member.
758 (aux_add_nonlocal_symbols): Update.
759 (ada_add_block_renamings, add_nonlocal_symbols)
760 (ada_add_all_symbols): Accept a vector.
761 (ada_lookup_symbol_list_worker, ada_lookup_symbol_list): Return a
762 vector.
763 (ada_lookup_symbol): Update.
764 (ada_add_block_symbols): Accept a vector.
765 (get_var_value, iterate_over_symbols): Update.
766 * ada-exp.y (block_lookup, write_var_or_type, write_name_assoc):
767 Update.
768
886d459f
TT
7692021-03-02 Tom Tromey <tromey@adacore.com>
770
771 * ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom.
772
bdcccc56
TT
7732021-03-02 Tom Tromey <tromey@adacore.com>
774
775 * ada-lang.c (struct ada_symbol_cache) <cache_space>: Now an
776 auto_obstack.
777 <root>: Initialize.
778 (ada_pspace_data): Remove destructor.
779 <sym_cache>: Now a unique_ptr.
780 (ada_init_symbol_cache, ada_free_symbol_cache): Remove.
781 (ada_get_symbol_cache): Use 'new'.
782 (ada_clear_symbol_cache): Rewrite.
783
1228719f
TT
7842021-03-02 Tom Tromey <tromey@adacore.com>
785
786 * ada-lang.c (add_nonlocal_symbols): Handle case where objfile->sf
787 is null.
788
bb3a4efe
LS
7892021-02-27 Lancelot Six <lsix@lancelotsix.com>
790
791 PR gdb/27393
792 * source.c (add_path): Skip empty dirnames.
793
26b43ca6 7942021-02-25 Kevin Buettner <kevinb@redhat.com>
0f977b77
KB
795
796 * nat/aarch64-sve-linux-ptrace.h: Add comment regarding
797 include order for <sys/ptrace.h> and <asm/ptrace.h>.
798
dffdd8b5
SM
7992021-02-25 Simon Marchi <simon.marchi@polymtl.ca>
800
801 PR gdb/26861
802 * target.c (target_mourn_inferior): Only compare pids in
803 target_mourn_inferior.
804
64d38fdd
JM
8052021-02-25 Jan Matyas <jmatyas@codasip.com>
806
807 PR gdb/26819
808 * remote.c (remote_target::start_remote): Ensure the single
809 thread, automatically added for remote targets without the
810 concept of threading, is initially in set to the "resumed"
811 state.
812 * remote.c (remote_target::add_current_inferior_and_thread):
813 Add return value - return the main thread.
814
2450ad54
JV
8152021-02-25 Jan Vrany <jan.vrany@labware.com>
816
817 * gdb/mi/mi-interp.c (mi_traceframe_changed): Remove trailing \n from output.
818 (mi_tsv_created): Likewise.
819 (mi_tsv_deleted): Likewise.
820
30c80d88
TV
8212021-02-25 Tom de Vries <tdevries@suse.de>
822
823 PR symtab/27354
824 * dwarf2/read.c (open_and_init_dwo_file): Use rcuh_kind::COMPILE as
825 section_kind for &dwo_file->sections.info.
826
68337b8b
AB
8272021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
828
829 PR fortran/26155
830 * f-lang.c (fortran_argument_convert): Delete declaration.
831 (fortran_prepare_argument): New function.
832 (evaluate_subexp_f): Move logic to new function
833 fortran_prepare_argument.
834
faeb9f13
AB
8352021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
836
837 * f-exp.y (f77_keywords): Add 'associated'.
838 * f-lang.c (fortran_associated): New function.
839 (evaluate_subexp_f): Handle FORTRAN_ASSOCIATED.
840 (operator_length_f): Likewise.
841 (print_unop_or_binop_subexp_f): New function.
842 (print_subexp_f): Make use of print_unop_or_binop_subexp_f for
843 FORTRAN_ASSOCIATED, FORTRAN_LBOUND, and FORTRAN_UBOUND.
844 (dump_subexp_body_f): Handle FORTRAN_ASSOCIATED.
845 (operator_check_f): Likewise.
846 * std-operator.def: Add FORTRAN_ASSOCIATED.
847
170f4b23
AB
8482021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
849
850 * f-exp.y (fortran_operators): Add ".xor.".
851
aa659cfa
TV
8522021-02-24 Tom de Vries <tdevries@suse.de>
853
854 PR symtab/27336
855 * dwarf2/attribute.c (attribute::form_is_signed): New function
856 factored out of ...
857 * dwarf2/attribute.h (attribute::as_signed): ... here.
858 (attribute::is_nonnegative, attribute::as_nonnegative): New function.
859 (attribute::form_is_signed): Declare.
860 * dwarf2/read.c (new_symbol): Use is_nonnegative and as_nonnegative
861 for DW_AT_decl_file.
862
268c77c1
KB
8632021-02-24 Kevin Buettner <kevinb@redhat.com>
864
865 * nat/aarch64-linux-hw-point.c: Add comment regarding include
866 order for <sys/ptrace.h> and <asm/ptrace.h>.
867
665af52e
KB
8682021-02-24 Kevin Buettner <kevinb@redhat.com>
869
870 * nat/aarch64-linux-hw-point.c: Include <asm/ptrace.h> after
871 <sys/ptrace.h>.
872
dd80d750
AB
8732021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
874
875 * exec.c (set_section_command): Move variable declarations into
876 the function body, and use std::string instead of a fixed size
877 buffer.
878
336aa7b7
AB
8792021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
880
881 * exec.c (exec_target::get_section_table): Delete member function.
882 (section_table_read_available_memory): Use current_top_target, not
883 just the exec_ops target.
884 * target-delegates.c: Regenerate.
885 * target.c (default_get_section_table): New function.
886 * target.h (target_ops::get_section_table): Change default
887 behaviour to call default_get_section_table.
888 (default_get_section_table): Declare.
889
02f7d26b
AB
8902021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
891
892 * exec.c (exec_target::close): Call new clear_target_sections
893 function.
894 (program_space::add_target_sections): Update name of member
895 variable.
896 (program_space::add_target_sections): Update name of member
897 variable.
898 (program_space::remove_target_sections): Likewise.
899 (exec_one_fork): Use new target_sections member function.
900 (exec_target::get_section_table): Likewise.
901 (exec_target::files_info): Likewise.
902 (set_section_command): Likewise.
903 (exec_set_section_address): Likewise.
904 (exec_target::has_memory): Use new target_sections member
905 function.
906 * progspace.h (program_space::clear_target_sections): New member
907 function.
908 (program_space::target_sections): Rename member variable to
909 m_target_sections, replace with a new member function.
910 (program_space::m_target_sections): New member variable.
911 * solib-dsbt.c (scan_dyntag): Use new member function.
912 * solib-svr4.c (scan_dyntag): Likewise.
913
19cf757a
AB
9142021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
915
916 * gdb/bfd-target.c (class target_bfd) <get_section_table>: Make
917 return type const.
918 * gdb/exec.c (struct exec_target) <get_section_table>: Likewise.
919 (section_table_read_available_memory): Make local const.
920 (exec_target::xfer_partial): Make local const.
921 (print_section_info): Make parameter const.
922 * gdb/exec.h (print_section_info): Likewise.
923 * gdb/ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Make local
924 const.
925 * gdb/record-btrace.c (record_btrace_target::xfer_partial):
926 Likewise.
927 * gdb/remote.c (remote_target::remote_xfer_live_readonly_partial):
928 Likewise.
929 * gdb/s390-tdep.c (s390_load): Likewise.
930 * gdb/solib-dsbt.c (scan_dyntag): Likewise.
931 * gdb/solib-svr4.c (scan_dyntag): Likewise.
932 * gdb/target-debug.h (target_debug_print_target_section_table_p):
933 Rename to...
934 (target_debug_print_const_target_section_table_p): ...this.
935 * gdb/target-delegates.c: Regenerate.
936 * gdb/target.c (target_get_section_table): Make return type const.
937 (target_section_by_addr): Likewise. Also make some locals const.
938 (memory_xfer_partial_1): Make some locals const.
939 * gdb/target.h (struct target_ops) <get_section_table>: Make
940 return type const.
941 (target_section_by_addr): Likewise.
942 (target_get_section_table): Likewise.
943
02a79309
AB
9442021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
945
946 * NEWS: Mention new 'maint info target-sections' command.
947 * maint.c (maintenance_info_target_sections): New function.
948 (_initialize_maint_cmds): Register new command.
949
895b7b4e
AB
9502021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
951
952 * riscv-tdep.c (riscv_features_from_gdbarch_info): Rename to...
953 (riscv_features_from_bfd): ...this. Change parameter type to
954 'bfd*', and update as required.
955 (riscv_find_default_target_description): Update call to
956 riscv_features_from_bfd. Select a default xlen based on
957 info.bfd_arch_info.
958 (riscv_gdbarch_init): Update call to riscv_features_from_bfd.
959
bc3c0632
AB
9602021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
961
962 * eval.c (evaluate_subexp_standard): Call value_ind for points to
963 dynamic types in UNOP_IND.
964
08ac5771
SM
9652021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
966
967 PR gdb/26828
968 * dwarf2/read.c (dwarf2_queue_guard) <dwarf2_queue_guard>:
969 Instantiate queue.
970 (~dwarf2_queue_guard): Clear queue.
971 (queue_comp_unit): Assert that queue is
972 instantiated.
973 (process_queue): Adjust.
974 * dwarf2/read.h (struct dwarf2_per_bfd) <queue>: Make optional.
975
616c069a
SM
9762021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
977
978 PR gdb/26828
979 * dwarf2/read.c (maybe_queue_comp_unit): Check if CU is expanded
980 to decide whether or not to enqueue it for expansion.
981 (follow_die_offset, follow_die_sig_1): Ensure we load the DIEs
982 after calling maybe_queue_comp_unit.
983
897608ed
SM
9842021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
985
986 * linux-nat.c (linux_nat_filter_event): Return void.
987
15908a11
TT
9882021-02-22 Tom Tromey <tromey@adacore.com>
989
990 * solib-svr4.c (enable_break): Update.
991 * bfd-target.c (class target_bfd) <target_bfd>: Change parameter
992 type.
993 (target_bfd_reopen): Change parameter type.
994 * bfd-target.h (target_bfd_reopen): Change parameter type.
995
f53fc427
SM
9962021-02-22 Simon Marchi <simon.marchi@polymtl.ca>
997
998 * thread.c (add_thread_silent): Add assert.
999 (find_thread_ptid): Add assert.
1000
de146e19
SM
10012021-02-22 Simon Marchi <simon.marchi@polymtl.ca>
1002
1003 PR gdb/27435
1004 * inf-ptrace.c (struct target_unpusher): Move to target.h.
1005 (target_unpush_up): Likewise.
1006 * procfs.c (procfs_target::attach): Push target early. Use
1007 target_unpush_up to unpush target in case of error.
1008 * target.h (struct target_unpusher): Move here.
1009 (target_unpush_up): Likewise.
1010
8488c357
KB
10112021-02-19 Kevin Buettner <kevinb@redhat.com>
1012
1013 * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h"
1014 (which in turn includes <gnulib/config.h>) before include
1015 of <signal.h>.
1016
5a9f5403
NC
10172021-02-19 Nelson Chu <nelson.chu@sifive.com>
1018
1019 PR 27158
1020 * riscv-tdep.c (decode_ci_type_insn): Updated encoding macros.
1021 (decode_j_type_insn): Likewise.
1022 (decode_cj_type_insn): Likewise.
1023 (decode_b_type_insn): Likewise.
1024 (decode): Likewise.
1025
26f53cd3
TT
10262021-02-18 Tom Tromey <tom@tromey.com>
1027
1028 * expression.h (struct expression) <evaluate>: Declare method.
1029 * eval.c (evaluate_subexp): Simplify.
1030 (expression::evaluate): New method.
1031 (evaluate_expression, evaluate_type): Use expression::evaluate.
1032
6a780b67
KB
10332021-02-17 Kevin Buettner <kevinb@redhat.com>
1034
1035 * ada-lang.c (ada_fold_name): Check for non-empty string prior
1036 to accessing it.
1037 (ada_lookup_name_info): Likewise.
1038
adeab0c5
MF
10392021-02-13 Mike Frysinger <vapier@gentoo.org>
1040
1041 * aclocal.m4: Regenerate.
1042
089436f7
TV
10432021-02-12 Tom de Vries <tdevries@suse.de>
1044
1045 PR threads/26228
1046 * linux-nat.c (lin_thread_get_thread_signals): Remove.
1047 (lin_thread_signals): New static var.
1048 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
1049 New function.
1050 * linux-nat.h (lin_thread_get_thread_signals): Remove.
1051 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
1052 Declare.
1053 * linux-thread-db.c (check_thread_signals): Use
1054 lin_thread_get_thread_signal_num and lin_thread_get_thread_signal.
1055
96df3e28
AB
10562021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
1057
1058 * f-exp.y (f77_keywords): Add allocated.
1059 * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED.
1060 (operator_length_f): Likewise.
1061 (print_subexp_f): Likewise.
1062 (dump_subexp_body_f): Likewise.
1063 (operator_check_f): Likewise.
1064 * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator.
1065
05f68f52
TV
10662021-02-11 Tom de Vries <tdevries@suse.de>
1067
1068 PR symtab/27353
1069 * dwarf2/attribute.c (attribute::form_requires_reprocessing):
1070 Return true for DW_FORM_strx.
1071
b260f8d6
TT
10722021-02-11 Tom Tromey <tromey@adacore.com>
1073
1074 PR gdb/27383:
1075 * parse.c (write_exp_symbol_reference): Write sym.block.
1076
bf3386f0
AB
10772021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1078
1079 * NEWS: Mention changes to 'maint info sections'.
1080 * maint.c (match_substring): Return a bool, fix whitespace issue.
1081 (struct single_bfd_flag_info): New struct.
1082 (bfd_flag_info): New static global.
1083 (match_bfd_flags): Return a bool, use bfd_flag_info.
1084 (print_bfd_flags): Use bfd_flag_info.
1085 (maint_print_section_info): Delete trailing whitespace.
1086 (struct maint_info_sections_opts): New struct.
1087 (maint_info_sections_option_defs): New static global.
1088 (maint_info_sections_completer): New function.
1089 (maintenance_info_sections): Use option parsing mechanism.
1090 (_initialize_maint_cmds): Update command help text for 'maint info
1091 sections' and register a command completer.
1092
4790db14
AB
10932021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1094
1095 * maint.c (print_bfd_section_info_maybe_relocated): Delete,
1096 functionality merged into...
1097 (maint_print_all_sections): ...this new function.
1098 (maintenance_info_sections): Make use of maint_print_all_sections,
1099 allow all objects to be printed even where there's no executable.
1100
1db66e34
AB
11012021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1102
1103 * breakpoint.c (resolve_sal_pc): Make use of
1104 bound_minimal_symbol::obj_section.
1105 * maint.c (maintenance_translate_address): Likewise.
1106 * minsyms.c (minimal_symbol_upper_bound): Likewise.
1107 * minsyms.h (struct bound_minimal_symbol) <obj_section>: New
1108 member function.
1109 * printcmd.c (info_address_command): Make use of
1110 bound_minimal_symbol::obj_section.
1111
18b8df43
AM
11122021-02-11 Alan Modra <amodra@gmail.com>
1113
1114 * arm-symbian-tdep.c: Delete.
1115 * NEWS: Mention arm-symbian removal.
1116 * Makefile.in: Remove arm-symbian-tdep entries.
1117 * configure.tgt: Remove arm*-*-symbianelf*.
1118 * doc/gdb.texinfo: Remove mention of SymbianOS.
1119 * osabi.c (gdb_osabi_names): Remove "Symbian".
1120 * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN.
1121 * testsuite/gdb.base/ending-run.exp: Remove E32Main handling.
1122 * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf*
1123 handling.
1124 * testsuite/gdb.base/dup-sect.exp: Likewise.
1125 * testsuite/gdb.base/long_long.exp: Likewise.
1126 * testsuite/gdb.base/solib-weak.exp: Likewise.
1127 * testsuite/gdb.guile/scm-section-script.exp: Likewise.
1128 * testsuite/gdb.python/py-section-script.exp: Likewise.
1129 * testsuite/lib/dwarf.exp: Likewise.
1130 * testsuite/lib/gdb.exp: Likewise.
1131
e92c8eb8
AB
11322021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1133
1134 * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token.
1135 (exp): New pattern using UNOP_OR_BINOP_INTRINSIC.
1136 (one_or_two_args): New pattern.
1137 (f77_keywords): Add lbound and ubound.
1138 * f-lang.c (fortran_bounds_all_dims): New function.
1139 (fortran_bounds_for_dimension): New function.
1140 (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND.
1141 (operator_length_f): Likewise.
1142 (print_subexp_f): Likewise.
1143 (dump_subexp_body_f): Likewise.
1144 (operator_check_f): Likewise.
1145 * std-operator.def (FORTRAN_LBOUND): Define.
1146 (FORTRAN_UBOUND): Define.
1147
a52d653e
AB
11482021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1149
1150 * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index
1151 and set_section_index member functions where appropriate.
1152 * coffread.c (coff_symtab_read): Likewise.
1153 (process_coff_symbol): Likewise.
1154 * ctfread.c (set_symbol_address): Likewise.
1155 * dwarf2/read.c (add_partial_symbol): Likewise.
1156 (var_decode_location): Likewise.
1157 * language.c: Likewise.
1158 * minsyms.c (minimal_symbol_reader::record_full): Likewise.
1159 (compact_minimal_symbols): Likewise.
1160 (minimal_symbol_upper_bound): Likewise.
1161 * objfiles.c (relocate_one_symbol): Likewise.
1162 * psympriv.h (partial_symbol::obj_section): Likewise.
1163 (partial_symbol::address): Likewise.
1164 * psymtab.c (partial_symtab::add_psymbol): Likewise.
1165 * stabsread.c (scan_file_globals): Likewise.
1166 * symmisc.c (dump_msymbols): Likewise.
1167 * symtab.c (general_symbol_info::obj_section): Likewise.
1168 (fixup_section): Likewise.
1169 (get_msymbol_address): Likewise.
1170 * symtab.h (general_symbol_info::section): Rename to...
1171 (general_symbol_info::m_section): ...this.
1172 (general_symbol_info::set_section_index): New member function.
1173 (general_symbol_info::section_index): Likewise.
1174 (SYMBOL_SECTION): Delete.
1175 (MSYMBOL_VALUE_ADDRESS): Make use of section_index and
1176 set_section_index member functions where appropriate.
1177 (MSYMBOL_SECTION): Delete.
1178 (symbol::symbol): Update to initialize 'm_section'.
1179 * xcoffread.c (read_xcoff_symtab): Make use of set_section_index.
1180 (process_xcoff_symbol): Likewise.
1181
ebbc3a7d
AB
11822021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1183
1184 * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and
1185 MSYMBOL_OBJ_SECTION.
1186 * findvar.c (language_defn::read_var_value): Likewise.
1187 * infcmd.c (jump_command): Likewise.
1188 * linespec.c (minsym_found): Likewise.
1189 * maint.c (maintenance_translate_address): Likewise.
1190 * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
1191 (minimal_symbol_upper_bound): Likewise.
1192 * parse.c (find_minsym_type_and_address): Likewise.
1193 (operator_check_standard): Likewise.
1194 * printcmd.c (info_address_command): Likewise.
1195 * symmisc.c (dump_msymbols): Likewise.
1196 (print_symbol): Likewise.
1197 * symtab.c (general_symbol_info::obj_section): Define new
1198 function.
1199 (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION.
1200 (find_pc_sect_compunit_symtab): Likewise.
1201 (find_function_start_sal): Likewise.
1202 (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and
1203 MSYMBOL_OBJ_SECTION.
1204 * symtab.h (struct general_symbol_info) <obj_section>: Declare new
1205 function.
1206 (SYMBOL_OBJ_SECTION): Delete.
1207 (MSYMBOL_OBJ_SECTION): Delete.
1208
9bb305b3
TT
12092021-02-09 Tom Tromey <tom@tromey.com>
1210
1211 * stap-probe.c (stap_parse_argument_conditionally): Fix typo.
1212
cf2b2075
TV
12132021-02-09 Tom de Vries <tdevries@suse.de>
1214
1215 PR symtab/27341
1216 * dwarf2/read.c (read_array_type): Return NULL when not being able to
1217 construct an array type. Add assert to ensure that element_type is
1218 not being modified.
1219
03642b71
AB
12202021-02-09 Andrew Burgess <andrew.burgess@embecosm.com>
1221
1222 * gcore.c (struct gcore_collect_regset_section_cb_data): Delete.
1223 (gcore_collect_regset_section_cb): Delete.
1224 (gcore_collect_thread_registers): Delete.
1225 (gcore_build_thread_register_notes): Delete.
1226 (gcore_find_signalled_thread): Delete.
1227 * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete
1228 'gdbarch' and 'thread_info' declarations.
1229 (gcore_build_thread_register_notes): Delete declaration.
1230 (gcore_find_signalled_thread): Likewise.
1231 * fbsd-tdep.c: Remove 'gcore.h' include.
1232 (struct fbsd_collect_regset_section_cb_data): New struct.
1233 (fbsd_collect_regset_section_cb): New function.
1234 (fbsd_collect_thread_registers): New function.
1235 (struct fbsd_corefile_thread_data): New struct.
1236 (fbsd_corefile_thread): New function.
1237 (fbsd_make_corefile_notes): Call FreeBSD specific code.
1238 * linux-tdep.c: Remove 'gcore.h' include.
1239 (struct linux_collect_regset_section_cb_data): New struct.
1240 (linux_collect_regset_section_cb): New function.
1241 (linux_collect_thread_registers): New function.
1242 (linux_corefile_thread): Call Linux specific code.
1243 (find_signalled_thread): New function.
1244 (linux_make_corefile_notes): Call find_signalled_thread.
1245
f73e424f
TT
12462021-02-09 Tom Tromey <tromey@adacore.com>
1247
1248 * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy
1249 not_lval value.
1250 * value.c (value_contents_copy_raw): Now static.
1251 * value.h (value_contents_copy_raw): Don't declare.
1252
a4f0544b
TT
12532021-02-09 Tom Tromey <tromey@adacore.com>
1254
1255 * gdbtypes.c (resolve_dynamic_struct): Handle structure with no
1256 fields.
1257
9b3e4b5d
SV
12582021-02-08 Shahab Vahedi <shahab@synopsys.com>
1259
1260 PR tdep/27369
1261 * arc-linux-tdep.c (handle_atomic_sequence): New.
1262 (arc_linux_software_single_step): Call handle_atomic_sequence().
1263
29db1eb3
AB
12642021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1265
1266 * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member
1267 function.
1268 (REQUIRE_WINDOW): Call is_valid member function.
1269 (REQUIRE_WINDOW_FOR_SETTER): New define.
1270 (gdbpy_tui_is_valid): Call is_valid member function.
1271 (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead.
1272 * tui/tui-data.h (struct tui_win_info) <is_visible>: Check
1273 tui_active too.
1274 * tui/tui-layout.c (tui_apply_current_layout): Add an assert.
1275 * tui/tui.c (tui_enable): Move setting of tui_active earlier in
1276 the function.
1277
e0c23e11
AB
12782021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1279
1280 * python/py-tui.c (gdbpy_tui_set_title): Check that the new value
1281 for the title is not nullptr.
1282
1cf23996
AB
12832021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1284
1285 * tui-layout.c (saved_tui_windows): Delete.
1286 (tui_apply_current_layout): Don't make use of saved_tui_windows,
1287 call new get_windows member function instead.
1288 (tui_get_window_by_name): Check in tui_windows.
1289 (tui_layout_window::apply): Don't add to tui_windows.
1290 * tui-layout.h (tui_layout_base::get_windows): New member function.
1291 (tui_layout_window::get_windows): Likewise.
1292 (tui_layout_split::get_windows): Likewise.
1293
a53a2657
AB
12942021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1295
1296 * tui/tui-layout.c (tui_apply_current_layout): Restore the delete
1297 of the window objects.
1298
2708dbbd
AB
12992021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1300
1301 * python/python.c (gdbpy_print_stack): Reformat an error message.
1302
cd074e04
AB
13032021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1304
1305 * tui/tui-interp.c (tui_command_line_handler): New function.
1306 (tui_interp::resume): Register tui_command_line_handler as the
1307 input_handler.
1308 * tui/tui-io.c (tui_inject_newline_into_command_window): New
1309 function.
1310 (tui_getc_1): Delete handling of '\n' and '\r'.
1311 * tui-io.h (tui_inject_newline_into_command_window): Declare.
1312
4cf28e91
HD
13132021-02-07 Hannes Domani <ssbssa@yahoo.de>
1314
1315 * tui/tui-regs.c (tui_data_window::display_registers_from):
1316 Mark invisible register sub windows.
1317 (tui_data_window::check_register_values): Ignore invisible
1318 register sub windows.
1319
3537bc23
HD
13202021-02-07 Hannes Domani <ssbssa@yahoo.de>
1321
1322 * tui/tui-regs.c (tui_data_item_window::rerender): Don't call
1323 n_spaces with a negative value.
1324
5fc2d6aa
HD
13252021-02-07 Hannes Domani <ssbssa@yahoo.de>
1326
1327 * tui/tui-regs.c (tui_data_window::display_registers_from):
1328 Add refresh_window call.
1329
83962f83
HD
13302021-02-07 Hannes Domani <ssbssa@yahoo.de>
1331
1332 * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next.
1333
0110ec82
SM
13342021-02-05 Simon Marchi <simon.marchi@polymtl.ca>
1335
1336 * symmisc.c (std_in, std_out, std_err): Remove.
1337 (_initialize_symmisc): Don't set std_in, std_out and std_err.
1338
7c6944ab
TV
13392021-02-05 Tom de Vries <tdevries@suse.de>
1340
1341 PR breakpoints/27330
1342 * breakpoint.c (create_exception_master_breakpoint): Handle case that
1343 glibc object file has debug info.
1344
e77b0004
TV
13452021-02-05 Tom de Vries <tdevries@suse.de>
1346
1347 PR symtab/27333
1348 * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit.
1349
0e857c82
TV
13502021-02-05 Tom de Vries <tdevries@suse.de>
1351
1352 PR breakpoints/27313
1353 * break-catch-syscall.c (catch_syscall_split_args): Reject negative
1354 syscall numbers.
1355
bdfea17e
TT
13562021-02-05 Tom Tromey <tom@tromey.com>
1357
1358 * compile/compile-c-support.c (get_compile_context)
1359 (c_get_compile_context, cplus_get_compile_context): Change return
1360 type.
1361 * language.c (language_defn::get_compile_instance): New method.
1362 * language.h (language_defn::get_compile_instance): Change return
1363 type. No longer inline.
1364 * c-lang.c (c_language::get_compile_instance): Change return type.
1365 (cplus_language::get_compile_instance): Change return type.
1366 * c-lang.h (c_get_compile_context, cplus_get_compile_context):
1367 Change return type.
1368 * compile/compile.c (compile_to_object): Update.
1369
1b30f421
TT
13702021-02-05 Tom Tromey <tom@tromey.com>
1371
1372 * parser-defs.h (write_exp_symbol_reference): Declare.
1373 * parse.c (write_exp_symbol_reference): New function.
1374 * p-exp.y (variable): Use write_exp_symbol_reference.
1375 * m2-exp.y (variable): Use write_exp_symbol_reference.
1376 * f-exp.y (variable): Use write_exp_symbol_reference.
1377 * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference.
1378 * c-exp.y (variable): Use write_exp_symbol_reference.
1379
ae710496
TV
13802021-02-05 Tom de Vries <tdevries@suse.de>
1381
1382 PR exp/27265
1383 * valarith.c (complex_binop): Throw an error if complex type can't
1384 be created.
1385
d3b54e63
TV
13862021-02-05 Tom de Vries <tdevries@suse.de>
1387
1388 PR symtab/27307
1389 * dwarf2/read.c (create_cus_from_debug_names_list): Add missing
1390 return.
1391
fc9a13fb
TV
13922021-02-05 Tom de Vries <tdevries@suse.de>
1393
1394 * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
1395
04b4939b
MF
13962021-02-04 Mike Frysinger <vapier@gentoo.org>
1397
1398 * configure.tgt (riscv*-*-*): Set gdb_sim.
1399
6ff267e1
SM
14002021-02-04 Simon Marchi <simon.marchi@polymtl.ca>
1401
1402 * target.c (target_is_non_stop_p): Return bool.
1403 * target.h (target_is_non_stop_p): Return bool.
1404
fdbc5215
SM
14052021-02-04 Simon Marchi <simon.marchi@efficios.com>
1406
1407 * record-full.c (record_full_async_inferior_event_handler):
1408 Don't clear async event handler.
1409 (record_full_base_target::wait): Clear async event handler at
1410 beginning.
1411
85d3ad8e
SM
14122021-02-04 Simon Marchi <simon.marchi@efficios.com>
1413
1414 * record-btrace.c (record_btrace_handle_async_inferior_event):
1415 Don't clear async event handler.
1416 (record_btrace_target::wait): Clear async event handler at
1417 beginning.
1418
baa8575b
SM
14192021-02-04 Simon Marchi <simon.marchi@efficios.com>
1420
1421 * remote.c (remote_target::wait): Clear async event handler at
1422 beginning, mark if needed at the end.
1423 (remote_async_inferior_event_handler): Don't set or clear async
1424 event handler.
1425
6b36ddeb
SM
14262021-02-04 Simon Marchi <simon.marchi@efficios.com>
1427
1428 * async-event.h (async_event_handler_func): Add documentation.
1429 * async-event.c (check_async_event_handlers): Don't clear
1430 async_event_handler ready flag.
1431 * infrun.c (infrun_async_inferior_event_handler): Clear ready
1432 flag.
1433 * record-btrace.c (record_btrace_handle_async_inferior_event):
1434 Likewise.
1435 * record-full.c (record_full_async_inferior_event_handler):
1436 Likewise.
1437 * remote-notif.c (remote_async_get_pending_events_handler):
1438 Likewise.
1439 * remote.c (remote_async_inferior_event_handler): Likewise.
1440
72d383bb
SM
14412021-02-03 Simon Marchi <simon.marchi@polymtl.ca>
1442
1443 * infrun.c (handle_inferior_event): Move stop_soon variable to
1444 inner scope.
1445
408f6686
PA
14462021-02-03 Pedro Alves <pedro@palves.net>
1447
1448 * infcmd.c (detach_command): Hold strong reference to target, and
1449 if all-stop on entry, restart threads on exit.
1450 * infrun.c (switch_back_to_stepped_thread): Factor out bits to ...
1451 (restart_stepped_thread): ... this new function. Also handle
1452 trap_expected.
1453 (restart_after_all_stop_detach): New function.
1454 * infrun.h (restart_after_all_stop_detach): Declare.
1455
ac7d717c
PA
14562021-02-03 Pedro Alves <pedro@palves.net>
1457
1458 * infrun.c (struct step_over_info): Initialize fields.
1459 (prepare_for_detach): Handle ongoing in-line step over.
1460
e87f0fe8
PA
14612021-02-03 Pedro Alves <pedro@palves.net>
1462
1463 * linux-nat.c (linux_nat_target::detach): Remove breakpoints
1464 here...
1465 * remote.c (remote_target::remote_detach_1): ... and here ...
1466 * target.c (target_detach): ... instead of here.
1467 * target.h (target_ops::detach): Add comment.
1468
8ff53139
PA
14692021-02-03 Pedro Alves <pedro@palves.net>
1470
1471 * infrun.c (struct wait_one_event): Move higher up.
1472 (prepare_for_detach): Abort in-progress displaced steps instead of
1473 letting them complete.
1474 (handle_one): If the inferior is detaching, don't add the thread
1475 back to the global step-over chain.
1476 (restart_threads): Don't restart threads if detaching.
1477 (handle_signal_stop): Remove inferior::detaching reference.
1478
91475068
PA
14792021-02-03 Pedro Alves <pedro@palves.net>
1480
1481 * infrun.c (prepare_for_detach): Don't release scoped_restore
1482 before returning.
1483
d758e62c
PA
14842021-02-03 Pedro Alves <pedro@palves.net>
1485
1486 * infrun.c (handle_one): New function, factored out from ...
1487 (stop_all_threads): ... here.
1488
b0083dd7
PA
14892021-02-03 Pedro Alves <pedro@palves.net>
1490
1491 * remote.c (remote_notif_stop_ack): Don't error out on
1492 TARGET_WAITKIND_IGNORE; instead, just ignore the notification.
1493 (remote_target::discard_pending_stop_replies): Don't delete
1494 in-flight notification; instead, clear its contents.
1495
621cc310
PA
14962021-02-03 Pedro Alves <pedro@palves.net>
1497
1498 * remote.c (extended_remote_target::attach): Set target async in
1499 the target-non-stop path too.
1500
2ab76a18
PA
15012021-02-03 Pedro Alves <pedro@palves.net>
1502
1503 PR gdb/27055
1504 * infrun.c (handle_signal_stop): Move main context_switch call
1505 earlier, before STOP_QUIETLY_NO_SIGSTOP.
1506
2e3773ff
LS
15072021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1508
1509 * NEWS (Changed commands): Add entry for the behavior change of
1510 the inferior command.
1511 * inferior.c (inferior_command): When no argument is given to the
1512 inferior command, display info about the currently selected
1513 inferior.
1514
e57933dc
SM
15152021-02-02 Simon Marchi <simon.marchi@efficios.com>
1516
1517 * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return
1518 a sect_offset.
1519 (read_attribute_reprocess): Adjust.
1520
2b0c7f41
SM
15212021-02-02 Simon Marchi <simon.marchi@efficios.com>
1522
1523 * dwarf2/die.h (struct die_info) <ranges_base>: Split in...
1524 <gnu_ranges_base>: ... this...
1525 <rnglists_base>: ... and this.
1526 * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in...
1527 <gnu_ranges_base>: ... this...
1528 <rnglists_base>: ... and this.
1529 (read_cutu_die_from_dwo): Adjust
1530 (dwarf2_get_pc_bounds): Adjust
1531 (dwarf2_record_block_ranges): Adjust.
1532 (read_full_die_1): Adjust
1533 (partial_die_info::read): Adjust.
1534 (read_rnglist_index): Adjust.
1535
a1c40103
SM
15362021-02-02 Simon Marchi <simon.marchi@efficios.com>
1537
1538 PR gdb/26813
1539 * dwarf2/read.c (read_loclists_rnglists_header): Add
1540 header_offset parameter and use it.
1541 (read_loclist_index): Read header of the current contribution,
1542 not the one at the beginning of the section.
1543 (read_rnglist_index): Likewise.
1544
b1829e1b
SM
15452021-02-02 Simon Marchi <simon.marchi@efficios.com>
1546
1547 PR gdb/26813
1548 * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear
1549 requires_reprocessing flag.
1550 * dwarf2/attribute.c (attribute::form_is_unsigned): Handle
1551 DW_FORM_loclistx.
1552 (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx
1553 and DW_FORM_loclistx.
1554 * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned
1555 instead of set_address for DW_FORM_loclistx and
1556 DW_FORM_rnglistx.
1557
0c800c6e
SM
15582021-02-02 Simon Marchi <simon.marchi@efficios.com>
1559
1560 * dwarf2/read.c (read_loclist_index): Remove bound check for
1561 start of offset.
1562 (read_rnglist_index): Likewise.
1563
05787bad
SM
15642021-02-02 Simon Marchi <simon.marchi@efficios.com>
1565
1566 * dwarf2/read.c (read_loclist_index): Add bound check for the end
1567 of the offset.
1568
5e4d9bbc
SM
15692021-02-02 Simon Marchi <simon.marchi@efficios.com>
1570
1571 * dwarf2/read.c (read_rnglist_index): Fix bound check.
1572
a0c1eeba
SM
15732021-02-02 Simon Marchi <simon.marchi@efficios.com>
1574
1575 * dwarf2/read.c (read_loclist_index): Change complaints into
1576 errors.
1577
2bd3e4b8
TV
15782021-02-02 Tom de Vries <tdevries@suse.de>
1579
1580 PR symtab/24620
1581 * dwarf2/index-write.c (write_one_signatured_type): Skip if
1582 psymtab == nullptr.
1583
82a1fd3a
AB
15842021-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1585
1586 * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h.
1587 * gcore.c (struct gcore_collect_regset_section_cb_data): Moved
1588 here from linux-tdep.c and given a new name. Minor cleanups.
1589 (gcore_collect_regset_section_cb): Likewise.
1590 (gcore_collect_thread_registers): Likewise.
1591 (gcore_build_thread_register_notes): Likewise.
1592 (gcore_find_signalled_thread): Likewise.
1593 * gcore.h (gcore_build_thread_register_notes): Declare.
1594 (gcore_find_signalled_thread): Declare.
1595 * fbsd-tdep.c: Add 'gcore.h' include.
1596 (struct fbsd_collect_regset_section_cb_data): Delete.
1597 (fbsd_collect_regset_section_cb): Delete.
1598 (fbsd_collect_thread_registers): Delete.
1599 (struct fbsd_corefile_thread_data): Delete.
1600 (fbsd_corefile_thread): Delete.
1601 (fbsd_make_corefile_notes): Call
1602 gcore_build_thread_register_notes instead of the now deleted
1603 FreeBSD code.
1604 * linux-tdep.c: Add 'gcore.h' include.
1605 (struct linux_collect_regset_section_cb_data): Delete.
1606 (linux_collect_regset_section_cb): Delete.
1607 (linux_collect_thread_registers): Delete.
1608 (linux_corefile_thread): Call
1609 gcore_build_thread_register_notes.
1610 (find_signalled_thread): Delete.
1611 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
1612
ebde6f2d
TV
16132021-01-29 Tom de Vries <tdevries@suse.de>
1614
1615 PR breakpoints/26063
1616 * infrun.c (process_event_stop_test): Reset
1617 ecs->event_thread->current_line to 0 if is-stmt=n and frame has
1618 changed.
1619
0f93c3a2
AB
16202021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1621
1622 * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an
1623 assert. Extend the header comment.
1624
f237f998
AB
16252021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1626
1627 * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c.
1628 (HFILES_NO_SRCDIR): Add tui/tui-location.h.
1629 * tui/tui-data.h (TUI_STATUS_WIN): Define.
1630 (tui_locator_win_info_ptr): Delete declaration.
1631 * tui/tui-disasm.c: Add 'tui/tui-location.h' include.
1632 (tui_disasm_window::set_contents): Fetch state from tui_location
1633 global.
1634 (tui_get_begin_asm_address): Likewise.
1635 * tui/tui-layout.c (tui_apply_current_layout): Remove special case
1636 for locator window.
1637 (get_locator_window): Delete.
1638 (initialize_known_windows): Treat locator window just like all the
1639 rest.
1640 * tui/tui-source.c: Add 'tui/tui-location.h' include.
1641 (tui_source_window::set_contents): Fetch state from tui_location
1642 global.
1643 (tui_source_window::showing_source_p): Likewise.
1644 * tui/tui-stack.c: Add 'tui/tui-location.h' include.
1645 (_locator): Delete.
1646 (tui_locator_win_info_ptr): Delete.
1647 (tui_locator_window::make_status_line): Fetch state from
1648 tui_location global.
1649 (tui_locator_window::rerender): Remove check of 'handle',
1650 reindent function body.
1651 (tui_locator_window::set_locator_fullname): Delete.
1652 (tui_locator_window::set_locator_info): Delete.
1653 (tui_update_locator_fullname): Delete.
1654 (tui_show_frame_info): Likewise.
1655 (tui_show_locator_content): Access window through TUI_STATUS_WIN.
1656 * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to
1657 tui/tui-location.h and renamed to
1658 tui_location_tracker::set_location.
1659 (tui_locator_window::set_locator_fullname): Moved to
1660 tui/tui-location.h and renamed to
1661 tui_location_tracker::set_fullname.
1662 (tui_locator_window::full_name): Delete.
1663 (tui_locator_window::proc_name): Delete.
1664 (tui_locator_window::line_no): Delete.
1665 (tui_locator_window::addr): Delete.
1666 (tui_locator_window::gdbarch): Delete.
1667 (tui_update_locator_fullname): Delete declaration.
1668 * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling
1669 for locator window.
1670 * tui/tui-winsource.c: Add 'tui/tui-location.h' include.
1671 (tui_display_main): Call function on tui_location directly.
1672 * tui/tui.h (enum tui_win_type): Add STATUS_WIN.
1673 * tui/tui-location.c: New file.
1674 * tui/tui-location.h: New file.
1675
8ee511af
SM
16762021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
1677
1678 * gdbtypes.h (get_type_arch): Rename to...
1679 (struct type) <arch>: ... this, update all users.
1680
6ac37371
SM
16812021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
1682
1683 * gdbtypes.h (struct type) <arch>: Rename to...
1684 <arch_owner>: ... this, update all users.
1685 <objfile>: Rename to...
1686 <objfile_owner>: ... this, update all users.
1687
24cf6389
AB
16882021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1689
1690 * gdbcmd.h (execute_command_to_string): Update comment.
1691 * top.c (execute_command_to_string): Update header comment.
1692
2a7f6487
TV
16932021-01-28 Tom de Vries <tdevries@suse.de>
1694
1695 PR breakpoints/27205
1696 * breakpoint.c (create_longjmp_master_breakpoint_probe)
1697 (create_longjmp_master_breakpoint_names): New function, factored out
1698 of ...
1699 (create_longjmp_master_breakpoint): ... here. Only try to install
1700 longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
1701 breakpoint in libc.so failed.
1702
59b59f08
LS
17032021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1704
1705 PR gdb/27133
1706 * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
1707 unique_ptr is released when the wrapped pointer is kept for later
1708 use.
1709
807f647c
MM
17102021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1711
1712 * aarch64-tdep.c (aarch64_displaced_step_others): Account for
1713 BLR and BR instructions.
1714 * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
1715 (enum aarch64_masks): New.
1716
4ef367bf
TT
17172021-01-26 Tom Tromey <tromey@adacore.com>
1718
1719 * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
1720 (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
1721 (windows_init_thread_list, windows_nat::handle_load_dll)
1722 (windows_nat::handle_unload_dll, windows_nat_target::resume)
1723 (windows_nat_target::resume)
1724 (windows_nat_target::get_windows_debug_event)
1725 (windows_nat_target::interrupt, windows_xfer_memory)
1726 (windows_nat_target::close): Update.
1727 * nat/windows-nat.c (DEBUG_EVENTS): Use
1728 debug_prefixed_printf_cond.
1729 (matching_pending_stop, fetch_pending_stop)
1730 (continue_last_debug_event): Update.
1731
4cb1265b
MS
17322020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
1733
1734 * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
1735 elfcore_write_file_note.
1736
d0cc52bd
SV
17372021-01-26 Shahab Vahedi <shahab@synopsys.com>
1738
1739 * arc-tdep.c (arc_add_reggroups): New function.
1740 (arc_gdbarch_init): Call arc_add_reggroups.
1741
ac3571d9 17422021-01-26 Anton Kolesov <anton.kolesov@synopsys.com>
d56834cb
AK
1743
1744 * arc-tdep.c (arc_skip_prologue): Log "pc" address.
1745
9f6c202e
TV
17462021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
1747 Simon Marchi <simon.marchi@polymtl.ca>
1748 Tom de Vries <tdevries@suse.de>
1749
1750 * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
1751 DW_AT_ranges.
1752
a625a8c9
TT
17532021-01-25 Tom Tromey <tromey@adacore.com>
1754
1755 * dwarf2/read.c (get_mpz): New function.
1756 (get_dwarf2_rational_constant): Use it.
1757
19184910
TT
17582021-01-25 Tom Tromey <tromey@adacore.com>
1759
1760 * ada-lang.c (resolve_subexp): Handle array context.
1761
b10bae18
TT
17622021-01-23 Tom Tromey <tom@tromey.com>
1763
1764 PR compile/25575
1765 * compile/compile-loc2c.c (note_register): New function.
1766 (pushf_register_address, pushf_register): Use it.
1767
3637a558
TT
17682021-01-23 Tom Tromey <tom@tromey.com>
1769
1770 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
1771 Change type of "registers_used".
1772 * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
1773 * dwarf2/loc.c (dwarf2_compile_property_to_c)
1774 (locexpr_generate_c_location, loclist_generate_c_location): Change
1775 type of "registers_used".
1776 * compile/compile.h (compile_dwarf_expr_to_c)
1777 (compile_dwarf_bounds_to_c): Update.
1778 * compile/compile-loc2c.c (pushf_register_address)
1779 (pushf_register, do_compile_dwarf_expr_to_c)
1780 (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
1781 of "registers_used".
1782 * compile/compile-c.h (generate_c_for_variable_locations):
1783 Update.
1784 * compile/compile-c-symbols.c (generate_vla_size)
1785 (generate_c_for_for_one_variable): Change type of
1786 "registers_used".
1787 (generate_c_for_variable_locations): Return std::vector.
1788 * compile/compile-c-support.c (generate_register_struct): Change
1789 type of "registers_used".
1790 (compute): Update.
1791
9f7f6cb8
TT
17922021-01-23 Tom Tromey <tom@tromey.com>
1793
1794 * compile/compile-internal.h (class compile_instance)
1795 <set_arguments>: Change return type.
1796 * compile/compile.c (compile_to_object): Remove call to reset.
1797 (compile_instance::set_arguments): Change return type.
1798
dd5ca05f
SM
17992021-01-23 Simon Marchi <simon.marchi@polymtl.ca>
1800
1801 * gdbtypes.c (copy_type_recursive): Use get_type_arch.
1802 * gdbtypes.h (struct type) <set_owner>: Add asserts.
1803
d3ee35db
LS
18042021-01-23 Lancelot SIX <lsix@lancelotsix.com>
1805
1806 * Makefile.in (SELFTESTS_SRCS): Add
1807 unittests/gdb_tilde_expand-selftests.c.
1808 * unittests/gdb_tilde_expand-selftests.c: New file.
1809
9d2d8a16
AB
18102021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1811
1812 PR cli/25956
1813 * NEWS: Mention new command.
1814 * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
1815 (version_style): Define.
1816 (cli_style_option::cli_style_option): Add intensity parameter, and
1817 use as appropriate.
1818 (_initialize_cli_style): Register version style set/show commands.
1819 * cli/cli-style.h (cli_style_option): Add intensity parameter.
1820 (version_style): Declare.
1821 * top.c (print_gdb_version): Use version_stype, and styled_string
1822 to print the GDB version string.
1823
e7b43072
AB
18242021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1825
1826 * utils.c (emit_style_escape): Only emit an escape sequence if the
1827 requested style is different than the current applied style.
1828 (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
1829 current applied_style.
1830 (fputs_styled): Remove is_default check.
1831 (fputs_styled_unfiltered): Likewise.
1832 (vfprintf_styled_no_gdbfmt): Likewise.
1833
2189c312
SM
18342021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1835
1836 * remote.h (remote_debug_printf): New.
1837 (remote_debug_printf_nofunc): New.
1838 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
1839 * remote.c: Use above macros throughout file.
1840
02349803
SM
18412021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1842
1843 * remote.h (remote_debug): Change to bool.
1844 * remote.c (remote_debug): Change to bool.
1845 (_initialize_remote): Adjust.
1846
cda09ec9
SM
18472021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1848
1849 * target.h (remote_debug): Move to...
1850 * remote.h (remote_debug): ... here.
1851 * top.c (remote_debug): Move to...
1852 * remote.c (remote_debug): ... here.
1853 * remote-sim.c: Include remote.h.
1854
baf2b57f
SM
18552021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1856
1857 * cli/cli-cmds.c (show_remote_debug): Remove.
1858 (show_remote_timeout): Remove.
1859 (_initialize_cli_cmds): Don't register commands.
1860 * remote.c (show_remote_debug): Move here.
1861 (show_remote_timeout): Move here.
1862 (_initialize_remote): Register commands.
1863
344e9841
SM
18642021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1865
1866 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
1867 type::objfile method instead.
1868
30625020
SM
18692021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1870
1871 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
1872 use the type::is_objfile_owned method.
1873
5b7d941b
SM
18742021-01-22 Simon Marchi <simon.marchi@efficios.com>
1875
1876 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
1877 (TYPE_OWNER): Remove.
1878 (TYPE_OBJFILE): Adjust.
1879 (struct main_type) <flag_objfile_owned>: Rename to...
1880 <m_flag_objfile_owned>: ... this.
1881 <owner>: Rename to...
1882 <m_owner>: ... this.
1883 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
1884 methods.
1885 (TYPE_ALLOC): Adjust.
1886 * gdbtypes.c (alloc_type): Adjust.
1887 (alloc_type_arch): Adjust.
1888 (alloc_type_copy): Adjust.
1889 (get_type_arch): Adjust.
1890 (smash_type): Adjust.
1891 (lookup_array_range_type): Adjust.
1892 (recursive_dump_type): Adjust.
1893 (copy_type_recursive): Adjust.
1894 * compile/compile-c-types.c (convert_func): Adjust.
1895 (convert_type_basic): Adjust.
1896 * compile/compile-cplus-types.c (compile_cplus_convert_func):
1897 Adjust.
1898 * language.c
1899 (language_arch_info::type_and_symbol::alloc_type_symbol):
1900 Adjust.
1901
d5d24e12
LM
19022021-01-21 Luis Machado <luis.machado@linaro.org>
1903
1904 * coffread.c (enter_linenos): Passing string to complaint.
1905 * valops.c (value_assign): Make array view.
1906
a59902a7
SM
19072021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1908
1909 * auto-load.h (debug_auto_load): Move here.
1910 (auto_load_debug_printf): New.
1911 * auto-load.c: Use auto_load_debug_printf.
1912 (debug_auto_load): Move to header.
1913 * linux-thread-db.c (try_thread_db_load): Use
1914 auto_load_debug_printf.
1915 * main.c (captured_main_1): Likewise.
1916
d3abc0ce
SM
19172021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1918
1919 * f-valprint.c (f77_array_offset_tbl): Remove.
1920
1e15fcac
SM
19212021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1922
1923 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
1924
439706e6
SM
19252021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1926
1927 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
1928 of gdb_select.
1929
325d39e4
HD
19302021-01-21 Hannes Domani <ssbssa@yahoo.de>
1931
1932 PR python/19151
1933 * python/py-breakpoint.c (bppy_get_location): Handle
1934 bp_hardware_breakpoint.
1935 (bppy_init): Likewise.
1936 (gdbpy_breakpoint_created): Likewise.
1937
7cb6d92a
SM
19382021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1939
1940 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
1941
d4dd4fca
SM
19422021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1943
1944 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
1945 (_initialize_gdb_bfd): Adjust.
1946
de53369b
SM
19472021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1948
1949 PR gdb/26828
1950 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
1951
17e593e9
SM
19522021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1953
1954 * dwarf2/read.c (follow_die_offset): Add logging.
1955 (dwarf2_per_objfile::age_comp_units): Add logging.
1956
6bd434d6
SM
19572021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1958
1959 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
1960 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
1961 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
1962 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
1963 * arm-tdep.c (struct frame_unwind): Make static.
1964 * auto-load.c (auto_load_safe_path_vec): Make static.
1965 * csky-tdep.c (csky_stub_unwind): Make static.
1966 * gdbarch.c (gdbarch_data_registry): Make static.
1967 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
1968 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
1969 * i386-tdep.c (i386_frame_setup_skip_insns,
1970 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
1971 Make static.
1972 * infrun.c (observer_mode): Make static.
1973 * linux-nat.c (sigchld_action): Make static.
1974 * linux-thread-db.c (thread_db_list): Make static.
1975 * maint-test-options.c (maintenance_test_options_list):
1976 * mep-tdep.c (mep_csr_registers): Make static.
1977 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
1978 (stats): Make static.
1979 * nat/linux-osdata.c (struct osdata_type): Make static.
1980 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
1981 * progspace.c (last_program_space_num): Make static.
1982 * python/py-param.c (struct parm_constant): Remove struct type
1983 name.
1984 (parm_constants): Make static.
1985 * python/py-record-btrace.c (btpy_list_methods): Make static.
1986 * python/py-record.c (recpy_gap_type): Make static.
1987 * record.c (record_goto_cmdlist): Make static.
1988 * regcache.c (regcache_descr_handle): Make static.
1989 * registry.h (DEFINE_REGISTRY): Make definition static.
1990 * symmisc.c (std_in, std_out, std_err): Make static.
1991 * top.c (previous_saved_command_line): Make static.
1992 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
1993 static.
1994 * unittests/command-def-selftests.c (nr_duplicates,
1995 nr_invalid_prefixcmd, lists): Make static.
1996 * unittests/observable-selftests.c (test_notification): Make
1997 static.
1998 * unittests/optional/assignment/1.cc (counter): Make static.
1999 * unittests/optional/assignment/2.cc (counter): Make static.
2000 * unittests/optional/assignment/3.cc (counter): Make static.
2001 * unittests/optional/assignment/4.cc (counter): Make static.
2002 * unittests/optional/assignment/5.cc (counter): Make static.
2003 * unittests/optional/assignment/6.cc (counter): Make static.
2004
a6c11cbb
JS
20052021-01-20 Joel Sherrill <joel@rtems.org>
2006
2007 PR gdb/27219
2008 * remote.c (struct remote_thread_info) <resume_state>: Rename
2009 to...
2010 <get_resume_state>: ... this.
2011 (remote_target::resume): Adjust.
2012 (remote_target::commit_resume): Adjust.
2013 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
2014
6f52fdf4
SDJ
20152021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
2016 Tom Tromey <tom@tromey.com>
2017
2018 * stap-probe.c (stap_parse_single_operand): Handle '!'
2019 operator.
2020 (stap_parse_argument_conditionally): Likewise.
2021 Skip spaces after processing open-parenthesis sub-expression.
2022 (stap_parse_argument_1): Skip spaces after call to
2023 stap_parse_argument_conditionally.
2024 Handle case when right-side expression is a parenthesized
2025 sub-expression.
2026 Skip spaces after call to stap_parse_argument_1.
2027
1c3b85ad
LS
20282021-01-19 Lancelot SIX <lsix@lancelotsix.com>
2029
2030 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
2031
a9a87d35
LM
20322021-01-19 Luis Machado <luis.machado@linaro.org>
2033
2034 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
2035 memory and save data.
2036 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
2037 (trad_frame_set_unknown, trad_frame_set_value_bytes)
2038 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
2039 (trad_frame_value_bytes_p): Remove.
2040 (trad_frame_reset_saved_regs): Adjust documentation.
2041 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
2042 constructor and reset the state of the registers.
2043 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
2044 (trad_frame_value_bytes_p, trad_frame_set_value)
2045 (trad_frame_set_realreg, trad_frame_set_addr)
2046 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
2047 (trad_frame_set_reg_realreg): Update to call member function.
2048 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
2049 (trad_frame_get_prev_register): Likewise.
2050
2051 * aarch64-tdep.c (aarch64_analyze_prologue)
2052 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
2053 (aarch64_prologue_prev_register): Update to use member functions.
2054 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
2055 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
2056 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
2057 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
2058 (arm_make_epilogue_frame_cache): Likewise.
2059 * avr-tdep.c (avr_frame_unwind_cache)
2060 (avr_frame_prev_register): Likewise.
2061 * cris-tdep.c (cris_scan_prologue): Likewise.
2062 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
2063 * frv-tdep.c (frv_analyze_prologue): Likewise.
2064 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
2065 * lm32-tdep.c (lm32_frame_cache): Likewise.
2066 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
2067 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
2068 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
2069 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
2070 (reset_saved_regs): Adjust to set realreg.
2071 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
2072 call member functions.
2073 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
2074 * s390-tdep.c (s390_prologue_frame_unwind_cache)
2075 (s390_backchain_frame_unwind_cache): Likewise.
2076 * score-tdep.c (score7_analyze_prologue)
2077 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
2078 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
2079 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
2080 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
2081 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
2082 * tilegx-tdep.c (tilegx_analyze_prologue)
2083 (tilegx_frame_cache): Likewise.
2084 * v850-tdep.c (v850_frame_cache): Likewise.
2085 * vax-tdep.c (vax_frame_cache): Likewise.
2086
bdec2917
LM
20872021-01-19 Luis Machado <luis.machado@linaro.org>
2088
2089 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
2090 of buffer + length.
2091 (put_frame_register_bytes): Likewise.
2092 Adjust documentation.
2093 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
2094 (safe_frame_unwind_memory): Likewise.
2095 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
2096 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
2097 gdb::array_view.
2098 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
2099 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
2100 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
2101 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
2102 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
2103 * dwarf2/loc.c (rw_pieced_value): Likewise.
2104 * hppa-tdep.c (hppa_frame_cache): Likewise.
2105 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
2106 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
2107 * i386-linux-tdep.c (i386_linux_sigtramp_start)
2108 (i386_linux_rt_sigtramp_start): Likewise.
2109 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
2110 * i386-tdep.c (i386_register_to_value): Likewise.
2111 * i387-tdep.c (i387_register_to_value): Likewise.
2112 * ia64-tdep.c (ia64_register_to_value): Likewise.
2113 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
2114 (m32r_linux_rt_sigtramp_start): Likewise.
2115 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
2116 * m68k-tdep.c (m68k_register_to_value): Likewise.
2117 * mips-tdep.c (mips_register_to_value)
2118 (mips_value_to_register): Likewise.
2119 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
2120 (ppcfbsd_sigtramp_frame_cache): Likewise.
2121 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
2122 (ppcobsd_sigtramp_frame_cache): Likewise.
2123 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
2124 (rs6000_register_to_value): Likewise.
2125 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
2126 * tramp-frame.c (tramp_frame_start): Likewise.
2127 * valops.c (value_assign): Likewise.
2128
ccbe4c82
LM
21292021-01-19 Luis Machado <luis.machado@linaro.org>
2130
2131 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
2132 array_view.
2133 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
2134 instead of buffer and size.
2135 (trad_frame_set_reg_value_bytes): Likewise.
2136 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
2137 (trad_frame_set_value_bytes): Likewise.
2138
0e7620dc
MF
21392021-01-18 Mike Frysinger <vapier@gentoo.org>
2140
2141 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
2142
6a9ad81c
AB
21432021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
2144
2145 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
2146 (riscv_fbsd_gregset): Use riscv_supply_regset.
2147 (riscv_fbsd_fpregset): Likewise.
2148 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
2149 (riscv_linux_fregset): Likewise.
2150 * riscv-tdep.c (riscv_supply_regset): Define new function.
2151 * riscv-tdep.h (riscv_supply_regset): Declare new function.
2152
d3d7d1ba
TV
21532021-01-18 Tom de Vries <tdevries@suse.de>
2154
2155 PR tdep/27172
2156 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
2157 New macro.
2158 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
2159 for SEGV_BNDERR.
2160
aa2838cc
SM
21612021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2162
2163 * remote.c (class remote_target) <remote_hostio_send_command,
2164 remote_hostio_parse_result>: Constify parameter.
2165 (remote_hostio_parse_result): Likewise.
2166 (remote_target::remote_hostio_send_command): Adjust.
2167 (remote_target::remote_hostio_pread_vFile): Adjust.
2168 (remote_target::fileio_readlink): Adjust.
2169 (remote_target::fileio_fstat): Adjust.
2170
b5c8f22d
SM
21712021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2172
2173 * remote.c (remote_target::start_remote): Move wait_status to
2174 narrower scope.
2175
e3b2741b
SM
21762021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2177
2178 * remote.c (class remote_target):
2179 <add_current_inferior_and_thread>: Constify parameter.
2180 (stop_reply_extract_thread): Likewise.
2181 (remote_target::get_current_thread): Likewise.
2182 (remote_target::add_current_inferior_and_thread): Likewise.
2183
cecb1912
SM
21842021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2185
2186 * remote.c (class remote_target)
2187 <remote_unpack_thread_info_response,
2188 parse_threadlist_response>: Constify parameter and/or return
2189 value and or local variable.
2190 (stub_unpack_int): Likewise.
2191 (unpack_nibble): Likewise.
2192 (unpack_byte): Likewise.
2193 (unpack_int): Likewise.
2194 (unpack_string): Likewise.
2195 (unpack_threadid): Likewise.
2196 (remote_target::remote_unpack_thread_info_response): Likewise.
2197 (remote_target::parse_threadlist_response): Likewise.
2198
5a11fff0
AB
21992021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
2200
2201 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
2202
17e89137
LS
22032021-01-14 Lancelot Six <lsix@lancelotsix.com>
2204
2205 * MAINTAINERS (Write After Approval): Add myself.
2206
58eadc4b
BE
22072021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2208
2209 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
2210 because is_trivially_default_constructible was first implemented with
2211 gcc-5.
2212
5fae2a2c
TV
22132021-01-14 Tom de Vries <tdevries@suse.de>
2214
2215 PR breakpoints/27151
2216 * objfiles.h (in_plt_section): Handle .plt.sec.
2217
8f66807b
AB
22182021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2219
2220 PR gdb/26819
2221 * remote.c
2222 (remote_target::select_thread_for_ambiguous_stop_reply): New
2223 member function.
2224 (remote_target::process_stop_reply): Call
2225 select_thread_for_ambiguous_stop_reply.
2226
bd497355
SM
22272021-01-13 Simon Marchi <simon.marchi@efficios.com>
2228
2229 * record-btrace.c (class record_btrace_target): Remove.
2230 (record_btrace_target::commit_resume): Remove.
2231 * record-full.c (class record_full_target): Remove.
2232 (record_full_target::commit_resume): Remove.
2233
c9d22089
SM
22342021-01-13 Simon Marchi <simon.marchi@efficios.com>
2235
2236 * remote.c (enum class resume_state): New.
2237 (struct resumed_pending_vcont_info): New.
2238 (struct remote_thread_info) <resume_state, set_not_resumed,
2239 set_resumed_pending_vcont, resumed_pending_vcont_info,
2240 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
2241 New.
2242 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
2243 (remote_target::remote_add_thread): Adjust.
2244 (remote_target::process_initial_stop_replies): Adjust.
2245 (remote_target::resume): Adjust.
2246 (remote_target::commit_resume): Rely on state in
2247 remote_thread_info and not on tp->executing.
2248 (remote_target::process_stop_reply): Adjust.
2249
d8d1feb4
SM
22502021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2251
2252 * arc-tdep.h (arc_debug_printf): New.
2253 * arc-tdep.c: Use arc_debug_printf.
2254 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
2255 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
2256 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
2257
fb0f5031
SM
22582021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2259
2260 * arc-tdep.h (arc_debug): Change type to bool.
2261 * arc-tdep.c (arc_debug): Change type to bool.
2262 (arc_analyze_prologue): Adjust.
2263 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
2264 * arc-linux-nat.c (ps_get_thread_area): Adjust.
2265
5bf7e91b
SM
22662021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2267
2268 * auto-load.c (auto_load_objfile_script_1): Use bool.
2269 (execute_script_contents): Use bool.
2270
db972fce
SM
22712021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2272
2273 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
2274 comment here.
2275 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
2276 comment to header.
2277 * extension-priv.h (struct extension_language_script_ops)
2278 <auto_load_enabled>: Return bool.
2279 * extension.h (ext_lang_auto_load_enabled): Return bool, move
2280 comment here.
2281 * extension.c (ext_lang_auto_load_enabled): Return bool, move
2282 comment to header.
2283 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
2284 move comment here.
2285 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
2286 move comment to header.
2287 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
2288 move comment here.
2289 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
2290 move comment to header.
2291
5e12f48f
SM
22922021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2293
2294 * auto-load.h (file_is_auto_load_safe): Change return type to
2295 bool, move comment here.
2296 * auto-load.c (file_is_auto_load_safe): Change return type and
2297 advice_printed to bool. Move comment to header.
2298
54ca9002
SM
22992021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2300
2301 * jit.c (jit_debug_printf): New, use throughout file.
2302
24a7f1b5
SM
23032021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2304
2305 * infrun.c (normal_stop): Fix indentation.
2306
fe7a351a
SM
23072021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2308
2309 * top.h (readnow_symbol_files, readnever_symbol_files): Move
2310 declarations to ...
2311 * symfile.h: ... here.
2312 * symfile.c: Update doc.
2313
16e9019e
SM
23142021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2315
2316 * target.h (baud_rate, serial_parity): Move declarations...
2317 * serial.h: ... here.
2318 * main.c: Include serial.h.
2319 * serial.c (baud_rate, serial_parity): Update doc.
2320
b2f2ae0d
SM
23212021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2322
2323 * top.c (pre_init_ui_hook): Remove.
2324
5291fe3c
SP
23252021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2326
2327 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
2328 (aarch64_vnv_type): Add "bf" type in h field of v registers.
2329 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
2330 * features/aarch64-fpu.xml: Add bfloat16 type.
2331
ce38f5ed
AB
23322021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2333
2334 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
2335
7c654b71
AB
23362021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2337
2338 * f-exp.y (dot_ops): Rename to...
2339 (fortran_operators): ...this. Add a header comment. Add symbol
2340 based operators.
2341 (yylex): Update to use fortran_operators not dot_ops. Remove
2342 special handling for '**', this is now included in
2343 fortran_operators.
2344
c6185dce
SM
23452021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2346
2347 * arch/aarch64-insn.h (aarch64_debug_printf): New.
2348 * arch/aarch64-insn.c: Use aarch64_debug_printf.
2349 * aarch64-tdep.c: Use aarch64_debug_printf.
2350
eef401dc
SM
23512021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2352
2353 * solib-aix.c (solib_aix_debug_printf): New, use throughout
2354 file.
2355
062eaacb
SM
23562021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2357
2358 * jit.c (jit_debug): Change type to bool.
2359 (_initialize_jit): Adjust.
2360
54585eee
TT
23612021-01-09 Tom Tromey <tom@tromey.com>
2362
2363 PR compile/23672
2364 * compile/compile.c (compile_to_object): Avoid crash when
2365 osabi_triplet_regexp returns NULL.
2366
bc167b6b
TT
23672021-01-09 Tom Tromey <tom@tromey.com>
2368
2369 * tracepoint.h (class collection_list) <append_exp>: Take a
2370 std::string.
2371 * tracepoint.c (collection_list::append_exp): Take a std::string.
2372 (encode_actions_1): Update.
2373
8fc48b79
TT
23742021-01-08 Tom Tromey <tromey@adacore.com>
2375
2376 * parse.c (parse_expression): Add void_context_p parameter. Use
2377 parse_exp_in_context.
2378 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
2379 parse_expression.
2380 (print_command, call_command): Update.
2381 * expression.h (parse_expression): Add void_context_p parameter.
2382
3c8c6de2
AB
23832021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2384
2385 * value.c (set_value_component_location): Adjust the VALUE_LVAL
2386 for internalvar components that have a dynamic location.
2387
1940319c
TV
23882021-01-08 Tom de Vries <tdevries@suse.de>
2389
2390 PR gdb/26881
2391 * breakpoint.c (create_exception_master_breakpoint_probe)
2392 (create_exception_master_breakpoint_hook): Factor out
2393 of ...
2394 (create_exception_master_breakpoint): ... here. Only try to install
2395 the master exception breakpoint in objfile.debug using the
2396 _Unwind_DebugHook method, if the install using probes in objfile
2397 failed.
2398
e3436813
AB
23992021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2400
2401 * f-lang.c (fortran_value_subarray): Call value_from_component.
2402
e904f56d
MF
24032021-01-07 Mike Frysinger <vapier@gentoo.org>
2404
2405 * remote-sim.c: Include memory-map.h.
2406 (gdbsim_target): Define memory_map override.
2407 (gdbsim_target::memory_map): Define.
2408
959d6a67
TT
24092021-01-07 Tom Tromey <tromey@adacore.com>
2410
2411 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
2412
d4813f10
TT
24132021-01-07 Tom Tromey <tromey@adacore.com>
2414
2415 * ada-lang.c (add_component_interval): Start loop using vector's
2416 updated size.
2417
b49180ac
TT
24182021-01-06 Tom Tromey <tromey@adacore.com>
2419
2420 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
2421 Do not cast result.
2422 * valarith.c (fixed_point_binop): Handle multiplication
2423 and division specially.
2424 * valops.c (value_to_gdb_mpq): New function.
2425 (value_cast_to_fixed_point): Use it.
2426
55195361
HD
24272021-01-05 Hannes Domani <ssbssa@yahoo.de>
2428
2429 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
2430 Call wnoutrefresh instead of tui_win_info::refresh_window.
2431
1b6d4bb2
HD
24322021-01-05 Hannes Domani <ssbssa@yahoo.de>
2433
2434 * tui/tui-source.c (tui_source_window::show_line_number):
2435 Redraw second space after line number.
2436
b5ff370e
HD
24372021-01-05 Hannes Domani <ssbssa@yahoo.de>
2438
2439 PR tui/26927
2440 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
2441 Fix source pad size in prefresh.
2442 (tui_source_window_base::show_source_content): Grow source pad
2443 if necessary.
2444
c68ea49f
MF
24452021-01-04 Mike Frysinger <vapier@gentoo.org>
2446
2447 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
2448 (bfin_frame_align): Use align_down.
2449
e4ad960a
TV
24502021-01-04 Tom de Vries <tdevries@suse.de>
2451
2452 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
2453 terminators that do not terminate anything.
2454
3ec3145c
SM
24552021-01-04 Simon Marchi <simon.marchi@efficios.com>
2456
2457 * debug.c (debug_print_depth): New.
2458 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
2459 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
2460 * infrun.c (start_step_over): Use
2461 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
2462 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
2463 INFRUN_SCOPED_DEBUG_START_END.
2464 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
2465
e71daf80
SM
24662021-01-04 Simon Marchi <simon.marchi@efficios.com>
2467
2468 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
2469
335709bc
SM
24702021-01-04 Simon Marchi <simon.marchi@efficios.com>
2471
2472 * utils.c (vfprintf_unfiltered): Print timestamp only when
2473 previous debug output ended with a newline.
2474
098caef4
LM
24752021-01-04 Luis Machado <luis.machado@linaro.org>
2476
2477 Update all users of trad_frame_saved_reg to use the new member
2478 functions.
2479
2480 Remote all struct keywords from declarations of trad_frame_saved_reg
2481 types, except on forward declarations.
2482
2483 * aarch64-tdep.c: Update.
2484 * alpha-mdebug-tdep.c: Update.
2485 * alpha-tdep.c: Update.
2486 * arc-tdep.c: Update.
2487 * arm-tdep.c: Update.
2488 * avr-tdep.c: Update.
2489 * cris-tdep.c: Update.
2490 * csky-tdep.c: Update.
2491 * frv-tdep.c: Update.
2492 * hppa-linux-tdep.c: Update.
2493 * hppa-tdep.c: Update.
2494 * hppa-tdep.h: Update.
2495 * lm32-tdep.c: Update.
2496 * m32r-linux-tdep.c: Update.
2497 * m32r-tdep.c: Update.
2498 * m68hc11-tdep.c: Update.
2499 * mips-tdep.c: Update.
2500 * moxie-tdep.c: Update.
2501 * riscv-tdep.c: Update.
2502 * rs6000-tdep.c: Update.
2503 * s390-linux-tdep.c: Update.
2504 * s390-tdep.c: Update.
2505 * score-tdep.c: Update.
2506 * sparc-netbsd-tdep.c: Update.
2507 * sparc-sol2-tdep.c: Update.
2508 * sparc64-fbsd-tdep.c: Update.
2509 * sparc64-netbsd-tdep.c: Update.
2510 * sparc64-obsd-tdep.c: Update.
2511 * sparc64-sol2-tdep.c: Update.
2512 * tilegx-tdep.c: Update.
2513 * v850-tdep.c: Update.
2514 * vax-tdep.c: Update.
2515
2516 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
2517 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
2518
2519 * trad-frame.c: Update.
2520 Remove TF_REG_* enum.
2521 (trad_frame_alloc_saved_regs): Add a static assertion to check for
2522 a trivially-constructible struct.
2523 (trad_frame_reset_saved_regs): Adjust to use member function.
2524 (trad_frame_value_p): Likewise.
2525 (trad_frame_addr_p): Likewise.
2526 (trad_frame_realreg_p): Likewise.
2527 (trad_frame_value_bytes_p): Likewise.
2528 (trad_frame_set_value): Likewise.
2529 (trad_frame_set_realreg): Likewise.
2530 (trad_frame_set_addr): Likewise.
2531 (trad_frame_set_unknown): Likewise.
2532 (trad_frame_set_value_bytes): Likewise.
2533 (trad_frame_get_prev_register): Likewise.
2534 * trad-frame.h: Update.
2535 (trad_frame_saved_reg_kind): New enum.
2536 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
2537 <m_kind, m_reg>: New member fields.
2538 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
2539 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
2540 <is_addr, is_unknown, is_value_bytes>: New member functions.
2541
9898e882
SM
25422021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
2543
2544 * target-float.c: Fix typos.
2545
b66b4e65
HD
25462021-01-02 Hannes Domani <ssbssa@yahoo.de>
2547
2548 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
2549
b5b5650a
JB
25502021-01-01 Joel Brobecker <brobecker@adacore.com>
2551
2552 * gdbarch.sh: Update copyright year range.
2553
3666a048
JB
25542021-01-01 Joel Brobecker <brobecker@adacore.com>
2555
2556 Update copyright year range in copyright header of all GDB files.
2557
ff7e39b6
JB
25582021-01-01 Joel Brobecker <brobecker@adacore.com>
2559
2560 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
2561 to the list of directories to update.
2562
2b47c078
JB
25632021-01-01 Joel Brobecker <brobecker@adacore.com>
2564
2565 * top.c (print_gdb_version): Update copyright year.
2566
476923f1 25672021-01-01 Joel Brobecker <brobecker@adacore.com>
c8f02daa 2568
476923f1 2569 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
c8f02daa 2570
476923f1 2571For older changes see ChangeLog-2020.
c906108c
SS
2572\f
2573Local Variables:
2574mode: change-log
2575left-margin: 8
2576fill-column: 74
2577version-control: never
57da7796 2578coding: utf-8
c906108c 2579End:
This page took 2.614588 seconds and 4 git commands to generate.