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