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