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