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