]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Introduce repeat_operation
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
d4eff4c1
TT
12021-03-08 Tom Tromey <tom@tromey.com>
2
3 * expop.h (class repeat_operation): New.
4 * eval.c (eval_op_repeat): No longer static. Remove "op"
5 parameter.
6 (evaluate_subexp_standard): Update.
7 * ax-gdb.c (repeat_operation::do_generate_ax): New method.
8
46916f2b
TT
92021-03-08 Tom Tromey <tom@tromey.com>
10
11 * expop.h (class comparison_operation): New.
12 (equal_operation, notequal_operation, less_operation)
13 (gtr_operation, geq_operation, leq_operation): New typedefs.
14 * eval.c (eval_op_equal, eval_op_notequal, eval_op_less)
15 (eval_op_gtr, eval_op_geq, eval_op_leq): No longer static.
16
224d6424
TT
172021-03-08 Tom Tromey <tom@tromey.com>
18
19 * expop.h (class subscript_operation): New.
20 * eval.c (eval_op_subscript): No longer static.
21
373907ff
TT
222021-03-08 Tom Tromey <tom@tromey.com>
23
24 * expop.h (class binop_operation, class usual_ax_binop_operation):
25 New.
26 (exp_operation, intdiv_operation, mod_operation, mul_operation)
27 (div_operation, rem_operation, lsh_operation, rsh_operation)
28 (bitwise_and_operation, bitwise_ior_operation)
29 (bitwise_xor_operation): New typedefs.
30 * eval.c (eval_op_binary): No longer static.
31
5133d78b
TT
322021-03-08 Tom Tromey <tom@tromey.com>
33
34 * expop.h (class sub_operation): New.
35 * eval.c (eval_op_sub): No longer static. Remove "op" parameter.
36 (evaluate_subexp_standard): Update.
37
a94323b6
TT
382021-03-08 Tom Tromey <tom@tromey.com>
39
40 * expop.h (class add_operation): New.
41 * eval.c (eval_op_add): No longer static. Remove "op" parameter.
42 (evaluate_subexp_standard): Update.
43
e51e26a0
TT
442021-03-08 Tom Tromey <tom@tromey.com>
45
46 * expop.h (class concat_operation): New.
47 * eval.c (eval_op_concat): No longer static. Remove "op"
48 parameter.
49 (evaluate_subexp_standard): Update.
50
07f724a8
TT
512021-03-08 Tom Tromey <tom@tromey.com>
52
53 * expop.h (class structop_member_operation)
54 (class structop_mptr_operation): New.
55 * eval.c (eval_op_member): No longer static.
56
ab0609be
TT
572021-03-08 Tom Tromey <tom@tromey.com>
58
59 * expop.h (class structop_ptr_operation): New.
60 * eval.c (eval_op_structop_ptr): No longer static. Remove "op"
61 parameter.
62
808b22cf
TT
632021-03-08 Tom Tromey <tom@tromey.com>
64
65 * expop.h (class structop_base_operation)
66 (class structop_operation): New.
67 * eval.c (eval_op_structop_struct): No longer static.
68
8cfd3e95
TT
692021-03-08 Tom Tromey <tom@tromey.com>
70
71 * expop.h (class complex_operation): New.
72
09db3700
TT
732021-03-08 Tom Tromey <tom@tromey.com>
74
75 * eval.c (eval_op_objc_selector): No longer static.
76 * c-exp.h (class objc_selector_operation): New.
77
06dc61b9
TT
782021-03-08 Tom Tromey <tom@tromey.com>
79
80 * eval.c: Include c-exp.h.
81 * c-exp.h (class objc_nsstring_operation): New.
82
72d0a711
TT
832021-03-08 Tom Tromey <tom@tromey.com>
84
85 * c-lang.c (c_string_operation::evaluate): New method.
86 * c-exp.h: New file.
87
9186293f
TT
882021-03-08 Tom Tromey <tom@tromey.com>
89
90 * expop.h (class ternop_cond_operation): New.
91 * ax-gdb.c (ternop_cond_operation::do_generate_ax): New method.
92
1594e0bb
TT
932021-03-08 Tom Tromey <tom@tromey.com>
94
95 * expop.h (class ternop_slice_operation): New.
96 * eval.c (eval_op_ternop): No longer static.
97
b50db09f
TT
982021-03-08 Tom Tromey <tom@tromey.com>
99
100 * expop.h (class string_operation): New.
101 * eval.c (eval_op_string): No longer static.
102
e6e01e16
TT
1032021-03-08 Tom Tromey <tom@tromey.com>
104
105 * expop.h (class internalvar_operation): New.
106 * ax-gdb.c (internalvar_operation::do_generate_ax): New method.
107
e6985c5e
TT
1082021-03-08 Tom Tromey <tom@tromey.com>
109
110 * expop.h (class bool_operation): New.
111
55bdbff8
TT
1122021-03-08 Tom Tromey <tom@tromey.com>
113
114 * expop.h (class register_operation): New.
115 * eval.c (eval_op_register): No longer static.
116 * ax-gdb.c (register_operation::do_generate_ax): New method.
117
247d935b
TT
1182021-03-08 Tom Tromey <tom@tromey.com>
119
120 * expop.h (class last_operation): New.
121
17679395
TT
1222021-03-08 Tom Tromey <tom@tromey.com>
123
124 * expop.h (class func_static_var_operation): New.
125 * eval.c (eval_op_func_static_var): No longer static.
126
b5cc3923
TT
1272021-03-08 Tom Tromey <tom@tromey.com>
128
129 * expop.h (class var_entry_value_operation): New.
130 * eval.c (eval_op_var_entry_value): No longer static.
131
0c8effa3
TT
1322021-03-08 Tom Tromey <tom@tromey.com>
133
134 * expression.h (class operation) <set_outermost>: New method.
135 * expop.h (class var_msym_value_operation): New.
136 * eval.c (eval_op_var_msym_value): No longer static.
137 (var_msym_value_operation::evaluate_for_address)
138 (var_msym_value_operation::evaluate_for_sizeof)
139 (var_msym_value_operation::evaluate_for_cast): New methods.
140 * ax-gdb.c (var_msym_value_operation::do_generate_ax): New
141 method.
142
d336c29e
TT
1432021-03-08 Tom Tromey <tom@tromey.com>
144
145 * expop.h (class long_const_operation): New.
146 * ax-gdb.c (long_const_operation::do_generate_ax): New method.
147
d5ab122c
TT
1482021-03-08 Tom Tromey <tom@tromey.com>
149
150 * expop.h (class scope_operation): New.
151 * eval.c (eval_op_scope): No longer static.
152 (scope_operation::evaluate_for_address): New method.
153 * ax-gdb.c (scope_operation::do_generate_ax): New method.
154
cae26a0c
TT
1552021-03-08 Tom Tromey <tom@tromey.com>
156
157 * expprint.c (float_const_operation::dump): New method.
158 * expop.h (float_data): New typedef.
159 (class float_const_operation): New.
160
75f9892d
TT
1612021-03-08 Tom Tromey <tom@tromey.com>
162
163 * expop.h (gen_expr_binop, gen_expr_structop): Declare.
164 * ax-gdb.c (gen_expr_binop): New function.
165 (gen_expr_structop): Likewise.
166
de401988
TT
1672021-03-08 Tom Tromey <tom@tromey.com>
168
169 * expprint.c (expr::dump_for_expression): New functions.
170 * expop.h (dump_for_expression): New overloads.
171 (tuple_holding_operation::dump, tuple_holding_operation::do_dump):
172 Update.
173
e2803273
TT
1742021-03-08 Tom Tromey <tom@tromey.com>
175
176 * expression.h (expr::operation): New class.
177 (expr::make_operation): New function.
178 (expr::operation_up): New typedef.
179 * expop.h: New file.
180 * eval.c (operation::evaluate_for_cast)
181 (operation::evaluate_for_address, operation::evaluate_for_sizeof):
182 New methods.
183 * ax-gdb.c (operation::generate_ax): New method.
184
e18c58f2
TT
1852021-03-08 Tom Tromey <tom@tromey.com>
186
187 * ax-gdb.c (gen_expr_binop_rest): Remove "pc" parameter.
188 (gen_expr_binop_rest): New overload.
189
c0d7ed8c
TT
1902021-03-08 Tom Tromey <tom@tromey.com>
191
192 * eval.c (eval_multi_subscript): New function.
193 (evaluate_subexp_standard): Use it.
194
dd5fd283
TT
1952021-03-08 Tom Tromey <tom@tromey.com>
196
197 * ada-lang.c (ada_binop_exp): New function.
198 (ada_evaluate_subexp): Use it.
199
3848abd6
TT
2002021-03-08 Tom Tromey <tom@tromey.com>
201
202 * ada-lang.c (ada_val_atr): Rename from value_val_atr. Change
203 parameters.
204 (ada_evaluate_subexp): Use it.
205
38dc70cf
TT
2062021-03-08 Tom Tromey <tom@tromey.com>
207
208 * ada-lang.c (ada_binop_minmax): New function.
209 (ada_evaluate_subexp): Use it.
210
b84564fc
TT
2112021-03-08 Tom Tromey <tom@tromey.com>
212
213 * ada-lang.c (ada_unop_atr): New function.
214 (ada_evaluate_subexp): Use it.
215
b467efaa
TT
2162021-03-08 Tom Tromey <tom@tromey.com>
217
218 * ada-lang.c (ada_binop_in_bounds): New function.
219 (ada_evaluate_subexp): Use it.
220
5ce19db8
TT
2212021-03-08 Tom Tromey <tom@tromey.com>
222
223 * ada-lang.c (ada_ternop_slice): New function.
224 (ada_evaluate_subexp): Use it.
225
214b13ac
TT
2262021-03-08 Tom Tromey <tom@tromey.com>
227
228 * ada-lang.c (ada_equal_binop): New function.
229 (ada_evaluate_subexp): Use it.
230
faa1dfd7
TT
2312021-03-08 Tom Tromey <tom@tromey.com>
232
233 * ada-lang.c (ada_mult_binop): New function.
234 (ada_evaluate_subexp): Use it.
235
d05e24e6
TT
2362021-03-08 Tom Tromey <tom@tromey.com>
237
238 * ada-lang.c (ada_abs): New function.
239 (ada_evaluate_subexp): Use it.
240
68c75735
TT
2412021-03-08 Tom Tromey <tom@tromey.com>
242
243 * ada-lang.c (ada_atr_size): New function.
244 (ada_evaluate_subexp): Use it.
245
020dbabe
TT
2462021-03-08 Tom Tromey <tom@tromey.com>
247
248 * ada-lang.c (ada_atr_tag): New function.
249 (ada_evaluate_subexp): Use it.
250
7efc87ff
TT
2512021-03-08 Tom Tromey <tom@tromey.com>
252
253 * ada-lang.c (ada_unop_in_range): New function.
254 (ada_evaluate_subexp): Use it.
255
82390ab8
TT
2562021-03-08 Tom Tromey <tom@tromey.com>
257
258 * ada-lang.c (ada_unop_neg): New function.
259 (ada_evaluate_subexp): Use it.
260
62d4bd94
TT
2612021-03-08 Tom Tromey <tom@tromey.com>
262
263 * ada-lang.c (eval_ternop_in_range): New function.
264 (ada_evaluate_subexp): Use it.
265
3634f669
TT
2662021-03-08 Tom Tromey <tom@tromey.com>
267
268 * opencl-lang.c (eval_opencl_assign): New function.
269 (evaluate_subexp_opencl): Use it.
270
5e80600e
TT
2712021-03-08 Tom Tromey <tom@tromey.com>
272
273 * eval.c (eval_op_objc_msgcall): New function.
274 (evaluate_subexp_standard): Use it.
275
fb5ba2ab
TT
2762021-03-08 Tom Tromey <tom@tromey.com>
277
278 * eval.c (eval_binop_assign_modify): New function.
279 (evaluate_subexp_standard): Use it.
280
a49881f7
TT
2812021-03-08 Tom Tromey <tom@tromey.com>
282
283 * m2-lang.c (eval_op_m2_subscript): New function.
284 (evaluate_subexp_modula2): Use it.
285
41bdced5
TT
2862021-03-08 Tom Tromey <tom@tromey.com>
287
288 * m2-lang.c (eval_op_m2_high): New function.
289 (evaluate_subexp_modula2): Use it.
290
13ea014a
TT
2912021-03-08 Tom Tromey <tom@tromey.com>
292
293 * eval.c (evaluate_subexp_for_address_base): New function.
294 (evaluate_subexp_for_address): Use it.
295 (evaluate_subexp_for_sizeof_base): New function.
296 (evaluate_subexp_for_sizeof): Use it.
297
1fa41fc7
TT
2982021-03-08 Tom Tromey <tom@tromey.com>
299
300 * rust-lang.c (eval_op_rust_structop): New function.
301 (rust_evaluate_subexp): Use it.
302
575cae23
TT
3032021-03-08 Tom Tromey <tom@tromey.com>
304
305 * rust-lang.c (eval_op_rust_struct_anon): New function.
306 (rust_evaluate_subexp): Use it.
307
05104233
TT
3082021-03-08 Tom Tromey <tom@tromey.com>
309
310 * rust-lang.c (eval_op_rust_array): New function.
311 (rust_evaluate_subexp): Use it.
312
6fa9831f
TT
3132021-03-08 Tom Tromey <tom@tromey.com>
314
315 * rust-lang.c (eval_op_rust_complement): New function.
316 (rust_evaluate_subexp): Use it.
317
d123f9e4
TT
3182021-03-08 Tom Tromey <tom@tromey.com>
319
320 * rust-lang.c (eval_op_rust_ind): New function.
321 (rust_evaluate_subexp): Use it.
322
984af2cb
TT
3232021-03-08 Tom Tromey <tom@tromey.com>
324
325 * rust-lang.c (rust_subscript): Change parameters.
326 (rust_evaluate_subexp): Update.
327
d148f803
TT
3282021-03-08 Tom Tromey <tom@tromey.com>
329
330 * rust-lang.c (rust_range): Change parameters.
331 (rust_evaluate_subexp): Update.
332
9cbd1c20
TT
3332021-03-08 Tom Tromey <tom@tromey.com>
334
335 * f-lang.c (eval_op_f_allocated): New function.
336 (evaluate_subexp_f): Use it.
337
3c18c49c
TT
3382021-03-08 Tom Tromey <tom@tromey.com>
339
340 * f-lang.c (fortran_require_array): New function.
341 (evaluate_subexp_f): Use it.
342
216f6fcb
TT
3432021-03-08 Tom Tromey <tom@tromey.com>
344
345 * f-lang.c (eval_op_f_kind): New function.
346 (evaluate_subexp_f): Use it.
347
00f2db6f
TT
3482021-03-08 Tom Tromey <tom@tromey.com>
349
350 * f-lang.c (eval_op_f_cmplx): New function.
351 (evaluate_subexp_f): Use it.
352
93b2b5fa
TT
3532021-03-08 Tom Tromey <tom@tromey.com>
354
355 * f-lang.c (eval_op_f_modulo): New function.
356 (evaluate_subexp_f): Use it.
357
9f1a1f3c
TT
3582021-03-08 Tom Tromey <tom@tromey.com>
359
360 * f-lang.c (eval_op_f_floor): New function.
361 (evaluate_subexp_f): Use it.
362
3dc41f3c
TT
3632021-03-08 Tom Tromey <tom@tromey.com>
364
365 * f-lang.c (eval_op_f_ceil): New function.
366 (evaluate_subexp_f): Use it.
367
e08109f2
TT
3682021-03-08 Tom Tromey <tom@tromey.com>
369
370 * f-lang.c (eval_op_f_mod): New function.
371 (evaluate_subexp_f): Use it.
372
cc05c68e
TT
3732021-03-08 Tom Tromey <tom@tromey.com>
374
375 * f-lang.c (eval_op_f_abs): New function.
376 (evaluate_subexp_f): Use it.
377
aec95807
TT
3782021-03-08 Tom Tromey <tom@tromey.com>
379
380 * eval.c (eval_op_type): New function.
381 (evaluate_subexp_standard): Use it.
382
a220ead5
TT
3832021-03-08 Tom Tromey <tom@tromey.com>
384
385 * eval.c (eval_op_postdec): New function.
386 (evaluate_subexp_standard): Use it.
387
abffe116
TT
3882021-03-08 Tom Tromey <tom@tromey.com>
389
390 * eval.c (eval_op_postinc): New function.
391 (evaluate_subexp_standard): Use it.
392
9e1361b7
TT
3932021-03-08 Tom Tromey <tom@tromey.com>
394
395 * eval.c (eval_op_predec): New file.
396 (evaluate_subexp_standard): Use it.
397
00f50884
TT
3982021-03-08 Tom Tromey <tom@tromey.com>
399
400 * eval.c (eval_op_preinc): New function.
401 (evaluate_subexp_standard): Use it.
402
3aef2a07
TT
4032021-03-08 Tom Tromey <tom@tromey.com>
404
405 * eval.c (eval_op_memval): New function.
406 (evaluate_subexp_standard): Use it.
407
acee9468
TT
4082021-03-08 Tom Tromey <tom@tromey.com>
409
410 * eval.c (eval_op_alignof): New function.
411 (evaluate_subexp_standard): Use it.
412
786f70ee
TT
4132021-03-08 Tom Tromey <tom@tromey.com>
414
415 * eval.c (eval_op_ind): New function.
416 (evaluate_subexp_standard): Use it.
417
24338fb9
TT
4182021-03-08 Tom Tromey <tom@tromey.com>
419
420 * eval.c (eval_op_lognot): New function.
421 (evaluate_subexp_standard): Use it.
422
1f09ec81
TT
4232021-03-08 Tom Tromey <tom@tromey.com>
424
425 * eval.c (eval_op_complement): New function.
426 (evaluate_subexp_standard): Use it.
427
606d105f
TT
4282021-03-08 Tom Tromey <tom@tromey.com>
429
430 * eval.c (eval_op_neg): New function.
431 (evaluate_subexp_standard): Use it.
432
39f288be
TT
4332021-03-08 Tom Tromey <tom@tromey.com>
434
435 * eval.c (eval_op_plus): New function.
436 (evaluate_subexp_standard): Use it.
437
eed70b1c
TT
4382021-03-08 Tom Tromey <tom@tromey.com>
439
440 * eval.c (eval_op_repeat): New function.
441 (evaluate_subexp_standard): Use it.
442
60cdd487
TT
4432021-03-08 Tom Tromey <tom@tromey.com>
444
445 * eval.c (eval_op_leq): New function.
446 (evaluate_subexp_standard): Use it.
447
96e3efd9
TT
4482021-03-08 Tom Tromey <tom@tromey.com>
449
450 * eval.c (eval_op_geq): New function.
451 (evaluate_subexp_standard): Use it.
452
1f78d732
TT
4532021-03-08 Tom Tromey <tom@tromey.com>
454
455 * eval.c (eval_op_gtr): New function.
456 (evaluate_subexp_standard): Use it.
457
6cad1349
TT
4582021-03-08 Tom Tromey <tom@tromey.com>
459
460 * eval.c (eval_op_less): New function.
461 (evaluate_subexp_standard): Use it.
462
1fcb3559
TT
4632021-03-08 Tom Tromey <tom@tromey.com>
464
465 * eval.c (eval_op_notequal): New function.
466 (evaluate_subexp_standard): Use it.
467
0cc96de8
TT
4682021-03-08 Tom Tromey <tom@tromey.com>
469
470 * eval.c (eval_op_equal): New function.
471 (evaluate_subexp_standard): Use it.
472
288d26bc
TT
4732021-03-08 Tom Tromey <tom@tromey.com>
474
475 * eval.c (eval_op_subscript): New function.
476 (evaluate_subexp_standard): Use it.
477
7cdcdd02
TT
4782021-03-08 Tom Tromey <tom@tromey.com>
479
480 * eval.c (eval_op_binary): New function.
481 (evaluate_subexp_standard): Use it.
482
d9790e22
TT
4832021-03-08 Tom Tromey <tom@tromey.com>
484
485 * eval.c (eval_op_sub): New function.
486 (evaluate_subexp_standard): Use it.
487
aedaf9ac
TT
4882021-03-08 Tom Tromey <tom@tromey.com>
489
490 * eval.c (eval_op_add): New function.
491 (evaluate_subexp_standard): Use it.
492
b7a96ed2
TT
4932021-03-08 Tom Tromey <tom@tromey.com>
494
495 * eval.c (eval_op_member): New function.
496 (evaluate_subexp_standard): Use it.
497
fb461aa3
TT
4982021-03-08 Tom Tromey <tom@tromey.com>
499
500 * eval.c (eval_op_structop_ptr): New function.
501 (evaluate_subexp_standard): Use it.
502
3e96c4fc
TT
5032021-03-08 Tom Tromey <tom@tromey.com>
504
505 * eval.c (eval_op_structop_struct): New function.
506 (evaluate_subexp_standard): Use it.
507
f960a617
TT
5082021-03-08 Tom Tromey <tom@tromey.com>
509
510 * eval.c (eval_op_ternop): New function.
511 (evaluate_subexp_standard): Use it.
512
5c2f201e
TT
5132021-03-08 Tom Tromey <tom@tromey.com>
514
515 * eval.c (eval_op_concat): New function.
516 (evaluate_subexp_standard): Use it.
517
f871bae1
TT
5182021-03-08 Tom Tromey <tom@tromey.com>
519
520 * eval.c (eval_op_objc_selector): New function.
521 (evaluate_subexp_standard): Use it.
522
14a1c64a
TT
5232021-03-08 Tom Tromey <tom@tromey.com>
524
525 * eval.c (eval_op_string): New function.
526 (evaluate_subexp_standard): Use it.
527
ffff730b
TT
5282021-03-08 Tom Tromey <tom@tromey.com>
529
530 * eval.c (eval_op_register): New function.
531 (evaluate_subexp_standard): Use it.
532
9b1d8af6
TT
5332021-03-08 Tom Tromey <tom@tromey.com>
534
535 * eval.c (eval_op_func_static_var): New function.
536 (evaluate_subexp_standard): Use it.
537
c0df9289
TT
5382021-03-08 Tom Tromey <tom@tromey.com>
539
540 * eval.c (eval_op_var_msym_value): New function.
541 (evaluate_subexp_standard): Use it.
542
50b98adc
TT
5432021-03-08 Tom Tromey <tom@tromey.com>
544
545 * eval.c (eval_op_var_entry_value): New function.
546 (evaluate_subexp_standard): Use it.
547
ea2d29f7
TT
5482021-03-08 Tom Tromey <tom@tromey.com>
549
550 * eval.c (eval_op_scope): New function.
551 (evaluate_subexp_standard): Use it.
552
01573d73
TT
5532021-03-06 Chernov Sergey <klen_s@mail.ru>
554
555 PR gdb/27528:
556 * ada-lang.c (ada_fold_name): Use gdb::to_string.
557
9938d15a
TT
5582021-03-06 Tom Tromey <tom@tromey.com>
559
560 * dwarf2/sect-names.h (dwarf2_elf_names): Declare.
561 * dwarf2/read.h (dwarf2_get_dwz_file): Move to dwz.h.
562 * dwarf2/read.c (dwarf2_elf_names): No longer static.
563 (locate_dwz_sections, dwz_search_other_debugdirs)
564 (dwarf2_get_dwz_file): Move to dwz.c.
565 * dwarf2/dwz.h (dwarf2_get_dwz_file): Move declaration from
566 read.h.
567 * dwarf2/dwz.c (locate_dwz_sections, dwz_search_other_debugdirs)
568 (dwarf2_get_dwz_file): Move from read.c.
569
18035655
TT
5702021-03-06 Tom Tromey <tom@tromey.com>
571
572 * debuginfod-support.h: Include scoped_fd.h.
573
a7308ce0
TT
5742021-03-06 Tom Tromey <tom@tromey.com>
575
576 * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter.
577 * dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter.
578 (get_abbrev_section_for_cu, read_attribute_value)
579 (get_debug_line_section): Update.
580 * dwarf2/macro.c (dwarf_decode_macro_bytes): Update.
581
fbedd546
TT
5822021-03-06 Tom Tromey <tom@tromey.com>
583
584 * dwarf2/sect-names.h (struct dwarf2_section_names) <matches>: New
585 method.
586 * dwarf2/read.c (section_is_p): Remove.
587 (dwarf2_per_bfd::locate_sections)
588 (dwarf2_per_bfd::locate_sections, locate_dwz_sections)
589 (locate_v1_virtual_dwo_sections, dwarf2_locate_dwo_sections)
590 (dwarf2_locate_common_dwp_sections)
591 (dwarf2_locate_v2_dwp_sections, dwarf2_locate_v5_dwp_sections):
592 Update.
593
c2a62a3d
TT
5942021-03-06 Tom Tromey <tom@tromey.com>
595
596 * xcoffread.c: Include sect-names.h.
597 * symfile.h (struct dwarf2_section_names, struct
598 dwarf2_debug_sections): Move to dwarf2/sect-names.h.
599 * dwarf2/sect-names.h: New file, from symfile.h.
600 * dwarf2/read.c: Include sect-names.h.
601
4444f407
TT
6022021-03-06 Tom Tromey <tom@tromey.com>
603
604 * dwarf2/read.c (read_attribute): Make 'abbrev' const.
605 * dwarf2/abbrev.c (abbrev_table::alloc_abbrev): Remove.
606 (abbrev_table::read): Update.
607 * dwarf2/abbrev.h (struct attr_abbrev): Move earlier.
608 (struct abbrev_info): Reformat.
609 <attrs>: Now an array.
610 (struct abbrev_table) <alloc_abbrev>: Remove.
611
dd99cf0c
WP
6122021-03-06 Weimin Pan <weimin.pan@oracle.com>
613
614 * ctfread.c (ctf_psymtab_add_enums): New function.
615 (ctf_psymtab_type_cb): call ctf_psymtab_add_enums.
616
844be3f2
WP
6172021-03-06 Weimin Pan <weimin.pan@oracle.com>
618
619 * ctfread.c (read_func_kind_type): Set up function arguments.
620
b2668f28
AB
6212021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
622 Andrew Burgess <andrew.burgess@embecosm.com>
623
624 * riscv-none-tdep.c: Add 'user-regs.h' and 'target-description.h'
625 includes.
626 (riscv_csrset): New static global.
627 (riscv_update_csrmap): New function.
628 (riscv_iterate_over_regset_sections): Process CSRs.
629
d782d24b
AB
6302021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
631
632 * riscv-tdep.c (riscv_feature_name_csr): Define.
633 (riscv_feature_name_cpu): Define.
634 (riscv_feature_name_fpu): Define.
635 (riscv_feature_name_virtual): Define.
636 (riscv_xreg_feature): Use riscv_feature_name_cpu.
637 (riscv_freg_feature): Use riscv_feature_name_fpu.
638 (riscv_virtual_feature): Use riscv_feature_name_virtual.
639 (riscv_csr_feature): Use riscv_feature_name_csr.
640 * riscv-tdep.h (riscv_feature_name_csr): Declare.
641
fb8f3fc0
AB
6422021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
643 Craig Blackmore <craig.blackmore@embecosm.com>
644
645 * Makefile.in (ALL_TARGET_OBS): Add riscv-none-tdep.o.
646 (ALLDEPFILES): Add riscv-none-tdep.c.
647 * configure: Regenerate.
648 * configure.ac (CONFIG_OBS): Add elf-none-tdep.o when BFD has ELF
649 support.
650 * configure.tgt (riscv*-*-*): Include riscv-none-tdep.c.
651 * elf-none-tdep.c: New file.
652 * elf-none-tdep.h: New file.
653 * riscv-none-tdep.c: New file.
654
95ce627a
AB
6552021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
656 Andrew Burgess <andrew.burgess@embecosm.com>
657
658 * corelow.c: Add 'xml-tdesc.h' include.
659 (core_target::read_description): Load the target description from
660 the core file when possible.
661 * fbsd-tdep.c (fbsd_make_corefile_notes): Add target description
662 note.
663 * gcore-elf.c: Add 'gdbsupport/tdesc.h' include.
664 (gcore_elf_make_tdesc_note): New function.
665 * gcore-elf.h (gcore_elf_make_tdesc_note): Declare.
666 * linux-tdep.c (linux_make_corefile_notes): Add target description
667 note.
668
f3a5df7b
AB
6692021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
670
671 * Makefile.in (SFILES): Add gcore-elf.c.
672 (HFILES_NO_SRCDIR): Add gcore-elf.h
673 * configure: Regenerate.
674 * configure.ac: Add gcore-elf.o to CONFIG_OBS if we have ELF
675 support.
676 * fbsd-tdep.c: Add 'gcore-elf.h' include.
677 (struct fbsd_collect_regset_section_cb_data): Delete.
678 (fbsd_collect_regset_section_cb): Delete.
679 (fbsd_collect_thread_registers): Delete.
680 (struct fbsd_corefile_thread_data): Delete.
681 (fbsd_corefile_thread): Delete.
682 (fbsd_make_corefile_notes): Call
683 gcore_elf_build_thread_register_notes instead of the now deleted
684 FreeBSD code.
685 * gcore-elf.c: New file, the content was moved here from
686 linux-tdep.c, functions were renamed and given minor cleanup.
687 * gcore-elf.h: New file.
688 * gcore.c (gcore_find_signalled_thread): Moved here from
689 linux-tdep.c and given a new name. Minor cleanups.
690 * gcore.h (gcore_find_signalled_thread): Declare.
691 * linux-tdep.c: Add 'gcore.h' and 'gcore-elf.h' includes.
692 (struct linux_collect_regset_section_cb_data): Delete.
693 (linux_collect_regset_section_cb): Delete.
694 (linux_collect_thread_registers): Delete.
695 (linux_corefile_thread): Call
696 gcore_elf_build_thread_register_notes.
697 (find_signalled_thread): Delete.
698 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
699
d1e93af6
SM
7002021-03-04 Simon Marchi <simon.marchi@polymtl.ca>
701
702 PR gdb/27147
703 * sparc-nat.h (sparc_fetch_inferior_registers): Add
704 process_stratum_target parameter,
705 sparc_store_inferior_registers): update callers.
706 * sparc-nat.c (sparc_fetch_inferior_registers,
707 sparc_store_inferior_registers): Add process_stratum_target
708 parameter. Switch current thread before calling
709 sparc_supply_gregset / sparc_collect_rwindow.
710 (sparc_store_inferior_registers): Likewise.
711 * sparc-obsd-tdep.c (sparc32obsd_supply_uthread): Add assertion.
712 (sparc32obsd_collect_uthread): Likewise.
713 * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
714 Add assertion.
715 * sparc64-obsd-tdep.c (sparc64obsd_collect_uthread,
716 sparc64obsd_supply_uthread): Add assertion.
717
1178743e
TT
7182021-03-04 Tom Tromey <tromey@adacore.com>
719
720 * ada-lang.c (struct match_data) <found_sym>: Now bool.
721 (aux_add_nonlocal_symbols): Update.
722 (ada_add_block_symbols): Change "found_sym" to bool.
723
1bfa81ac
TT
7242021-03-03 Tom Tromey <tromey@adacore.com>
725
726 * ada-lang.c (ada_resolve_function): Update comment.
727 (is_nonfunction, add_symbols_from_enclosing_procs)
728 (remove_extra_symbols): Likewise.
729 (struct match_data): Add constructor, initializers.
730 (add_nonlocal_symbols): Remove memset.
731 (aux_add_nonlocal_symbols): Update comment.
732 (ada_add_block_renamings, add_nonlocal_symbols)
733 (ada_add_all_symbols): Likewise.
734 * ada-exp.y (write_var_or_type): Clean up trailing whitespace.
735
bbcdf9ab
TT
7362021-03-02 Tom Tromey <tromey@adacore.com>
737
738 * ada-lang.c (cast_from_gnat_encoded_fixed_point_type)
739 (cast_to_gnat_encoded_fixed_point_type): Remove.
740 (ada_value_cast, ada_evaluate_subexp): Update.
741 (gnat_encoded_fixed_point_type_info)
742 (ada_is_gnat_encoded_fixed_point_type)
743 (gnat_encoded_fixed_point_delta)
744 (gnat_encoded_fixed_point_scaling_factor): Remove.
745 * ada-lang.h (ada_is_gnat_encoded_fixed_point_type)
746 (gnat_encoded_fixed_point_delta)
747 (gnat_encoded_fixed_point_scaling_factor): Don't declare.
748 * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Remove.
749 (ada_print_type): Update.
750 * ada-valprint.c (ada_value_print_num): Update.
751 * dwarf2/read.c (ada_get_gnat_encoded_number)
752 (ada_get_gnat_encoded_ratio): New functions.
753 (finish_fixed_point_type): Use them. Add parameters.
754 (GNAT_FIXED_POINT_SUFFIX): New define.
755 (gnat_encoded_fixed_point_type_info): New function.
756 (read_base_type): Handle gnat encodings.
757
5f9febe0
TT
7582021-03-02 Tom Tromey <tromey@adacore.com>
759
760 * ada-lang.c (ada_fold_name, ada_variant_discrim_name)
761 (ada_enum_name, scan_discrim_bound, to_fixed_range_type): Use
762 std::string.
763 (GROW_VECT): Remove.
764 (grow_vect): Remove.
765
d1183b06
TT
7662021-03-02 Tom Tromey <tromey@adacore.com>
767
768 * ada-lang.h (ada_lookup_symbol_list): Return a vector.
769 * ada-lang.c (resolve_subexp): Update.
770 (ada_resolve_function): Accept a vector.
771 (is_nonfunction, add_defn_to_vec)
772 (add_symbols_from_enclosing_procs): Likewise.
773 (num_defns_collected, defns_collected): Remove.
774 (remove_extra_symbols): Return a vector.
775 (remove_irrelevant_renamings): Return void.
776 (ada_add_local_symbols): Accept a vector.
777 (struct match_data) <obstackp>: Remove.
778 <resultp>: New member.
779 (aux_add_nonlocal_symbols): Update.
780 (ada_add_block_renamings, add_nonlocal_symbols)
781 (ada_add_all_symbols): Accept a vector.
782 (ada_lookup_symbol_list_worker, ada_lookup_symbol_list): Return a
783 vector.
784 (ada_lookup_symbol): Update.
785 (ada_add_block_symbols): Accept a vector.
786 (get_var_value, iterate_over_symbols): Update.
787 * ada-exp.y (block_lookup, write_var_or_type, write_name_assoc):
788 Update.
789
886d459f
TT
7902021-03-02 Tom Tromey <tromey@adacore.com>
791
792 * ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom.
793
bdcccc56
TT
7942021-03-02 Tom Tromey <tromey@adacore.com>
795
796 * ada-lang.c (struct ada_symbol_cache) <cache_space>: Now an
797 auto_obstack.
798 <root>: Initialize.
799 (ada_pspace_data): Remove destructor.
800 <sym_cache>: Now a unique_ptr.
801 (ada_init_symbol_cache, ada_free_symbol_cache): Remove.
802 (ada_get_symbol_cache): Use 'new'.
803 (ada_clear_symbol_cache): Rewrite.
804
1228719f
TT
8052021-03-02 Tom Tromey <tromey@adacore.com>
806
807 * ada-lang.c (add_nonlocal_symbols): Handle case where objfile->sf
808 is null.
809
bb3a4efe
LS
8102021-02-27 Lancelot Six <lsix@lancelotsix.com>
811
812 PR gdb/27393
813 * source.c (add_path): Skip empty dirnames.
814
26b43ca6 8152021-02-25 Kevin Buettner <kevinb@redhat.com>
0f977b77
KB
816
817 * nat/aarch64-sve-linux-ptrace.h: Add comment regarding
818 include order for <sys/ptrace.h> and <asm/ptrace.h>.
819
dffdd8b5
SM
8202021-02-25 Simon Marchi <simon.marchi@polymtl.ca>
821
822 PR gdb/26861
823 * target.c (target_mourn_inferior): Only compare pids in
824 target_mourn_inferior.
825
64d38fdd
JM
8262021-02-25 Jan Matyas <jmatyas@codasip.com>
827
828 PR gdb/26819
829 * remote.c (remote_target::start_remote): Ensure the single
830 thread, automatically added for remote targets without the
831 concept of threading, is initially in set to the "resumed"
832 state.
833 * remote.c (remote_target::add_current_inferior_and_thread):
834 Add return value - return the main thread.
835
2450ad54
JV
8362021-02-25 Jan Vrany <jan.vrany@labware.com>
837
838 * gdb/mi/mi-interp.c (mi_traceframe_changed): Remove trailing \n from output.
839 (mi_tsv_created): Likewise.
840 (mi_tsv_deleted): Likewise.
841
30c80d88
TV
8422021-02-25 Tom de Vries <tdevries@suse.de>
843
844 PR symtab/27354
845 * dwarf2/read.c (open_and_init_dwo_file): Use rcuh_kind::COMPILE as
846 section_kind for &dwo_file->sections.info.
847
68337b8b
AB
8482021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
849
850 PR fortran/26155
851 * f-lang.c (fortran_argument_convert): Delete declaration.
852 (fortran_prepare_argument): New function.
853 (evaluate_subexp_f): Move logic to new function
854 fortran_prepare_argument.
855
faeb9f13
AB
8562021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
857
858 * f-exp.y (f77_keywords): Add 'associated'.
859 * f-lang.c (fortran_associated): New function.
860 (evaluate_subexp_f): Handle FORTRAN_ASSOCIATED.
861 (operator_length_f): Likewise.
862 (print_unop_or_binop_subexp_f): New function.
863 (print_subexp_f): Make use of print_unop_or_binop_subexp_f for
864 FORTRAN_ASSOCIATED, FORTRAN_LBOUND, and FORTRAN_UBOUND.
865 (dump_subexp_body_f): Handle FORTRAN_ASSOCIATED.
866 (operator_check_f): Likewise.
867 * std-operator.def: Add FORTRAN_ASSOCIATED.
868
170f4b23
AB
8692021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
870
871 * f-exp.y (fortran_operators): Add ".xor.".
872
aa659cfa
TV
8732021-02-24 Tom de Vries <tdevries@suse.de>
874
875 PR symtab/27336
876 * dwarf2/attribute.c (attribute::form_is_signed): New function
877 factored out of ...
878 * dwarf2/attribute.h (attribute::as_signed): ... here.
879 (attribute::is_nonnegative, attribute::as_nonnegative): New function.
880 (attribute::form_is_signed): Declare.
881 * dwarf2/read.c (new_symbol): Use is_nonnegative and as_nonnegative
882 for DW_AT_decl_file.
883
268c77c1
KB
8842021-02-24 Kevin Buettner <kevinb@redhat.com>
885
886 * nat/aarch64-linux-hw-point.c: Add comment regarding include
887 order for <sys/ptrace.h> and <asm/ptrace.h>.
888
665af52e
KB
8892021-02-24 Kevin Buettner <kevinb@redhat.com>
890
891 * nat/aarch64-linux-hw-point.c: Include <asm/ptrace.h> after
892 <sys/ptrace.h>.
893
dd80d750
AB
8942021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
895
896 * exec.c (set_section_command): Move variable declarations into
897 the function body, and use std::string instead of a fixed size
898 buffer.
899
336aa7b7
AB
9002021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
901
902 * exec.c (exec_target::get_section_table): Delete member function.
903 (section_table_read_available_memory): Use current_top_target, not
904 just the exec_ops target.
905 * target-delegates.c: Regenerate.
906 * target.c (default_get_section_table): New function.
907 * target.h (target_ops::get_section_table): Change default
908 behaviour to call default_get_section_table.
909 (default_get_section_table): Declare.
910
02f7d26b
AB
9112021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
912
913 * exec.c (exec_target::close): Call new clear_target_sections
914 function.
915 (program_space::add_target_sections): Update name of member
916 variable.
917 (program_space::add_target_sections): Update name of member
918 variable.
919 (program_space::remove_target_sections): Likewise.
920 (exec_one_fork): Use new target_sections member function.
921 (exec_target::get_section_table): Likewise.
922 (exec_target::files_info): Likewise.
923 (set_section_command): Likewise.
924 (exec_set_section_address): Likewise.
925 (exec_target::has_memory): Use new target_sections member
926 function.
927 * progspace.h (program_space::clear_target_sections): New member
928 function.
929 (program_space::target_sections): Rename member variable to
930 m_target_sections, replace with a new member function.
931 (program_space::m_target_sections): New member variable.
932 * solib-dsbt.c (scan_dyntag): Use new member function.
933 * solib-svr4.c (scan_dyntag): Likewise.
934
19cf757a
AB
9352021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
936
937 * gdb/bfd-target.c (class target_bfd) <get_section_table>: Make
938 return type const.
939 * gdb/exec.c (struct exec_target) <get_section_table>: Likewise.
940 (section_table_read_available_memory): Make local const.
941 (exec_target::xfer_partial): Make local const.
942 (print_section_info): Make parameter const.
943 * gdb/exec.h (print_section_info): Likewise.
944 * gdb/ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Make local
945 const.
946 * gdb/record-btrace.c (record_btrace_target::xfer_partial):
947 Likewise.
948 * gdb/remote.c (remote_target::remote_xfer_live_readonly_partial):
949 Likewise.
950 * gdb/s390-tdep.c (s390_load): Likewise.
951 * gdb/solib-dsbt.c (scan_dyntag): Likewise.
952 * gdb/solib-svr4.c (scan_dyntag): Likewise.
953 * gdb/target-debug.h (target_debug_print_target_section_table_p):
954 Rename to...
955 (target_debug_print_const_target_section_table_p): ...this.
956 * gdb/target-delegates.c: Regenerate.
957 * gdb/target.c (target_get_section_table): Make return type const.
958 (target_section_by_addr): Likewise. Also make some locals const.
959 (memory_xfer_partial_1): Make some locals const.
960 * gdb/target.h (struct target_ops) <get_section_table>: Make
961 return type const.
962 (target_section_by_addr): Likewise.
963 (target_get_section_table): Likewise.
964
02a79309
AB
9652021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
966
967 * NEWS: Mention new 'maint info target-sections' command.
968 * maint.c (maintenance_info_target_sections): New function.
969 (_initialize_maint_cmds): Register new command.
970
895b7b4e
AB
9712021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
972
973 * riscv-tdep.c (riscv_features_from_gdbarch_info): Rename to...
974 (riscv_features_from_bfd): ...this. Change parameter type to
975 'bfd*', and update as required.
976 (riscv_find_default_target_description): Update call to
977 riscv_features_from_bfd. Select a default xlen based on
978 info.bfd_arch_info.
979 (riscv_gdbarch_init): Update call to riscv_features_from_bfd.
980
bc3c0632
AB
9812021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
982
983 * eval.c (evaluate_subexp_standard): Call value_ind for points to
984 dynamic types in UNOP_IND.
985
08ac5771
SM
9862021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
987
988 PR gdb/26828
989 * dwarf2/read.c (dwarf2_queue_guard) <dwarf2_queue_guard>:
990 Instantiate queue.
991 (~dwarf2_queue_guard): Clear queue.
992 (queue_comp_unit): Assert that queue is
993 instantiated.
994 (process_queue): Adjust.
995 * dwarf2/read.h (struct dwarf2_per_bfd) <queue>: Make optional.
996
616c069a
SM
9972021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
998
999 PR gdb/26828
1000 * dwarf2/read.c (maybe_queue_comp_unit): Check if CU is expanded
1001 to decide whether or not to enqueue it for expansion.
1002 (follow_die_offset, follow_die_sig_1): Ensure we load the DIEs
1003 after calling maybe_queue_comp_unit.
1004
897608ed
SM
10052021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
1006
1007 * linux-nat.c (linux_nat_filter_event): Return void.
1008
15908a11
TT
10092021-02-22 Tom Tromey <tromey@adacore.com>
1010
1011 * solib-svr4.c (enable_break): Update.
1012 * bfd-target.c (class target_bfd) <target_bfd>: Change parameter
1013 type.
1014 (target_bfd_reopen): Change parameter type.
1015 * bfd-target.h (target_bfd_reopen): Change parameter type.
1016
f53fc427
SM
10172021-02-22 Simon Marchi <simon.marchi@polymtl.ca>
1018
1019 * thread.c (add_thread_silent): Add assert.
1020 (find_thread_ptid): Add assert.
1021
de146e19
SM
10222021-02-22 Simon Marchi <simon.marchi@polymtl.ca>
1023
1024 PR gdb/27435
1025 * inf-ptrace.c (struct target_unpusher): Move to target.h.
1026 (target_unpush_up): Likewise.
1027 * procfs.c (procfs_target::attach): Push target early. Use
1028 target_unpush_up to unpush target in case of error.
1029 * target.h (struct target_unpusher): Move here.
1030 (target_unpush_up): Likewise.
1031
8488c357
KB
10322021-02-19 Kevin Buettner <kevinb@redhat.com>
1033
1034 * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h"
1035 (which in turn includes <gnulib/config.h>) before include
1036 of <signal.h>.
1037
5a9f5403
NC
10382021-02-19 Nelson Chu <nelson.chu@sifive.com>
1039
1040 PR 27158
1041 * riscv-tdep.c (decode_ci_type_insn): Updated encoding macros.
1042 (decode_j_type_insn): Likewise.
1043 (decode_cj_type_insn): Likewise.
1044 (decode_b_type_insn): Likewise.
1045 (decode): Likewise.
1046
26f53cd3
TT
10472021-02-18 Tom Tromey <tom@tromey.com>
1048
1049 * expression.h (struct expression) <evaluate>: Declare method.
1050 * eval.c (evaluate_subexp): Simplify.
1051 (expression::evaluate): New method.
1052 (evaluate_expression, evaluate_type): Use expression::evaluate.
1053
6a780b67
KB
10542021-02-17 Kevin Buettner <kevinb@redhat.com>
1055
1056 * ada-lang.c (ada_fold_name): Check for non-empty string prior
1057 to accessing it.
1058 (ada_lookup_name_info): Likewise.
1059
adeab0c5
MF
10602021-02-13 Mike Frysinger <vapier@gentoo.org>
1061
1062 * aclocal.m4: Regenerate.
1063
089436f7
TV
10642021-02-12 Tom de Vries <tdevries@suse.de>
1065
1066 PR threads/26228
1067 * linux-nat.c (lin_thread_get_thread_signals): Remove.
1068 (lin_thread_signals): New static var.
1069 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
1070 New function.
1071 * linux-nat.h (lin_thread_get_thread_signals): Remove.
1072 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
1073 Declare.
1074 * linux-thread-db.c (check_thread_signals): Use
1075 lin_thread_get_thread_signal_num and lin_thread_get_thread_signal.
1076
96df3e28
AB
10772021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
1078
1079 * f-exp.y (f77_keywords): Add allocated.
1080 * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED.
1081 (operator_length_f): Likewise.
1082 (print_subexp_f): Likewise.
1083 (dump_subexp_body_f): Likewise.
1084 (operator_check_f): Likewise.
1085 * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator.
1086
05f68f52
TV
10872021-02-11 Tom de Vries <tdevries@suse.de>
1088
1089 PR symtab/27353
1090 * dwarf2/attribute.c (attribute::form_requires_reprocessing):
1091 Return true for DW_FORM_strx.
1092
b260f8d6
TT
10932021-02-11 Tom Tromey <tromey@adacore.com>
1094
1095 PR gdb/27383:
1096 * parse.c (write_exp_symbol_reference): Write sym.block.
1097
bf3386f0
AB
10982021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1099
1100 * NEWS: Mention changes to 'maint info sections'.
1101 * maint.c (match_substring): Return a bool, fix whitespace issue.
1102 (struct single_bfd_flag_info): New struct.
1103 (bfd_flag_info): New static global.
1104 (match_bfd_flags): Return a bool, use bfd_flag_info.
1105 (print_bfd_flags): Use bfd_flag_info.
1106 (maint_print_section_info): Delete trailing whitespace.
1107 (struct maint_info_sections_opts): New struct.
1108 (maint_info_sections_option_defs): New static global.
1109 (maint_info_sections_completer): New function.
1110 (maintenance_info_sections): Use option parsing mechanism.
1111 (_initialize_maint_cmds): Update command help text for 'maint info
1112 sections' and register a command completer.
1113
4790db14
AB
11142021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1115
1116 * maint.c (print_bfd_section_info_maybe_relocated): Delete,
1117 functionality merged into...
1118 (maint_print_all_sections): ...this new function.
1119 (maintenance_info_sections): Make use of maint_print_all_sections,
1120 allow all objects to be printed even where there's no executable.
1121
1db66e34
AB
11222021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1123
1124 * breakpoint.c (resolve_sal_pc): Make use of
1125 bound_minimal_symbol::obj_section.
1126 * maint.c (maintenance_translate_address): Likewise.
1127 * minsyms.c (minimal_symbol_upper_bound): Likewise.
1128 * minsyms.h (struct bound_minimal_symbol) <obj_section>: New
1129 member function.
1130 * printcmd.c (info_address_command): Make use of
1131 bound_minimal_symbol::obj_section.
1132
18b8df43
AM
11332021-02-11 Alan Modra <amodra@gmail.com>
1134
1135 * arm-symbian-tdep.c: Delete.
1136 * NEWS: Mention arm-symbian removal.
1137 * Makefile.in: Remove arm-symbian-tdep entries.
1138 * configure.tgt: Remove arm*-*-symbianelf*.
1139 * doc/gdb.texinfo: Remove mention of SymbianOS.
1140 * osabi.c (gdb_osabi_names): Remove "Symbian".
1141 * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN.
1142 * testsuite/gdb.base/ending-run.exp: Remove E32Main handling.
1143 * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf*
1144 handling.
1145 * testsuite/gdb.base/dup-sect.exp: Likewise.
1146 * testsuite/gdb.base/long_long.exp: Likewise.
1147 * testsuite/gdb.base/solib-weak.exp: Likewise.
1148 * testsuite/gdb.guile/scm-section-script.exp: Likewise.
1149 * testsuite/gdb.python/py-section-script.exp: Likewise.
1150 * testsuite/lib/dwarf.exp: Likewise.
1151 * testsuite/lib/gdb.exp: Likewise.
1152
e92c8eb8
AB
11532021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1154
1155 * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token.
1156 (exp): New pattern using UNOP_OR_BINOP_INTRINSIC.
1157 (one_or_two_args): New pattern.
1158 (f77_keywords): Add lbound and ubound.
1159 * f-lang.c (fortran_bounds_all_dims): New function.
1160 (fortran_bounds_for_dimension): New function.
1161 (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND.
1162 (operator_length_f): Likewise.
1163 (print_subexp_f): Likewise.
1164 (dump_subexp_body_f): Likewise.
1165 (operator_check_f): Likewise.
1166 * std-operator.def (FORTRAN_LBOUND): Define.
1167 (FORTRAN_UBOUND): Define.
1168
a52d653e
AB
11692021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1170
1171 * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index
1172 and set_section_index member functions where appropriate.
1173 * coffread.c (coff_symtab_read): Likewise.
1174 (process_coff_symbol): Likewise.
1175 * ctfread.c (set_symbol_address): Likewise.
1176 * dwarf2/read.c (add_partial_symbol): Likewise.
1177 (var_decode_location): Likewise.
1178 * language.c: Likewise.
1179 * minsyms.c (minimal_symbol_reader::record_full): Likewise.
1180 (compact_minimal_symbols): Likewise.
1181 (minimal_symbol_upper_bound): Likewise.
1182 * objfiles.c (relocate_one_symbol): Likewise.
1183 * psympriv.h (partial_symbol::obj_section): Likewise.
1184 (partial_symbol::address): Likewise.
1185 * psymtab.c (partial_symtab::add_psymbol): Likewise.
1186 * stabsread.c (scan_file_globals): Likewise.
1187 * symmisc.c (dump_msymbols): Likewise.
1188 * symtab.c (general_symbol_info::obj_section): Likewise.
1189 (fixup_section): Likewise.
1190 (get_msymbol_address): Likewise.
1191 * symtab.h (general_symbol_info::section): Rename to...
1192 (general_symbol_info::m_section): ...this.
1193 (general_symbol_info::set_section_index): New member function.
1194 (general_symbol_info::section_index): Likewise.
1195 (SYMBOL_SECTION): Delete.
1196 (MSYMBOL_VALUE_ADDRESS): Make use of section_index and
1197 set_section_index member functions where appropriate.
1198 (MSYMBOL_SECTION): Delete.
1199 (symbol::symbol): Update to initialize 'm_section'.
1200 * xcoffread.c (read_xcoff_symtab): Make use of set_section_index.
1201 (process_xcoff_symbol): Likewise.
1202
ebbc3a7d
AB
12032021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1204
1205 * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and
1206 MSYMBOL_OBJ_SECTION.
1207 * findvar.c (language_defn::read_var_value): Likewise.
1208 * infcmd.c (jump_command): Likewise.
1209 * linespec.c (minsym_found): Likewise.
1210 * maint.c (maintenance_translate_address): Likewise.
1211 * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
1212 (minimal_symbol_upper_bound): Likewise.
1213 * parse.c (find_minsym_type_and_address): Likewise.
1214 (operator_check_standard): Likewise.
1215 * printcmd.c (info_address_command): Likewise.
1216 * symmisc.c (dump_msymbols): Likewise.
1217 (print_symbol): Likewise.
1218 * symtab.c (general_symbol_info::obj_section): Define new
1219 function.
1220 (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION.
1221 (find_pc_sect_compunit_symtab): Likewise.
1222 (find_function_start_sal): Likewise.
1223 (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and
1224 MSYMBOL_OBJ_SECTION.
1225 * symtab.h (struct general_symbol_info) <obj_section>: Declare new
1226 function.
1227 (SYMBOL_OBJ_SECTION): Delete.
1228 (MSYMBOL_OBJ_SECTION): Delete.
1229
9bb305b3
TT
12302021-02-09 Tom Tromey <tom@tromey.com>
1231
1232 * stap-probe.c (stap_parse_argument_conditionally): Fix typo.
1233
cf2b2075
TV
12342021-02-09 Tom de Vries <tdevries@suse.de>
1235
1236 PR symtab/27341
1237 * dwarf2/read.c (read_array_type): Return NULL when not being able to
1238 construct an array type. Add assert to ensure that element_type is
1239 not being modified.
1240
03642b71
AB
12412021-02-09 Andrew Burgess <andrew.burgess@embecosm.com>
1242
1243 * gcore.c (struct gcore_collect_regset_section_cb_data): Delete.
1244 (gcore_collect_regset_section_cb): Delete.
1245 (gcore_collect_thread_registers): Delete.
1246 (gcore_build_thread_register_notes): Delete.
1247 (gcore_find_signalled_thread): Delete.
1248 * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete
1249 'gdbarch' and 'thread_info' declarations.
1250 (gcore_build_thread_register_notes): Delete declaration.
1251 (gcore_find_signalled_thread): Likewise.
1252 * fbsd-tdep.c: Remove 'gcore.h' include.
1253 (struct fbsd_collect_regset_section_cb_data): New struct.
1254 (fbsd_collect_regset_section_cb): New function.
1255 (fbsd_collect_thread_registers): New function.
1256 (struct fbsd_corefile_thread_data): New struct.
1257 (fbsd_corefile_thread): New function.
1258 (fbsd_make_corefile_notes): Call FreeBSD specific code.
1259 * linux-tdep.c: Remove 'gcore.h' include.
1260 (struct linux_collect_regset_section_cb_data): New struct.
1261 (linux_collect_regset_section_cb): New function.
1262 (linux_collect_thread_registers): New function.
1263 (linux_corefile_thread): Call Linux specific code.
1264 (find_signalled_thread): New function.
1265 (linux_make_corefile_notes): Call find_signalled_thread.
1266
f73e424f
TT
12672021-02-09 Tom Tromey <tromey@adacore.com>
1268
1269 * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy
1270 not_lval value.
1271 * value.c (value_contents_copy_raw): Now static.
1272 * value.h (value_contents_copy_raw): Don't declare.
1273
a4f0544b
TT
12742021-02-09 Tom Tromey <tromey@adacore.com>
1275
1276 * gdbtypes.c (resolve_dynamic_struct): Handle structure with no
1277 fields.
1278
9b3e4b5d
SV
12792021-02-08 Shahab Vahedi <shahab@synopsys.com>
1280
1281 PR tdep/27369
1282 * arc-linux-tdep.c (handle_atomic_sequence): New.
1283 (arc_linux_software_single_step): Call handle_atomic_sequence().
1284
29db1eb3
AB
12852021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1286
1287 * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member
1288 function.
1289 (REQUIRE_WINDOW): Call is_valid member function.
1290 (REQUIRE_WINDOW_FOR_SETTER): New define.
1291 (gdbpy_tui_is_valid): Call is_valid member function.
1292 (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead.
1293 * tui/tui-data.h (struct tui_win_info) <is_visible>: Check
1294 tui_active too.
1295 * tui/tui-layout.c (tui_apply_current_layout): Add an assert.
1296 * tui/tui.c (tui_enable): Move setting of tui_active earlier in
1297 the function.
1298
e0c23e11
AB
12992021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1300
1301 * python/py-tui.c (gdbpy_tui_set_title): Check that the new value
1302 for the title is not nullptr.
1303
1cf23996
AB
13042021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1305
1306 * tui-layout.c (saved_tui_windows): Delete.
1307 (tui_apply_current_layout): Don't make use of saved_tui_windows,
1308 call new get_windows member function instead.
1309 (tui_get_window_by_name): Check in tui_windows.
1310 (tui_layout_window::apply): Don't add to tui_windows.
1311 * tui-layout.h (tui_layout_base::get_windows): New member function.
1312 (tui_layout_window::get_windows): Likewise.
1313 (tui_layout_split::get_windows): Likewise.
1314
a53a2657
AB
13152021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1316
1317 * tui/tui-layout.c (tui_apply_current_layout): Restore the delete
1318 of the window objects.
1319
2708dbbd
AB
13202021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1321
1322 * python/python.c (gdbpy_print_stack): Reformat an error message.
1323
cd074e04
AB
13242021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1325
1326 * tui/tui-interp.c (tui_command_line_handler): New function.
1327 (tui_interp::resume): Register tui_command_line_handler as the
1328 input_handler.
1329 * tui/tui-io.c (tui_inject_newline_into_command_window): New
1330 function.
1331 (tui_getc_1): Delete handling of '\n' and '\r'.
1332 * tui-io.h (tui_inject_newline_into_command_window): Declare.
1333
4cf28e91
HD
13342021-02-07 Hannes Domani <ssbssa@yahoo.de>
1335
1336 * tui/tui-regs.c (tui_data_window::display_registers_from):
1337 Mark invisible register sub windows.
1338 (tui_data_window::check_register_values): Ignore invisible
1339 register sub windows.
1340
3537bc23
HD
13412021-02-07 Hannes Domani <ssbssa@yahoo.de>
1342
1343 * tui/tui-regs.c (tui_data_item_window::rerender): Don't call
1344 n_spaces with a negative value.
1345
5fc2d6aa
HD
13462021-02-07 Hannes Domani <ssbssa@yahoo.de>
1347
1348 * tui/tui-regs.c (tui_data_window::display_registers_from):
1349 Add refresh_window call.
1350
83962f83
HD
13512021-02-07 Hannes Domani <ssbssa@yahoo.de>
1352
1353 * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next.
1354
0110ec82
SM
13552021-02-05 Simon Marchi <simon.marchi@polymtl.ca>
1356
1357 * symmisc.c (std_in, std_out, std_err): Remove.
1358 (_initialize_symmisc): Don't set std_in, std_out and std_err.
1359
7c6944ab
TV
13602021-02-05 Tom de Vries <tdevries@suse.de>
1361
1362 PR breakpoints/27330
1363 * breakpoint.c (create_exception_master_breakpoint): Handle case that
1364 glibc object file has debug info.
1365
e77b0004
TV
13662021-02-05 Tom de Vries <tdevries@suse.de>
1367
1368 PR symtab/27333
1369 * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit.
1370
0e857c82
TV
13712021-02-05 Tom de Vries <tdevries@suse.de>
1372
1373 PR breakpoints/27313
1374 * break-catch-syscall.c (catch_syscall_split_args): Reject negative
1375 syscall numbers.
1376
bdfea17e
TT
13772021-02-05 Tom Tromey <tom@tromey.com>
1378
1379 * compile/compile-c-support.c (get_compile_context)
1380 (c_get_compile_context, cplus_get_compile_context): Change return
1381 type.
1382 * language.c (language_defn::get_compile_instance): New method.
1383 * language.h (language_defn::get_compile_instance): Change return
1384 type. No longer inline.
1385 * c-lang.c (c_language::get_compile_instance): Change return type.
1386 (cplus_language::get_compile_instance): Change return type.
1387 * c-lang.h (c_get_compile_context, cplus_get_compile_context):
1388 Change return type.
1389 * compile/compile.c (compile_to_object): Update.
1390
1b30f421
TT
13912021-02-05 Tom Tromey <tom@tromey.com>
1392
1393 * parser-defs.h (write_exp_symbol_reference): Declare.
1394 * parse.c (write_exp_symbol_reference): New function.
1395 * p-exp.y (variable): Use write_exp_symbol_reference.
1396 * m2-exp.y (variable): Use write_exp_symbol_reference.
1397 * f-exp.y (variable): Use write_exp_symbol_reference.
1398 * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference.
1399 * c-exp.y (variable): Use write_exp_symbol_reference.
1400
ae710496
TV
14012021-02-05 Tom de Vries <tdevries@suse.de>
1402
1403 PR exp/27265
1404 * valarith.c (complex_binop): Throw an error if complex type can't
1405 be created.
1406
d3b54e63
TV
14072021-02-05 Tom de Vries <tdevries@suse.de>
1408
1409 PR symtab/27307
1410 * dwarf2/read.c (create_cus_from_debug_names_list): Add missing
1411 return.
1412
fc9a13fb
TV
14132021-02-05 Tom de Vries <tdevries@suse.de>
1414
1415 * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
1416
04b4939b
MF
14172021-02-04 Mike Frysinger <vapier@gentoo.org>
1418
1419 * configure.tgt (riscv*-*-*): Set gdb_sim.
1420
6ff267e1
SM
14212021-02-04 Simon Marchi <simon.marchi@polymtl.ca>
1422
1423 * target.c (target_is_non_stop_p): Return bool.
1424 * target.h (target_is_non_stop_p): Return bool.
1425
fdbc5215
SM
14262021-02-04 Simon Marchi <simon.marchi@efficios.com>
1427
1428 * record-full.c (record_full_async_inferior_event_handler):
1429 Don't clear async event handler.
1430 (record_full_base_target::wait): Clear async event handler at
1431 beginning.
1432
85d3ad8e
SM
14332021-02-04 Simon Marchi <simon.marchi@efficios.com>
1434
1435 * record-btrace.c (record_btrace_handle_async_inferior_event):
1436 Don't clear async event handler.
1437 (record_btrace_target::wait): Clear async event handler at
1438 beginning.
1439
baa8575b
SM
14402021-02-04 Simon Marchi <simon.marchi@efficios.com>
1441
1442 * remote.c (remote_target::wait): Clear async event handler at
1443 beginning, mark if needed at the end.
1444 (remote_async_inferior_event_handler): Don't set or clear async
1445 event handler.
1446
6b36ddeb
SM
14472021-02-04 Simon Marchi <simon.marchi@efficios.com>
1448
1449 * async-event.h (async_event_handler_func): Add documentation.
1450 * async-event.c (check_async_event_handlers): Don't clear
1451 async_event_handler ready flag.
1452 * infrun.c (infrun_async_inferior_event_handler): Clear ready
1453 flag.
1454 * record-btrace.c (record_btrace_handle_async_inferior_event):
1455 Likewise.
1456 * record-full.c (record_full_async_inferior_event_handler):
1457 Likewise.
1458 * remote-notif.c (remote_async_get_pending_events_handler):
1459 Likewise.
1460 * remote.c (remote_async_inferior_event_handler): Likewise.
1461
72d383bb
SM
14622021-02-03 Simon Marchi <simon.marchi@polymtl.ca>
1463
1464 * infrun.c (handle_inferior_event): Move stop_soon variable to
1465 inner scope.
1466
408f6686
PA
14672021-02-03 Pedro Alves <pedro@palves.net>
1468
1469 * infcmd.c (detach_command): Hold strong reference to target, and
1470 if all-stop on entry, restart threads on exit.
1471 * infrun.c (switch_back_to_stepped_thread): Factor out bits to ...
1472 (restart_stepped_thread): ... this new function. Also handle
1473 trap_expected.
1474 (restart_after_all_stop_detach): New function.
1475 * infrun.h (restart_after_all_stop_detach): Declare.
1476
ac7d717c
PA
14772021-02-03 Pedro Alves <pedro@palves.net>
1478
1479 * infrun.c (struct step_over_info): Initialize fields.
1480 (prepare_for_detach): Handle ongoing in-line step over.
1481
e87f0fe8
PA
14822021-02-03 Pedro Alves <pedro@palves.net>
1483
1484 * linux-nat.c (linux_nat_target::detach): Remove breakpoints
1485 here...
1486 * remote.c (remote_target::remote_detach_1): ... and here ...
1487 * target.c (target_detach): ... instead of here.
1488 * target.h (target_ops::detach): Add comment.
1489
8ff53139
PA
14902021-02-03 Pedro Alves <pedro@palves.net>
1491
1492 * infrun.c (struct wait_one_event): Move higher up.
1493 (prepare_for_detach): Abort in-progress displaced steps instead of
1494 letting them complete.
1495 (handle_one): If the inferior is detaching, don't add the thread
1496 back to the global step-over chain.
1497 (restart_threads): Don't restart threads if detaching.
1498 (handle_signal_stop): Remove inferior::detaching reference.
1499
91475068
PA
15002021-02-03 Pedro Alves <pedro@palves.net>
1501
1502 * infrun.c (prepare_for_detach): Don't release scoped_restore
1503 before returning.
1504
d758e62c
PA
15052021-02-03 Pedro Alves <pedro@palves.net>
1506
1507 * infrun.c (handle_one): New function, factored out from ...
1508 (stop_all_threads): ... here.
1509
b0083dd7
PA
15102021-02-03 Pedro Alves <pedro@palves.net>
1511
1512 * remote.c (remote_notif_stop_ack): Don't error out on
1513 TARGET_WAITKIND_IGNORE; instead, just ignore the notification.
1514 (remote_target::discard_pending_stop_replies): Don't delete
1515 in-flight notification; instead, clear its contents.
1516
621cc310
PA
15172021-02-03 Pedro Alves <pedro@palves.net>
1518
1519 * remote.c (extended_remote_target::attach): Set target async in
1520 the target-non-stop path too.
1521
2ab76a18
PA
15222021-02-03 Pedro Alves <pedro@palves.net>
1523
1524 PR gdb/27055
1525 * infrun.c (handle_signal_stop): Move main context_switch call
1526 earlier, before STOP_QUIETLY_NO_SIGSTOP.
1527
2e3773ff
LS
15282021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1529
1530 * NEWS (Changed commands): Add entry for the behavior change of
1531 the inferior command.
1532 * inferior.c (inferior_command): When no argument is given to the
1533 inferior command, display info about the currently selected
1534 inferior.
1535
e57933dc
SM
15362021-02-02 Simon Marchi <simon.marchi@efficios.com>
1537
1538 * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return
1539 a sect_offset.
1540 (read_attribute_reprocess): Adjust.
1541
2b0c7f41
SM
15422021-02-02 Simon Marchi <simon.marchi@efficios.com>
1543
1544 * dwarf2/die.h (struct die_info) <ranges_base>: Split in...
1545 <gnu_ranges_base>: ... this...
1546 <rnglists_base>: ... and this.
1547 * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in...
1548 <gnu_ranges_base>: ... this...
1549 <rnglists_base>: ... and this.
1550 (read_cutu_die_from_dwo): Adjust
1551 (dwarf2_get_pc_bounds): Adjust
1552 (dwarf2_record_block_ranges): Adjust.
1553 (read_full_die_1): Adjust
1554 (partial_die_info::read): Adjust.
1555 (read_rnglist_index): Adjust.
1556
a1c40103
SM
15572021-02-02 Simon Marchi <simon.marchi@efficios.com>
1558
1559 PR gdb/26813
1560 * dwarf2/read.c (read_loclists_rnglists_header): Add
1561 header_offset parameter and use it.
1562 (read_loclist_index): Read header of the current contribution,
1563 not the one at the beginning of the section.
1564 (read_rnglist_index): Likewise.
1565
b1829e1b
SM
15662021-02-02 Simon Marchi <simon.marchi@efficios.com>
1567
1568 PR gdb/26813
1569 * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear
1570 requires_reprocessing flag.
1571 * dwarf2/attribute.c (attribute::form_is_unsigned): Handle
1572 DW_FORM_loclistx.
1573 (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx
1574 and DW_FORM_loclistx.
1575 * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned
1576 instead of set_address for DW_FORM_loclistx and
1577 DW_FORM_rnglistx.
1578
0c800c6e
SM
15792021-02-02 Simon Marchi <simon.marchi@efficios.com>
1580
1581 * dwarf2/read.c (read_loclist_index): Remove bound check for
1582 start of offset.
1583 (read_rnglist_index): Likewise.
1584
05787bad
SM
15852021-02-02 Simon Marchi <simon.marchi@efficios.com>
1586
1587 * dwarf2/read.c (read_loclist_index): Add bound check for the end
1588 of the offset.
1589
5e4d9bbc
SM
15902021-02-02 Simon Marchi <simon.marchi@efficios.com>
1591
1592 * dwarf2/read.c (read_rnglist_index): Fix bound check.
1593
a0c1eeba
SM
15942021-02-02 Simon Marchi <simon.marchi@efficios.com>
1595
1596 * dwarf2/read.c (read_loclist_index): Change complaints into
1597 errors.
1598
2bd3e4b8
TV
15992021-02-02 Tom de Vries <tdevries@suse.de>
1600
1601 PR symtab/24620
1602 * dwarf2/index-write.c (write_one_signatured_type): Skip if
1603 psymtab == nullptr.
1604
82a1fd3a
AB
16052021-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1606
1607 * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h.
1608 * gcore.c (struct gcore_collect_regset_section_cb_data): Moved
1609 here from linux-tdep.c and given a new name. Minor cleanups.
1610 (gcore_collect_regset_section_cb): Likewise.
1611 (gcore_collect_thread_registers): Likewise.
1612 (gcore_build_thread_register_notes): Likewise.
1613 (gcore_find_signalled_thread): Likewise.
1614 * gcore.h (gcore_build_thread_register_notes): Declare.
1615 (gcore_find_signalled_thread): Declare.
1616 * fbsd-tdep.c: Add 'gcore.h' include.
1617 (struct fbsd_collect_regset_section_cb_data): Delete.
1618 (fbsd_collect_regset_section_cb): Delete.
1619 (fbsd_collect_thread_registers): Delete.
1620 (struct fbsd_corefile_thread_data): Delete.
1621 (fbsd_corefile_thread): Delete.
1622 (fbsd_make_corefile_notes): Call
1623 gcore_build_thread_register_notes instead of the now deleted
1624 FreeBSD code.
1625 * linux-tdep.c: Add 'gcore.h' include.
1626 (struct linux_collect_regset_section_cb_data): Delete.
1627 (linux_collect_regset_section_cb): Delete.
1628 (linux_collect_thread_registers): Delete.
1629 (linux_corefile_thread): Call
1630 gcore_build_thread_register_notes.
1631 (find_signalled_thread): Delete.
1632 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
1633
ebde6f2d
TV
16342021-01-29 Tom de Vries <tdevries@suse.de>
1635
1636 PR breakpoints/26063
1637 * infrun.c (process_event_stop_test): Reset
1638 ecs->event_thread->current_line to 0 if is-stmt=n and frame has
1639 changed.
1640
0f93c3a2
AB
16412021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1642
1643 * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an
1644 assert. Extend the header comment.
1645
f237f998
AB
16462021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1647
1648 * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c.
1649 (HFILES_NO_SRCDIR): Add tui/tui-location.h.
1650 * tui/tui-data.h (TUI_STATUS_WIN): Define.
1651 (tui_locator_win_info_ptr): Delete declaration.
1652 * tui/tui-disasm.c: Add 'tui/tui-location.h' include.
1653 (tui_disasm_window::set_contents): Fetch state from tui_location
1654 global.
1655 (tui_get_begin_asm_address): Likewise.
1656 * tui/tui-layout.c (tui_apply_current_layout): Remove special case
1657 for locator window.
1658 (get_locator_window): Delete.
1659 (initialize_known_windows): Treat locator window just like all the
1660 rest.
1661 * tui/tui-source.c: Add 'tui/tui-location.h' include.
1662 (tui_source_window::set_contents): Fetch state from tui_location
1663 global.
1664 (tui_source_window::showing_source_p): Likewise.
1665 * tui/tui-stack.c: Add 'tui/tui-location.h' include.
1666 (_locator): Delete.
1667 (tui_locator_win_info_ptr): Delete.
1668 (tui_locator_window::make_status_line): Fetch state from
1669 tui_location global.
1670 (tui_locator_window::rerender): Remove check of 'handle',
1671 reindent function body.
1672 (tui_locator_window::set_locator_fullname): Delete.
1673 (tui_locator_window::set_locator_info): Delete.
1674 (tui_update_locator_fullname): Delete.
1675 (tui_show_frame_info): Likewise.
1676 (tui_show_locator_content): Access window through TUI_STATUS_WIN.
1677 * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to
1678 tui/tui-location.h and renamed to
1679 tui_location_tracker::set_location.
1680 (tui_locator_window::set_locator_fullname): Moved to
1681 tui/tui-location.h and renamed to
1682 tui_location_tracker::set_fullname.
1683 (tui_locator_window::full_name): Delete.
1684 (tui_locator_window::proc_name): Delete.
1685 (tui_locator_window::line_no): Delete.
1686 (tui_locator_window::addr): Delete.
1687 (tui_locator_window::gdbarch): Delete.
1688 (tui_update_locator_fullname): Delete declaration.
1689 * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling
1690 for locator window.
1691 * tui/tui-winsource.c: Add 'tui/tui-location.h' include.
1692 (tui_display_main): Call function on tui_location directly.
1693 * tui/tui.h (enum tui_win_type): Add STATUS_WIN.
1694 * tui/tui-location.c: New file.
1695 * tui/tui-location.h: New file.
1696
8ee511af
SM
16972021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
1698
1699 * gdbtypes.h (get_type_arch): Rename to...
1700 (struct type) <arch>: ... this, update all users.
1701
6ac37371
SM
17022021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
1703
1704 * gdbtypes.h (struct type) <arch>: Rename to...
1705 <arch_owner>: ... this, update all users.
1706 <objfile>: Rename to...
1707 <objfile_owner>: ... this, update all users.
1708
24cf6389
AB
17092021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1710
1711 * gdbcmd.h (execute_command_to_string): Update comment.
1712 * top.c (execute_command_to_string): Update header comment.
1713
2a7f6487
TV
17142021-01-28 Tom de Vries <tdevries@suse.de>
1715
1716 PR breakpoints/27205
1717 * breakpoint.c (create_longjmp_master_breakpoint_probe)
1718 (create_longjmp_master_breakpoint_names): New function, factored out
1719 of ...
1720 (create_longjmp_master_breakpoint): ... here. Only try to install
1721 longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
1722 breakpoint in libc.so failed.
1723
59b59f08
LS
17242021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1725
1726 PR gdb/27133
1727 * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
1728 unique_ptr is released when the wrapped pointer is kept for later
1729 use.
1730
807f647c
MM
17312021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1732
1733 * aarch64-tdep.c (aarch64_displaced_step_others): Account for
1734 BLR and BR instructions.
1735 * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
1736 (enum aarch64_masks): New.
1737
4ef367bf
TT
17382021-01-26 Tom Tromey <tromey@adacore.com>
1739
1740 * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
1741 (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
1742 (windows_init_thread_list, windows_nat::handle_load_dll)
1743 (windows_nat::handle_unload_dll, windows_nat_target::resume)
1744 (windows_nat_target::resume)
1745 (windows_nat_target::get_windows_debug_event)
1746 (windows_nat_target::interrupt, windows_xfer_memory)
1747 (windows_nat_target::close): Update.
1748 * nat/windows-nat.c (DEBUG_EVENTS): Use
1749 debug_prefixed_printf_cond.
1750 (matching_pending_stop, fetch_pending_stop)
1751 (continue_last_debug_event): Update.
1752
4cb1265b
MS
17532020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
1754
1755 * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
1756 elfcore_write_file_note.
1757
d0cc52bd
SV
17582021-01-26 Shahab Vahedi <shahab@synopsys.com>
1759
1760 * arc-tdep.c (arc_add_reggroups): New function.
1761 (arc_gdbarch_init): Call arc_add_reggroups.
1762
ac3571d9 17632021-01-26 Anton Kolesov <anton.kolesov@synopsys.com>
d56834cb
AK
1764
1765 * arc-tdep.c (arc_skip_prologue): Log "pc" address.
1766
9f6c202e
TV
17672021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
1768 Simon Marchi <simon.marchi@polymtl.ca>
1769 Tom de Vries <tdevries@suse.de>
1770
1771 * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
1772 DW_AT_ranges.
1773
a625a8c9
TT
17742021-01-25 Tom Tromey <tromey@adacore.com>
1775
1776 * dwarf2/read.c (get_mpz): New function.
1777 (get_dwarf2_rational_constant): Use it.
1778
19184910
TT
17792021-01-25 Tom Tromey <tromey@adacore.com>
1780
1781 * ada-lang.c (resolve_subexp): Handle array context.
1782
b10bae18
TT
17832021-01-23 Tom Tromey <tom@tromey.com>
1784
1785 PR compile/25575
1786 * compile/compile-loc2c.c (note_register): New function.
1787 (pushf_register_address, pushf_register): Use it.
1788
3637a558
TT
17892021-01-23 Tom Tromey <tom@tromey.com>
1790
1791 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
1792 Change type of "registers_used".
1793 * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
1794 * dwarf2/loc.c (dwarf2_compile_property_to_c)
1795 (locexpr_generate_c_location, loclist_generate_c_location): Change
1796 type of "registers_used".
1797 * compile/compile.h (compile_dwarf_expr_to_c)
1798 (compile_dwarf_bounds_to_c): Update.
1799 * compile/compile-loc2c.c (pushf_register_address)
1800 (pushf_register, do_compile_dwarf_expr_to_c)
1801 (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
1802 of "registers_used".
1803 * compile/compile-c.h (generate_c_for_variable_locations):
1804 Update.
1805 * compile/compile-c-symbols.c (generate_vla_size)
1806 (generate_c_for_for_one_variable): Change type of
1807 "registers_used".
1808 (generate_c_for_variable_locations): Return std::vector.
1809 * compile/compile-c-support.c (generate_register_struct): Change
1810 type of "registers_used".
1811 (compute): Update.
1812
9f7f6cb8
TT
18132021-01-23 Tom Tromey <tom@tromey.com>
1814
1815 * compile/compile-internal.h (class compile_instance)
1816 <set_arguments>: Change return type.
1817 * compile/compile.c (compile_to_object): Remove call to reset.
1818 (compile_instance::set_arguments): Change return type.
1819
dd5ca05f
SM
18202021-01-23 Simon Marchi <simon.marchi@polymtl.ca>
1821
1822 * gdbtypes.c (copy_type_recursive): Use get_type_arch.
1823 * gdbtypes.h (struct type) <set_owner>: Add asserts.
1824
d3ee35db
LS
18252021-01-23 Lancelot SIX <lsix@lancelotsix.com>
1826
1827 * Makefile.in (SELFTESTS_SRCS): Add
1828 unittests/gdb_tilde_expand-selftests.c.
1829 * unittests/gdb_tilde_expand-selftests.c: New file.
1830
9d2d8a16
AB
18312021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1832
1833 PR cli/25956
1834 * NEWS: Mention new command.
1835 * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
1836 (version_style): Define.
1837 (cli_style_option::cli_style_option): Add intensity parameter, and
1838 use as appropriate.
1839 (_initialize_cli_style): Register version style set/show commands.
1840 * cli/cli-style.h (cli_style_option): Add intensity parameter.
1841 (version_style): Declare.
1842 * top.c (print_gdb_version): Use version_stype, and styled_string
1843 to print the GDB version string.
1844
e7b43072
AB
18452021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1846
1847 * utils.c (emit_style_escape): Only emit an escape sequence if the
1848 requested style is different than the current applied style.
1849 (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
1850 current applied_style.
1851 (fputs_styled): Remove is_default check.
1852 (fputs_styled_unfiltered): Likewise.
1853 (vfprintf_styled_no_gdbfmt): Likewise.
1854
2189c312
SM
18552021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1856
1857 * remote.h (remote_debug_printf): New.
1858 (remote_debug_printf_nofunc): New.
1859 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
1860 * remote.c: Use above macros throughout file.
1861
02349803
SM
18622021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1863
1864 * remote.h (remote_debug): Change to bool.
1865 * remote.c (remote_debug): Change to bool.
1866 (_initialize_remote): Adjust.
1867
cda09ec9
SM
18682021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1869
1870 * target.h (remote_debug): Move to...
1871 * remote.h (remote_debug): ... here.
1872 * top.c (remote_debug): Move to...
1873 * remote.c (remote_debug): ... here.
1874 * remote-sim.c: Include remote.h.
1875
baf2b57f
SM
18762021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1877
1878 * cli/cli-cmds.c (show_remote_debug): Remove.
1879 (show_remote_timeout): Remove.
1880 (_initialize_cli_cmds): Don't register commands.
1881 * remote.c (show_remote_debug): Move here.
1882 (show_remote_timeout): Move here.
1883 (_initialize_remote): Register commands.
1884
344e9841
SM
18852021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1886
1887 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
1888 type::objfile method instead.
1889
30625020
SM
18902021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1891
1892 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
1893 use the type::is_objfile_owned method.
1894
5b7d941b
SM
18952021-01-22 Simon Marchi <simon.marchi@efficios.com>
1896
1897 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
1898 (TYPE_OWNER): Remove.
1899 (TYPE_OBJFILE): Adjust.
1900 (struct main_type) <flag_objfile_owned>: Rename to...
1901 <m_flag_objfile_owned>: ... this.
1902 <owner>: Rename to...
1903 <m_owner>: ... this.
1904 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
1905 methods.
1906 (TYPE_ALLOC): Adjust.
1907 * gdbtypes.c (alloc_type): Adjust.
1908 (alloc_type_arch): Adjust.
1909 (alloc_type_copy): Adjust.
1910 (get_type_arch): Adjust.
1911 (smash_type): Adjust.
1912 (lookup_array_range_type): Adjust.
1913 (recursive_dump_type): Adjust.
1914 (copy_type_recursive): Adjust.
1915 * compile/compile-c-types.c (convert_func): Adjust.
1916 (convert_type_basic): Adjust.
1917 * compile/compile-cplus-types.c (compile_cplus_convert_func):
1918 Adjust.
1919 * language.c
1920 (language_arch_info::type_and_symbol::alloc_type_symbol):
1921 Adjust.
1922
d5d24e12
LM
19232021-01-21 Luis Machado <luis.machado@linaro.org>
1924
1925 * coffread.c (enter_linenos): Passing string to complaint.
1926 * valops.c (value_assign): Make array view.
1927
a59902a7
SM
19282021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1929
1930 * auto-load.h (debug_auto_load): Move here.
1931 (auto_load_debug_printf): New.
1932 * auto-load.c: Use auto_load_debug_printf.
1933 (debug_auto_load): Move to header.
1934 * linux-thread-db.c (try_thread_db_load): Use
1935 auto_load_debug_printf.
1936 * main.c (captured_main_1): Likewise.
1937
d3abc0ce
SM
19382021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1939
1940 * f-valprint.c (f77_array_offset_tbl): Remove.
1941
1e15fcac
SM
19422021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1943
1944 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
1945
439706e6
SM
19462021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1947
1948 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
1949 of gdb_select.
1950
325d39e4
HD
19512021-01-21 Hannes Domani <ssbssa@yahoo.de>
1952
1953 PR python/19151
1954 * python/py-breakpoint.c (bppy_get_location): Handle
1955 bp_hardware_breakpoint.
1956 (bppy_init): Likewise.
1957 (gdbpy_breakpoint_created): Likewise.
1958
7cb6d92a
SM
19592021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1960
1961 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
1962
d4dd4fca
SM
19632021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1964
1965 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
1966 (_initialize_gdb_bfd): Adjust.
1967
de53369b
SM
19682021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1969
1970 PR gdb/26828
1971 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
1972
17e593e9
SM
19732021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1974
1975 * dwarf2/read.c (follow_die_offset): Add logging.
1976 (dwarf2_per_objfile::age_comp_units): Add logging.
1977
6bd434d6
SM
19782021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1979
1980 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
1981 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
1982 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
1983 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
1984 * arm-tdep.c (struct frame_unwind): Make static.
1985 * auto-load.c (auto_load_safe_path_vec): Make static.
1986 * csky-tdep.c (csky_stub_unwind): Make static.
1987 * gdbarch.c (gdbarch_data_registry): Make static.
1988 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
1989 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
1990 * i386-tdep.c (i386_frame_setup_skip_insns,
1991 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
1992 Make static.
1993 * infrun.c (observer_mode): Make static.
1994 * linux-nat.c (sigchld_action): Make static.
1995 * linux-thread-db.c (thread_db_list): Make static.
1996 * maint-test-options.c (maintenance_test_options_list):
1997 * mep-tdep.c (mep_csr_registers): Make static.
1998 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
1999 (stats): Make static.
2000 * nat/linux-osdata.c (struct osdata_type): Make static.
2001 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
2002 * progspace.c (last_program_space_num): Make static.
2003 * python/py-param.c (struct parm_constant): Remove struct type
2004 name.
2005 (parm_constants): Make static.
2006 * python/py-record-btrace.c (btpy_list_methods): Make static.
2007 * python/py-record.c (recpy_gap_type): Make static.
2008 * record.c (record_goto_cmdlist): Make static.
2009 * regcache.c (regcache_descr_handle): Make static.
2010 * registry.h (DEFINE_REGISTRY): Make definition static.
2011 * symmisc.c (std_in, std_out, std_err): Make static.
2012 * top.c (previous_saved_command_line): Make static.
2013 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
2014 static.
2015 * unittests/command-def-selftests.c (nr_duplicates,
2016 nr_invalid_prefixcmd, lists): Make static.
2017 * unittests/observable-selftests.c (test_notification): Make
2018 static.
2019 * unittests/optional/assignment/1.cc (counter): Make static.
2020 * unittests/optional/assignment/2.cc (counter): Make static.
2021 * unittests/optional/assignment/3.cc (counter): Make static.
2022 * unittests/optional/assignment/4.cc (counter): Make static.
2023 * unittests/optional/assignment/5.cc (counter): Make static.
2024 * unittests/optional/assignment/6.cc (counter): Make static.
2025
a6c11cbb
JS
20262021-01-20 Joel Sherrill <joel@rtems.org>
2027
2028 PR gdb/27219
2029 * remote.c (struct remote_thread_info) <resume_state>: Rename
2030 to...
2031 <get_resume_state>: ... this.
2032 (remote_target::resume): Adjust.
2033 (remote_target::commit_resume): Adjust.
2034 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
2035
6f52fdf4
SDJ
20362021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
2037 Tom Tromey <tom@tromey.com>
2038
2039 * stap-probe.c (stap_parse_single_operand): Handle '!'
2040 operator.
2041 (stap_parse_argument_conditionally): Likewise.
2042 Skip spaces after processing open-parenthesis sub-expression.
2043 (stap_parse_argument_1): Skip spaces after call to
2044 stap_parse_argument_conditionally.
2045 Handle case when right-side expression is a parenthesized
2046 sub-expression.
2047 Skip spaces after call to stap_parse_argument_1.
2048
1c3b85ad
LS
20492021-01-19 Lancelot SIX <lsix@lancelotsix.com>
2050
2051 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
2052
a9a87d35
LM
20532021-01-19 Luis Machado <luis.machado@linaro.org>
2054
2055 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
2056 memory and save data.
2057 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
2058 (trad_frame_set_unknown, trad_frame_set_value_bytes)
2059 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
2060 (trad_frame_value_bytes_p): Remove.
2061 (trad_frame_reset_saved_regs): Adjust documentation.
2062 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
2063 constructor and reset the state of the registers.
2064 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
2065 (trad_frame_value_bytes_p, trad_frame_set_value)
2066 (trad_frame_set_realreg, trad_frame_set_addr)
2067 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
2068 (trad_frame_set_reg_realreg): Update to call member function.
2069 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
2070 (trad_frame_get_prev_register): Likewise.
2071
2072 * aarch64-tdep.c (aarch64_analyze_prologue)
2073 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
2074 (aarch64_prologue_prev_register): Update to use member functions.
2075 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
2076 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
2077 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
2078 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
2079 (arm_make_epilogue_frame_cache): Likewise.
2080 * avr-tdep.c (avr_frame_unwind_cache)
2081 (avr_frame_prev_register): Likewise.
2082 * cris-tdep.c (cris_scan_prologue): Likewise.
2083 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
2084 * frv-tdep.c (frv_analyze_prologue): Likewise.
2085 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
2086 * lm32-tdep.c (lm32_frame_cache): Likewise.
2087 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
2088 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
2089 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
2090 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
2091 (reset_saved_regs): Adjust to set realreg.
2092 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
2093 call member functions.
2094 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
2095 * s390-tdep.c (s390_prologue_frame_unwind_cache)
2096 (s390_backchain_frame_unwind_cache): Likewise.
2097 * score-tdep.c (score7_analyze_prologue)
2098 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
2099 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
2100 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
2101 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
2102 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
2103 * tilegx-tdep.c (tilegx_analyze_prologue)
2104 (tilegx_frame_cache): Likewise.
2105 * v850-tdep.c (v850_frame_cache): Likewise.
2106 * vax-tdep.c (vax_frame_cache): Likewise.
2107
bdec2917
LM
21082021-01-19 Luis Machado <luis.machado@linaro.org>
2109
2110 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
2111 of buffer + length.
2112 (put_frame_register_bytes): Likewise.
2113 Adjust documentation.
2114 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
2115 (safe_frame_unwind_memory): Likewise.
2116 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
2117 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
2118 gdb::array_view.
2119 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
2120 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
2121 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
2122 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
2123 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
2124 * dwarf2/loc.c (rw_pieced_value): Likewise.
2125 * hppa-tdep.c (hppa_frame_cache): Likewise.
2126 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
2127 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
2128 * i386-linux-tdep.c (i386_linux_sigtramp_start)
2129 (i386_linux_rt_sigtramp_start): Likewise.
2130 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
2131 * i386-tdep.c (i386_register_to_value): Likewise.
2132 * i387-tdep.c (i387_register_to_value): Likewise.
2133 * ia64-tdep.c (ia64_register_to_value): Likewise.
2134 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
2135 (m32r_linux_rt_sigtramp_start): Likewise.
2136 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
2137 * m68k-tdep.c (m68k_register_to_value): Likewise.
2138 * mips-tdep.c (mips_register_to_value)
2139 (mips_value_to_register): Likewise.
2140 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
2141 (ppcfbsd_sigtramp_frame_cache): Likewise.
2142 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
2143 (ppcobsd_sigtramp_frame_cache): Likewise.
2144 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
2145 (rs6000_register_to_value): Likewise.
2146 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
2147 * tramp-frame.c (tramp_frame_start): Likewise.
2148 * valops.c (value_assign): Likewise.
2149
ccbe4c82
LM
21502021-01-19 Luis Machado <luis.machado@linaro.org>
2151
2152 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
2153 array_view.
2154 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
2155 instead of buffer and size.
2156 (trad_frame_set_reg_value_bytes): Likewise.
2157 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
2158 (trad_frame_set_value_bytes): Likewise.
2159
0e7620dc
MF
21602021-01-18 Mike Frysinger <vapier@gentoo.org>
2161
2162 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
2163
6a9ad81c
AB
21642021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
2165
2166 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
2167 (riscv_fbsd_gregset): Use riscv_supply_regset.
2168 (riscv_fbsd_fpregset): Likewise.
2169 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
2170 (riscv_linux_fregset): Likewise.
2171 * riscv-tdep.c (riscv_supply_regset): Define new function.
2172 * riscv-tdep.h (riscv_supply_regset): Declare new function.
2173
d3d7d1ba
TV
21742021-01-18 Tom de Vries <tdevries@suse.de>
2175
2176 PR tdep/27172
2177 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
2178 New macro.
2179 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
2180 for SEGV_BNDERR.
2181
aa2838cc
SM
21822021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2183
2184 * remote.c (class remote_target) <remote_hostio_send_command,
2185 remote_hostio_parse_result>: Constify parameter.
2186 (remote_hostio_parse_result): Likewise.
2187 (remote_target::remote_hostio_send_command): Adjust.
2188 (remote_target::remote_hostio_pread_vFile): Adjust.
2189 (remote_target::fileio_readlink): Adjust.
2190 (remote_target::fileio_fstat): Adjust.
2191
b5c8f22d
SM
21922021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2193
2194 * remote.c (remote_target::start_remote): Move wait_status to
2195 narrower scope.
2196
e3b2741b
SM
21972021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2198
2199 * remote.c (class remote_target):
2200 <add_current_inferior_and_thread>: Constify parameter.
2201 (stop_reply_extract_thread): Likewise.
2202 (remote_target::get_current_thread): Likewise.
2203 (remote_target::add_current_inferior_and_thread): Likewise.
2204
cecb1912
SM
22052021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2206
2207 * remote.c (class remote_target)
2208 <remote_unpack_thread_info_response,
2209 parse_threadlist_response>: Constify parameter and/or return
2210 value and or local variable.
2211 (stub_unpack_int): Likewise.
2212 (unpack_nibble): Likewise.
2213 (unpack_byte): Likewise.
2214 (unpack_int): Likewise.
2215 (unpack_string): Likewise.
2216 (unpack_threadid): Likewise.
2217 (remote_target::remote_unpack_thread_info_response): Likewise.
2218 (remote_target::parse_threadlist_response): Likewise.
2219
5a11fff0
AB
22202021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
2221
2222 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
2223
17e89137
LS
22242021-01-14 Lancelot Six <lsix@lancelotsix.com>
2225
2226 * MAINTAINERS (Write After Approval): Add myself.
2227
58eadc4b
BE
22282021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2229
2230 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
2231 because is_trivially_default_constructible was first implemented with
2232 gcc-5.
2233
5fae2a2c
TV
22342021-01-14 Tom de Vries <tdevries@suse.de>
2235
2236 PR breakpoints/27151
2237 * objfiles.h (in_plt_section): Handle .plt.sec.
2238
8f66807b
AB
22392021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2240
2241 PR gdb/26819
2242 * remote.c
2243 (remote_target::select_thread_for_ambiguous_stop_reply): New
2244 member function.
2245 (remote_target::process_stop_reply): Call
2246 select_thread_for_ambiguous_stop_reply.
2247
bd497355
SM
22482021-01-13 Simon Marchi <simon.marchi@efficios.com>
2249
2250 * record-btrace.c (class record_btrace_target): Remove.
2251 (record_btrace_target::commit_resume): Remove.
2252 * record-full.c (class record_full_target): Remove.
2253 (record_full_target::commit_resume): Remove.
2254
c9d22089
SM
22552021-01-13 Simon Marchi <simon.marchi@efficios.com>
2256
2257 * remote.c (enum class resume_state): New.
2258 (struct resumed_pending_vcont_info): New.
2259 (struct remote_thread_info) <resume_state, set_not_resumed,
2260 set_resumed_pending_vcont, resumed_pending_vcont_info,
2261 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
2262 New.
2263 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
2264 (remote_target::remote_add_thread): Adjust.
2265 (remote_target::process_initial_stop_replies): Adjust.
2266 (remote_target::resume): Adjust.
2267 (remote_target::commit_resume): Rely on state in
2268 remote_thread_info and not on tp->executing.
2269 (remote_target::process_stop_reply): Adjust.
2270
d8d1feb4
SM
22712021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2272
2273 * arc-tdep.h (arc_debug_printf): New.
2274 * arc-tdep.c: Use arc_debug_printf.
2275 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
2276 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
2277 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
2278
fb0f5031
SM
22792021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2280
2281 * arc-tdep.h (arc_debug): Change type to bool.
2282 * arc-tdep.c (arc_debug): Change type to bool.
2283 (arc_analyze_prologue): Adjust.
2284 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
2285 * arc-linux-nat.c (ps_get_thread_area): Adjust.
2286
5bf7e91b
SM
22872021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2288
2289 * auto-load.c (auto_load_objfile_script_1): Use bool.
2290 (execute_script_contents): Use bool.
2291
db972fce
SM
22922021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2293
2294 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
2295 comment here.
2296 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
2297 comment to header.
2298 * extension-priv.h (struct extension_language_script_ops)
2299 <auto_load_enabled>: Return bool.
2300 * extension.h (ext_lang_auto_load_enabled): Return bool, move
2301 comment here.
2302 * extension.c (ext_lang_auto_load_enabled): Return bool, move
2303 comment to header.
2304 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
2305 move comment here.
2306 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
2307 move comment to header.
2308 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
2309 move comment here.
2310 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
2311 move comment to header.
2312
5e12f48f
SM
23132021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2314
2315 * auto-load.h (file_is_auto_load_safe): Change return type to
2316 bool, move comment here.
2317 * auto-load.c (file_is_auto_load_safe): Change return type and
2318 advice_printed to bool. Move comment to header.
2319
54ca9002
SM
23202021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2321
2322 * jit.c (jit_debug_printf): New, use throughout file.
2323
24a7f1b5
SM
23242021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2325
2326 * infrun.c (normal_stop): Fix indentation.
2327
fe7a351a
SM
23282021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2329
2330 * top.h (readnow_symbol_files, readnever_symbol_files): Move
2331 declarations to ...
2332 * symfile.h: ... here.
2333 * symfile.c: Update doc.
2334
16e9019e
SM
23352021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2336
2337 * target.h (baud_rate, serial_parity): Move declarations...
2338 * serial.h: ... here.
2339 * main.c: Include serial.h.
2340 * serial.c (baud_rate, serial_parity): Update doc.
2341
b2f2ae0d
SM
23422021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2343
2344 * top.c (pre_init_ui_hook): Remove.
2345
5291fe3c
SP
23462021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2347
2348 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
2349 (aarch64_vnv_type): Add "bf" type in h field of v registers.
2350 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
2351 * features/aarch64-fpu.xml: Add bfloat16 type.
2352
ce38f5ed
AB
23532021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2354
2355 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
2356
7c654b71
AB
23572021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2358
2359 * f-exp.y (dot_ops): Rename to...
2360 (fortran_operators): ...this. Add a header comment. Add symbol
2361 based operators.
2362 (yylex): Update to use fortran_operators not dot_ops. Remove
2363 special handling for '**', this is now included in
2364 fortran_operators.
2365
c6185dce
SM
23662021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2367
2368 * arch/aarch64-insn.h (aarch64_debug_printf): New.
2369 * arch/aarch64-insn.c: Use aarch64_debug_printf.
2370 * aarch64-tdep.c: Use aarch64_debug_printf.
2371
eef401dc
SM
23722021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2373
2374 * solib-aix.c (solib_aix_debug_printf): New, use throughout
2375 file.
2376
062eaacb
SM
23772021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2378
2379 * jit.c (jit_debug): Change type to bool.
2380 (_initialize_jit): Adjust.
2381
54585eee
TT
23822021-01-09 Tom Tromey <tom@tromey.com>
2383
2384 PR compile/23672
2385 * compile/compile.c (compile_to_object): Avoid crash when
2386 osabi_triplet_regexp returns NULL.
2387
bc167b6b
TT
23882021-01-09 Tom Tromey <tom@tromey.com>
2389
2390 * tracepoint.h (class collection_list) <append_exp>: Take a
2391 std::string.
2392 * tracepoint.c (collection_list::append_exp): Take a std::string.
2393 (encode_actions_1): Update.
2394
8fc48b79
TT
23952021-01-08 Tom Tromey <tromey@adacore.com>
2396
2397 * parse.c (parse_expression): Add void_context_p parameter. Use
2398 parse_exp_in_context.
2399 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
2400 parse_expression.
2401 (print_command, call_command): Update.
2402 * expression.h (parse_expression): Add void_context_p parameter.
2403
3c8c6de2
AB
24042021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2405
2406 * value.c (set_value_component_location): Adjust the VALUE_LVAL
2407 for internalvar components that have a dynamic location.
2408
1940319c
TV
24092021-01-08 Tom de Vries <tdevries@suse.de>
2410
2411 PR gdb/26881
2412 * breakpoint.c (create_exception_master_breakpoint_probe)
2413 (create_exception_master_breakpoint_hook): Factor out
2414 of ...
2415 (create_exception_master_breakpoint): ... here. Only try to install
2416 the master exception breakpoint in objfile.debug using the
2417 _Unwind_DebugHook method, if the install using probes in objfile
2418 failed.
2419
e3436813
AB
24202021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2421
2422 * f-lang.c (fortran_value_subarray): Call value_from_component.
2423
e904f56d
MF
24242021-01-07 Mike Frysinger <vapier@gentoo.org>
2425
2426 * remote-sim.c: Include memory-map.h.
2427 (gdbsim_target): Define memory_map override.
2428 (gdbsim_target::memory_map): Define.
2429
959d6a67
TT
24302021-01-07 Tom Tromey <tromey@adacore.com>
2431
2432 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
2433
d4813f10
TT
24342021-01-07 Tom Tromey <tromey@adacore.com>
2435
2436 * ada-lang.c (add_component_interval): Start loop using vector's
2437 updated size.
2438
b49180ac
TT
24392021-01-06 Tom Tromey <tromey@adacore.com>
2440
2441 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
2442 Do not cast result.
2443 * valarith.c (fixed_point_binop): Handle multiplication
2444 and division specially.
2445 * valops.c (value_to_gdb_mpq): New function.
2446 (value_cast_to_fixed_point): Use it.
2447
55195361
HD
24482021-01-05 Hannes Domani <ssbssa@yahoo.de>
2449
2450 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
2451 Call wnoutrefresh instead of tui_win_info::refresh_window.
2452
1b6d4bb2
HD
24532021-01-05 Hannes Domani <ssbssa@yahoo.de>
2454
2455 * tui/tui-source.c (tui_source_window::show_line_number):
2456 Redraw second space after line number.
2457
b5ff370e
HD
24582021-01-05 Hannes Domani <ssbssa@yahoo.de>
2459
2460 PR tui/26927
2461 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
2462 Fix source pad size in prefresh.
2463 (tui_source_window_base::show_source_content): Grow source pad
2464 if necessary.
2465
c68ea49f
MF
24662021-01-04 Mike Frysinger <vapier@gentoo.org>
2467
2468 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
2469 (bfin_frame_align): Use align_down.
2470
e4ad960a
TV
24712021-01-04 Tom de Vries <tdevries@suse.de>
2472
2473 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
2474 terminators that do not terminate anything.
2475
3ec3145c
SM
24762021-01-04 Simon Marchi <simon.marchi@efficios.com>
2477
2478 * debug.c (debug_print_depth): New.
2479 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
2480 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
2481 * infrun.c (start_step_over): Use
2482 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
2483 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
2484 INFRUN_SCOPED_DEBUG_START_END.
2485 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
2486
e71daf80
SM
24872021-01-04 Simon Marchi <simon.marchi@efficios.com>
2488
2489 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
2490
335709bc
SM
24912021-01-04 Simon Marchi <simon.marchi@efficios.com>
2492
2493 * utils.c (vfprintf_unfiltered): Print timestamp only when
2494 previous debug output ended with a newline.
2495
098caef4
LM
24962021-01-04 Luis Machado <luis.machado@linaro.org>
2497
2498 Update all users of trad_frame_saved_reg to use the new member
2499 functions.
2500
2501 Remote all struct keywords from declarations of trad_frame_saved_reg
2502 types, except on forward declarations.
2503
2504 * aarch64-tdep.c: Update.
2505 * alpha-mdebug-tdep.c: Update.
2506 * alpha-tdep.c: Update.
2507 * arc-tdep.c: Update.
2508 * arm-tdep.c: Update.
2509 * avr-tdep.c: Update.
2510 * cris-tdep.c: Update.
2511 * csky-tdep.c: Update.
2512 * frv-tdep.c: Update.
2513 * hppa-linux-tdep.c: Update.
2514 * hppa-tdep.c: Update.
2515 * hppa-tdep.h: Update.
2516 * lm32-tdep.c: Update.
2517 * m32r-linux-tdep.c: Update.
2518 * m32r-tdep.c: Update.
2519 * m68hc11-tdep.c: Update.
2520 * mips-tdep.c: Update.
2521 * moxie-tdep.c: Update.
2522 * riscv-tdep.c: Update.
2523 * rs6000-tdep.c: Update.
2524 * s390-linux-tdep.c: Update.
2525 * s390-tdep.c: Update.
2526 * score-tdep.c: Update.
2527 * sparc-netbsd-tdep.c: Update.
2528 * sparc-sol2-tdep.c: Update.
2529 * sparc64-fbsd-tdep.c: Update.
2530 * sparc64-netbsd-tdep.c: Update.
2531 * sparc64-obsd-tdep.c: Update.
2532 * sparc64-sol2-tdep.c: Update.
2533 * tilegx-tdep.c: Update.
2534 * v850-tdep.c: Update.
2535 * vax-tdep.c: Update.
2536
2537 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
2538 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
2539
2540 * trad-frame.c: Update.
2541 Remove TF_REG_* enum.
2542 (trad_frame_alloc_saved_regs): Add a static assertion to check for
2543 a trivially-constructible struct.
2544 (trad_frame_reset_saved_regs): Adjust to use member function.
2545 (trad_frame_value_p): Likewise.
2546 (trad_frame_addr_p): Likewise.
2547 (trad_frame_realreg_p): Likewise.
2548 (trad_frame_value_bytes_p): Likewise.
2549 (trad_frame_set_value): Likewise.
2550 (trad_frame_set_realreg): Likewise.
2551 (trad_frame_set_addr): Likewise.
2552 (trad_frame_set_unknown): Likewise.
2553 (trad_frame_set_value_bytes): Likewise.
2554 (trad_frame_get_prev_register): Likewise.
2555 * trad-frame.h: Update.
2556 (trad_frame_saved_reg_kind): New enum.
2557 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
2558 <m_kind, m_reg>: New member fields.
2559 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
2560 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
2561 <is_addr, is_unknown, is_value_bytes>: New member functions.
2562
9898e882
SM
25632021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
2564
2565 * target-float.c: Fix typos.
2566
b66b4e65
HD
25672021-01-02 Hannes Domani <ssbssa@yahoo.de>
2568
2569 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
2570
b5b5650a
JB
25712021-01-01 Joel Brobecker <brobecker@adacore.com>
2572
2573 * gdbarch.sh: Update copyright year range.
2574
3666a048
JB
25752021-01-01 Joel Brobecker <brobecker@adacore.com>
2576
2577 Update copyright year range in copyright header of all GDB files.
2578
ff7e39b6
JB
25792021-01-01 Joel Brobecker <brobecker@adacore.com>
2580
2581 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
2582 to the list of directories to update.
2583
2b47c078
JB
25842021-01-01 Joel Brobecker <brobecker@adacore.com>
2585
2586 * top.c (print_gdb_version): Update copyright year.
2587
476923f1 25882021-01-01 Joel Brobecker <brobecker@adacore.com>
c8f02daa 2589
476923f1 2590 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
c8f02daa 2591
476923f1 2592For older changes see ChangeLog-2020.
c906108c
SS
2593\f
2594Local Variables:
2595mode: change-log
2596left-margin: 8
2597fill-column: 74
2598version-control: never
57da7796 2599coding: utf-8
c906108c 2600End: