]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Implement unary increment and decrement operations
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
6d89e296
TT
12021-03-08 Tom Tromey <tom@tromey.com>
2
3 * expop.h (unop_incr_operation): New template.
4 (preinc_operation, predec_operation, postinc_operation)
5 (postdec_operation): New typedefs.
6 * eval.c (eval_op_preinc, eval_op_predec, eval_op_postinc)
7 (eval_op_postdec): No longer static.
8
9307d17b
TT
92021-03-08 Tom Tromey <tom@tromey.com>
10
11 * expop.h (unary_ftype): New typedef.
12 (unop_operation, usual_ax_binop_operation): New templates.
13 (unary_plus_operation, unary_neg_operation)
14 (unary_complement_operation, unary_logical_not_operation): New
15 typedefs.
16 * eval.c (eval_op_plus, eval_op_neg, eval_op_complement)
17 (eval_op_lognot): No longer static.
18 * ax-gdb.c (gen_expr_unop): New function.
19
ae64ba58
TT
202021-03-08 Tom Tromey <tom@tromey.com>
21
22 * ax-gdb.c (comma_operation::do_generate_ax): New method.
23
d4eff4c1
TT
242021-03-08 Tom Tromey <tom@tromey.com>
25
26 * expop.h (class repeat_operation): New.
27 * eval.c (eval_op_repeat): No longer static. Remove "op"
28 parameter.
29 (evaluate_subexp_standard): Update.
30 * ax-gdb.c (repeat_operation::do_generate_ax): New method.
31
46916f2b
TT
322021-03-08 Tom Tromey <tom@tromey.com>
33
34 * expop.h (class comparison_operation): New.
35 (equal_operation, notequal_operation, less_operation)
36 (gtr_operation, geq_operation, leq_operation): New typedefs.
37 * eval.c (eval_op_equal, eval_op_notequal, eval_op_less)
38 (eval_op_gtr, eval_op_geq, eval_op_leq): No longer static.
39
224d6424
TT
402021-03-08 Tom Tromey <tom@tromey.com>
41
42 * expop.h (class subscript_operation): New.
43 * eval.c (eval_op_subscript): No longer static.
44
373907ff
TT
452021-03-08 Tom Tromey <tom@tromey.com>
46
47 * expop.h (class binop_operation, class usual_ax_binop_operation):
48 New.
49 (exp_operation, intdiv_operation, mod_operation, mul_operation)
50 (div_operation, rem_operation, lsh_operation, rsh_operation)
51 (bitwise_and_operation, bitwise_ior_operation)
52 (bitwise_xor_operation): New typedefs.
53 * eval.c (eval_op_binary): No longer static.
54
5133d78b
TT
552021-03-08 Tom Tromey <tom@tromey.com>
56
57 * expop.h (class sub_operation): New.
58 * eval.c (eval_op_sub): No longer static. Remove "op" parameter.
59 (evaluate_subexp_standard): Update.
60
a94323b6
TT
612021-03-08 Tom Tromey <tom@tromey.com>
62
63 * expop.h (class add_operation): New.
64 * eval.c (eval_op_add): No longer static. Remove "op" parameter.
65 (evaluate_subexp_standard): Update.
66
e51e26a0
TT
672021-03-08 Tom Tromey <tom@tromey.com>
68
69 * expop.h (class concat_operation): New.
70 * eval.c (eval_op_concat): No longer static. Remove "op"
71 parameter.
72 (evaluate_subexp_standard): Update.
73
07f724a8
TT
742021-03-08 Tom Tromey <tom@tromey.com>
75
76 * expop.h (class structop_member_operation)
77 (class structop_mptr_operation): New.
78 * eval.c (eval_op_member): No longer static.
79
ab0609be
TT
802021-03-08 Tom Tromey <tom@tromey.com>
81
82 * expop.h (class structop_ptr_operation): New.
83 * eval.c (eval_op_structop_ptr): No longer static. Remove "op"
84 parameter.
85
808b22cf
TT
862021-03-08 Tom Tromey <tom@tromey.com>
87
88 * expop.h (class structop_base_operation)
89 (class structop_operation): New.
90 * eval.c (eval_op_structop_struct): No longer static.
91
8cfd3e95
TT
922021-03-08 Tom Tromey <tom@tromey.com>
93
94 * expop.h (class complex_operation): New.
95
09db3700
TT
962021-03-08 Tom Tromey <tom@tromey.com>
97
98 * eval.c (eval_op_objc_selector): No longer static.
99 * c-exp.h (class objc_selector_operation): New.
100
06dc61b9
TT
1012021-03-08 Tom Tromey <tom@tromey.com>
102
103 * eval.c: Include c-exp.h.
104 * c-exp.h (class objc_nsstring_operation): New.
105
72d0a711
TT
1062021-03-08 Tom Tromey <tom@tromey.com>
107
108 * c-lang.c (c_string_operation::evaluate): New method.
109 * c-exp.h: New file.
110
9186293f
TT
1112021-03-08 Tom Tromey <tom@tromey.com>
112
113 * expop.h (class ternop_cond_operation): New.
114 * ax-gdb.c (ternop_cond_operation::do_generate_ax): New method.
115
1594e0bb
TT
1162021-03-08 Tom Tromey <tom@tromey.com>
117
118 * expop.h (class ternop_slice_operation): New.
119 * eval.c (eval_op_ternop): No longer static.
120
b50db09f
TT
1212021-03-08 Tom Tromey <tom@tromey.com>
122
123 * expop.h (class string_operation): New.
124 * eval.c (eval_op_string): No longer static.
125
e6e01e16
TT
1262021-03-08 Tom Tromey <tom@tromey.com>
127
128 * expop.h (class internalvar_operation): New.
129 * ax-gdb.c (internalvar_operation::do_generate_ax): New method.
130
e6985c5e
TT
1312021-03-08 Tom Tromey <tom@tromey.com>
132
133 * expop.h (class bool_operation): New.
134
55bdbff8
TT
1352021-03-08 Tom Tromey <tom@tromey.com>
136
137 * expop.h (class register_operation): New.
138 * eval.c (eval_op_register): No longer static.
139 * ax-gdb.c (register_operation::do_generate_ax): New method.
140
247d935b
TT
1412021-03-08 Tom Tromey <tom@tromey.com>
142
143 * expop.h (class last_operation): New.
144
17679395
TT
1452021-03-08 Tom Tromey <tom@tromey.com>
146
147 * expop.h (class func_static_var_operation): New.
148 * eval.c (eval_op_func_static_var): No longer static.
149
b5cc3923
TT
1502021-03-08 Tom Tromey <tom@tromey.com>
151
152 * expop.h (class var_entry_value_operation): New.
153 * eval.c (eval_op_var_entry_value): No longer static.
154
0c8effa3
TT
1552021-03-08 Tom Tromey <tom@tromey.com>
156
157 * expression.h (class operation) <set_outermost>: New method.
158 * expop.h (class var_msym_value_operation): New.
159 * eval.c (eval_op_var_msym_value): No longer static.
160 (var_msym_value_operation::evaluate_for_address)
161 (var_msym_value_operation::evaluate_for_sizeof)
162 (var_msym_value_operation::evaluate_for_cast): New methods.
163 * ax-gdb.c (var_msym_value_operation::do_generate_ax): New
164 method.
165
d336c29e
TT
1662021-03-08 Tom Tromey <tom@tromey.com>
167
168 * expop.h (class long_const_operation): New.
169 * ax-gdb.c (long_const_operation::do_generate_ax): New method.
170
d5ab122c
TT
1712021-03-08 Tom Tromey <tom@tromey.com>
172
173 * expop.h (class scope_operation): New.
174 * eval.c (eval_op_scope): No longer static.
175 (scope_operation::evaluate_for_address): New method.
176 * ax-gdb.c (scope_operation::do_generate_ax): New method.
177
cae26a0c
TT
1782021-03-08 Tom Tromey <tom@tromey.com>
179
180 * expprint.c (float_const_operation::dump): New method.
181 * expop.h (float_data): New typedef.
182 (class float_const_operation): New.
183
75f9892d
TT
1842021-03-08 Tom Tromey <tom@tromey.com>
185
186 * expop.h (gen_expr_binop, gen_expr_structop): Declare.
187 * ax-gdb.c (gen_expr_binop): New function.
188 (gen_expr_structop): Likewise.
189
de401988
TT
1902021-03-08 Tom Tromey <tom@tromey.com>
191
192 * expprint.c (expr::dump_for_expression): New functions.
193 * expop.h (dump_for_expression): New overloads.
194 (tuple_holding_operation::dump, tuple_holding_operation::do_dump):
195 Update.
196
e2803273
TT
1972021-03-08 Tom Tromey <tom@tromey.com>
198
199 * expression.h (expr::operation): New class.
200 (expr::make_operation): New function.
201 (expr::operation_up): New typedef.
202 * expop.h: New file.
203 * eval.c (operation::evaluate_for_cast)
204 (operation::evaluate_for_address, operation::evaluate_for_sizeof):
205 New methods.
206 * ax-gdb.c (operation::generate_ax): New method.
207
e18c58f2
TT
2082021-03-08 Tom Tromey <tom@tromey.com>
209
210 * ax-gdb.c (gen_expr_binop_rest): Remove "pc" parameter.
211 (gen_expr_binop_rest): New overload.
212
c0d7ed8c
TT
2132021-03-08 Tom Tromey <tom@tromey.com>
214
215 * eval.c (eval_multi_subscript): New function.
216 (evaluate_subexp_standard): Use it.
217
dd5fd283
TT
2182021-03-08 Tom Tromey <tom@tromey.com>
219
220 * ada-lang.c (ada_binop_exp): New function.
221 (ada_evaluate_subexp): Use it.
222
3848abd6
TT
2232021-03-08 Tom Tromey <tom@tromey.com>
224
225 * ada-lang.c (ada_val_atr): Rename from value_val_atr. Change
226 parameters.
227 (ada_evaluate_subexp): Use it.
228
38dc70cf
TT
2292021-03-08 Tom Tromey <tom@tromey.com>
230
231 * ada-lang.c (ada_binop_minmax): New function.
232 (ada_evaluate_subexp): Use it.
233
b84564fc
TT
2342021-03-08 Tom Tromey <tom@tromey.com>
235
236 * ada-lang.c (ada_unop_atr): New function.
237 (ada_evaluate_subexp): Use it.
238
b467efaa
TT
2392021-03-08 Tom Tromey <tom@tromey.com>
240
241 * ada-lang.c (ada_binop_in_bounds): New function.
242 (ada_evaluate_subexp): Use it.
243
5ce19db8
TT
2442021-03-08 Tom Tromey <tom@tromey.com>
245
246 * ada-lang.c (ada_ternop_slice): New function.
247 (ada_evaluate_subexp): Use it.
248
214b13ac
TT
2492021-03-08 Tom Tromey <tom@tromey.com>
250
251 * ada-lang.c (ada_equal_binop): New function.
252 (ada_evaluate_subexp): Use it.
253
faa1dfd7
TT
2542021-03-08 Tom Tromey <tom@tromey.com>
255
256 * ada-lang.c (ada_mult_binop): New function.
257 (ada_evaluate_subexp): Use it.
258
d05e24e6
TT
2592021-03-08 Tom Tromey <tom@tromey.com>
260
261 * ada-lang.c (ada_abs): New function.
262 (ada_evaluate_subexp): Use it.
263
68c75735
TT
2642021-03-08 Tom Tromey <tom@tromey.com>
265
266 * ada-lang.c (ada_atr_size): New function.
267 (ada_evaluate_subexp): Use it.
268
020dbabe
TT
2692021-03-08 Tom Tromey <tom@tromey.com>
270
271 * ada-lang.c (ada_atr_tag): New function.
272 (ada_evaluate_subexp): Use it.
273
7efc87ff
TT
2742021-03-08 Tom Tromey <tom@tromey.com>
275
276 * ada-lang.c (ada_unop_in_range): New function.
277 (ada_evaluate_subexp): Use it.
278
82390ab8
TT
2792021-03-08 Tom Tromey <tom@tromey.com>
280
281 * ada-lang.c (ada_unop_neg): New function.
282 (ada_evaluate_subexp): Use it.
283
62d4bd94
TT
2842021-03-08 Tom Tromey <tom@tromey.com>
285
286 * ada-lang.c (eval_ternop_in_range): New function.
287 (ada_evaluate_subexp): Use it.
288
3634f669
TT
2892021-03-08 Tom Tromey <tom@tromey.com>
290
291 * opencl-lang.c (eval_opencl_assign): New function.
292 (evaluate_subexp_opencl): Use it.
293
5e80600e
TT
2942021-03-08 Tom Tromey <tom@tromey.com>
295
296 * eval.c (eval_op_objc_msgcall): New function.
297 (evaluate_subexp_standard): Use it.
298
fb5ba2ab
TT
2992021-03-08 Tom Tromey <tom@tromey.com>
300
301 * eval.c (eval_binop_assign_modify): New function.
302 (evaluate_subexp_standard): Use it.
303
a49881f7
TT
3042021-03-08 Tom Tromey <tom@tromey.com>
305
306 * m2-lang.c (eval_op_m2_subscript): New function.
307 (evaluate_subexp_modula2): Use it.
308
41bdced5
TT
3092021-03-08 Tom Tromey <tom@tromey.com>
310
311 * m2-lang.c (eval_op_m2_high): New function.
312 (evaluate_subexp_modula2): Use it.
313
13ea014a
TT
3142021-03-08 Tom Tromey <tom@tromey.com>
315
316 * eval.c (evaluate_subexp_for_address_base): New function.
317 (evaluate_subexp_for_address): Use it.
318 (evaluate_subexp_for_sizeof_base): New function.
319 (evaluate_subexp_for_sizeof): Use it.
320
1fa41fc7
TT
3212021-03-08 Tom Tromey <tom@tromey.com>
322
323 * rust-lang.c (eval_op_rust_structop): New function.
324 (rust_evaluate_subexp): Use it.
325
575cae23
TT
3262021-03-08 Tom Tromey <tom@tromey.com>
327
328 * rust-lang.c (eval_op_rust_struct_anon): New function.
329 (rust_evaluate_subexp): Use it.
330
05104233
TT
3312021-03-08 Tom Tromey <tom@tromey.com>
332
333 * rust-lang.c (eval_op_rust_array): New function.
334 (rust_evaluate_subexp): Use it.
335
6fa9831f
TT
3362021-03-08 Tom Tromey <tom@tromey.com>
337
338 * rust-lang.c (eval_op_rust_complement): New function.
339 (rust_evaluate_subexp): Use it.
340
d123f9e4
TT
3412021-03-08 Tom Tromey <tom@tromey.com>
342
343 * rust-lang.c (eval_op_rust_ind): New function.
344 (rust_evaluate_subexp): Use it.
345
984af2cb
TT
3462021-03-08 Tom Tromey <tom@tromey.com>
347
348 * rust-lang.c (rust_subscript): Change parameters.
349 (rust_evaluate_subexp): Update.
350
d148f803
TT
3512021-03-08 Tom Tromey <tom@tromey.com>
352
353 * rust-lang.c (rust_range): Change parameters.
354 (rust_evaluate_subexp): Update.
355
9cbd1c20
TT
3562021-03-08 Tom Tromey <tom@tromey.com>
357
358 * f-lang.c (eval_op_f_allocated): New function.
359 (evaluate_subexp_f): Use it.
360
3c18c49c
TT
3612021-03-08 Tom Tromey <tom@tromey.com>
362
363 * f-lang.c (fortran_require_array): New function.
364 (evaluate_subexp_f): Use it.
365
216f6fcb
TT
3662021-03-08 Tom Tromey <tom@tromey.com>
367
368 * f-lang.c (eval_op_f_kind): New function.
369 (evaluate_subexp_f): Use it.
370
00f2db6f
TT
3712021-03-08 Tom Tromey <tom@tromey.com>
372
373 * f-lang.c (eval_op_f_cmplx): New function.
374 (evaluate_subexp_f): Use it.
375
93b2b5fa
TT
3762021-03-08 Tom Tromey <tom@tromey.com>
377
378 * f-lang.c (eval_op_f_modulo): New function.
379 (evaluate_subexp_f): Use it.
380
9f1a1f3c
TT
3812021-03-08 Tom Tromey <tom@tromey.com>
382
383 * f-lang.c (eval_op_f_floor): New function.
384 (evaluate_subexp_f): Use it.
385
3dc41f3c
TT
3862021-03-08 Tom Tromey <tom@tromey.com>
387
388 * f-lang.c (eval_op_f_ceil): New function.
389 (evaluate_subexp_f): Use it.
390
e08109f2
TT
3912021-03-08 Tom Tromey <tom@tromey.com>
392
393 * f-lang.c (eval_op_f_mod): New function.
394 (evaluate_subexp_f): Use it.
395
cc05c68e
TT
3962021-03-08 Tom Tromey <tom@tromey.com>
397
398 * f-lang.c (eval_op_f_abs): New function.
399 (evaluate_subexp_f): Use it.
400
aec95807
TT
4012021-03-08 Tom Tromey <tom@tromey.com>
402
403 * eval.c (eval_op_type): New function.
404 (evaluate_subexp_standard): Use it.
405
a220ead5
TT
4062021-03-08 Tom Tromey <tom@tromey.com>
407
408 * eval.c (eval_op_postdec): New function.
409 (evaluate_subexp_standard): Use it.
410
abffe116
TT
4112021-03-08 Tom Tromey <tom@tromey.com>
412
413 * eval.c (eval_op_postinc): New function.
414 (evaluate_subexp_standard): Use it.
415
9e1361b7
TT
4162021-03-08 Tom Tromey <tom@tromey.com>
417
418 * eval.c (eval_op_predec): New file.
419 (evaluate_subexp_standard): Use it.
420
00f50884
TT
4212021-03-08 Tom Tromey <tom@tromey.com>
422
423 * eval.c (eval_op_preinc): New function.
424 (evaluate_subexp_standard): Use it.
425
3aef2a07
TT
4262021-03-08 Tom Tromey <tom@tromey.com>
427
428 * eval.c (eval_op_memval): New function.
429 (evaluate_subexp_standard): Use it.
430
acee9468
TT
4312021-03-08 Tom Tromey <tom@tromey.com>
432
433 * eval.c (eval_op_alignof): New function.
434 (evaluate_subexp_standard): Use it.
435
786f70ee
TT
4362021-03-08 Tom Tromey <tom@tromey.com>
437
438 * eval.c (eval_op_ind): New function.
439 (evaluate_subexp_standard): Use it.
440
24338fb9
TT
4412021-03-08 Tom Tromey <tom@tromey.com>
442
443 * eval.c (eval_op_lognot): New function.
444 (evaluate_subexp_standard): Use it.
445
1f09ec81
TT
4462021-03-08 Tom Tromey <tom@tromey.com>
447
448 * eval.c (eval_op_complement): New function.
449 (evaluate_subexp_standard): Use it.
450
606d105f
TT
4512021-03-08 Tom Tromey <tom@tromey.com>
452
453 * eval.c (eval_op_neg): New function.
454 (evaluate_subexp_standard): Use it.
455
39f288be
TT
4562021-03-08 Tom Tromey <tom@tromey.com>
457
458 * eval.c (eval_op_plus): New function.
459 (evaluate_subexp_standard): Use it.
460
eed70b1c
TT
4612021-03-08 Tom Tromey <tom@tromey.com>
462
463 * eval.c (eval_op_repeat): New function.
464 (evaluate_subexp_standard): Use it.
465
60cdd487
TT
4662021-03-08 Tom Tromey <tom@tromey.com>
467
468 * eval.c (eval_op_leq): New function.
469 (evaluate_subexp_standard): Use it.
470
96e3efd9
TT
4712021-03-08 Tom Tromey <tom@tromey.com>
472
473 * eval.c (eval_op_geq): New function.
474 (evaluate_subexp_standard): Use it.
475
1f78d732
TT
4762021-03-08 Tom Tromey <tom@tromey.com>
477
478 * eval.c (eval_op_gtr): New function.
479 (evaluate_subexp_standard): Use it.
480
6cad1349
TT
4812021-03-08 Tom Tromey <tom@tromey.com>
482
483 * eval.c (eval_op_less): New function.
484 (evaluate_subexp_standard): Use it.
485
1fcb3559
TT
4862021-03-08 Tom Tromey <tom@tromey.com>
487
488 * eval.c (eval_op_notequal): New function.
489 (evaluate_subexp_standard): Use it.
490
0cc96de8
TT
4912021-03-08 Tom Tromey <tom@tromey.com>
492
493 * eval.c (eval_op_equal): New function.
494 (evaluate_subexp_standard): Use it.
495
288d26bc
TT
4962021-03-08 Tom Tromey <tom@tromey.com>
497
498 * eval.c (eval_op_subscript): New function.
499 (evaluate_subexp_standard): Use it.
500
7cdcdd02
TT
5012021-03-08 Tom Tromey <tom@tromey.com>
502
503 * eval.c (eval_op_binary): New function.
504 (evaluate_subexp_standard): Use it.
505
d9790e22
TT
5062021-03-08 Tom Tromey <tom@tromey.com>
507
508 * eval.c (eval_op_sub): New function.
509 (evaluate_subexp_standard): Use it.
510
aedaf9ac
TT
5112021-03-08 Tom Tromey <tom@tromey.com>
512
513 * eval.c (eval_op_add): New function.
514 (evaluate_subexp_standard): Use it.
515
b7a96ed2
TT
5162021-03-08 Tom Tromey <tom@tromey.com>
517
518 * eval.c (eval_op_member): New function.
519 (evaluate_subexp_standard): Use it.
520
fb461aa3
TT
5212021-03-08 Tom Tromey <tom@tromey.com>
522
523 * eval.c (eval_op_structop_ptr): New function.
524 (evaluate_subexp_standard): Use it.
525
3e96c4fc
TT
5262021-03-08 Tom Tromey <tom@tromey.com>
527
528 * eval.c (eval_op_structop_struct): New function.
529 (evaluate_subexp_standard): Use it.
530
f960a617
TT
5312021-03-08 Tom Tromey <tom@tromey.com>
532
533 * eval.c (eval_op_ternop): New function.
534 (evaluate_subexp_standard): Use it.
535
5c2f201e
TT
5362021-03-08 Tom Tromey <tom@tromey.com>
537
538 * eval.c (eval_op_concat): New function.
539 (evaluate_subexp_standard): Use it.
540
f871bae1
TT
5412021-03-08 Tom Tromey <tom@tromey.com>
542
543 * eval.c (eval_op_objc_selector): New function.
544 (evaluate_subexp_standard): Use it.
545
14a1c64a
TT
5462021-03-08 Tom Tromey <tom@tromey.com>
547
548 * eval.c (eval_op_string): New function.
549 (evaluate_subexp_standard): Use it.
550
ffff730b
TT
5512021-03-08 Tom Tromey <tom@tromey.com>
552
553 * eval.c (eval_op_register): New function.
554 (evaluate_subexp_standard): Use it.
555
9b1d8af6
TT
5562021-03-08 Tom Tromey <tom@tromey.com>
557
558 * eval.c (eval_op_func_static_var): New function.
559 (evaluate_subexp_standard): Use it.
560
c0df9289
TT
5612021-03-08 Tom Tromey <tom@tromey.com>
562
563 * eval.c (eval_op_var_msym_value): New function.
564 (evaluate_subexp_standard): Use it.
565
50b98adc
TT
5662021-03-08 Tom Tromey <tom@tromey.com>
567
568 * eval.c (eval_op_var_entry_value): New function.
569 (evaluate_subexp_standard): Use it.
570
ea2d29f7
TT
5712021-03-08 Tom Tromey <tom@tromey.com>
572
573 * eval.c (eval_op_scope): New function.
574 (evaluate_subexp_standard): Use it.
575
01573d73
TT
5762021-03-06 Chernov Sergey <klen_s@mail.ru>
577
578 PR gdb/27528:
579 * ada-lang.c (ada_fold_name): Use gdb::to_string.
580
9938d15a
TT
5812021-03-06 Tom Tromey <tom@tromey.com>
582
583 * dwarf2/sect-names.h (dwarf2_elf_names): Declare.
584 * dwarf2/read.h (dwarf2_get_dwz_file): Move to dwz.h.
585 * dwarf2/read.c (dwarf2_elf_names): No longer static.
586 (locate_dwz_sections, dwz_search_other_debugdirs)
587 (dwarf2_get_dwz_file): Move to dwz.c.
588 * dwarf2/dwz.h (dwarf2_get_dwz_file): Move declaration from
589 read.h.
590 * dwarf2/dwz.c (locate_dwz_sections, dwz_search_other_debugdirs)
591 (dwarf2_get_dwz_file): Move from read.c.
592
18035655
TT
5932021-03-06 Tom Tromey <tom@tromey.com>
594
595 * debuginfod-support.h: Include scoped_fd.h.
596
a7308ce0
TT
5972021-03-06 Tom Tromey <tom@tromey.com>
598
599 * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter.
600 * dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter.
601 (get_abbrev_section_for_cu, read_attribute_value)
602 (get_debug_line_section): Update.
603 * dwarf2/macro.c (dwarf_decode_macro_bytes): Update.
604
fbedd546
TT
6052021-03-06 Tom Tromey <tom@tromey.com>
606
607 * dwarf2/sect-names.h (struct dwarf2_section_names) <matches>: New
608 method.
609 * dwarf2/read.c (section_is_p): Remove.
610 (dwarf2_per_bfd::locate_sections)
611 (dwarf2_per_bfd::locate_sections, locate_dwz_sections)
612 (locate_v1_virtual_dwo_sections, dwarf2_locate_dwo_sections)
613 (dwarf2_locate_common_dwp_sections)
614 (dwarf2_locate_v2_dwp_sections, dwarf2_locate_v5_dwp_sections):
615 Update.
616
c2a62a3d
TT
6172021-03-06 Tom Tromey <tom@tromey.com>
618
619 * xcoffread.c: Include sect-names.h.
620 * symfile.h (struct dwarf2_section_names, struct
621 dwarf2_debug_sections): Move to dwarf2/sect-names.h.
622 * dwarf2/sect-names.h: New file, from symfile.h.
623 * dwarf2/read.c: Include sect-names.h.
624
4444f407
TT
6252021-03-06 Tom Tromey <tom@tromey.com>
626
627 * dwarf2/read.c (read_attribute): Make 'abbrev' const.
628 * dwarf2/abbrev.c (abbrev_table::alloc_abbrev): Remove.
629 (abbrev_table::read): Update.
630 * dwarf2/abbrev.h (struct attr_abbrev): Move earlier.
631 (struct abbrev_info): Reformat.
632 <attrs>: Now an array.
633 (struct abbrev_table) <alloc_abbrev>: Remove.
634
dd99cf0c
WP
6352021-03-06 Weimin Pan <weimin.pan@oracle.com>
636
637 * ctfread.c (ctf_psymtab_add_enums): New function.
638 (ctf_psymtab_type_cb): call ctf_psymtab_add_enums.
639
844be3f2
WP
6402021-03-06 Weimin Pan <weimin.pan@oracle.com>
641
642 * ctfread.c (read_func_kind_type): Set up function arguments.
643
b2668f28
AB
6442021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
645 Andrew Burgess <andrew.burgess@embecosm.com>
646
647 * riscv-none-tdep.c: Add 'user-regs.h' and 'target-description.h'
648 includes.
649 (riscv_csrset): New static global.
650 (riscv_update_csrmap): New function.
651 (riscv_iterate_over_regset_sections): Process CSRs.
652
d782d24b
AB
6532021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
654
655 * riscv-tdep.c (riscv_feature_name_csr): Define.
656 (riscv_feature_name_cpu): Define.
657 (riscv_feature_name_fpu): Define.
658 (riscv_feature_name_virtual): Define.
659 (riscv_xreg_feature): Use riscv_feature_name_cpu.
660 (riscv_freg_feature): Use riscv_feature_name_fpu.
661 (riscv_virtual_feature): Use riscv_feature_name_virtual.
662 (riscv_csr_feature): Use riscv_feature_name_csr.
663 * riscv-tdep.h (riscv_feature_name_csr): Declare.
664
fb8f3fc0
AB
6652021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
666 Craig Blackmore <craig.blackmore@embecosm.com>
667
668 * Makefile.in (ALL_TARGET_OBS): Add riscv-none-tdep.o.
669 (ALLDEPFILES): Add riscv-none-tdep.c.
670 * configure: Regenerate.
671 * configure.ac (CONFIG_OBS): Add elf-none-tdep.o when BFD has ELF
672 support.
673 * configure.tgt (riscv*-*-*): Include riscv-none-tdep.c.
674 * elf-none-tdep.c: New file.
675 * elf-none-tdep.h: New file.
676 * riscv-none-tdep.c: New file.
677
95ce627a
AB
6782021-03-05 Craig Blackmore <craig.blackmore@embecosm.com>
679 Andrew Burgess <andrew.burgess@embecosm.com>
680
681 * corelow.c: Add 'xml-tdesc.h' include.
682 (core_target::read_description): Load the target description from
683 the core file when possible.
684 * fbsd-tdep.c (fbsd_make_corefile_notes): Add target description
685 note.
686 * gcore-elf.c: Add 'gdbsupport/tdesc.h' include.
687 (gcore_elf_make_tdesc_note): New function.
688 * gcore-elf.h (gcore_elf_make_tdesc_note): Declare.
689 * linux-tdep.c (linux_make_corefile_notes): Add target description
690 note.
691
f3a5df7b
AB
6922021-03-05 Andrew Burgess <andrew.burgess@embecosm.com>
693
694 * Makefile.in (SFILES): Add gcore-elf.c.
695 (HFILES_NO_SRCDIR): Add gcore-elf.h
696 * configure: Regenerate.
697 * configure.ac: Add gcore-elf.o to CONFIG_OBS if we have ELF
698 support.
699 * fbsd-tdep.c: Add 'gcore-elf.h' include.
700 (struct fbsd_collect_regset_section_cb_data): Delete.
701 (fbsd_collect_regset_section_cb): Delete.
702 (fbsd_collect_thread_registers): Delete.
703 (struct fbsd_corefile_thread_data): Delete.
704 (fbsd_corefile_thread): Delete.
705 (fbsd_make_corefile_notes): Call
706 gcore_elf_build_thread_register_notes instead of the now deleted
707 FreeBSD code.
708 * gcore-elf.c: New file, the content was moved here from
709 linux-tdep.c, functions were renamed and given minor cleanup.
710 * gcore-elf.h: New file.
711 * gcore.c (gcore_find_signalled_thread): Moved here from
712 linux-tdep.c and given a new name. Minor cleanups.
713 * gcore.h (gcore_find_signalled_thread): Declare.
714 * linux-tdep.c: Add 'gcore.h' and 'gcore-elf.h' includes.
715 (struct linux_collect_regset_section_cb_data): Delete.
716 (linux_collect_regset_section_cb): Delete.
717 (linux_collect_thread_registers): Delete.
718 (linux_corefile_thread): Call
719 gcore_elf_build_thread_register_notes.
720 (find_signalled_thread): Delete.
721 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
722
d1e93af6
SM
7232021-03-04 Simon Marchi <simon.marchi@polymtl.ca>
724
725 PR gdb/27147
726 * sparc-nat.h (sparc_fetch_inferior_registers): Add
727 process_stratum_target parameter,
728 sparc_store_inferior_registers): update callers.
729 * sparc-nat.c (sparc_fetch_inferior_registers,
730 sparc_store_inferior_registers): Add process_stratum_target
731 parameter. Switch current thread before calling
732 sparc_supply_gregset / sparc_collect_rwindow.
733 (sparc_store_inferior_registers): Likewise.
734 * sparc-obsd-tdep.c (sparc32obsd_supply_uthread): Add assertion.
735 (sparc32obsd_collect_uthread): Likewise.
736 * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
737 Add assertion.
738 * sparc64-obsd-tdep.c (sparc64obsd_collect_uthread,
739 sparc64obsd_supply_uthread): Add assertion.
740
1178743e
TT
7412021-03-04 Tom Tromey <tromey@adacore.com>
742
743 * ada-lang.c (struct match_data) <found_sym>: Now bool.
744 (aux_add_nonlocal_symbols): Update.
745 (ada_add_block_symbols): Change "found_sym" to bool.
746
1bfa81ac
TT
7472021-03-03 Tom Tromey <tromey@adacore.com>
748
749 * ada-lang.c (ada_resolve_function): Update comment.
750 (is_nonfunction, add_symbols_from_enclosing_procs)
751 (remove_extra_symbols): Likewise.
752 (struct match_data): Add constructor, initializers.
753 (add_nonlocal_symbols): Remove memset.
754 (aux_add_nonlocal_symbols): Update comment.
755 (ada_add_block_renamings, add_nonlocal_symbols)
756 (ada_add_all_symbols): Likewise.
757 * ada-exp.y (write_var_or_type): Clean up trailing whitespace.
758
bbcdf9ab
TT
7592021-03-02 Tom Tromey <tromey@adacore.com>
760
761 * ada-lang.c (cast_from_gnat_encoded_fixed_point_type)
762 (cast_to_gnat_encoded_fixed_point_type): Remove.
763 (ada_value_cast, ada_evaluate_subexp): Update.
764 (gnat_encoded_fixed_point_type_info)
765 (ada_is_gnat_encoded_fixed_point_type)
766 (gnat_encoded_fixed_point_delta)
767 (gnat_encoded_fixed_point_scaling_factor): Remove.
768 * ada-lang.h (ada_is_gnat_encoded_fixed_point_type)
769 (gnat_encoded_fixed_point_delta)
770 (gnat_encoded_fixed_point_scaling_factor): Don't declare.
771 * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Remove.
772 (ada_print_type): Update.
773 * ada-valprint.c (ada_value_print_num): Update.
774 * dwarf2/read.c (ada_get_gnat_encoded_number)
775 (ada_get_gnat_encoded_ratio): New functions.
776 (finish_fixed_point_type): Use them. Add parameters.
777 (GNAT_FIXED_POINT_SUFFIX): New define.
778 (gnat_encoded_fixed_point_type_info): New function.
779 (read_base_type): Handle gnat encodings.
780
5f9febe0
TT
7812021-03-02 Tom Tromey <tromey@adacore.com>
782
783 * ada-lang.c (ada_fold_name, ada_variant_discrim_name)
784 (ada_enum_name, scan_discrim_bound, to_fixed_range_type): Use
785 std::string.
786 (GROW_VECT): Remove.
787 (grow_vect): Remove.
788
d1183b06
TT
7892021-03-02 Tom Tromey <tromey@adacore.com>
790
791 * ada-lang.h (ada_lookup_symbol_list): Return a vector.
792 * ada-lang.c (resolve_subexp): Update.
793 (ada_resolve_function): Accept a vector.
794 (is_nonfunction, add_defn_to_vec)
795 (add_symbols_from_enclosing_procs): Likewise.
796 (num_defns_collected, defns_collected): Remove.
797 (remove_extra_symbols): Return a vector.
798 (remove_irrelevant_renamings): Return void.
799 (ada_add_local_symbols): Accept a vector.
800 (struct match_data) <obstackp>: Remove.
801 <resultp>: New member.
802 (aux_add_nonlocal_symbols): Update.
803 (ada_add_block_renamings, add_nonlocal_symbols)
804 (ada_add_all_symbols): Accept a vector.
805 (ada_lookup_symbol_list_worker, ada_lookup_symbol_list): Return a
806 vector.
807 (ada_lookup_symbol): Update.
808 (ada_add_block_symbols): Accept a vector.
809 (get_var_value, iterate_over_symbols): Update.
810 * ada-exp.y (block_lookup, write_var_or_type, write_name_assoc):
811 Update.
812
886d459f
TT
8132021-03-02 Tom Tromey <tromey@adacore.com>
814
815 * ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom.
816
bdcccc56
TT
8172021-03-02 Tom Tromey <tromey@adacore.com>
818
819 * ada-lang.c (struct ada_symbol_cache) <cache_space>: Now an
820 auto_obstack.
821 <root>: Initialize.
822 (ada_pspace_data): Remove destructor.
823 <sym_cache>: Now a unique_ptr.
824 (ada_init_symbol_cache, ada_free_symbol_cache): Remove.
825 (ada_get_symbol_cache): Use 'new'.
826 (ada_clear_symbol_cache): Rewrite.
827
1228719f
TT
8282021-03-02 Tom Tromey <tromey@adacore.com>
829
830 * ada-lang.c (add_nonlocal_symbols): Handle case where objfile->sf
831 is null.
832
bb3a4efe
LS
8332021-02-27 Lancelot Six <lsix@lancelotsix.com>
834
835 PR gdb/27393
836 * source.c (add_path): Skip empty dirnames.
837
26b43ca6 8382021-02-25 Kevin Buettner <kevinb@redhat.com>
0f977b77
KB
839
840 * nat/aarch64-sve-linux-ptrace.h: Add comment regarding
841 include order for <sys/ptrace.h> and <asm/ptrace.h>.
842
dffdd8b5
SM
8432021-02-25 Simon Marchi <simon.marchi@polymtl.ca>
844
845 PR gdb/26861
846 * target.c (target_mourn_inferior): Only compare pids in
847 target_mourn_inferior.
848
64d38fdd
JM
8492021-02-25 Jan Matyas <jmatyas@codasip.com>
850
851 PR gdb/26819
852 * remote.c (remote_target::start_remote): Ensure the single
853 thread, automatically added for remote targets without the
854 concept of threading, is initially in set to the "resumed"
855 state.
856 * remote.c (remote_target::add_current_inferior_and_thread):
857 Add return value - return the main thread.
858
2450ad54
JV
8592021-02-25 Jan Vrany <jan.vrany@labware.com>
860
861 * gdb/mi/mi-interp.c (mi_traceframe_changed): Remove trailing \n from output.
862 (mi_tsv_created): Likewise.
863 (mi_tsv_deleted): Likewise.
864
30c80d88
TV
8652021-02-25 Tom de Vries <tdevries@suse.de>
866
867 PR symtab/27354
868 * dwarf2/read.c (open_and_init_dwo_file): Use rcuh_kind::COMPILE as
869 section_kind for &dwo_file->sections.info.
870
68337b8b
AB
8712021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
872
873 PR fortran/26155
874 * f-lang.c (fortran_argument_convert): Delete declaration.
875 (fortran_prepare_argument): New function.
876 (evaluate_subexp_f): Move logic to new function
877 fortran_prepare_argument.
878
faeb9f13
AB
8792021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
880
881 * f-exp.y (f77_keywords): Add 'associated'.
882 * f-lang.c (fortran_associated): New function.
883 (evaluate_subexp_f): Handle FORTRAN_ASSOCIATED.
884 (operator_length_f): Likewise.
885 (print_unop_or_binop_subexp_f): New function.
886 (print_subexp_f): Make use of print_unop_or_binop_subexp_f for
887 FORTRAN_ASSOCIATED, FORTRAN_LBOUND, and FORTRAN_UBOUND.
888 (dump_subexp_body_f): Handle FORTRAN_ASSOCIATED.
889 (operator_check_f): Likewise.
890 * std-operator.def: Add FORTRAN_ASSOCIATED.
891
170f4b23
AB
8922021-02-25 Andrew Burgess <andrew.burgess@embecosm.com>
893
894 * f-exp.y (fortran_operators): Add ".xor.".
895
aa659cfa
TV
8962021-02-24 Tom de Vries <tdevries@suse.de>
897
898 PR symtab/27336
899 * dwarf2/attribute.c (attribute::form_is_signed): New function
900 factored out of ...
901 * dwarf2/attribute.h (attribute::as_signed): ... here.
902 (attribute::is_nonnegative, attribute::as_nonnegative): New function.
903 (attribute::form_is_signed): Declare.
904 * dwarf2/read.c (new_symbol): Use is_nonnegative and as_nonnegative
905 for DW_AT_decl_file.
906
268c77c1
KB
9072021-02-24 Kevin Buettner <kevinb@redhat.com>
908
909 * nat/aarch64-linux-hw-point.c: Add comment regarding include
910 order for <sys/ptrace.h> and <asm/ptrace.h>.
911
665af52e
KB
9122021-02-24 Kevin Buettner <kevinb@redhat.com>
913
914 * nat/aarch64-linux-hw-point.c: Include <asm/ptrace.h> after
915 <sys/ptrace.h>.
916
dd80d750
AB
9172021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
918
919 * exec.c (set_section_command): Move variable declarations into
920 the function body, and use std::string instead of a fixed size
921 buffer.
922
336aa7b7
AB
9232021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
924
925 * exec.c (exec_target::get_section_table): Delete member function.
926 (section_table_read_available_memory): Use current_top_target, not
927 just the exec_ops target.
928 * target-delegates.c: Regenerate.
929 * target.c (default_get_section_table): New function.
930 * target.h (target_ops::get_section_table): Change default
931 behaviour to call default_get_section_table.
932 (default_get_section_table): Declare.
933
02f7d26b
AB
9342021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
935
936 * exec.c (exec_target::close): Call new clear_target_sections
937 function.
938 (program_space::add_target_sections): Update name of member
939 variable.
940 (program_space::add_target_sections): Update name of member
941 variable.
942 (program_space::remove_target_sections): Likewise.
943 (exec_one_fork): Use new target_sections member function.
944 (exec_target::get_section_table): Likewise.
945 (exec_target::files_info): Likewise.
946 (set_section_command): Likewise.
947 (exec_set_section_address): Likewise.
948 (exec_target::has_memory): Use new target_sections member
949 function.
950 * progspace.h (program_space::clear_target_sections): New member
951 function.
952 (program_space::target_sections): Rename member variable to
953 m_target_sections, replace with a new member function.
954 (program_space::m_target_sections): New member variable.
955 * solib-dsbt.c (scan_dyntag): Use new member function.
956 * solib-svr4.c (scan_dyntag): Likewise.
957
19cf757a
AB
9582021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
959
960 * gdb/bfd-target.c (class target_bfd) <get_section_table>: Make
961 return type const.
962 * gdb/exec.c (struct exec_target) <get_section_table>: Likewise.
963 (section_table_read_available_memory): Make local const.
964 (exec_target::xfer_partial): Make local const.
965 (print_section_info): Make parameter const.
966 * gdb/exec.h (print_section_info): Likewise.
967 * gdb/ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Make local
968 const.
969 * gdb/record-btrace.c (record_btrace_target::xfer_partial):
970 Likewise.
971 * gdb/remote.c (remote_target::remote_xfer_live_readonly_partial):
972 Likewise.
973 * gdb/s390-tdep.c (s390_load): Likewise.
974 * gdb/solib-dsbt.c (scan_dyntag): Likewise.
975 * gdb/solib-svr4.c (scan_dyntag): Likewise.
976 * gdb/target-debug.h (target_debug_print_target_section_table_p):
977 Rename to...
978 (target_debug_print_const_target_section_table_p): ...this.
979 * gdb/target-delegates.c: Regenerate.
980 * gdb/target.c (target_get_section_table): Make return type const.
981 (target_section_by_addr): Likewise. Also make some locals const.
982 (memory_xfer_partial_1): Make some locals const.
983 * gdb/target.h (struct target_ops) <get_section_table>: Make
984 return type const.
985 (target_section_by_addr): Likewise.
986 (target_get_section_table): Likewise.
987
02a79309
AB
9882021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
989
990 * NEWS: Mention new 'maint info target-sections' command.
991 * maint.c (maintenance_info_target_sections): New function.
992 (_initialize_maint_cmds): Register new command.
993
895b7b4e
AB
9942021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
995
996 * riscv-tdep.c (riscv_features_from_gdbarch_info): Rename to...
997 (riscv_features_from_bfd): ...this. Change parameter type to
998 'bfd*', and update as required.
999 (riscv_find_default_target_description): Update call to
1000 riscv_features_from_bfd. Select a default xlen based on
1001 info.bfd_arch_info.
1002 (riscv_gdbarch_init): Update call to riscv_features_from_bfd.
1003
bc3c0632
AB
10042021-02-24 Andrew Burgess <andrew.burgess@embecosm.com>
1005
1006 * eval.c (evaluate_subexp_standard): Call value_ind for points to
1007 dynamic types in UNOP_IND.
1008
08ac5771
SM
10092021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
1010
1011 PR gdb/26828
1012 * dwarf2/read.c (dwarf2_queue_guard) <dwarf2_queue_guard>:
1013 Instantiate queue.
1014 (~dwarf2_queue_guard): Clear queue.
1015 (queue_comp_unit): Assert that queue is
1016 instantiated.
1017 (process_queue): Adjust.
1018 * dwarf2/read.h (struct dwarf2_per_bfd) <queue>: Make optional.
1019
616c069a
SM
10202021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
1021
1022 PR gdb/26828
1023 * dwarf2/read.c (maybe_queue_comp_unit): Check if CU is expanded
1024 to decide whether or not to enqueue it for expansion.
1025 (follow_die_offset, follow_die_sig_1): Ensure we load the DIEs
1026 after calling maybe_queue_comp_unit.
1027
897608ed
SM
10282021-02-23 Simon Marchi <simon.marchi@polymtl.ca>
1029
1030 * linux-nat.c (linux_nat_filter_event): Return void.
1031
15908a11
TT
10322021-02-22 Tom Tromey <tromey@adacore.com>
1033
1034 * solib-svr4.c (enable_break): Update.
1035 * bfd-target.c (class target_bfd) <target_bfd>: Change parameter
1036 type.
1037 (target_bfd_reopen): Change parameter type.
1038 * bfd-target.h (target_bfd_reopen): Change parameter type.
1039
f53fc427
SM
10402021-02-22 Simon Marchi <simon.marchi@polymtl.ca>
1041
1042 * thread.c (add_thread_silent): Add assert.
1043 (find_thread_ptid): Add assert.
1044
de146e19
SM
10452021-02-22 Simon Marchi <simon.marchi@polymtl.ca>
1046
1047 PR gdb/27435
1048 * inf-ptrace.c (struct target_unpusher): Move to target.h.
1049 (target_unpush_up): Likewise.
1050 * procfs.c (procfs_target::attach): Push target early. Use
1051 target_unpush_up to unpush target in case of error.
1052 * target.h (struct target_unpusher): Move here.
1053 (target_unpush_up): Likewise.
1054
8488c357
KB
10552021-02-19 Kevin Buettner <kevinb@redhat.com>
1056
1057 * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h"
1058 (which in turn includes <gnulib/config.h>) before include
1059 of <signal.h>.
1060
5a9f5403
NC
10612021-02-19 Nelson Chu <nelson.chu@sifive.com>
1062
1063 PR 27158
1064 * riscv-tdep.c (decode_ci_type_insn): Updated encoding macros.
1065 (decode_j_type_insn): Likewise.
1066 (decode_cj_type_insn): Likewise.
1067 (decode_b_type_insn): Likewise.
1068 (decode): Likewise.
1069
26f53cd3
TT
10702021-02-18 Tom Tromey <tom@tromey.com>
1071
1072 * expression.h (struct expression) <evaluate>: Declare method.
1073 * eval.c (evaluate_subexp): Simplify.
1074 (expression::evaluate): New method.
1075 (evaluate_expression, evaluate_type): Use expression::evaluate.
1076
6a780b67
KB
10772021-02-17 Kevin Buettner <kevinb@redhat.com>
1078
1079 * ada-lang.c (ada_fold_name): Check for non-empty string prior
1080 to accessing it.
1081 (ada_lookup_name_info): Likewise.
1082
adeab0c5
MF
10832021-02-13 Mike Frysinger <vapier@gentoo.org>
1084
1085 * aclocal.m4: Regenerate.
1086
089436f7
TV
10872021-02-12 Tom de Vries <tdevries@suse.de>
1088
1089 PR threads/26228
1090 * linux-nat.c (lin_thread_get_thread_signals): Remove.
1091 (lin_thread_signals): New static var.
1092 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
1093 New function.
1094 * linux-nat.h (lin_thread_get_thread_signals): Remove.
1095 (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal):
1096 Declare.
1097 * linux-thread-db.c (check_thread_signals): Use
1098 lin_thread_get_thread_signal_num and lin_thread_get_thread_signal.
1099
96df3e28
AB
11002021-02-12 Andrew Burgess <andrew.burgess@embecosm.com>
1101
1102 * f-exp.y (f77_keywords): Add allocated.
1103 * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED.
1104 (operator_length_f): Likewise.
1105 (print_subexp_f): Likewise.
1106 (dump_subexp_body_f): Likewise.
1107 (operator_check_f): Likewise.
1108 * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator.
1109
05f68f52
TV
11102021-02-11 Tom de Vries <tdevries@suse.de>
1111
1112 PR symtab/27353
1113 * dwarf2/attribute.c (attribute::form_requires_reprocessing):
1114 Return true for DW_FORM_strx.
1115
b260f8d6
TT
11162021-02-11 Tom Tromey <tromey@adacore.com>
1117
1118 PR gdb/27383:
1119 * parse.c (write_exp_symbol_reference): Write sym.block.
1120
bf3386f0
AB
11212021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1122
1123 * NEWS: Mention changes to 'maint info sections'.
1124 * maint.c (match_substring): Return a bool, fix whitespace issue.
1125 (struct single_bfd_flag_info): New struct.
1126 (bfd_flag_info): New static global.
1127 (match_bfd_flags): Return a bool, use bfd_flag_info.
1128 (print_bfd_flags): Use bfd_flag_info.
1129 (maint_print_section_info): Delete trailing whitespace.
1130 (struct maint_info_sections_opts): New struct.
1131 (maint_info_sections_option_defs): New static global.
1132 (maint_info_sections_completer): New function.
1133 (maintenance_info_sections): Use option parsing mechanism.
1134 (_initialize_maint_cmds): Update command help text for 'maint info
1135 sections' and register a command completer.
1136
4790db14
AB
11372021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1138
1139 * maint.c (print_bfd_section_info_maybe_relocated): Delete,
1140 functionality merged into...
1141 (maint_print_all_sections): ...this new function.
1142 (maintenance_info_sections): Make use of maint_print_all_sections,
1143 allow all objects to be printed even where there's no executable.
1144
1db66e34
AB
11452021-02-11 Andrew Burgess <andrew.burgess@embecosm.com>
1146
1147 * breakpoint.c (resolve_sal_pc): Make use of
1148 bound_minimal_symbol::obj_section.
1149 * maint.c (maintenance_translate_address): Likewise.
1150 * minsyms.c (minimal_symbol_upper_bound): Likewise.
1151 * minsyms.h (struct bound_minimal_symbol) <obj_section>: New
1152 member function.
1153 * printcmd.c (info_address_command): Make use of
1154 bound_minimal_symbol::obj_section.
1155
18b8df43
AM
11562021-02-11 Alan Modra <amodra@gmail.com>
1157
1158 * arm-symbian-tdep.c: Delete.
1159 * NEWS: Mention arm-symbian removal.
1160 * Makefile.in: Remove arm-symbian-tdep entries.
1161 * configure.tgt: Remove arm*-*-symbianelf*.
1162 * doc/gdb.texinfo: Remove mention of SymbianOS.
1163 * osabi.c (gdb_osabi_names): Remove "Symbian".
1164 * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN.
1165 * testsuite/gdb.base/ending-run.exp: Remove E32Main handling.
1166 * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf*
1167 handling.
1168 * testsuite/gdb.base/dup-sect.exp: Likewise.
1169 * testsuite/gdb.base/long_long.exp: Likewise.
1170 * testsuite/gdb.base/solib-weak.exp: Likewise.
1171 * testsuite/gdb.guile/scm-section-script.exp: Likewise.
1172 * testsuite/gdb.python/py-section-script.exp: Likewise.
1173 * testsuite/lib/dwarf.exp: Likewise.
1174 * testsuite/lib/gdb.exp: Likewise.
1175
e92c8eb8
AB
11762021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1177
1178 * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token.
1179 (exp): New pattern using UNOP_OR_BINOP_INTRINSIC.
1180 (one_or_two_args): New pattern.
1181 (f77_keywords): Add lbound and ubound.
1182 * f-lang.c (fortran_bounds_all_dims): New function.
1183 (fortran_bounds_for_dimension): New function.
1184 (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND.
1185 (operator_length_f): Likewise.
1186 (print_subexp_f): Likewise.
1187 (dump_subexp_body_f): Likewise.
1188 (operator_check_f): Likewise.
1189 * std-operator.def (FORTRAN_LBOUND): Define.
1190 (FORTRAN_UBOUND): Define.
1191
a52d653e
AB
11922021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1193
1194 * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index
1195 and set_section_index member functions where appropriate.
1196 * coffread.c (coff_symtab_read): Likewise.
1197 (process_coff_symbol): Likewise.
1198 * ctfread.c (set_symbol_address): Likewise.
1199 * dwarf2/read.c (add_partial_symbol): Likewise.
1200 (var_decode_location): Likewise.
1201 * language.c: Likewise.
1202 * minsyms.c (minimal_symbol_reader::record_full): Likewise.
1203 (compact_minimal_symbols): Likewise.
1204 (minimal_symbol_upper_bound): Likewise.
1205 * objfiles.c (relocate_one_symbol): Likewise.
1206 * psympriv.h (partial_symbol::obj_section): Likewise.
1207 (partial_symbol::address): Likewise.
1208 * psymtab.c (partial_symtab::add_psymbol): Likewise.
1209 * stabsread.c (scan_file_globals): Likewise.
1210 * symmisc.c (dump_msymbols): Likewise.
1211 * symtab.c (general_symbol_info::obj_section): Likewise.
1212 (fixup_section): Likewise.
1213 (get_msymbol_address): Likewise.
1214 * symtab.h (general_symbol_info::section): Rename to...
1215 (general_symbol_info::m_section): ...this.
1216 (general_symbol_info::set_section_index): New member function.
1217 (general_symbol_info::section_index): Likewise.
1218 (SYMBOL_SECTION): Delete.
1219 (MSYMBOL_VALUE_ADDRESS): Make use of section_index and
1220 set_section_index member functions where appropriate.
1221 (MSYMBOL_SECTION): Delete.
1222 (symbol::symbol): Update to initialize 'm_section'.
1223 * xcoffread.c (read_xcoff_symtab): Make use of set_section_index.
1224 (process_xcoff_symbol): Likewise.
1225
ebbc3a7d
AB
12262021-02-10 Andrew Burgess <andrew.burgess@embecosm.com>
1227
1228 * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and
1229 MSYMBOL_OBJ_SECTION.
1230 * findvar.c (language_defn::read_var_value): Likewise.
1231 * infcmd.c (jump_command): Likewise.
1232 * linespec.c (minsym_found): Likewise.
1233 * maint.c (maintenance_translate_address): Likewise.
1234 * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
1235 (minimal_symbol_upper_bound): Likewise.
1236 * parse.c (find_minsym_type_and_address): Likewise.
1237 (operator_check_standard): Likewise.
1238 * printcmd.c (info_address_command): Likewise.
1239 * symmisc.c (dump_msymbols): Likewise.
1240 (print_symbol): Likewise.
1241 * symtab.c (general_symbol_info::obj_section): Define new
1242 function.
1243 (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION.
1244 (find_pc_sect_compunit_symtab): Likewise.
1245 (find_function_start_sal): Likewise.
1246 (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and
1247 MSYMBOL_OBJ_SECTION.
1248 * symtab.h (struct general_symbol_info) <obj_section>: Declare new
1249 function.
1250 (SYMBOL_OBJ_SECTION): Delete.
1251 (MSYMBOL_OBJ_SECTION): Delete.
1252
9bb305b3
TT
12532021-02-09 Tom Tromey <tom@tromey.com>
1254
1255 * stap-probe.c (stap_parse_argument_conditionally): Fix typo.
1256
cf2b2075
TV
12572021-02-09 Tom de Vries <tdevries@suse.de>
1258
1259 PR symtab/27341
1260 * dwarf2/read.c (read_array_type): Return NULL when not being able to
1261 construct an array type. Add assert to ensure that element_type is
1262 not being modified.
1263
03642b71
AB
12642021-02-09 Andrew Burgess <andrew.burgess@embecosm.com>
1265
1266 * gcore.c (struct gcore_collect_regset_section_cb_data): Delete.
1267 (gcore_collect_regset_section_cb): Delete.
1268 (gcore_collect_thread_registers): Delete.
1269 (gcore_build_thread_register_notes): Delete.
1270 (gcore_find_signalled_thread): Delete.
1271 * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete
1272 'gdbarch' and 'thread_info' declarations.
1273 (gcore_build_thread_register_notes): Delete declaration.
1274 (gcore_find_signalled_thread): Likewise.
1275 * fbsd-tdep.c: Remove 'gcore.h' include.
1276 (struct fbsd_collect_regset_section_cb_data): New struct.
1277 (fbsd_collect_regset_section_cb): New function.
1278 (fbsd_collect_thread_registers): New function.
1279 (struct fbsd_corefile_thread_data): New struct.
1280 (fbsd_corefile_thread): New function.
1281 (fbsd_make_corefile_notes): Call FreeBSD specific code.
1282 * linux-tdep.c: Remove 'gcore.h' include.
1283 (struct linux_collect_regset_section_cb_data): New struct.
1284 (linux_collect_regset_section_cb): New function.
1285 (linux_collect_thread_registers): New function.
1286 (linux_corefile_thread): Call Linux specific code.
1287 (find_signalled_thread): New function.
1288 (linux_make_corefile_notes): Call find_signalled_thread.
1289
f73e424f
TT
12902021-02-09 Tom Tromey <tromey@adacore.com>
1291
1292 * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy
1293 not_lval value.
1294 * value.c (value_contents_copy_raw): Now static.
1295 * value.h (value_contents_copy_raw): Don't declare.
1296
a4f0544b
TT
12972021-02-09 Tom Tromey <tromey@adacore.com>
1298
1299 * gdbtypes.c (resolve_dynamic_struct): Handle structure with no
1300 fields.
1301
9b3e4b5d
SV
13022021-02-08 Shahab Vahedi <shahab@synopsys.com>
1303
1304 PR tdep/27369
1305 * arc-linux-tdep.c (handle_atomic_sequence): New.
1306 (arc_linux_software_single_step): Call handle_atomic_sequence().
1307
29db1eb3
AB
13082021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1309
1310 * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member
1311 function.
1312 (REQUIRE_WINDOW): Call is_valid member function.
1313 (REQUIRE_WINDOW_FOR_SETTER): New define.
1314 (gdbpy_tui_is_valid): Call is_valid member function.
1315 (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead.
1316 * tui/tui-data.h (struct tui_win_info) <is_visible>: Check
1317 tui_active too.
1318 * tui/tui-layout.c (tui_apply_current_layout): Add an assert.
1319 * tui/tui.c (tui_enable): Move setting of tui_active earlier in
1320 the function.
1321
e0c23e11
AB
13222021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1323
1324 * python/py-tui.c (gdbpy_tui_set_title): Check that the new value
1325 for the title is not nullptr.
1326
1cf23996
AB
13272021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1328
1329 * tui-layout.c (saved_tui_windows): Delete.
1330 (tui_apply_current_layout): Don't make use of saved_tui_windows,
1331 call new get_windows member function instead.
1332 (tui_get_window_by_name): Check in tui_windows.
1333 (tui_layout_window::apply): Don't add to tui_windows.
1334 * tui-layout.h (tui_layout_base::get_windows): New member function.
1335 (tui_layout_window::get_windows): Likewise.
1336 (tui_layout_split::get_windows): Likewise.
1337
a53a2657
AB
13382021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1339
1340 * tui/tui-layout.c (tui_apply_current_layout): Restore the delete
1341 of the window objects.
1342
2708dbbd
AB
13432021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1344
1345 * python/python.c (gdbpy_print_stack): Reformat an error message.
1346
cd074e04
AB
13472021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1348
1349 * tui/tui-interp.c (tui_command_line_handler): New function.
1350 (tui_interp::resume): Register tui_command_line_handler as the
1351 input_handler.
1352 * tui/tui-io.c (tui_inject_newline_into_command_window): New
1353 function.
1354 (tui_getc_1): Delete handling of '\n' and '\r'.
1355 * tui-io.h (tui_inject_newline_into_command_window): Declare.
1356
4cf28e91
HD
13572021-02-07 Hannes Domani <ssbssa@yahoo.de>
1358
1359 * tui/tui-regs.c (tui_data_window::display_registers_from):
1360 Mark invisible register sub windows.
1361 (tui_data_window::check_register_values): Ignore invisible
1362 register sub windows.
1363
3537bc23
HD
13642021-02-07 Hannes Domani <ssbssa@yahoo.de>
1365
1366 * tui/tui-regs.c (tui_data_item_window::rerender): Don't call
1367 n_spaces with a negative value.
1368
5fc2d6aa
HD
13692021-02-07 Hannes Domani <ssbssa@yahoo.de>
1370
1371 * tui/tui-regs.c (tui_data_window::display_registers_from):
1372 Add refresh_window call.
1373
83962f83
HD
13742021-02-07 Hannes Domani <ssbssa@yahoo.de>
1375
1376 * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next.
1377
0110ec82
SM
13782021-02-05 Simon Marchi <simon.marchi@polymtl.ca>
1379
1380 * symmisc.c (std_in, std_out, std_err): Remove.
1381 (_initialize_symmisc): Don't set std_in, std_out and std_err.
1382
7c6944ab
TV
13832021-02-05 Tom de Vries <tdevries@suse.de>
1384
1385 PR breakpoints/27330
1386 * breakpoint.c (create_exception_master_breakpoint): Handle case that
1387 glibc object file has debug info.
1388
e77b0004
TV
13892021-02-05 Tom de Vries <tdevries@suse.de>
1390
1391 PR symtab/27333
1392 * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit.
1393
0e857c82
TV
13942021-02-05 Tom de Vries <tdevries@suse.de>
1395
1396 PR breakpoints/27313
1397 * break-catch-syscall.c (catch_syscall_split_args): Reject negative
1398 syscall numbers.
1399
bdfea17e
TT
14002021-02-05 Tom Tromey <tom@tromey.com>
1401
1402 * compile/compile-c-support.c (get_compile_context)
1403 (c_get_compile_context, cplus_get_compile_context): Change return
1404 type.
1405 * language.c (language_defn::get_compile_instance): New method.
1406 * language.h (language_defn::get_compile_instance): Change return
1407 type. No longer inline.
1408 * c-lang.c (c_language::get_compile_instance): Change return type.
1409 (cplus_language::get_compile_instance): Change return type.
1410 * c-lang.h (c_get_compile_context, cplus_get_compile_context):
1411 Change return type.
1412 * compile/compile.c (compile_to_object): Update.
1413
1b30f421
TT
14142021-02-05 Tom Tromey <tom@tromey.com>
1415
1416 * parser-defs.h (write_exp_symbol_reference): Declare.
1417 * parse.c (write_exp_symbol_reference): New function.
1418 * p-exp.y (variable): Use write_exp_symbol_reference.
1419 * m2-exp.y (variable): Use write_exp_symbol_reference.
1420 * f-exp.y (variable): Use write_exp_symbol_reference.
1421 * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference.
1422 * c-exp.y (variable): Use write_exp_symbol_reference.
1423
ae710496
TV
14242021-02-05 Tom de Vries <tdevries@suse.de>
1425
1426 PR exp/27265
1427 * valarith.c (complex_binop): Throw an error if complex type can't
1428 be created.
1429
d3b54e63
TV
14302021-02-05 Tom de Vries <tdevries@suse.de>
1431
1432 PR symtab/27307
1433 * dwarf2/read.c (create_cus_from_debug_names_list): Add missing
1434 return.
1435
fc9a13fb
TV
14362021-02-05 Tom de Vries <tdevries@suse.de>
1437
1438 * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation.
1439
04b4939b
MF
14402021-02-04 Mike Frysinger <vapier@gentoo.org>
1441
1442 * configure.tgt (riscv*-*-*): Set gdb_sim.
1443
6ff267e1
SM
14442021-02-04 Simon Marchi <simon.marchi@polymtl.ca>
1445
1446 * target.c (target_is_non_stop_p): Return bool.
1447 * target.h (target_is_non_stop_p): Return bool.
1448
fdbc5215
SM
14492021-02-04 Simon Marchi <simon.marchi@efficios.com>
1450
1451 * record-full.c (record_full_async_inferior_event_handler):
1452 Don't clear async event handler.
1453 (record_full_base_target::wait): Clear async event handler at
1454 beginning.
1455
85d3ad8e
SM
14562021-02-04 Simon Marchi <simon.marchi@efficios.com>
1457
1458 * record-btrace.c (record_btrace_handle_async_inferior_event):
1459 Don't clear async event handler.
1460 (record_btrace_target::wait): Clear async event handler at
1461 beginning.
1462
baa8575b
SM
14632021-02-04 Simon Marchi <simon.marchi@efficios.com>
1464
1465 * remote.c (remote_target::wait): Clear async event handler at
1466 beginning, mark if needed at the end.
1467 (remote_async_inferior_event_handler): Don't set or clear async
1468 event handler.
1469
6b36ddeb
SM
14702021-02-04 Simon Marchi <simon.marchi@efficios.com>
1471
1472 * async-event.h (async_event_handler_func): Add documentation.
1473 * async-event.c (check_async_event_handlers): Don't clear
1474 async_event_handler ready flag.
1475 * infrun.c (infrun_async_inferior_event_handler): Clear ready
1476 flag.
1477 * record-btrace.c (record_btrace_handle_async_inferior_event):
1478 Likewise.
1479 * record-full.c (record_full_async_inferior_event_handler):
1480 Likewise.
1481 * remote-notif.c (remote_async_get_pending_events_handler):
1482 Likewise.
1483 * remote.c (remote_async_inferior_event_handler): Likewise.
1484
72d383bb
SM
14852021-02-03 Simon Marchi <simon.marchi@polymtl.ca>
1486
1487 * infrun.c (handle_inferior_event): Move stop_soon variable to
1488 inner scope.
1489
408f6686
PA
14902021-02-03 Pedro Alves <pedro@palves.net>
1491
1492 * infcmd.c (detach_command): Hold strong reference to target, and
1493 if all-stop on entry, restart threads on exit.
1494 * infrun.c (switch_back_to_stepped_thread): Factor out bits to ...
1495 (restart_stepped_thread): ... this new function. Also handle
1496 trap_expected.
1497 (restart_after_all_stop_detach): New function.
1498 * infrun.h (restart_after_all_stop_detach): Declare.
1499
ac7d717c
PA
15002021-02-03 Pedro Alves <pedro@palves.net>
1501
1502 * infrun.c (struct step_over_info): Initialize fields.
1503 (prepare_for_detach): Handle ongoing in-line step over.
1504
e87f0fe8
PA
15052021-02-03 Pedro Alves <pedro@palves.net>
1506
1507 * linux-nat.c (linux_nat_target::detach): Remove breakpoints
1508 here...
1509 * remote.c (remote_target::remote_detach_1): ... and here ...
1510 * target.c (target_detach): ... instead of here.
1511 * target.h (target_ops::detach): Add comment.
1512
8ff53139
PA
15132021-02-03 Pedro Alves <pedro@palves.net>
1514
1515 * infrun.c (struct wait_one_event): Move higher up.
1516 (prepare_for_detach): Abort in-progress displaced steps instead of
1517 letting them complete.
1518 (handle_one): If the inferior is detaching, don't add the thread
1519 back to the global step-over chain.
1520 (restart_threads): Don't restart threads if detaching.
1521 (handle_signal_stop): Remove inferior::detaching reference.
1522
91475068
PA
15232021-02-03 Pedro Alves <pedro@palves.net>
1524
1525 * infrun.c (prepare_for_detach): Don't release scoped_restore
1526 before returning.
1527
d758e62c
PA
15282021-02-03 Pedro Alves <pedro@palves.net>
1529
1530 * infrun.c (handle_one): New function, factored out from ...
1531 (stop_all_threads): ... here.
1532
b0083dd7
PA
15332021-02-03 Pedro Alves <pedro@palves.net>
1534
1535 * remote.c (remote_notif_stop_ack): Don't error out on
1536 TARGET_WAITKIND_IGNORE; instead, just ignore the notification.
1537 (remote_target::discard_pending_stop_replies): Don't delete
1538 in-flight notification; instead, clear its contents.
1539
621cc310
PA
15402021-02-03 Pedro Alves <pedro@palves.net>
1541
1542 * remote.c (extended_remote_target::attach): Set target async in
1543 the target-non-stop path too.
1544
2ab76a18
PA
15452021-02-03 Pedro Alves <pedro@palves.net>
1546
1547 PR gdb/27055
1548 * infrun.c (handle_signal_stop): Move main context_switch call
1549 earlier, before STOP_QUIETLY_NO_SIGSTOP.
1550
2e3773ff
LS
15512021-02-02 Lancelot SIX <lsix@lancelotsix.com>
1552
1553 * NEWS (Changed commands): Add entry for the behavior change of
1554 the inferior command.
1555 * inferior.c (inferior_command): When no argument is given to the
1556 inferior command, display info about the currently selected
1557 inferior.
1558
e57933dc
SM
15592021-02-02 Simon Marchi <simon.marchi@efficios.com>
1560
1561 * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return
1562 a sect_offset.
1563 (read_attribute_reprocess): Adjust.
1564
2b0c7f41
SM
15652021-02-02 Simon Marchi <simon.marchi@efficios.com>
1566
1567 * dwarf2/die.h (struct die_info) <ranges_base>: Split in...
1568 <gnu_ranges_base>: ... this...
1569 <rnglists_base>: ... and this.
1570 * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in...
1571 <gnu_ranges_base>: ... this...
1572 <rnglists_base>: ... and this.
1573 (read_cutu_die_from_dwo): Adjust
1574 (dwarf2_get_pc_bounds): Adjust
1575 (dwarf2_record_block_ranges): Adjust.
1576 (read_full_die_1): Adjust
1577 (partial_die_info::read): Adjust.
1578 (read_rnglist_index): Adjust.
1579
a1c40103
SM
15802021-02-02 Simon Marchi <simon.marchi@efficios.com>
1581
1582 PR gdb/26813
1583 * dwarf2/read.c (read_loclists_rnglists_header): Add
1584 header_offset parameter and use it.
1585 (read_loclist_index): Read header of the current contribution,
1586 not the one at the beginning of the section.
1587 (read_rnglist_index): Likewise.
1588
b1829e1b
SM
15892021-02-02 Simon Marchi <simon.marchi@efficios.com>
1590
1591 PR gdb/26813
1592 * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear
1593 requires_reprocessing flag.
1594 * dwarf2/attribute.c (attribute::form_is_unsigned): Handle
1595 DW_FORM_loclistx.
1596 (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx
1597 and DW_FORM_loclistx.
1598 * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned
1599 instead of set_address for DW_FORM_loclistx and
1600 DW_FORM_rnglistx.
1601
0c800c6e
SM
16022021-02-02 Simon Marchi <simon.marchi@efficios.com>
1603
1604 * dwarf2/read.c (read_loclist_index): Remove bound check for
1605 start of offset.
1606 (read_rnglist_index): Likewise.
1607
05787bad
SM
16082021-02-02 Simon Marchi <simon.marchi@efficios.com>
1609
1610 * dwarf2/read.c (read_loclist_index): Add bound check for the end
1611 of the offset.
1612
5e4d9bbc
SM
16132021-02-02 Simon Marchi <simon.marchi@efficios.com>
1614
1615 * dwarf2/read.c (read_rnglist_index): Fix bound check.
1616
a0c1eeba
SM
16172021-02-02 Simon Marchi <simon.marchi@efficios.com>
1618
1619 * dwarf2/read.c (read_loclist_index): Change complaints into
1620 errors.
1621
2bd3e4b8
TV
16222021-02-02 Tom de Vries <tdevries@suse.de>
1623
1624 PR symtab/24620
1625 * dwarf2/index-write.c (write_one_signatured_type): Skip if
1626 psymtab == nullptr.
1627
82a1fd3a
AB
16282021-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1629
1630 * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h.
1631 * gcore.c (struct gcore_collect_regset_section_cb_data): Moved
1632 here from linux-tdep.c and given a new name. Minor cleanups.
1633 (gcore_collect_regset_section_cb): Likewise.
1634 (gcore_collect_thread_registers): Likewise.
1635 (gcore_build_thread_register_notes): Likewise.
1636 (gcore_find_signalled_thread): Likewise.
1637 * gcore.h (gcore_build_thread_register_notes): Declare.
1638 (gcore_find_signalled_thread): Declare.
1639 * fbsd-tdep.c: Add 'gcore.h' include.
1640 (struct fbsd_collect_regset_section_cb_data): Delete.
1641 (fbsd_collect_regset_section_cb): Delete.
1642 (fbsd_collect_thread_registers): Delete.
1643 (struct fbsd_corefile_thread_data): Delete.
1644 (fbsd_corefile_thread): Delete.
1645 (fbsd_make_corefile_notes): Call
1646 gcore_build_thread_register_notes instead of the now deleted
1647 FreeBSD code.
1648 * linux-tdep.c: Add 'gcore.h' include.
1649 (struct linux_collect_regset_section_cb_data): Delete.
1650 (linux_collect_regset_section_cb): Delete.
1651 (linux_collect_thread_registers): Delete.
1652 (linux_corefile_thread): Call
1653 gcore_build_thread_register_notes.
1654 (find_signalled_thread): Delete.
1655 (linux_make_corefile_notes): Call gcore_find_signalled_thread.
1656
ebde6f2d
TV
16572021-01-29 Tom de Vries <tdevries@suse.de>
1658
1659 PR breakpoints/26063
1660 * infrun.c (process_event_stop_test): Reset
1661 ecs->event_thread->current_line to 0 if is-stmt=n and frame has
1662 changed.
1663
0f93c3a2
AB
16642021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1665
1666 * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an
1667 assert. Extend the header comment.
1668
f237f998
AB
16692021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1670
1671 * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c.
1672 (HFILES_NO_SRCDIR): Add tui/tui-location.h.
1673 * tui/tui-data.h (TUI_STATUS_WIN): Define.
1674 (tui_locator_win_info_ptr): Delete declaration.
1675 * tui/tui-disasm.c: Add 'tui/tui-location.h' include.
1676 (tui_disasm_window::set_contents): Fetch state from tui_location
1677 global.
1678 (tui_get_begin_asm_address): Likewise.
1679 * tui/tui-layout.c (tui_apply_current_layout): Remove special case
1680 for locator window.
1681 (get_locator_window): Delete.
1682 (initialize_known_windows): Treat locator window just like all the
1683 rest.
1684 * tui/tui-source.c: Add 'tui/tui-location.h' include.
1685 (tui_source_window::set_contents): Fetch state from tui_location
1686 global.
1687 (tui_source_window::showing_source_p): Likewise.
1688 * tui/tui-stack.c: Add 'tui/tui-location.h' include.
1689 (_locator): Delete.
1690 (tui_locator_win_info_ptr): Delete.
1691 (tui_locator_window::make_status_line): Fetch state from
1692 tui_location global.
1693 (tui_locator_window::rerender): Remove check of 'handle',
1694 reindent function body.
1695 (tui_locator_window::set_locator_fullname): Delete.
1696 (tui_locator_window::set_locator_info): Delete.
1697 (tui_update_locator_fullname): Delete.
1698 (tui_show_frame_info): Likewise.
1699 (tui_show_locator_content): Access window through TUI_STATUS_WIN.
1700 * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to
1701 tui/tui-location.h and renamed to
1702 tui_location_tracker::set_location.
1703 (tui_locator_window::set_locator_fullname): Moved to
1704 tui/tui-location.h and renamed to
1705 tui_location_tracker::set_fullname.
1706 (tui_locator_window::full_name): Delete.
1707 (tui_locator_window::proc_name): Delete.
1708 (tui_locator_window::line_no): Delete.
1709 (tui_locator_window::addr): Delete.
1710 (tui_locator_window::gdbarch): Delete.
1711 (tui_update_locator_fullname): Delete declaration.
1712 * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling
1713 for locator window.
1714 * tui/tui-winsource.c: Add 'tui/tui-location.h' include.
1715 (tui_display_main): Call function on tui_location directly.
1716 * tui/tui.h (enum tui_win_type): Add STATUS_WIN.
1717 * tui/tui-location.c: New file.
1718 * tui/tui-location.h: New file.
1719
8ee511af
SM
17202021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
1721
1722 * gdbtypes.h (get_type_arch): Rename to...
1723 (struct type) <arch>: ... this, update all users.
1724
6ac37371
SM
17252021-01-28 Simon Marchi <simon.marchi@polymtl.ca>
1726
1727 * gdbtypes.h (struct type) <arch>: Rename to...
1728 <arch_owner>: ... this, update all users.
1729 <objfile>: Rename to...
1730 <objfile_owner>: ... this, update all users.
1731
24cf6389
AB
17322021-01-28 Andrew Burgess <andrew.burgess@embecosm.com>
1733
1734 * gdbcmd.h (execute_command_to_string): Update comment.
1735 * top.c (execute_command_to_string): Update header comment.
1736
2a7f6487
TV
17372021-01-28 Tom de Vries <tdevries@suse.de>
1738
1739 PR breakpoints/27205
1740 * breakpoint.c (create_longjmp_master_breakpoint_probe)
1741 (create_longjmp_master_breakpoint_names): New function, factored out
1742 of ...
1743 (create_longjmp_master_breakpoint): ... here. Only try to install
1744 longjmp_names breakpoints in libc.so/libc.so.debug if installing probe
1745 breakpoint in libc.so failed.
1746
59b59f08
LS
17472021-01-27 Lancelot SIX <lsix@lancelotsix.com>
1748
1749 PR gdb/27133
1750 * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the
1751 unique_ptr is released when the wrapped pointer is kept for later
1752 use.
1753
807f647c
MM
17542021-01-27 Matthew Malcomson <matthew.malcomson@arm.com>
1755
1756 * aarch64-tdep.c (aarch64_displaced_step_others): Account for
1757 BLR and BR instructions.
1758 * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode.
1759 (enum aarch64_masks): New.
1760
4ef367bf
TT
17612021-01-26 Tom Tromey <tromey@adacore.com>
1762
1763 * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM)
1764 (DEBUG_EXCEPT): Use debug_prefixed_printf_cond.
1765 (windows_init_thread_list, windows_nat::handle_load_dll)
1766 (windows_nat::handle_unload_dll, windows_nat_target::resume)
1767 (windows_nat_target::resume)
1768 (windows_nat_target::get_windows_debug_event)
1769 (windows_nat_target::interrupt, windows_xfer_memory)
1770 (windows_nat_target::close): Update.
1771 * nat/windows-nat.c (DEBUG_EVENTS): Use
1772 debug_prefixed_printf_cond.
1773 (matching_pending_stop, fetch_pending_stop)
1774 (continue_last_debug_event): Update.
1775
4cb1265b
MS
17762020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
1777
1778 * linux-tdep.c (linux_make_mappings_corefile_notes): Start using
1779 elfcore_write_file_note.
1780
d0cc52bd
SV
17812021-01-26 Shahab Vahedi <shahab@synopsys.com>
1782
1783 * arc-tdep.c (arc_add_reggroups): New function.
1784 (arc_gdbarch_init): Call arc_add_reggroups.
1785
ac3571d9 17862021-01-26 Anton Kolesov <anton.kolesov@synopsys.com>
d56834cb
AK
1787
1788 * arc-tdep.c (arc_skip_prologue): Log "pc" address.
1789
9f6c202e
TV
17902021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
1791 Simon Marchi <simon.marchi@polymtl.ca>
1792 Tom de Vries <tdevries@suse.de>
1793
1794 * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for
1795 DW_AT_ranges.
1796
a625a8c9
TT
17972021-01-25 Tom Tromey <tromey@adacore.com>
1798
1799 * dwarf2/read.c (get_mpz): New function.
1800 (get_dwarf2_rational_constant): Use it.
1801
19184910
TT
18022021-01-25 Tom Tromey <tromey@adacore.com>
1803
1804 * ada-lang.c (resolve_subexp): Handle array context.
1805
b10bae18
TT
18062021-01-23 Tom Tromey <tom@tromey.com>
1807
1808 PR compile/25575
1809 * compile/compile-loc2c.c (note_register): New function.
1810 (pushf_register_address, pushf_register): Use it.
1811
3637a558
TT
18122021-01-23 Tom Tromey <tom@tromey.com>
1813
1814 * symtab.h (struct symbol_computed_ops) <generate_c_location>:
1815 Change type of "registers_used".
1816 * dwarf2/loc.h (dwarf2_compile_property_to_c): Update.
1817 * dwarf2/loc.c (dwarf2_compile_property_to_c)
1818 (locexpr_generate_c_location, loclist_generate_c_location): Change
1819 type of "registers_used".
1820 * compile/compile.h (compile_dwarf_expr_to_c)
1821 (compile_dwarf_bounds_to_c): Update.
1822 * compile/compile-loc2c.c (pushf_register_address)
1823 (pushf_register, do_compile_dwarf_expr_to_c)
1824 (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type
1825 of "registers_used".
1826 * compile/compile-c.h (generate_c_for_variable_locations):
1827 Update.
1828 * compile/compile-c-symbols.c (generate_vla_size)
1829 (generate_c_for_for_one_variable): Change type of
1830 "registers_used".
1831 (generate_c_for_variable_locations): Return std::vector.
1832 * compile/compile-c-support.c (generate_register_struct): Change
1833 type of "registers_used".
1834 (compute): Update.
1835
9f7f6cb8
TT
18362021-01-23 Tom Tromey <tom@tromey.com>
1837
1838 * compile/compile-internal.h (class compile_instance)
1839 <set_arguments>: Change return type.
1840 * compile/compile.c (compile_to_object): Remove call to reset.
1841 (compile_instance::set_arguments): Change return type.
1842
dd5ca05f
SM
18432021-01-23 Simon Marchi <simon.marchi@polymtl.ca>
1844
1845 * gdbtypes.c (copy_type_recursive): Use get_type_arch.
1846 * gdbtypes.h (struct type) <set_owner>: Add asserts.
1847
d3ee35db
LS
18482021-01-23 Lancelot SIX <lsix@lancelotsix.com>
1849
1850 * Makefile.in (SELFTESTS_SRCS): Add
1851 unittests/gdb_tilde_expand-selftests.c.
1852 * unittests/gdb_tilde_expand-selftests.c: New file.
1853
9d2d8a16
AB
18542021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1855
1856 PR cli/25956
1857 * NEWS: Mention new command.
1858 * cli/cli-style.c: Add 'cli/cli-setshow.h' include.
1859 (version_style): Define.
1860 (cli_style_option::cli_style_option): Add intensity parameter, and
1861 use as appropriate.
1862 (_initialize_cli_style): Register version style set/show commands.
1863 * cli/cli-style.h (cli_style_option): Add intensity parameter.
1864 (version_style): Declare.
1865 * top.c (print_gdb_version): Use version_stype, and styled_string
1866 to print the GDB version string.
1867
e7b43072
AB
18682021-01-22 Andrew Burgess <andrew.burgess@embecosm.com>
1869
1870 * utils.c (emit_style_escape): Only emit an escape sequence if the
1871 requested style is different than the current applied style.
1872 (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and
1873 current applied_style.
1874 (fputs_styled): Remove is_default check.
1875 (fputs_styled_unfiltered): Likewise.
1876 (vfprintf_styled_no_gdbfmt): Likewise.
1877
2189c312
SM
18782021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1879
1880 * remote.h (remote_debug_printf): New.
1881 (remote_debug_printf_nofunc): New.
1882 (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New.
1883 * remote.c: Use above macros throughout file.
1884
02349803
SM
18852021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1886
1887 * remote.h (remote_debug): Change to bool.
1888 * remote.c (remote_debug): Change to bool.
1889 (_initialize_remote): Adjust.
1890
cda09ec9
SM
18912021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1892
1893 * target.h (remote_debug): Move to...
1894 * remote.h (remote_debug): ... here.
1895 * top.c (remote_debug): Move to...
1896 * remote.c (remote_debug): ... here.
1897 * remote-sim.c: Include remote.h.
1898
baf2b57f
SM
18992021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1900
1901 * cli/cli-cmds.c (show_remote_debug): Remove.
1902 (show_remote_timeout): Remove.
1903 (_initialize_cli_cmds): Don't register commands.
1904 * remote.c (show_remote_debug): Move here.
1905 (show_remote_timeout): Move here.
1906 (_initialize_remote): Register commands.
1907
344e9841
SM
19082021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1909
1910 * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the
1911 type::objfile method instead.
1912
30625020
SM
19132021-01-22 Simon Marchi <simon.marchi@polymtl.ca>
1914
1915 * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to
1916 use the type::is_objfile_owned method.
1917
5b7d941b
SM
19182021-01-22 Simon Marchi <simon.marchi@efficios.com>
1919
1920 * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust.
1921 (TYPE_OWNER): Remove.
1922 (TYPE_OBJFILE): Adjust.
1923 (struct main_type) <flag_objfile_owned>: Rename to...
1924 <m_flag_objfile_owned>: ... this.
1925 <owner>: Rename to...
1926 <m_owner>: ... this.
1927 (struct type) <is_objfile_owned, set_owner, objfile, arch>: New
1928 methods.
1929 (TYPE_ALLOC): Adjust.
1930 * gdbtypes.c (alloc_type): Adjust.
1931 (alloc_type_arch): Adjust.
1932 (alloc_type_copy): Adjust.
1933 (get_type_arch): Adjust.
1934 (smash_type): Adjust.
1935 (lookup_array_range_type): Adjust.
1936 (recursive_dump_type): Adjust.
1937 (copy_type_recursive): Adjust.
1938 * compile/compile-c-types.c (convert_func): Adjust.
1939 (convert_type_basic): Adjust.
1940 * compile/compile-cplus-types.c (compile_cplus_convert_func):
1941 Adjust.
1942 * language.c
1943 (language_arch_info::type_and_symbol::alloc_type_symbol):
1944 Adjust.
1945
d5d24e12
LM
19462021-01-21 Luis Machado <luis.machado@linaro.org>
1947
1948 * coffread.c (enter_linenos): Passing string to complaint.
1949 * valops.c (value_assign): Make array view.
1950
a59902a7
SM
19512021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1952
1953 * auto-load.h (debug_auto_load): Move here.
1954 (auto_load_debug_printf): New.
1955 * auto-load.c: Use auto_load_debug_printf.
1956 (debug_auto_load): Move to header.
1957 * linux-thread-db.c (try_thread_db_load): Use
1958 auto_load_debug_printf.
1959 * main.c (captured_main_1): Likewise.
1960
d3abc0ce
SM
19612021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1962
1963 * f-valprint.c (f77_array_offset_tbl): Remove.
1964
1e15fcac
SM
19652021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1966
1967 * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file.
1968
439706e6
SM
19692021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1970
1971 * ser-tcp.c (wait_for_connect): Use interruptible_select instead
1972 of gdb_select.
1973
325d39e4
HD
19742021-01-21 Hannes Domani <ssbssa@yahoo.de>
1975
1976 PR python/19151
1977 * python/py-breakpoint.c (bppy_get_location): Handle
1978 bp_hardware_breakpoint.
1979 (bppy_init): Likewise.
1980 (gdbpy_breakpoint_created): Likewise.
1981
7cb6d92a
SM
19822021-01-21 Simon Marchi <simon.marchi@polymtl.ca>
1983
1984 * arm-tdep.c (arm_debug_printf): Add and use throughout file.
1985
d4dd4fca
SM
19862021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1987
1988 * gdb_bfd.c (debug_bfd_cache): Change type to bool.
1989 (_initialize_gdb_bfd): Adjust.
1990
de53369b
SM
19912021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1992
1993 PR gdb/26828
1994 * dwarf2/read.c (maybe_queue_comp_unit): Add assertion.
1995
17e593e9
SM
19962021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1997
1998 * dwarf2/read.c (follow_die_offset): Add logging.
1999 (dwarf2_per_objfile::age_comp_units): Add logging.
2000
6bd434d6
SM
20012021-01-20 Simon Marchi <simon.marchi@polymtl.ca>
2002
2003 * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static.
2004 * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind,
2005 aarch64_stub_unwind, aarch64_normal_base, ): Make static.
2006 * arm-linux-tdep.c (arm_prologue_unwind): Make static.
2007 * arm-tdep.c (struct frame_unwind): Make static.
2008 * auto-load.c (auto_load_safe_path_vec): Make static.
2009 * csky-tdep.c (csky_stub_unwind): Make static.
2010 * gdbarch.c (gdbarch_data_registry): Make static.
2011 * gnu-v2-abi.c (gnu_v2_abi_ops): Make static.
2012 * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static.
2013 * i386-tdep.c (i386_frame_setup_skip_insns,
2014 i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns):
2015 Make static.
2016 * infrun.c (observer_mode): Make static.
2017 * linux-nat.c (sigchld_action): Make static.
2018 * linux-thread-db.c (thread_db_list): Make static.
2019 * maint-test-options.c (maintenance_test_options_list):
2020 * mep-tdep.c (mep_csr_registers): Make static.
2021 * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name.
2022 (stats): Make static.
2023 * nat/linux-osdata.c (struct osdata_type): Make static.
2024 * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static.
2025 * progspace.c (last_program_space_num): Make static.
2026 * python/py-param.c (struct parm_constant): Remove struct type
2027 name.
2028 (parm_constants): Make static.
2029 * python/py-record-btrace.c (btpy_list_methods): Make static.
2030 * python/py-record.c (recpy_gap_type): Make static.
2031 * record.c (record_goto_cmdlist): Make static.
2032 * regcache.c (regcache_descr_handle): Make static.
2033 * registry.h (DEFINE_REGISTRY): Make definition static.
2034 * symmisc.c (std_in, std_out, std_err): Make static.
2035 * top.c (previous_saved_command_line): Make static.
2036 * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make
2037 static.
2038 * unittests/command-def-selftests.c (nr_duplicates,
2039 nr_invalid_prefixcmd, lists): Make static.
2040 * unittests/observable-selftests.c (test_notification): Make
2041 static.
2042 * unittests/optional/assignment/1.cc (counter): Make static.
2043 * unittests/optional/assignment/2.cc (counter): Make static.
2044 * unittests/optional/assignment/3.cc (counter): Make static.
2045 * unittests/optional/assignment/4.cc (counter): Make static.
2046 * unittests/optional/assignment/5.cc (counter): Make static.
2047 * unittests/optional/assignment/6.cc (counter): Make static.
2048
a6c11cbb
JS
20492021-01-20 Joel Sherrill <joel@rtems.org>
2050
2051 PR gdb/27219
2052 * remote.c (struct remote_thread_info) <resume_state>: Rename
2053 to...
2054 <get_resume_state>: ... this.
2055 (remote_target::resume): Adjust.
2056 (remote_target::commit_resume): Adjust.
2057 (remote_target::select_thread_for_ambiguous_stop_reply): Adjust.
2058
6f52fdf4
SDJ
20592021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net>
2060 Tom Tromey <tom@tromey.com>
2061
2062 * stap-probe.c (stap_parse_single_operand): Handle '!'
2063 operator.
2064 (stap_parse_argument_conditionally): Likewise.
2065 Skip spaces after processing open-parenthesis sub-expression.
2066 (stap_parse_argument_1): Skip spaces after call to
2067 stap_parse_argument_conditionally.
2068 Handle case when right-side expression is a parenthesized
2069 sub-expression.
2070 Skip spaces after call to stap_parse_argument_1.
2071
1c3b85ad
LS
20722021-01-19 Lancelot SIX <lsix@lancelotsix.com>
2073
2074 * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN.
2075
a9a87d35
LM
20762021-01-19 Luis Machado <luis.machado@linaro.org>
2077
2078 * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate
2079 memory and save data.
2080 (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr)
2081 (trad_frame_set_unknown, trad_frame_set_value_bytes)
2082 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
2083 (trad_frame_value_bytes_p): Remove.
2084 (trad_frame_reset_saved_regs): Adjust documentation.
2085 * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a
2086 constructor and reset the state of the registers.
2087 (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p)
2088 (trad_frame_value_bytes_p, trad_frame_set_value)
2089 (trad_frame_set_realreg, trad_frame_set_addr)
2090 (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove.
2091 (trad_frame_set_reg_realreg): Update to call member function.
2092 (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise.
2093 (trad_frame_get_prev_register): Likewise.
2094
2095 * aarch64-tdep.c (aarch64_analyze_prologue)
2096 (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1)
2097 (aarch64_prologue_prev_register): Update to use member functions.
2098 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise.
2099 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise.
2100 * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise.
2101 * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache)
2102 (arm_make_epilogue_frame_cache): Likewise.
2103 * avr-tdep.c (avr_frame_unwind_cache)
2104 (avr_frame_prev_register): Likewise.
2105 * cris-tdep.c (cris_scan_prologue): Likewise.
2106 * csky-tdep.c (csky_frame_unwind_cache): Likewise.
2107 * frv-tdep.c (frv_analyze_prologue): Likewise.
2108 * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise.
2109 * lm32-tdep.c (lm32_frame_cache): Likewise.
2110 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
2111 * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
2112 * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache)
2113 (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise.
2114 (reset_saved_regs): Adjust to set realreg.
2115 * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to
2116 call member functions.
2117 * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache)
2118 * s390-tdep.c (s390_prologue_frame_unwind_cache)
2119 (s390_backchain_frame_unwind_cache): Likewise.
2120 * score-tdep.c (score7_analyze_prologue)
2121 (score3_analyze_prologue, score_make_prologue_cache): Likewise.
2122 * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise.
2123 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise.
2124 * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise.
2125 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise.
2126 * tilegx-tdep.c (tilegx_analyze_prologue)
2127 (tilegx_frame_cache): Likewise.
2128 * v850-tdep.c (v850_frame_cache): Likewise.
2129 * vax-tdep.c (vax_frame_cache): Likewise.
2130
bdec2917
LM
21312021-01-19 Luis Machado <luis.machado@linaro.org>
2132
2133 * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead
2134 of buffer + length.
2135 (put_frame_register_bytes): Likewise.
2136 Adjust documentation.
2137 (get_frame_memory): Pass a gdb::array_view instead of buffer + length.
2138 (safe_frame_unwind_memory): Likewise.
2139 * frame.c (get_frame_register_bytes, put_frame_register_bytes)
2140 (get_frame_memory, safe_frame_unwind_memory): Adjust to use
2141 gdb::array_view.
2142 * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise.
2143 * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise.
2144 * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise.
2145 * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise.
2146 * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise.
2147 * dwarf2/loc.c (rw_pieced_value): Likewise.
2148 * hppa-tdep.c (hppa_frame_cache): Likewise.
2149 * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise.
2150 * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise.
2151 * i386-linux-tdep.c (i386_linux_sigtramp_start)
2152 (i386_linux_rt_sigtramp_start): Likewise.
2153 * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise.
2154 * i386-tdep.c (i386_register_to_value): Likewise.
2155 * i387-tdep.c (i387_register_to_value): Likewise.
2156 * ia64-tdep.c (ia64_register_to_value): Likewise.
2157 * m32r-linux-tdep.c (m32r_linux_sigtramp_start)
2158 (m32r_linux_rt_sigtramp_start): Likewise.
2159 * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise.
2160 * m68k-tdep.c (m68k_register_to_value): Likewise.
2161 * mips-tdep.c (mips_register_to_value)
2162 (mips_value_to_register): Likewise.
2163 * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer)
2164 (ppcfbsd_sigtramp_frame_cache): Likewise.
2165 * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer)
2166 (ppcobsd_sigtramp_frame_cache): Likewise.
2167 * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p)
2168 (rs6000_register_to_value): Likewise.
2169 * tilegx-tdep.c (tilegx_analyze_prologue): Likewise.
2170 * tramp-frame.c (tramp_frame_start): Likewise.
2171 * valops.c (value_assign): Likewise.
2172
ccbe4c82
LM
21732021-01-19 Luis Machado <luis.machado@linaro.org>
2174
2175 * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an
2176 array_view.
2177 * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view
2178 instead of buffer and size.
2179 (trad_frame_set_reg_value_bytes): Likewise.
2180 * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise.
2181 (trad_frame_set_value_bytes): Likewise.
2182
0e7620dc
MF
21832021-01-18 Mike Frysinger <vapier@gentoo.org>
2184
2185 * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s.
2186
6a9ad81c
AB
21872021-01-18 Andrew Burgess <andrew.burgess@embecosm.com>
2188
2189 * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete.
2190 (riscv_fbsd_gregset): Use riscv_supply_regset.
2191 (riscv_fbsd_fpregset): Likewise.
2192 * riscv-linux-tdep.c (riscv_linux_gregset): Likewise.
2193 (riscv_linux_fregset): Likewise.
2194 * riscv-tdep.c (riscv_supply_regset): Define new function.
2195 * riscv-tdep.h (riscv_supply_regset): Declare new function.
2196
d3d7d1ba
TV
21972021-01-18 Tom de Vries <tdevries@suse.de>
2198
2199 PR tdep/27172
2200 * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR):
2201 New macro.
2202 (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper
2203 for SEGV_BNDERR.
2204
aa2838cc
SM
22052021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2206
2207 * remote.c (class remote_target) <remote_hostio_send_command,
2208 remote_hostio_parse_result>: Constify parameter.
2209 (remote_hostio_parse_result): Likewise.
2210 (remote_target::remote_hostio_send_command): Adjust.
2211 (remote_target::remote_hostio_pread_vFile): Adjust.
2212 (remote_target::fileio_readlink): Adjust.
2213 (remote_target::fileio_fstat): Adjust.
2214
b5c8f22d
SM
22152021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2216
2217 * remote.c (remote_target::start_remote): Move wait_status to
2218 narrower scope.
2219
e3b2741b
SM
22202021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2221
2222 * remote.c (class remote_target):
2223 <add_current_inferior_and_thread>: Constify parameter.
2224 (stop_reply_extract_thread): Likewise.
2225 (remote_target::get_current_thread): Likewise.
2226 (remote_target::add_current_inferior_and_thread): Likewise.
2227
cecb1912
SM
22282021-01-18 Simon Marchi <simon.marchi@polymtl.ca>
2229
2230 * remote.c (class remote_target)
2231 <remote_unpack_thread_info_response,
2232 parse_threadlist_response>: Constify parameter and/or return
2233 value and or local variable.
2234 (stub_unpack_int): Likewise.
2235 (unpack_nibble): Likewise.
2236 (unpack_byte): Likewise.
2237 (unpack_int): Likewise.
2238 (unpack_string): Likewise.
2239 (unpack_threadid): Likewise.
2240 (remote_target::remote_unpack_thread_info_response): Likewise.
2241 (remote_target::parse_threadlist_response): Likewise.
2242
5a11fff0
AB
22432021-01-15 Andrew Burgess <andrew.burgess@embecosm.com>
2244
2245 * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
2246
17e89137
LS
22472021-01-14 Lancelot Six <lsix@lancelotsix.com>
2248
2249 * MAINTAINERS (Write After Approval): Add myself.
2250
58eadc4b
BE
22512021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
2252
2253 * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error
2254 because is_trivially_default_constructible was first implemented with
2255 gcc-5.
2256
5fae2a2c
TV
22572021-01-14 Tom de Vries <tdevries@suse.de>
2258
2259 PR breakpoints/27151
2260 * objfiles.h (in_plt_section): Handle .plt.sec.
2261
8f66807b
AB
22622021-01-13 Andrew Burgess <andrew.burgess@embecosm.com>
2263
2264 PR gdb/26819
2265 * remote.c
2266 (remote_target::select_thread_for_ambiguous_stop_reply): New
2267 member function.
2268 (remote_target::process_stop_reply): Call
2269 select_thread_for_ambiguous_stop_reply.
2270
bd497355
SM
22712021-01-13 Simon Marchi <simon.marchi@efficios.com>
2272
2273 * record-btrace.c (class record_btrace_target): Remove.
2274 (record_btrace_target::commit_resume): Remove.
2275 * record-full.c (class record_full_target): Remove.
2276 (record_full_target::commit_resume): Remove.
2277
c9d22089
SM
22782021-01-13 Simon Marchi <simon.marchi@efficios.com>
2279
2280 * remote.c (enum class resume_state): New.
2281 (struct resumed_pending_vcont_info): New.
2282 (struct remote_thread_info) <resume_state, set_not_resumed,
2283 set_resumed_pending_vcont, resumed_pending_vcont_info,
2284 set_resumed, m_resume_state, m_resumed_pending_vcont_info>:
2285 New.
2286 <last_resume_step, last_resume_sig, vcont_resumed>: Remove.
2287 (remote_target::remote_add_thread): Adjust.
2288 (remote_target::process_initial_stop_replies): Adjust.
2289 (remote_target::resume): Adjust.
2290 (remote_target::commit_resume): Rely on state in
2291 remote_thread_info and not on tp->executing.
2292 (remote_target::process_stop_reply): Adjust.
2293
d8d1feb4
SM
22942021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2295
2296 * arc-tdep.h (arc_debug_printf): New.
2297 * arc-tdep.c: Use arc_debug_printf.
2298 * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use.
2299 * arc-linux-tdep.c (arc_linux_debug_printf): Add and use.
2300 * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use.
2301
fb0f5031
SM
23022021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2303
2304 * arc-tdep.h (arc_debug): Change type to bool.
2305 * arc-tdep.c (arc_debug): Change type to bool.
2306 (arc_analyze_prologue): Adjust.
2307 (_initialize_arc_tdep): Use add_setshow_boolean_cmd.
2308 * arc-linux-nat.c (ps_get_thread_area): Adjust.
2309
5bf7e91b
SM
23102021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2311
2312 * auto-load.c (auto_load_objfile_script_1): Use bool.
2313 (execute_script_contents): Use bool.
2314
db972fce
SM
23152021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2316
2317 * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move
2318 comment here.
2319 * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move
2320 comment to header.
2321 * extension-priv.h (struct extension_language_script_ops)
2322 <auto_load_enabled>: Return bool.
2323 * extension.h (ext_lang_auto_load_enabled): Return bool, move
2324 comment here.
2325 * extension.c (ext_lang_auto_load_enabled): Return bool, move
2326 comment to header.
2327 * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool,
2328 move comment here.
2329 * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool,
2330 move comment to header.
2331 * python/python-header.h (gdbpy_auto_load_enabled): Return bool,
2332 move comment here.
2333 * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool,
2334 move comment to header.
2335
5e12f48f
SM
23362021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2337
2338 * auto-load.h (file_is_auto_load_safe): Change return type to
2339 bool, move comment here.
2340 * auto-load.c (file_is_auto_load_safe): Change return type and
2341 advice_printed to bool. Move comment to header.
2342
54ca9002
SM
23432021-01-13 Simon Marchi <simon.marchi@polymtl.ca>
2344
2345 * jit.c (jit_debug_printf): New, use throughout file.
2346
24a7f1b5
SM
23472021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2348
2349 * infrun.c (normal_stop): Fix indentation.
2350
fe7a351a
SM
23512021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2352
2353 * top.h (readnow_symbol_files, readnever_symbol_files): Move
2354 declarations to ...
2355 * symfile.h: ... here.
2356 * symfile.c: Update doc.
2357
16e9019e
SM
23582021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2359
2360 * target.h (baud_rate, serial_parity): Move declarations...
2361 * serial.h: ... here.
2362 * main.c: Include serial.h.
2363 * serial.c (baud_rate, serial_parity): Update doc.
2364
b2f2ae0d
SM
23652021-01-12 Simon Marchi <simon.marchi@polymtl.ca>
2366
2367 * top.c (pre_init_ui_hook): Remove.
2368
5291fe3c
SP
23692021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2370
2371 * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers.
2372 (aarch64_vnv_type): Add "bf" type in h field of v registers.
2373 * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated.
2374 * features/aarch64-fpu.xml: Add bfloat16 type.
2375
ce38f5ed
AB
23762021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2377
2378 * expprint.c (dump_subexp_body_standard): Handle OP_BOOL.
2379
7c654b71
AB
23802021-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2381
2382 * f-exp.y (dot_ops): Rename to...
2383 (fortran_operators): ...this. Add a header comment. Add symbol
2384 based operators.
2385 (yylex): Update to use fortran_operators not dot_ops. Remove
2386 special handling for '**', this is now included in
2387 fortran_operators.
2388
c6185dce
SM
23892021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2390
2391 * arch/aarch64-insn.h (aarch64_debug_printf): New.
2392 * arch/aarch64-insn.c: Use aarch64_debug_printf.
2393 * aarch64-tdep.c: Use aarch64_debug_printf.
2394
eef401dc
SM
23952021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2396
2397 * solib-aix.c (solib_aix_debug_printf): New, use throughout
2398 file.
2399
062eaacb
SM
24002021-01-11 Simon Marchi <simon.marchi@polymtl.ca>
2401
2402 * jit.c (jit_debug): Change type to bool.
2403 (_initialize_jit): Adjust.
2404
54585eee
TT
24052021-01-09 Tom Tromey <tom@tromey.com>
2406
2407 PR compile/23672
2408 * compile/compile.c (compile_to_object): Avoid crash when
2409 osabi_triplet_regexp returns NULL.
2410
bc167b6b
TT
24112021-01-09 Tom Tromey <tom@tromey.com>
2412
2413 * tracepoint.h (class collection_list) <append_exp>: Take a
2414 std::string.
2415 * tracepoint.c (collection_list::append_exp): Take a std::string.
2416 (encode_actions_1): Update.
2417
8fc48b79
TT
24182021-01-08 Tom Tromey <tromey@adacore.com>
2419
2420 * parse.c (parse_expression): Add void_context_p parameter. Use
2421 parse_exp_in_context.
2422 * printcmd.c (print_command_1): Change voidprint to bool. Pass to
2423 parse_expression.
2424 (print_command, call_command): Update.
2425 * expression.h (parse_expression): Add void_context_p parameter.
2426
3c8c6de2
AB
24272021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2428
2429 * value.c (set_value_component_location): Adjust the VALUE_LVAL
2430 for internalvar components that have a dynamic location.
2431
1940319c
TV
24322021-01-08 Tom de Vries <tdevries@suse.de>
2433
2434 PR gdb/26881
2435 * breakpoint.c (create_exception_master_breakpoint_probe)
2436 (create_exception_master_breakpoint_hook): Factor out
2437 of ...
2438 (create_exception_master_breakpoint): ... here. Only try to install
2439 the master exception breakpoint in objfile.debug using the
2440 _Unwind_DebugHook method, if the install using probes in objfile
2441 failed.
2442
e3436813
AB
24432021-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
2444
2445 * f-lang.c (fortran_value_subarray): Call value_from_component.
2446
e904f56d
MF
24472021-01-07 Mike Frysinger <vapier@gentoo.org>
2448
2449 * remote-sim.c: Include memory-map.h.
2450 (gdbsim_target): Define memory_map override.
2451 (gdbsim_target::memory_map): Define.
2452
959d6a67
TT
24532021-01-07 Tom Tromey <tromey@adacore.com>
2454
2455 * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix.
2456
d4813f10
TT
24572021-01-07 Tom Tromey <tromey@adacore.com>
2458
2459 * ada-lang.c (add_component_interval): Start loop using vector's
2460 updated size.
2461
b49180ac
TT
24622021-01-06 Tom Tromey <tromey@adacore.com>
2463
2464 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>:
2465 Do not cast result.
2466 * valarith.c (fixed_point_binop): Handle multiplication
2467 and division specially.
2468 * valops.c (value_to_gdb_mpq): New function.
2469 (value_cast_to_fixed_point): Use it.
2470
55195361
HD
24712021-01-05 Hannes Domani <ssbssa@yahoo.de>
2472
2473 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
2474 Call wnoutrefresh instead of tui_win_info::refresh_window.
2475
1b6d4bb2
HD
24762021-01-05 Hannes Domani <ssbssa@yahoo.de>
2477
2478 * tui/tui-source.c (tui_source_window::show_line_number):
2479 Redraw second space after line number.
2480
b5ff370e
HD
24812021-01-05 Hannes Domani <ssbssa@yahoo.de>
2482
2483 PR tui/26927
2484 * tui/tui-winsource.c (tui_source_window_base::refresh_window):
2485 Fix source pad size in prefresh.
2486 (tui_source_window_base::show_source_content): Grow source pad
2487 if necessary.
2488
c68ea49f
MF
24892021-01-04 Mike Frysinger <vapier@gentoo.org>
2490
2491 * bfin-tdep.c (bfin_push_dummy_call): Use align_up.
2492 (bfin_frame_align): Use align_down.
2493
e4ad960a
TV
24942021-01-04 Tom de Vries <tdevries@suse.de>
2495
2496 * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq
2497 terminators that do not terminate anything.
2498
3ec3145c
SM
24992021-01-04 Simon Marchi <simon.marchi@efficios.com>
2500
2501 * debug.c (debug_print_depth): New.
2502 * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New.
2503 (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New.
2504 * infrun.c (start_step_over): Use
2505 INFRUN_SCOPED_DEBUG_ENTER_EXIT.
2506 (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and
2507 INFRUN_SCOPED_DEBUG_START_END.
2508 (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT.
2509
e71daf80
SM
25102021-01-04 Simon Marchi <simon.marchi@efficios.com>
2511
2512 * infrun.c (print_target_wait_results): Use infrun_debug_printf.
2513
335709bc
SM
25142021-01-04 Simon Marchi <simon.marchi@efficios.com>
2515
2516 * utils.c (vfprintf_unfiltered): Print timestamp only when
2517 previous debug output ended with a newline.
2518
098caef4
LM
25192021-01-04 Luis Machado <luis.machado@linaro.org>
2520
2521 Update all users of trad_frame_saved_reg to use the new member
2522 functions.
2523
2524 Remote all struct keywords from declarations of trad_frame_saved_reg
2525 types, except on forward declarations.
2526
2527 * aarch64-tdep.c: Update.
2528 * alpha-mdebug-tdep.c: Update.
2529 * alpha-tdep.c: Update.
2530 * arc-tdep.c: Update.
2531 * arm-tdep.c: Update.
2532 * avr-tdep.c: Update.
2533 * cris-tdep.c: Update.
2534 * csky-tdep.c: Update.
2535 * frv-tdep.c: Update.
2536 * hppa-linux-tdep.c: Update.
2537 * hppa-tdep.c: Update.
2538 * hppa-tdep.h: Update.
2539 * lm32-tdep.c: Update.
2540 * m32r-linux-tdep.c: Update.
2541 * m32r-tdep.c: Update.
2542 * m68hc11-tdep.c: Update.
2543 * mips-tdep.c: Update.
2544 * moxie-tdep.c: Update.
2545 * riscv-tdep.c: Update.
2546 * rs6000-tdep.c: Update.
2547 * s390-linux-tdep.c: Update.
2548 * s390-tdep.c: Update.
2549 * score-tdep.c: Update.
2550 * sparc-netbsd-tdep.c: Update.
2551 * sparc-sol2-tdep.c: Update.
2552 * sparc64-fbsd-tdep.c: Update.
2553 * sparc64-netbsd-tdep.c: Update.
2554 * sparc64-obsd-tdep.c: Update.
2555 * sparc64-sol2-tdep.c: Update.
2556 * tilegx-tdep.c: Update.
2557 * v850-tdep.c: Update.
2558 * vax-tdep.c: Update.
2559
2560 * frame-unwind.c (frame_unwind_got_bytes): Make parameter const.
2561 * frame-unwind.h (frame_unwind_got_bytes): Likewise.
2562
2563 * trad-frame.c: Update.
2564 Remove TF_REG_* enum.
2565 (trad_frame_alloc_saved_regs): Add a static assertion to check for
2566 a trivially-constructible struct.
2567 (trad_frame_reset_saved_regs): Adjust to use member function.
2568 (trad_frame_value_p): Likewise.
2569 (trad_frame_addr_p): Likewise.
2570 (trad_frame_realreg_p): Likewise.
2571 (trad_frame_value_bytes_p): Likewise.
2572 (trad_frame_set_value): Likewise.
2573 (trad_frame_set_realreg): Likewise.
2574 (trad_frame_set_addr): Likewise.
2575 (trad_frame_set_unknown): Likewise.
2576 (trad_frame_set_value_bytes): Likewise.
2577 (trad_frame_get_prev_register): Likewise.
2578 * trad-frame.h: Update.
2579 (trad_frame_saved_reg_kind): New enum.
2580 (struct trad_frame_saved_reg) <addr, realreg, data>: Remove.
2581 <m_kind, m_reg>: New member fields.
2582 <set_value, set_realreg, set_addr, set_unknown, set_value_bytes>
2583 <kind, value, realreg, addr, value_bytes, is_value, is_realreg>
2584 <is_addr, is_unknown, is_value_bytes>: New member functions.
2585
9898e882
SM
25862021-01-02 Simon Marchi <simon.marchi@polymtl.ca>
2587
2588 * target-float.c: Fix typos.
2589
b66b4e65
HD
25902021-01-02 Hannes Domani <ssbssa@yahoo.de>
2591
2592 * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer.
2593
b5b5650a
JB
25942021-01-01 Joel Brobecker <brobecker@adacore.com>
2595
2596 * gdbarch.sh: Update copyright year range.
2597
3666a048
JB
25982021-01-01 Joel Brobecker <brobecker@adacore.com>
2599
2600 Update copyright year range in copyright header of all GDB files.
2601
ff7e39b6
JB
26022021-01-01 Joel Brobecker <brobecker@adacore.com>
2603
2604 * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport"
2605 to the list of directories to update.
2606
2b47c078
JB
26072021-01-01 Joel Brobecker <brobecker@adacore.com>
2608
2609 * top.c (print_gdb_version): Update copyright year.
2610
476923f1 26112021-01-01 Joel Brobecker <brobecker@adacore.com>
c8f02daa 2612
476923f1 2613 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020.
c8f02daa 2614
476923f1 2615For older changes see ChangeLog-2020.
c906108c
SS
2616\f
2617Local Variables:
2618mode: change-log
2619left-margin: 8
2620fill-column: 74
2621version-control: never
57da7796 2622coding: utf-8
c906108c 2623End: