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