| 1 | 2019-03-12 John Baldwin <jhb@FreeBSD.org> |
| 2 | |
| 3 | * amd64-fbsd-nat.c (amd64_fbsd_nat_target::read_description): |
| 4 | Update calls to i386_target_description to add 'segments' |
| 5 | parameter. |
| 6 | * amd64-tdep.c (amd64_init_abi): Set tdep->fsbase_regnum. Don't |
| 7 | add segment base registers. |
| 8 | * arch/i386.c (i386_create_target_description): Add 'segments' |
| 9 | parameter to enable segment base registers. |
| 10 | * arch/i386.h (i386_create_target_description): Likewise. |
| 11 | * features/i386/32bit-segments.xml: New file. |
| 12 | * features/i386/32bit-segments.c: Generate. |
| 13 | * i386-fbsd-nat.c (i386_fbsd_nat_target::read_description): Update |
| 14 | call to i386_target_description to add 'segments' parameter. |
| 15 | * i386-fbsd-tdep.c (i386fbsd_core_read_description): Likewise. |
| 16 | * i386-go32-tdep.c (i386_go32_init_abi): Likewise. |
| 17 | * i386-linux-tdep.c (i386_linux_read_description): Likewise. |
| 18 | * i386-tdep.c (i386_validate_tdesc_p): Add segment base registers |
| 19 | if feature is present. |
| 20 | (i386_gdbarch_init): Pass I386_NUM_REGS to set_gdbarch_num_regs. |
| 21 | Add 'segments' parameter to call to i386_target_description. |
| 22 | (i386_target_description): Add 'segments' parameter to enable |
| 23 | segment base registers. |
| 24 | (_initialize_i386_tdep) [GDB_SELF_TEST]: Add 'segments' parameter |
| 25 | to call to i386_target_description. |
| 26 | * i386-tdep.h (struct gdbarch_tdep): Add 'fsbase_regnum'. |
| 27 | (enum i386_regnum): Add I386_FSBASE_REGNUM and I386_GSBASE_REGNUM. |
| 28 | Define I386_NUM_REGS. |
| 29 | (i386_target_description): Add 'segments' parameter to enable |
| 30 | segment base registers. |
| 31 | |
| 32 | 2019-03-12 Eli Zaretskii <eliz@gnu.org> |
| 33 | |
| 34 | PR/24325 |
| 35 | * source-cache.c: #undef open and close, to avoid unresolved |
| 36 | externals during linking. |
| 37 | |
| 38 | 2019-03-12 Tom Tromey <tromey@adacore.com> |
| 39 | |
| 40 | * remote.c (magic_null_ptid, not_sent_ptid, any_thread_ptid): Now |
| 41 | const. Add initializers. |
| 42 | (_initialize_remote): Don't initialize ptid globals. |
| 43 | |
| 44 | 2019-03-12 Pedro Alves <palves@redhat.com> |
| 45 | |
| 46 | * yy-remap.h [TEST_CPNAMES] (YYFPRINTF): Don't define. |
| 47 | |
| 48 | 2019-03-12 Pedro Alves <palves@redhat.com> |
| 49 | |
| 50 | * cp-name-parser.y (main): Remove unused 'len' variable. |
| 51 | |
| 52 | 2019-03-12 Tom Tromey <tromey@adacore.com> |
| 53 | |
| 54 | * common/ptid.c (null_ptid, minus_one_ptid): Now const. |
| 55 | * common/ptid.h (null_ptid, minus_one_ptid): Now const. |
| 56 | |
| 57 | 2019-03-12 Tom Tromey <tromey@adacore.com> |
| 58 | |
| 59 | * linux-nat.c (iterate_over_lwps): Update. |
| 60 | (stop_callback): Remove parameter. |
| 61 | (stop_wait_callback, detach_callback, resume_set_callback) |
| 62 | (select_singlestep_lwp_callback, set_ignore_sigint) |
| 63 | (status_callback, resumed_callback, resume_clear_callback) |
| 64 | (kill_callback, kill_wait_callback, linux_nat_stop_lwp): Remove |
| 65 | data parameter. |
| 66 | (linux_nat_target::detach, linux_nat_target::resume) |
| 67 | (linux_stop_and_wait_all_lwps, select_event_lwp) |
| 68 | (linux_nat_filter_event, linux_nat_wait_1) |
| 69 | (linux_nat_target::kill, linux_nat_target::stop) |
| 70 | (linux_nat_target::stop): Update. |
| 71 | (linux_nat_resume_callback): Change type. |
| 72 | (resume_stopped_resumed_lwps, count_events_callback) |
| 73 | (select_event_lwp_callback): Likewise. |
| 74 | (linux_stop_lwp, linux_nat_stop_lwp): Update. |
| 75 | * arm-linux-nat.c (struct update_registers_data): Remove. |
| 76 | (update_registers_callback): Change type. |
| 77 | (arm_linux_insert_hw_breakpoint1): Update. |
| 78 | * nat/x86-linux-dregs.c (update_debug_registers_callback): Remove |
| 79 | parameter. |
| 80 | (x86_linux_dr_set_addr): Update. |
| 81 | (x86_linux_dr_set_control): Update. |
| 82 | * nat/linux-nat.h (iterate_over_lwps_ftype): Remove parameter. |
| 83 | (iterate_over_lwps): Use gdb::function_view. |
| 84 | * nat/aarch64-linux-hw-point.c (struct |
| 85 | aarch64_dr_update_callback_param): Remove. |
| 86 | (debug_reg_change_callback): Change type. |
| 87 | (aarch64_notify_debug_reg_change): Update. |
| 88 | * s390-linux-nat.c (s390_refresh_per_info): Update. |
| 89 | |
| 90 | 2019-03-11 Tom Tromey <tromey@adacore.com> |
| 91 | |
| 92 | * dwarf2read.c (dwarf2_find_containing_comp_unit): Remove |
| 93 | redundant assignment to "this_cu". |
| 94 | |
| 95 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 96 | |
| 97 | * gdbtypes.c (rank_one_type): Remove unnecessary cases from switch. |
| 98 | |
| 99 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 100 | |
| 101 | * gdbtypes.c (rank_one_type_parm_set): New function extracted |
| 102 | from... |
| 103 | (rank_one_type): ... this. |
| 104 | |
| 105 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 106 | |
| 107 | * gdbtypes.c (rank_one_type_parm_struct): New function extracted |
| 108 | from... |
| 109 | (rank_one_type): ... this. |
| 110 | |
| 111 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 112 | |
| 113 | * gdbtypes.c (rank_one_type_parm_complex): New function extracted |
| 114 | from... |
| 115 | (rank_one_type): ... this. |
| 116 | |
| 117 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 118 | |
| 119 | * gdbtypes.c (rank_one_type_parm_float): New function extracted |
| 120 | from... |
| 121 | (rank_one_type): ... this. |
| 122 | |
| 123 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 124 | |
| 125 | * gdbtypes.c (rank_one_type_parm_bool): New function extracted |
| 126 | from... |
| 127 | (rank_one_type): ... this. |
| 128 | |
| 129 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 130 | |
| 131 | * gdbtypes.c (rank_one_type_parm_range): New function extracted |
| 132 | from... |
| 133 | (rank_one_type): ... this. |
| 134 | |
| 135 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 136 | |
| 137 | * gdbtypes.c (rank_one_type_parm_char): New function extracted |
| 138 | from... |
| 139 | (rank_one_type): ... this. |
| 140 | |
| 141 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 142 | |
| 143 | * gdbtypes.c (rank_one_type_parm_enum): New function extracted |
| 144 | from... |
| 145 | (rank_one_type): ... this. |
| 146 | |
| 147 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 148 | |
| 149 | * gdbtypes.c (rank_one_type_parm_int): New function extracted |
| 150 | from... |
| 151 | (rank_one_type): ... this. |
| 152 | |
| 153 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 154 | |
| 155 | * gdbtypes.c (rank_one_type_parm_func): New function extracted |
| 156 | from... |
| 157 | (rank_one_type): ... this. |
| 158 | |
| 159 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 160 | |
| 161 | * gdbtypes.c (rank_one_type_parm_array): New function extracted |
| 162 | from... |
| 163 | (rank_one_type): ... this. |
| 164 | |
| 165 | 2019-03-08 Simon Marchi <simon.marchi@efficios.com> |
| 166 | |
| 167 | * gdbtypes.c (rank_one_type_parm_ptr): New function extracted |
| 168 | from... |
| 169 | (rank_one_type): ... this. |
| 170 | |
| 171 | 2019-02-27 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 172 | |
| 173 | * inferior.c (initialize_inferiors): Ensure 'help set/show print |
| 174 | inferior-events' shows the example events. |
| 175 | |
| 176 | 2019-03-08 Eli Zaretskii <eliz@gnu.org> |
| 177 | |
| 178 | Support styling on native MS-Windows console |
| 179 | |
| 180 | PR/24315 |
| 181 | * utils.c (can_emit_style_escape) [_WIN32]: Don't disable styling |
| 182 | on MS-Windows if $TERM is not defined. |
| 183 | |
| 184 | * cli/cli-style.c: Set cli_styling to 1 in the MinGW build. |
| 185 | |
| 186 | * posix-hdep.c (gdb_console_fputs): |
| 187 | * mingw-hdep.c (rgb_to_16colors, gdb_console_fputs): New |
| 188 | functions. |
| 189 | * ui-file.h (gdb_console_fputs): Add prototype. |
| 190 | |
| 191 | * ui-file.c (stdio_file::puts): Call gdb_console_fputs, and fall |
| 192 | back to fputs only if the former returns zero. |
| 193 | |
| 194 | 2019-03-07 Tom Tromey <tom@tromey.com> |
| 195 | |
| 196 | * symmisc.c (print_symbol_bcache_statistics): Update. |
| 197 | (print_objfile_statistics): Update. |
| 198 | * symfile.c (allocate_symtab): Update. |
| 199 | * stabsread.c: Don't include bcache.h. |
| 200 | * psymtab.h (struct psymbol_bcache): Don't declare. |
| 201 | (class psymtab_storage) <psymbol_cache>: Now a bcache. |
| 202 | (psymbol_bcache_init, psymbol_bcache_free) |
| 203 | (psymbol_bcache_get_bcache): Don't declare. |
| 204 | * psymtab.c (struct psymbol_bcache): Remove. |
| 205 | (psymtab_storage::psymtab_storage): Update. |
| 206 | (psymtab_storage::~psymtab_storage): Update. |
| 207 | (psymbol_bcache_init, psymbol_bcache_free) |
| 208 | (psymbol_bcache_get_bcache, psymbol_bcache_full): Remove. |
| 209 | (add_psymbol_to_bcache): Update. |
| 210 | (allocate_psymtab): Update. |
| 211 | * objfiles.h (struct objfile_per_bfd_storage) <filename_cache, |
| 212 | macro_cache>: No longer pointers. |
| 213 | * objfiles.c (get_objfile_bfd_data): Don't call bcache_xmalloc. |
| 214 | (free_objfile_per_bfd_storage): Don't call bcache_xfree. |
| 215 | * macrotab.c (macro_bcache): Update. |
| 216 | * macroexp.c: Don't include bcache.h. |
| 217 | * gdbtypes.c (check_types_worklist): Update. |
| 218 | (types_deeply_equal): Remove TRY/CATCH. Update. |
| 219 | * elfread.c (elf_symtab_read): Update. |
| 220 | * dwarf2read.c: Don't include bcache.h. |
| 221 | * buildsym.c (buildsym_compunit::get_macro_table): Update. |
| 222 | * bcache.h (bcache, bcache_full, bcache_xffree, bcache_xmalloc) |
| 223 | (print_bcache_statistics, bcache_memory_used): Don't declare. |
| 224 | (struct bcache): Move from bcache.c. Add constructor, destructor, |
| 225 | methods. Rename all data members. |
| 226 | * bcache.c (struct bcache): Move to bcache.h. |
| 227 | (bcache::expand_hash_table): Rename from expand_hash_table. |
| 228 | (bcache): Remove. |
| 229 | (bcache::insert): Rename from bcache_full. |
| 230 | (bcache::compare): Rename from bcache_compare. |
| 231 | (bcache_xmalloc): Remove. |
| 232 | (bcache::~bcache): Rename from bcache_xfree. |
| 233 | (bcache::print_statistics): Rename from print_bcache_statistics. |
| 234 | (bcache::memory_used): Rename from bcache_memory_used. |
| 235 | |
| 236 | 2019-03-07 Pedro Alves <palves@redhat.com> |
| 237 | |
| 238 | * infrun.c (normal_stop): Also check for |
| 239 | TARGET_WAITKIND_NO_RESUMED before referring to inferior_thread(). |
| 240 | |
| 241 | 2019-03-07 Andrew Burgess <andrew.burgess@embecosm.com> |
| 242 | |
| 243 | * f-lang.c (value_from_host_double): Moved to... |
| 244 | * value.c (value_from_host_double): ...here. |
| 245 | * value.h (value_from_host_double): Declare. |
| 246 | * guile/scm-math.c (vlscm_convert_typed_number): Use |
| 247 | value_from_host_double. |
| 248 | (vlscm_convert_number): Likewise. |
| 249 | * guile/scm-value.c (gdbscm_value_to_real): Likewise. |
| 250 | * python/py-value.c (convert_value_from_python): Likewise. |
| 251 | |
| 252 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 253 | |
| 254 | * gcore.c (write_gcore_file): Use SCOPE_EXIT. |
| 255 | |
| 256 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 257 | |
| 258 | * utils.h (free_current_contents): Don't declare. |
| 259 | * utils.c (free_current_contents): Remove. |
| 260 | |
| 261 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 262 | |
| 263 | * top.c (quit_force): Update. |
| 264 | * main.c (captured_command_loop): Update. |
| 265 | * common/new-op.c (operator new): Update. |
| 266 | * common/common-exceptions.c (struct catcher) |
| 267 | <save_cleanup_chain>: Remove member. |
| 268 | (exceptions_state_mc_init): Update. |
| 269 | (exception_try_scope_entry): Return nullptr. |
| 270 | (exception_try_scope_exit, exception_rethrow) |
| 271 | (throw_exception_sjlj, throw_exception_cxx): Update. |
| 272 | * common/cleanups.h (make_cleanup, make_cleanup_dtor) |
| 273 | (all_cleanups, do_cleanups, discard_cleanups) |
| 274 | (discard_final_cleanups, save_cleanups, save_final_cleanups) |
| 275 | (restore_cleanups, restore_final_cleanups): Don't declare. |
| 276 | (do_final_cleanups): Remove parameter. |
| 277 | * common/cleanups.c (cleanup_chain, make_cleanup) |
| 278 | (make_cleanup_dtor, all_cleanups, do_cleanups) |
| 279 | (discard_my_cleanups, discard_cleanups) |
| 280 | (discard_final_cleanups, save_my_cleanups, save_cleanups) |
| 281 | (save_final_cleanups, restore_my_cleanups, restore_cleanups) |
| 282 | (null_cleanup): Remove. |
| 283 | (do_final_cleanups): Remove parameter. |
| 284 | |
| 285 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 286 | |
| 287 | * remote.c (remote_target::remote_parse_stop_reply): Use |
| 288 | unique_xmalloc_ptr. |
| 289 | |
| 290 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 291 | |
| 292 | * stabsread.c (struct stabs_field_info): Rename from field_info. |
| 293 | <list, fnlist>: Add initializers. |
| 294 | <obstack>: New member. |
| 295 | (read_member_functions, read_struct_fields, read_baseclasses): |
| 296 | Allocate on obstack. Don't use cleanups. |
| 297 | (read_one_struct_field, read_member_functions, read_struct_fields) |
| 298 | (read_baseclasses, read_tilde_fields, attach_fn_fields_to_type) |
| 299 | (attach_fields_to_type, read_cpp_abbrev, read_member_functions) |
| 300 | (read_struct_type): Update. |
| 301 | |
| 302 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 303 | |
| 304 | * nat/linux-namespaces.c (linux_mntns_access_fs): Use SCOPE_EXIT. |
| 305 | * common/filestuff.h (make_cleanup_close): Don't declare. |
| 306 | * common/filestuff.c (do_close_cleanup, make_cleanup_close): |
| 307 | Remove. |
| 308 | |
| 309 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 310 | |
| 311 | * solib-aix.c: Use make_scope_exit. |
| 312 | |
| 313 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 314 | |
| 315 | * solib-svr4.c (svr4_parse_libraries, svr4_current_sos_direct): |
| 316 | Use make_scope_exit. |
| 317 | |
| 318 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 319 | |
| 320 | * solib-svr4.c (disable_probes_interface): Remove parameter. |
| 321 | (svr4_handle_solib_event): Use make_scope_exit. |
| 322 | |
| 323 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 324 | |
| 325 | * remote.c (struct stop_reply_deleter): Remove. |
| 326 | (stop_reply_up): Update. |
| 327 | (struct stop_reply): Derive from notif_event. Don't typedef. |
| 328 | <regcache>: Now a std::vector. |
| 329 | (stop_reply_xfree): Remove. |
| 330 | (stop_reply::~stop_reply): Rename from stop_reply_dtr. |
| 331 | (remote_notif_stop_alloc_reply): Return a unique_ptr. Use new. |
| 332 | (remote_target::discard_pending_stop_replies): Use delete. |
| 333 | (remote_target::remote_parse_stop_reply): Update. |
| 334 | (remote_target::process_stop_reply): Update. |
| 335 | * remote-notif.h (struct notif_event): Add virtual destructor. |
| 336 | Remove "dtr" member. |
| 337 | (struct notif_client) <alloc_event>: Return a unique_ptr. |
| 338 | (notif_event_xfree): Don't declare. |
| 339 | (notif_event_up): New typedef. |
| 340 | * remote-notif.c (remote_notif_ack, remote_notif_parse): Update. |
| 341 | (notif_event_xfree, do_notif_event_xfree): Remove. |
| 342 | (remote_notif_state_xfree): Update. |
| 343 | |
| 344 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 345 | |
| 346 | * infrun.c (displaced_step_clear_cleanup): Now a |
| 347 | forward_scope_exit type. |
| 348 | (displaced_step_prepare_throw): Update. |
| 349 | (displaced_step_fixup): Update. |
| 350 | |
| 351 | 2019-03-06 Tom Tromey <tom@tromey.com> |
| 352 | |
| 353 | * inferior.h (class inferior): Update comment. |
| 354 | * gdbthread.h (class thread_info): Update comment. |
| 355 | |
| 356 | 2019-03-06 Joel Brobecker <brobecker@adacore.com> |
| 357 | Tom Tromey <tom@tromey.com> |
| 358 | |
| 359 | * stabsread.h (struct stab_section_list): Remove. |
| 360 | (coffstab_build_psymtabs): Update. |
| 361 | * dbxread.c (symbuf_sections): Now a std::vector. |
| 362 | (sect_idx): New global. |
| 363 | (fill_symbuf): Update. |
| 364 | (coffstab_build_psymtabs): Change type of stabsects parameter. |
| 365 | Update. |
| 366 | * coffread.c (struct coff_symfile_info) <stabsects>: Now a |
| 367 | std::vector. |
| 368 | (linetab, linetab_offset, linetab_size, stringtab): Move earlier. |
| 369 | (coff_locate_sections): Update. |
| 370 | (coff_symfile_read): Remove cleanups. Update. |
| 371 | (init_stringtab): Add storage parameter. |
| 372 | (free_stringtab, free_stringtab_cleanup): Remove. |
| 373 | (init_lineno): Add storage parameter. |
| 374 | (free_linetab, free_linetab_cleanup): Remove. |
| 375 | |
| 376 | 2019-03-06 Pedro Alves <palves@redhat.com> |
| 377 | |
| 378 | * linux-fork.c (fork_info::clobber_regs): Delete. |
| 379 | (fork_load_infrun_state): Remove reference to 'clobber_regs'. |
| 380 | (fork_save_infrun_state): Remove 'clobber_regs' parameter. Update |
| 381 | comment. Adjust. |
| 382 | (scoped_switch_fork_info::scoped_switch_fork_info) |
| 383 | (checkpoint_command, linux_fork_context): Adjust |
| 384 | fork_save_infrun_state calls. |
| 385 | |
| 386 | 2019-03-06 Pedro Alves <palves@redhat.com> |
| 387 | |
| 388 | * linux-fork.c (inf_has_multiple_thread_cb): Delete. |
| 389 | (inf_has_multiple_threads): Return 'bool' and rewrite using |
| 390 | inferior_info::threads(). |
| 391 | |
| 392 | 2019-03-06 Pedro Alves <palves@redhat.com> |
| 393 | |
| 394 | * linux-fork.c: Include <list>. |
| 395 | (fork_list): Now a std::list instance. |
| 396 | (fork_info): Add ctor, dtor, and in-class initialize all fields. |
| 397 | (forks_exist_p, find_last_fork): Adjust. |
| 398 | (new_fork): Delete. |
| 399 | (one_fork_p): New. |
| 400 | (add_fork): Adjust. |
| 401 | (free_fork): Delete, folded into fork_info::~fork_info(). |
| 402 | (delete_fork, find_fork_ptid, find_fork_id, find_fork_pid): |
| 403 | Adjust. |
| 404 | (init_fork_list): Delete. |
| 405 | (linux_fork_killall, linux_fork_mourn_inferior) |
| 406 | (linux_fork_detach, info_checkpoints_command): Adjust. |
| 407 | (_initialize_linux_fork): No longer call init_fork_list. |
| 408 | |
| 409 | 2019-03-06 Pedro Alves <palves@redhat.com> |
| 410 | |
| 411 | * linux-fork.c (new_fork): New, split out of ... |
| 412 | (add_fork): ... this. Return void. Move "first fork" special |
| 413 | case from here, to ... |
| 414 | (checkpoint_command): ... here. |
| 415 | * linux-linux.h (add_fork): Return void. |
| 416 | |
| 417 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
| 418 | |
| 419 | * f-exp.y (direct_abs_decl): Handle TYPE*SIZE type names. |
| 420 | |
| 421 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
| 422 | Chris January <chris.january@arm.com> |
| 423 | David Lecomber <david.lecomber@arm.com> |
| 424 | |
| 425 | * f-exp.y: New token, UNOP_INTRINSIC. |
| 426 | (exp): New pattern using UNOP_INTRINSIC token. |
| 427 | (f77_keywords): Add 'abs' keyword. |
| 428 | * f-lang.c: Add 'target-float.h' and 'math.h' includes. |
| 429 | (value_from_host_double): New function. |
| 430 | (evaluate_subexp_f): Support UNOP_ABS. |
| 431 | |
| 432 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
| 433 | |
| 434 | * f-lang.c (build_fortran_types): Use TYPE_CODE_CHAR for character |
| 435 | types. |
| 436 | |
| 437 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
| 438 | |
| 439 | * f-exp.y (convert_to_kind_type): Handle integer (kind=8). |
| 440 | * f-lang.c (build_fortran_types): Setup builtin_integer_s8. |
| 441 | * f-lang.h (struct builtin_f_type): Add builtin_integer_s8 field. |
| 442 | |
| 443 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
| 444 | |
| 445 | * f-exp.y (convert_to_kind_type): Handle more type kinds. |
| 446 | |
| 447 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
| 448 | Chris January <chris.january@arm.com> |
| 449 | |
| 450 | * expprint.c (dump_subexp_body_standard): Support UNOP_KIND. |
| 451 | * f-exp.y: Define 'KIND' token. |
| 452 | (exp): New pattern for KIND expressions. |
| 453 | (ptype): Handle types with a kind extension. |
| 454 | (direct_abs_decl): Extend to spot kind extensions. |
| 455 | (f77_keywords): Add 'kind' to the list. |
| 456 | (push_kind_type): New function. |
| 457 | (convert_to_kind_type): New function. |
| 458 | * f-lang.c (evaluate_subexp_f): Support UNOP_KIND. |
| 459 | * parse.c (operator_length_standard): Likewise. |
| 460 | * parser-defs.h (enum type_pieces): Add tp_kind. |
| 461 | * std-operator.def: Add UNOP_KIND. |
| 462 | |
| 463 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
| 464 | |
| 465 | * f-exp.y (f_parse): Set yydebug. |
| 466 | |
| 467 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
| 468 | |
| 469 | * f-lang.c (evaluate_subexp_f): New function. |
| 470 | (exp_descriptor_f): New global. |
| 471 | (f_language_defn): Use exp_descriptor_f instead of |
| 472 | exp_descriptor_standard. |
| 473 | |
| 474 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
| 475 | |
| 476 | * f-exp.y (struct token): Add comments. |
| 477 | (dot_ops): Remove uppercase versions and the end marker. |
| 478 | (f77_keywords): Likewise. |
| 479 | (yylex): Use ARRAY_SIZE to iterate over dot_ops, assert all |
| 480 | entries in the dot_ops array are case insensitive, and use |
| 481 | strncasecmp to compare strings. Also some whitespace cleanup in |
| 482 | this area. Similar for the f77_keywords array, except entries in |
| 483 | this list might be case sensitive. |
| 484 | |
| 485 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
| 486 | |
| 487 | * f-exp.y (struct f77_boolean_val): Add comments. |
| 488 | (boolean_values): Remove uppercase versions, and end marker. |
| 489 | (yylex): Use ARRAY_SIZE for iterating over boolean_values array, |
| 490 | and use strncasecmp to achieve case insensitivity. Additionally, |
| 491 | perform whitespace cleanup around this code. |
| 492 | |
| 493 | 2019-03-06 Tom Tromey <tromey@adacore.com> |
| 494 | |
| 495 | * remote-sim.c (gdbsim_target_open): Use result of |
| 496 | gdb_argv::release. |
| 497 | |
| 498 | 2019-03-06 Richard Bunt <richard.bunt@arm.com> |
| 499 | Dirk Schubert <dirk.schubert@arm.com> |
| 500 | Chris January <chris.january@arm.com> |
| 501 | |
| 502 | * eval.c (evaluate_subexp_standard): Call Fortran argument |
| 503 | wrapping logic. |
| 504 | * f-lang.c (struct value): A value which can be passed into a |
| 505 | Fortran function call. |
| 506 | (fortran_argument_convert): Wrap Fortran arguments in a pointer |
| 507 | where appropriate. |
| 508 | (struct type): Value ready for a Fortran function call. |
| 509 | (fortran_preserve_arg_pointer): Undo check_typedef, the pointer |
| 510 | is needed. |
| 511 | * f-lang.h (fortran_argument_convert): Declaration. |
| 512 | (fortran_preserve_arg_pointer): Declaration. |
| 513 | * infcall.c (value_arg_coerce): Call Fortran argument logic. |
| 514 | |
| 515 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
| 516 | |
| 517 | * python/py-prettyprint.c (print_string_repr): Remove #if. |
| 518 | * python/py-utils.c (unicode_to_encoded_string): Remove #if. |
| 519 | |
| 520 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
| 521 | |
| 522 | * target.c (the_dummy_target): Move later. Change type to |
| 523 | "dummy_target". |
| 524 | (initialize_targets): Don't initialize the_dummy_target. |
| 525 | |
| 526 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
| 527 | |
| 528 | * gdb_bfd.c (gdb_bfd_fdopenr): Remove. |
| 529 | * gdb_bfd.h (gdb_bfd_fdopenr): Don't declare. |
| 530 | |
| 531 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
| 532 | |
| 533 | * windows-nat.c (windows_nat_target::attach) |
| 534 | (windows_nat_target::detach): Don't call gdb_flush. |
| 535 | * valprint.c (generic_val_print, val_print, val_print_string): |
| 536 | Don't call gdb_flush. |
| 537 | * utils.c (defaulted_query): Don't call gdb_flush. |
| 538 | * typeprint.c (print_type_scalar): Don't call gdb_flush. |
| 539 | * target.c (target_announce_detach): Don't call gdb_flush. |
| 540 | * sparc64-tdep.c (adi_print_versions): Don't call gdb_flush. |
| 541 | * remote.c (extended_remote_target::attach): Don't call |
| 542 | gdb_flush. |
| 543 | * procfs.c (procfs_target::detach): Don't call gdb_flush. |
| 544 | * printcmd.c (do_examine): Don't call gdb_flush. |
| 545 | (info_display_command): Don't call gdb_flush. |
| 546 | * p-valprint.c (pascal_val_print): Don't call gdb_flush. |
| 547 | * nto-procfs.c (nto_procfs_target::attach): Don't call gdb_flush. |
| 548 | * memattr.c (info_mem_command): Don't call gdb_flush. |
| 549 | * mdebugread.c (mdebug_build_psymtabs): Don't call gdb_flush. |
| 550 | * m2-valprint.c (m2_val_print): Don't call gdb_flush. |
| 551 | * infrun.c (follow_exec, handle_command): Don't call gdb_flush. |
| 552 | * inf-ptrace.c (inf_ptrace_target::attach): Don't call gdb_flush. |
| 553 | * hppa-tdep.c (unwind_command): Don't call gdb_flush. |
| 554 | * gnu-nat.c (gnu_nat_target::attach): Don't call gdb_flush. |
| 555 | (gnu_nat_target::detach): Don't call gdb_flush. |
| 556 | * f-valprint.c (f_val_print): Don't call gdb_flush. |
| 557 | * darwin-nat.c (darwin_nat_target::attach): Don't call gdb_flush. |
| 558 | * cli/cli-script.c (read_command_lines): Don't call gdb_flush. |
| 559 | * cli/cli-cmds.c (shell_escape, print_disassembly): Don't call |
| 560 | gdb_flush. |
| 561 | * c-valprint.c (c_val_print): Don't call gdb_flush. |
| 562 | * ada-valprint.c (ada_print_scalar): Don't call gdb_flush. |
| 563 | |
| 564 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
| 565 | |
| 566 | * varobj.c (update_dynamic_varobj_children): Update. |
| 567 | (install_default_visualizer): Use reset, not release. |
| 568 | * value.c (set_internalvar): Update. |
| 569 | * dwarf2loc.c (value_of_dwarf_reg_entry): Update. |
| 570 | * common/gdb_ref_ptr.h (class ref_ptr) <release>: Add |
| 571 | ATTRIBUTE_UNUSED_RESULT. |
| 572 | |
| 573 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
| 574 | |
| 575 | * remote.c (class scoped_remote_fd) <release>: Add |
| 576 | ATTRIBUTE_UNUSED_RESULT. |
| 577 | |
| 578 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
| 579 | |
| 580 | * macroexp.c (struct macro_buffer) <release>: Add |
| 581 | ATTRIBUTE_UNUSED_RESULT. |
| 582 | |
| 583 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
| 584 | |
| 585 | * nat/linux-btrace.c (linux_enable_bts, linux_enable_pt): Update. |
| 586 | * common/scoped_mmap.h (class scoped_mmap) <release>: Add |
| 587 | ATTRIBUTE_UNUSED_RESULT. |
| 588 | |
| 589 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
| 590 | |
| 591 | * common/scoped_fd.h (class scoped_fd) <release>: Add |
| 592 | ATTRIBUTE_UNUSED_RESULT. |
| 593 | |
| 594 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
| 595 | |
| 596 | * parser-defs.h (struct parser_state) <release>: Add |
| 597 | ATTRIBUTE_UNUSED_RESULT. |
| 598 | |
| 599 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
| 600 | |
| 601 | * utils.h (class gdb_argv) <release>: Add |
| 602 | ATTRIBUTE_UNUSED_RESULT. |
| 603 | * common/common-defs.h (ATTRIBUTE_UNUSED_RESULT): Define. |
| 604 | |
| 605 | 2019-03-02 Eli Zaretskii <eliz@gnu.org> |
| 606 | |
| 607 | * xml-syscall.c (xml_list_syscalls_by_group): Drop 'struct' from |
| 608 | for-loop range, to avoid compiler warnings. |
| 609 | |
| 610 | * tui/tui.c (tui_enable) [__MINGW32__]: Don't declare 'cap', to |
| 611 | avoid compiler warnings about unused variables. |
| 612 | |
| 613 | * NEWS: Mention end of support for native debugging on MS-Windows |
| 614 | before XP. |
| 615 | |
| 616 | PR gdb/24292 |
| 617 | * common/netstuff.c: |
| 618 | * gdbserver/gdbreplay.c |
| 619 | * gdbserver/remote-utils.c: |
| 620 | * ser-tcp.c: |
| 621 | * unittests/parse-connection-spec-selftests.c [USE_WIN32API]: |
| 622 | Include ws2tcpip.h instead of wsiapi.h and winsock2.h. Redefine |
| 623 | _WIN32_WINNT to 0x0501 if defined to a smaller value, as |
| 624 | 'getaddrinfo' and 'freeaddrinfo' were not available before |
| 625 | Windows XP, and mingw.org's MinGW headers by default define |
| 626 | _WIN32_WINNT to 0x500. |
| 627 | |
| 628 | 2019-03-01 Gary Benson <gbenson@redhat.com> |
| 629 | |
| 630 | * coffread.c (coff_start_symtab): Remove unnecessary xstrdup. |
| 631 | |
| 632 | 2019-02-28 Brian Vandenberg <phantall@gmail.com> |
| 633 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
| 634 | |
| 635 | PR gdb/8527 |
| 636 | * procfs.c (proc_wait_for_stop): Wrap write of PCWSTOP in |
| 637 | set_sigint_trap, clear_sigint_trap. |
| 638 | |
| 639 | 2019-02-27 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 640 | |
| 641 | * target.c (target_detach): Clear the regcache and the |
| 642 | frame cache. |
| 643 | |
| 644 | 2019-02-27 Pedro Alves <palves@redhat.com> |
| 645 | |
| 646 | * utils.c (set_screen_size): When we cap the height/width sizes, |
| 647 | tweak the corresponding command variable to show "unlimited": |
| 648 | |
| 649 | 2019-02-27 Saagar Jha <saagar@saagarjha.com> |
| 650 | Pedro Alves <palves@redhat.com> |
| 651 | |
| 652 | * utils.c (set_screen_size): Reduce "infinite" rows and columns |
| 653 | before calling rl_set_screen_size. |
| 654 | |
| 655 | 2019-02-27 Tom Tromey <tromey@adacore.com> |
| 656 | |
| 657 | * configure.ac (HAVE_LIBPYTHON2_4, HAVE_LIBPYTHON2_5): Never |
| 658 | define. |
| 659 | * python/py-value.c: Remove Python 2.4 workaround. |
| 660 | * python/py-utils.c (gdb_pymodule_addobject): Remove Python 2.4 |
| 661 | workaround. |
| 662 | * python/py-type.c (convert_field, gdbpy_initialize_types): Remove |
| 663 | Python 2.4 workaround. |
| 664 | * python/python-internal.h: Remove Python 2.4 comment. |
| 665 | (Py_ssize_t): Don't define. |
| 666 | (PyVarObject_HEAD_INIT, Py_TYPE): Don't define. |
| 667 | (gdb_Py_DECREF): Remove Python 2.4 workaround. |
| 668 | (gdb_PyObject_GetAttrString, PyObject_GetAttrString): Remove. |
| 669 | (gdb_PyObject_HasAttrString, PyObject_HasAttrString): Remove. |
| 670 | * python/python.c (do_start_initialization): Remove Python 2.4 |
| 671 | workaround. |
| 672 | * python/py-prettyprint.c (class dummy_python_frame): Remove. |
| 673 | (print_children): Remove Python 2.4 workaround. |
| 674 | * python/py-inferior.c (buffer_procs): Remove Python 2.4 |
| 675 | workaround. |
| 676 | (CHARBUFFERPROC_NAME): Remove. |
| 677 | * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Remove |
| 678 | Python 2.4 workaround. |
| 679 | |
| 680 | 2019-02-27 Kevin Buettner <kevinb@redhat.com> |
| 681 | |
| 682 | * NEWS: Note minimum Python version. |
| 683 | |
| 684 | 2019-02-27 Kevin Buettner <kevinb@redhat.com> |
| 685 | |
| 686 | * python/py-inferior.c (infpy_write_memory): Remove non-IS_PY3K |
| 687 | code from these functions. Remove corresponding ifdefs. Use |
| 688 | Py_buffer_up instead of explicit calls to PyBuffer_Release. |
| 689 | Remove gotos and target of gotos. |
| 690 | (infpy_search_memory): Likewise. |
| 691 | |
| 692 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 693 | |
| 694 | * gdb/hppa-tdep.c (hppa_dummy_id): Delete. |
| 695 | (hppa_gdbarch_init): Don't register deleted functions with |
| 696 | gdbarch. |
| 697 | |
| 698 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 699 | |
| 700 | * gdb/h8300-tdep.c (h8300_unwind_pc): Delete. |
| 701 | (h8300_unwind_sp): Delete. |
| 702 | (h8300_dummy_id): Delete. |
| 703 | (h8300_gdbarch_init): Don't register deleted functions with |
| 704 | gdbarch. |
| 705 | |
| 706 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 707 | |
| 708 | * gdb/ft32-tdep.c (ft32_dummy_id): Delete. |
| 709 | (ft32_unwind_pc): Delete. |
| 710 | (ft32_unwind_sp): Delete. |
| 711 | (ft32_gdbarch_init): Don't register deleted functions with |
| 712 | gdbarch. |
| 713 | |
| 714 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 715 | |
| 716 | * gdb/frv-tdep.c (frv_dummy_id): Delete. |
| 717 | (frv_unwind_pc): Delete. |
| 718 | (frv_unwind_sp): Delete. |
| 719 | (frv_gdbarch_init): Don't register deleted functions with |
| 720 | gdbarch. |
| 721 | |
| 722 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 723 | |
| 724 | * gdb/riscv-tdep.c (riscv_dummy_id): Delete. |
| 725 | (riscv_unwind_pc): Delete. |
| 726 | (riscv_unwind_sp): Delete. |
| 727 | (riscv_gdbarch_init): Don't register deleted functions with |
| 728 | gdbarch. |
| 729 | |
| 730 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 731 | |
| 732 | * gdb/csky-tdep.c (csky_dummy_id): Delete. |
| 733 | (csky_unwind_pc): Delete. |
| 734 | (csky_unwind_sp): Delete. |
| 735 | (csky_gdbarch_init): Don't register deleted functions with |
| 736 | gdbarch. |
| 737 | |
| 738 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 739 | |
| 740 | * gdb/cris-tdep.c (cris_dummy_id): Delete. |
| 741 | (cris_unwind_pc): Delete. |
| 742 | (cris_unwind_sp): Delete. |
| 743 | (cris_gdbarch_init): Don't register deleted functions with |
| 744 | gdbarch. |
| 745 | |
| 746 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 747 | |
| 748 | * gdb/bfin-tdep.c (bfin_dummy_id): Delete. |
| 749 | (bfin_unwind_pc): Delete. |
| 750 | (bfin_gdbarch_init): Don't register deleted functions with gdbarch. |
| 751 | |
| 752 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 753 | |
| 754 | * gdb/arm-tdep.c (arm_dummy_id): Delete. |
| 755 | (arm_unwind_pc): Delete. |
| 756 | (arm_unwind_sp): Delete. |
| 757 | (arm_gdbarch_init): Don't register deleted functions with gdbarch. |
| 758 | |
| 759 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 760 | |
| 761 | * gdb/arc-tdep.c (arc_dummy_id): Delete. |
| 762 | (arc_unwind_pc): Delete. |
| 763 | (arc_unwind_sp): Delete. |
| 764 | (arc_gdbarch_init): Don't register deleted functions with gdbarch. |
| 765 | |
| 766 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 767 | |
| 768 | * gdb/alpha-tdep.c (alpha_dummy_id): Delete. |
| 769 | (alpha_unwind_pc): Delete. |
| 770 | (alpha_gdbarch_init): Don't register deleted functions with |
| 771 | gdbarch. |
| 772 | |
| 773 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 774 | |
| 775 | * gdb/aarch64-tdep.c (aarch64_dummy_id): Delete. |
| 776 | (aarch64_unwind_pc): Delete. |
| 777 | (aarch64_unwind_sp): Delete. |
| 778 | (aarch64_gdbarch_init): Don't register deleted functions with |
| 779 | gdbarch. |
| 780 | |
| 781 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 782 | |
| 783 | * gdbtypes.c (type_align): Don't consider static members when |
| 784 | computing structure alignment. |
| 785 | |
| 786 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
| 787 | |
| 788 | * arc-tdep.c (arc_type_align): Provide alignment for basic types, |
| 789 | return 0 for other types. |
| 790 | * arch-utils.c (default_type_align): Always return 0. |
| 791 | * gdbarch.h: Regenerate. |
| 792 | * gdbarch.sh (type_align): Extend comment. |
| 793 | * gdbtypes.c (type_align): Add additional comments, always call |
| 794 | gdbarch_type_align before applying the default rules. |
| 795 | * i386-tdep.c (i386_type_align): Return 0 as the default rule, |
| 796 | generic code will then apply a suitable default. |
| 797 | * nios2-tdep.c (nios2_type_align): Provide alignment for basic |
| 798 | types, return 0 for other types. |
| 799 | |
| 800 | 2019-02-27 Joel Brobecker <brobecker@adacore.com> |
| 801 | |
| 802 | * NEWS: Create a new section for the next release branch. |
| 803 | Rename the section of the current branch, now that it has |
| 804 | been cut. |
| 805 | |
| 806 | 2019-02-27 Joel Brobecker <brobecker@adacore.com> |
| 807 | |
| 808 | GDB 8.3 branch created (143420fb0d5ae54323ba9953f0818c194635228d): |
| 809 | * version.in: Bump version to 8.3.50.DATE-git. |
| 810 | |
| 811 | 2019-02-26 Simon Marchi <simon.marchi@efficios.com> |
| 812 | |
| 813 | * aix-thread.c (ptid_cmp): Remove unused variable. |
| 814 | (get_signaled_thread): Likewise. |
| 815 | (store_regs_user_thread): Likewise. |
| 816 | (store_regs_kernel_thread): Likewise. |
| 817 | (fetch_regs_kernel_thread): Remove shadowed variable. |
| 818 | |
| 819 | 2019-02-26 Andrew Burgess <andrew.burgess@embecosm.com> |
| 820 | |
| 821 | * features/riscv/32bit-cpu.xml: Add register numbers. |
| 822 | * features/riscv/32bit-fpu.c: Regenerate. |
| 823 | * features/riscv/32bit-fpu.xml: Add register numbers. |
| 824 | * features/riscv/64bit-cpu.xml: Add register numbers. |
| 825 | * features/riscv/64bit-fpu.c: Regenerate. |
| 826 | * features/riscv/64bit-fpu.xml: Add register numbers. |
| 827 | |
| 828 | 2019-02-26 Kevin Buettner <kevinb@redhat.com> |
| 829 | |
| 830 | * NEWS: Mention two argument form of gdb.Value constructor. |
| 831 | * python/py-value.c (convert_buffer_and_type_to_value): New |
| 832 | function. |
| 833 | (valpy_new): Parse arguments via gdb_PyArg_ParseTupleAndKeywords. |
| 834 | Add support for handling an optional second argument. Call |
| 835 | convert_buffer_and_type_to_value as appropriate. |
| 836 | * python/python-internal.h (Py_buffer_deleter): New struct. |
| 837 | (Py_buffer_up): New typedef. |
| 838 | |
| 839 | 2019-02-25 John Baldwin <jhb@FreeBSD.org> |
| 840 | |
| 841 | * dwarf2read.c (dwarf2_get_dwz_file): Reset dwz_bfd to nullptr |
| 842 | instead of releasing ownership. |
| 843 | |
| 844 | 2019-02-25 Jordan Rupprecht <rupprecht@google.com> |
| 845 | |
| 846 | * dwarf2read.c (open_and_init_dwp_file): Call |
| 847 | elf_numsections instead of bfd_count_sections to initialize |
| 848 | dwp_file->num_sections. |
| 849 | |
| 850 | 2019-02-25 Tom Tromey <tromey@adacore.com> |
| 851 | |
| 852 | * solib-darwin.c (darwin_get_dyld_bfd): Don't release dyld_bfd. |
| 853 | |
| 854 | 2019-02-23 Sergio Durigan Junior <sergiodj@redhat.com> |
| 855 | |
| 856 | * gcore.in: Add '--readnever' option when invoking GDB. |
| 857 | |
| 858 | 2019-02-22 Simon Marchi <simon.marchi@polymtl.ca> |
| 859 | |
| 860 | * MAINTAINERS: Update my email address. |
| 861 | |
| 862 | 2019-02-22 Simon Marchi <simon.marchi@polymtl.ca> |
| 863 | |
| 864 | * build-id.c (build_id_to_debug_bfd_1): New function. |
| 865 | (build_id_to_debug_bfd): Look for separate debug file in |
| 866 | sysroot. |
| 867 | |
| 868 | 2019-02-22 Andrew Burgess <andrew.burgess@embecosm.com> |
| 869 | |
| 870 | * gdbarch.sh: Update the copyright year range that is placed into |
| 871 | generated files. |
| 872 | |
| 873 | 2019-02-22 Keith Seitz <keiths@redhat.com> |
| 874 | |
| 875 | PR symtab/23853 |
| 876 | * linespec.c (create_sals_line_offset): Search for the default |
| 877 | symtab's filename instead of its fullname. |
| 878 | |
| 879 | 2019-02-21 Alan Hayward <alan.hayward@arm.com> |
| 880 | |
| 881 | * NEWS: Update style defaults. |
| 882 | |
| 883 | 2019-02-21 Alan Hayward <alan.hayward@arm.com> |
| 884 | |
| 885 | * main.c (captured_main_1): Disable styling in batch mode. |
| 886 | |
| 887 | 2019-02-20 Tom Tromey <tom@tromey.com> |
| 888 | |
| 889 | * symtab.c (symtab_symbol_info): Fix typos. |
| 890 | |
| 891 | 2019-02-20 Tom Tromey <tromey@adacore.com> |
| 892 | |
| 893 | * findcmd.c (_initialize_mem_search): Use upper case for |
| 894 | metasyntactic variables. |
| 895 | |
| 896 | 2019-02-20 Alan Hayward <alan.hayward@arm.com> |
| 897 | |
| 898 | * aarch64-tdep.c (aarch64_add_reggroups): New function. |
| 899 | (aarch64_gdbarch_init): Call aarch64_add_reggroups. |
| 900 | |
| 901 | 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca> |
| 902 | |
| 903 | * top.h (source_file_name): Change to std::string. |
| 904 | * top.c (source_file_name): Likewise. |
| 905 | (command_line_input): Adjust. |
| 906 | * cli/cli-script.c (script_from_file): Adjust. |
| 907 | |
| 908 | 2019-02-19 Tom Tromey <tromey@adacore.com> |
| 909 | |
| 910 | * ravenscar-thread.c |
| 911 | (ravenscar_thread_target::update_thread_list): Don't call |
| 912 | ada_build_task_list. |
| 913 | * ada-lang.h (ada_build_task_list): Don't declare. |
| 914 | * ada-tasks.c (struct ada_tasks_inferior_data) |
| 915 | <task_list_valid_p>: Now bool. |
| 916 | (read_known_tasks, ada_task_list_changed) |
| 917 | (ada_tasks_invalidate_inferior_data): Update. |
| 918 | (read_known_tasks_array): Return bool. |
| 919 | (read_known_tasks_list): Likewise. |
| 920 | (read_known_tasks): Return void. |
| 921 | (ada_build_task_list): Now static. |
| 922 | |
| 923 | 2019-02-18 Andrew Burgess <andrew.burgess@embecosm.com> |
| 924 | |
| 925 | * gdbtypes.c (type_align): Allow alignment of TYPE_CODE_METHODPTR |
| 926 | and TYPE_CODE_MEMBERPTR to be overridden by the gdbarch. |
| 927 | |
| 928 | 2019-02-18 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 929 | |
| 930 | * ada-task.c (_initialize_tasks): Use 'with_cleanup' register |
| 931 | variant for ada_tasks_pspace_data_handle and |
| 932 | ada_tasks_inferior_data_handle. |
| 933 | (ada_tasks_pspace_data_cleanup): New function. |
| 934 | (ada_tasks_inferior_data_cleanup): New function. |
| 935 | |
| 936 | 2019-02-17 Tom Tromey <tom@tromey.com> |
| 937 | |
| 938 | * macrotab.h (macro_source_fullname): Return a std::string. |
| 939 | * macrotab.c (macro_include, check_for_redefinition) |
| 940 | (macro_undef, macro_lookup_definition, foreach_macro) |
| 941 | (foreach_macro_in_scope): Update. |
| 942 | (macro_source_fullname): Return a std::string. |
| 943 | * macrocmd.c (show_pp_source_pos): Update. |
| 944 | |
| 945 | 2019-02-17 Tom Tromey <tom@tromey.com> |
| 946 | |
| 947 | * macrocmd.c (show_pp_source_pos): Style the file names. |
| 948 | |
| 949 | 2019-02-17 Tom Tromey <tom@tromey.com> |
| 950 | |
| 951 | PR tui/24197: |
| 952 | * tui/tui-source.c (tui_set_source_content_nil): Rewrite. |
| 953 | |
| 954 | 2019-02-17 Tom Tromey <tom@tromey.com> |
| 955 | |
| 956 | * ada-lang.c (user_select_syms): Use filtered printing. |
| 957 | * utils.c (wrap_style): New global. |
| 958 | (desired_style): Remove. |
| 959 | (emit_style_escape): Add stream parameter. |
| 960 | (set_output_style, reset_terminal_style, prompt_for_continue): |
| 961 | Update. |
| 962 | (flush_wrap_buffer): Only flush gdb_stdout. |
| 963 | (wrap_here): Set wrap_style. |
| 964 | (fputs_maybe_filtered): Clear the wrap buffer on exception. Don't |
| 965 | treat escape sequences as a character. Change when wrap buffer is |
| 966 | flushed. |
| 967 | (fputs_styled): Do not set the output style when the default is |
| 968 | requested. |
| 969 | * ui-style.h (struct ui_file_style) <is_default>: New method. |
| 970 | * source.c (print_source_lines_base): Emit escape sequences in one |
| 971 | piece. |
| 972 | |
| 973 | 2019-02-17 Joel Brobecker <brobecker@adacore.com> |
| 974 | |
| 975 | * gdbtypes.c (type_align): Handle TYPE_CODE_RANGE the same as |
| 976 | integers and enumeration types. |
| 977 | |
| 978 | 2019-02-17 Joel Brobecker <brobecker@adacore.com> |
| 979 | |
| 980 | * ada-lang.c (standard_lookup): Use ada_lookup_encoded_symbol |
| 981 | instead of lookup_symbol_in_language |
| 982 | (do_exact_match): New function. |
| 983 | (ada_get_symbol_name_matcher): Return do_exact_match when |
| 984 | doing a verbatim match. |
| 985 | |
| 986 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
| 987 | |
| 988 | * ravenscar-thread.c (ravenscar_thread_target::resume) |
| 989 | (ravenscar_thread_target::wait): Special case wildcard requests. |
| 990 | |
| 991 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
| 992 | |
| 993 | * ravenscar-thread.c (base_ptid): Remove. |
| 994 | (struct ravenscar_thread_target) <close>: New method. |
| 995 | <m_base_ptid>: New member. |
| 996 | <update_inferior_ptid, active_task, task_is_currently_active, |
| 997 | runtime_initialized>: Declare methods. |
| 998 | <ravenscar_thread_target>: Add constructor. |
| 999 | (ravenscar_thread_target::task_is_currently_active) |
| 1000 | (ravenscar_thread_target::update_inferior_ptid) |
| 1001 | (ravenscar_runtime_initialized): Rename. Now methods. |
| 1002 | (ravenscar_thread_target::resume, ravenscar_thread_target::wait) |
| 1003 | (ravenscar_thread_target::update_thread_list): Update. |
| 1004 | (ravenscar_thread_target::active_task): Now method. |
| 1005 | (ravenscar_thread_target::store_registers) |
| 1006 | (ravenscar_thread_target::prepare_to_store) |
| 1007 | (ravenscar_thread_target::prepare_to_store) |
| 1008 | (ravenscar_thread_target::mourn_inferior): Update. |
| 1009 | (ravenscar_inferior_created): Use "new" to create target. |
| 1010 | (ravenscar_thread_target::get_ada_task_ptid): Update. |
| 1011 | (_initialize_ravenscar): Don't initialize base_ptid. |
| 1012 | (ravenscar_ops): Remove global. |
| 1013 | |
| 1014 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
| 1015 | |
| 1016 | * target.h (push_target): Declare new overload. |
| 1017 | * target.c (push_target): New overload, taking an rvalue reference. |
| 1018 | * remote.c (remote_target::open_1): Use push_target overload. |
| 1019 | * corelow.c (core_target_open): Use push_target overload. |
| 1020 | |
| 1021 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
| 1022 | |
| 1023 | * ravenscar-thread.c (is_ravenscar_task) |
| 1024 | (ravenscar_task_is_currently_active): Return bool. |
| 1025 | (ravenscar_update_inferior_ptid, get_running_thread_msymbol) |
| 1026 | (_initialize_ravenscar): Remove "(void)". |
| 1027 | (has_ravenscar_runtime, ravenscar_runtime_initialized): Likewise. |
| 1028 | Return bool. |
| 1029 | |
| 1030 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
| 1031 | |
| 1032 | * ravenscar-thread.c (ravenscar_runtime_initializer) |
| 1033 | (has_ravenscar_runtime, get_running_thread_id) |
| 1034 | (ravenscar_thread_target::resume): Fix indentation. |
| 1035 | |
| 1036 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
| 1037 | |
| 1038 | * sparc-ravenscar-thread.c (struct sparc_ravenscar_ops): Derive |
| 1039 | from ravenscar_arch_ops. |
| 1040 | (sparc_ravenscar_ops::fetch_registers) |
| 1041 | (sparc_ravenscar_ops::store_registers): Now methods. |
| 1042 | (sparc_ravenscar_prepare_to_store): Remove. |
| 1043 | (sparc_ravenscar_ops): Redefine. |
| 1044 | * ravenscar-thread.h (struct ravenscar_arch_ops): Add virtual |
| 1045 | methods and destructor. Remove members. |
| 1046 | * ravenscar-thread.c (ravenscar_thread_target::fetch_registers) |
| 1047 | (ravenscar_thread_target::store_registers) |
| 1048 | (ravenscar_thread_target::prepare_to_store): Update. |
| 1049 | * ppc-ravenscar-thread.c (ppc_ravenscar_generic_prepare_to_store): |
| 1050 | Remove. |
| 1051 | (struct ppc_ravenscar_powerpc_ops): Derive from |
| 1052 | ravenscar_arch_ops. |
| 1053 | (ppc_ravenscar_powerpc_ops::fetch_registers) |
| 1054 | (ppc_ravenscar_powerpc_ops::store_registers): Now methods. |
| 1055 | (ppc_ravenscar_powerpc_ops): Redefine. |
| 1056 | (struct ppc_ravenscar_e500_ops): Derive from ravenscar_arch_ops. |
| 1057 | (ppc_ravenscar_e500_ops::fetch_registers) |
| 1058 | (ppc_ravenscar_e500_ops::store_registers): Now methods. |
| 1059 | (ppc_ravenscar_e500_ops): Redefine. |
| 1060 | * aarch64-ravenscar-thread.c |
| 1061 | (aarch64_ravenscar_generic_prepare_to_store): Remove. |
| 1062 | (struct aarch64_ravenscar_ops): Derive from ravenscar_arch_ops. |
| 1063 | (aarch64_ravenscar_fetch_registers) |
| 1064 | (aarch64_ravenscar_store_registers): Now methods. |
| 1065 | (aarch64_ravenscar_ops): Redefine. |
| 1066 | |
| 1067 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
| 1068 | |
| 1069 | * ravenscar-thread.c (ravenscar_thread_target::stopped_by_sw_breakpoint) |
| 1070 | (ravenscar_thread_target::stopped_by_hw_breakpoint) |
| 1071 | (ravenscar_thread_target::stopped_by_watchpoint) |
| 1072 | (ravenscar_thread_target::stopped_data_address) |
| 1073 | (ravenscar_thread_target::core_of_thread): Use scoped_restore. |
| 1074 | |
| 1075 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
| 1076 | |
| 1077 | * ravenscar-thread.c: Fix some typos. |
| 1078 | |
| 1079 | 2019-02-15 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 1080 | Tom Tromey <tromey@adacore.com> |
| 1081 | |
| 1082 | * ada-lang.c (ada_exception_sal): Change addr_string to a |
| 1083 | std::string. |
| 1084 | (create_ada_exception_catchpoint): Update. |
| 1085 | |
| 1086 | 2019-02-15 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 1087 | Tom Tromey <tromey@adacore.com> |
| 1088 | |
| 1089 | * breakpoint.c (~bp_location): Rename from bp_location_dtor. |
| 1090 | (bp_location_ops): Remove. |
| 1091 | (base_breakpoint_allocate_location): Update. |
| 1092 | (free_bp_location): Update. |
| 1093 | * ada-lang.c (class ada_catchpoint_location) |
| 1094 | <ada_catchpoint_location>: Remove ops parameter. |
| 1095 | (ada_catchpoint_location_dtor): Remove. |
| 1096 | (ada_catchpoint_location_ops): Remove. |
| 1097 | (allocate_location_exception): Update. |
| 1098 | * breakpoint.h (struct bp_location_ops): Remove. |
| 1099 | (class bp_location) <bp_location>: Remove bp_location_ops |
| 1100 | parameter. |
| 1101 | <~bp_location>: Add destructor. |
| 1102 | <ops>: Remove. |
| 1103 | |
| 1104 | 2019-02-14 Thomas Schwinge <thomas@codesourcery.com> |
| 1105 | Pedro Alves <palves@redhat.com> |
| 1106 | |
| 1107 | * remote.c (remote_target::remote_parse_stop_reply): Avoid using |
| 1108 | 'PATH_MAX'. |
| 1109 | |
| 1110 | 2019-02-14 David Michael <fedora.dm0@gmail.com> |
| 1111 | Samuel Thibault <samuel.thibault@gnu.org> |
| 1112 | Thomas Schwinge <thomas@codesourcery.com> |
| 1113 | |
| 1114 | * gnu-nat.c (S_proc_getmsgport_reply, S_proc_task2proc_reply) |
| 1115 | (S_proc_pid2proc_reply): Adjust to Hurd "proc" interface changes. |
| 1116 | |
| 1117 | 2019-02-14 Thomas Schwinge <thomas@codesourcery.com> |
| 1118 | |
| 1119 | * gnu-nat.c (gnu_write_inferior, parse_int_arg, _parse_bool_arg) |
| 1120 | (check_empty): Use "const char *". |
| 1121 | |
| 1122 | * gnu-nat.c (gnu_nat_target::detach): Instead of |
| 1123 | 'detach_inferior (pid)' call |
| 1124 | 'detach_inferior (find_inferior_pid (pid))'. |
| 1125 | |
| 1126 | * configure.nat [gdb_host == i386gnu] (NATDEPFILES): Add |
| 1127 | 'nat/fork-inferior.o'. |
| 1128 | * gnu-nat.c: #include "nat/fork-inferior.h". |
| 1129 | |
| 1130 | * gnu-nat.c (gnu_nat_target::detach): Instead of |
| 1131 | 'inf_child_maybe_unpush_target (ops)' call 'maybe_unpush_target'. |
| 1132 | * gnu-nat.h: #include "inf-child.h". |
| 1133 | * i386-gnu-nat.c (gnu_fetch_registers): Rename/move to |
| 1134 | 'i386_gnu_nat_target::fetch_registers'. |
| 1135 | (gnu_store_registers): Rename/move to |
| 1136 | 'i386_gnu_nat_target::store_registers'. |
| 1137 | |
| 1138 | * config/i386/nm-i386gnu.h: Don't "#include" any files. |
| 1139 | * gnu-nat.h (mach_thread_info): New function. |
| 1140 | * gnu-nat.c (thread_takeover_sc_cmd): Use it. |
| 1141 | |
| 1142 | * config/i386/nm-i386gnu.h (gnu_target_pid_to_str): Remove. |
| 1143 | |
| 1144 | 2019-02-14 Frederic Konrad <konrad@adacore.com> |
| 1145 | |
| 1146 | * riscv-rdep.c (riscv_type_alignment): Handle TYPE_CODE_RANGE. |
| 1147 | |
| 1148 | 2019-02-14 Joel Brobecker <brobecker@adacore.com> |
| 1149 | |
| 1150 | * windows-nat.c (windows_add_thread): Add new parameter |
| 1151 | "main_thread_p" with default value set to false. Update |
| 1152 | function documentation as well as all callers. |
| 1153 | (windows_delete_thread): Likewise. |
| 1154 | (fake_create_process): Update call to windows_add_thread. |
| 1155 | (get_windows_debug_event) <CREATE_THREAD_DEBUG_EVENT> |
| 1156 | <CREATE_PROCESS_DEBUG_EVENT>: Likewise. |
| 1157 | <EXIT_THREAD_DEBUG_EVENT, EXIT_PROCESS_DEBUG_EVENT>: Update |
| 1158 | call to windows_delete_thread. |
| 1159 | |
| 1160 | 2019-02-13 Simon Marchi <simon.marchi@ericsson.com> |
| 1161 | |
| 1162 | * MAINTAINERS: Add Andrew Burgess as global maintainer. |
| 1163 | |
| 1164 | 2019-02-12 John Baldwin <jhb@FreeBSD.org> |
| 1165 | |
| 1166 | * symfile.c (find_separate_debug_file): Use canonical path of |
| 1167 | sysroot with child_path instead of gdb_sysroot if it is valid. |
| 1168 | |
| 1169 | 2019-02-12 John Baldwin <jhb@FreeBSD.org> |
| 1170 | |
| 1171 | * symfile.c (find_separate_debug_file): Use child_path to |
| 1172 | determine if an object file is under a sysroot. |
| 1173 | |
| 1174 | 2019-02-12 John Baldwin <jhb@FreeBSD.org> |
| 1175 | |
| 1176 | * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add |
| 1177 | unittests/child-path-selftests.c. |
| 1178 | * common/pathstuff.c (child_path): New function. |
| 1179 | * common/pathstuff.h (child_path): New prototype. |
| 1180 | * unittests/child-path-selftests.c: New file. |
| 1181 | |
| 1182 | 2019-02-12 John Baldwin <jhb@FreeBSD.org> |
| 1183 | |
| 1184 | * symfile.c (find_separate_debug_file): Look for separate debug |
| 1185 | files in debug directories under the sysroot. |
| 1186 | |
| 1187 | 2019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 1188 | |
| 1189 | * symtab.h (struct minimal_symbol data_p): New const method. |
| 1190 | (struct minimal_symbol text_p): Likewise. |
| 1191 | * symtab.c (output_source_filename): Use file name style |
| 1192 | to print file name. |
| 1193 | (print_symbol_info): Likewise. |
| 1194 | (print_msymbol_info): Use address style to print addresses. |
| 1195 | Use function name style to print executable text symbols. |
| 1196 | (expand_symtab_containing_pc): Use data_p. |
| 1197 | (find_pc_sect_compunit_symtab): Likewise. |
| 1198 | |
| 1199 | 2019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 1200 | |
| 1201 | * breakpoint.c (describe_other_breakpoints): Use address style |
| 1202 | to print addresses. |
| 1203 | (say_where): Likewise. |
| 1204 | |
| 1205 | 2019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 1206 | |
| 1207 | * ada-typeprint.c (print_func_type): Print function name |
| 1208 | style to print function name. |
| 1209 | * c-typeprint.c (c_print_type_1): Likewise. |
| 1210 | |
| 1211 | 2019-02-11 Alan Hayward <alan.hayward@arm.com> |
| 1212 | |
| 1213 | * aarch64-linux-tdep.c (aarch64_linux_get_syscall_number): Check |
| 1214 | for execve. |
| 1215 | |
| 1216 | 2019-02-10 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 1217 | |
| 1218 | * c-exp.y (direct_abs_decl): Use emplace_back to record the |
| 1219 | type_stack. |
| 1220 | |
| 1221 | 2019-02-10 Joel Brobecker <brobecker@adacore.com> |
| 1222 | |
| 1223 | * ada-varobj.c (ada_value_is_changeable_p): Add handling of |
| 1224 | TYPE_CODE_REF types. |
| 1225 | |
| 1226 | 2019-02-08 Jim Wilson <jimw@sifive.com> |
| 1227 | |
| 1228 | * riscv-linux-tdep.c (riscv_linux_fregmap): New. |
| 1229 | (riscv_linux_fregset): New. |
| 1230 | (riscv_linux_iterate_over_regset_sections): Call cb for .reg2 section. |
| 1231 | |
| 1232 | 2019-02-07 Tom Tromey <tom@tromey.com> |
| 1233 | |
| 1234 | * thread.c (thread_cancel_execution_command): Update. |
| 1235 | * thread-fsm.h (struct thread_fsm): Add constructor, destructor, |
| 1236 | methods. |
| 1237 | (struct thread_fsm_ops): Remove. |
| 1238 | (thread_fsm_ctor, thread_fsm_delete, thread_fsm_clean_up) |
| 1239 | (thread_fsm_should_stop, thread_fsm_return_value) |
| 1240 | (thread_fsm_set_finished, thread_fsm_finished_p) |
| 1241 | (thread_fsm_async_reply_reason, thread_fsm_should_notify_stop): |
| 1242 | Don't declare. |
| 1243 | * mi/mi-interp.c (mi_on_normal_stop_1): Update. |
| 1244 | * infrun.c (clear_proceed_status_thread) |
| 1245 | (clean_up_just_stopped_threads_fsms, fetch_inferior_event) |
| 1246 | (print_stop_event): Update. |
| 1247 | * infcmd.c (struct step_command_fsm): Inherit from thread_fsm. |
| 1248 | Add constructor. |
| 1249 | (step_command_fsm_ops): Remove. |
| 1250 | (new_step_command_fsm): Remove. |
| 1251 | (step_1): Update. |
| 1252 | (step_command_fsm::should_stop): Rename from |
| 1253 | step_command_fsm_should_stop. |
| 1254 | (step_command_fsm::clean_up): Rename from |
| 1255 | step_command_fsm_clean_up. |
| 1256 | (step_command_fsm::do_async_reply_reason): Rename from |
| 1257 | step_command_fsm_async_reply_reason. |
| 1258 | (struct until_next_fsm): Inherit from thread_fsm. Add |
| 1259 | constructor. |
| 1260 | (until_next_fsm_ops): Remove. |
| 1261 | (new_until_next_fsm): Remove. |
| 1262 | (until_next_fsm::should_stop): Rename from |
| 1263 | until_next_fsm_should_stop. |
| 1264 | (until_next_fsm::clean_up): Rename from until_next_fsm_clean_up. |
| 1265 | (until_next_fsm::do_async_reply_reason): Rename from |
| 1266 | until_next_fsm_async_reply_reason. |
| 1267 | (struct finish_command_fsm): Inherit from thread_fsm. Add |
| 1268 | constructor. Change type of breakpoint. |
| 1269 | (finish_command_fsm_ops): Remove. |
| 1270 | (new_finish_command_fsm): Remove. |
| 1271 | (finish_command_fsm::should_stop): Rename from |
| 1272 | finish_command_fsm_should_stop. |
| 1273 | (finish_command_fsm::clean_up): Rename from |
| 1274 | finish_command_fsm_clean_up. |
| 1275 | (finish_command_fsm::return_value): Rename from |
| 1276 | finish_command_fsm_return_value. |
| 1277 | (finish_command_fsm::do_async_reply_reason): Rename from |
| 1278 | finish_command_fsm_async_reply_reason. |
| 1279 | (finish_command): Update. |
| 1280 | * infcall.c (struct call_thread_fsm): Inherit from thread_fsm. |
| 1281 | Add constructor. |
| 1282 | (call_thread_fsm_ops): Remove. |
| 1283 | (call_thread_fsm::call_thread_fsm): Rename from |
| 1284 | new_call_thread_fsm. |
| 1285 | (call_thread_fsm::should_stop): Rename from |
| 1286 | call_thread_fsm_should_stop. |
| 1287 | (call_thread_fsm::should_notify_stop): Rename from |
| 1288 | call_thread_fsm_should_notify_stop. |
| 1289 | (run_inferior_call, call_function_by_hand_dummy): Update. |
| 1290 | * cli/cli-interp.c (should_print_stop_to_console): Update. |
| 1291 | * breakpoint.c (struct until_break_fsm): Inherit from thread_fsm. |
| 1292 | Add constructor. Change type of location_breakpoint, |
| 1293 | caller_breakpoint. |
| 1294 | (until_break_fsm_ops): Remove. |
| 1295 | (new_until_break_fsm): Remove. |
| 1296 | (until_break_fsm::should_stop): Rename from |
| 1297 | until_break_fsm_should_stop. |
| 1298 | (until_break_fsm::clean_up): Rename from |
| 1299 | until_break_fsm_clean_up. |
| 1300 | (until_break_fsm::do_async_reply_reason): Rename from |
| 1301 | until_break_fsm_async_reply_reason. |
| 1302 | (until_break_command): Update. |
| 1303 | * thread-fsm.c: Remove. |
| 1304 | * Makefile.in (COMMON_SFILES): Remove thread-fsm.c. |
| 1305 | |
| 1306 | 2019-02-07 Tom Tromey <tom@tromey.com> |
| 1307 | |
| 1308 | * yy-remap.h: Add include guard. |
| 1309 | * xtensa-tdep.h: Add include guard. |
| 1310 | * xcoffread.h: Rename include guard. |
| 1311 | * varobj-iter.h: Add include guard. |
| 1312 | * tui/tui.h: Rename include guard. |
| 1313 | * tui/tui-winsource.h: Rename include guard. |
| 1314 | * tui/tui-wingeneral.h: Rename include guard. |
| 1315 | * tui/tui-windata.h: Rename include guard. |
| 1316 | * tui/tui-win.h: Rename include guard. |
| 1317 | * tui/tui-stack.h: Rename include guard. |
| 1318 | * tui/tui-source.h: Rename include guard. |
| 1319 | * tui/tui-regs.h: Rename include guard. |
| 1320 | * tui/tui-out.h: Rename include guard. |
| 1321 | * tui/tui-layout.h: Rename include guard. |
| 1322 | * tui/tui-io.h: Rename include guard. |
| 1323 | * tui/tui-hooks.h: Rename include guard. |
| 1324 | * tui/tui-file.h: Rename include guard. |
| 1325 | * tui/tui-disasm.h: Rename include guard. |
| 1326 | * tui/tui-data.h: Rename include guard. |
| 1327 | * tui/tui-command.h: Rename include guard. |
| 1328 | * tic6x-tdep.h: Add include guard. |
| 1329 | * target/waitstatus.h: Rename include guard. |
| 1330 | * target/wait.h: Rename include guard. |
| 1331 | * target/target.h: Rename include guard. |
| 1332 | * target/resume.h: Rename include guard. |
| 1333 | * target-float.h: Rename include guard. |
| 1334 | * stabsread.h: Add include guard. |
| 1335 | * rs6000-tdep.h: Add include guard. |
| 1336 | * riscv-fbsd-tdep.h: Add include guard. |
| 1337 | * regformats/regdef.h: Rename include guard. |
| 1338 | * record.h: Rename include guard. |
| 1339 | * python/python.h: Rename include guard. |
| 1340 | * python/python-internal.h: Rename include guard. |
| 1341 | * python/py-stopevent.h: Rename include guard. |
| 1342 | * python/py-ref.h: Rename include guard. |
| 1343 | * python/py-record.h: Rename include guard. |
| 1344 | * python/py-record-full.h: Rename include guard. |
| 1345 | * python/py-record-btrace.h: Rename include guard. |
| 1346 | * python/py-instruction.h: Rename include guard. |
| 1347 | * python/py-events.h: Rename include guard. |
| 1348 | * python/py-event.h: Rename include guard. |
| 1349 | * procfs.h: Add include guard. |
| 1350 | * proc-utils.h: Add include guard. |
| 1351 | * p-lang.h: Add include guard. |
| 1352 | * or1k-tdep.h: Rename include guard. |
| 1353 | * observable.h: Rename include guard. |
| 1354 | * nto-tdep.h: Rename include guard. |
| 1355 | * nat/x86-linux.h: Rename include guard. |
| 1356 | * nat/x86-linux-dregs.h: Rename include guard. |
| 1357 | * nat/x86-gcc-cpuid.h: Add include guard. |
| 1358 | * nat/x86-dregs.h: Rename include guard. |
| 1359 | * nat/x86-cpuid.h: Rename include guard. |
| 1360 | * nat/ppc-linux.h: Rename include guard. |
| 1361 | * nat/mips-linux-watch.h: Rename include guard. |
| 1362 | * nat/linux-waitpid.h: Rename include guard. |
| 1363 | * nat/linux-ptrace.h: Rename include guard. |
| 1364 | * nat/linux-procfs.h: Rename include guard. |
| 1365 | * nat/linux-osdata.h: Rename include guard. |
| 1366 | * nat/linux-nat.h: Rename include guard. |
| 1367 | * nat/linux-namespaces.h: Rename include guard. |
| 1368 | * nat/linux-btrace.h: Rename include guard. |
| 1369 | * nat/glibc_thread_db.h: Rename include guard. |
| 1370 | * nat/gdb_thread_db.h: Rename include guard. |
| 1371 | * nat/gdb_ptrace.h: Rename include guard. |
| 1372 | * nat/fork-inferior.h: Rename include guard. |
| 1373 | * nat/amd64-linux-siginfo.h: Rename include guard. |
| 1374 | * nat/aarch64-sve-linux-sigcontext.h: Rename include guard. |
| 1375 | * nat/aarch64-sve-linux-ptrace.h: Rename include guard. |
| 1376 | * nat/aarch64-linux.h: Rename include guard. |
| 1377 | * nat/aarch64-linux-hw-point.h: Rename include guard. |
| 1378 | * mn10300-tdep.h: Add include guard. |
| 1379 | * mips-linux-tdep.h: Add include guard. |
| 1380 | * mi/mi-parse.h: Rename include guard. |
| 1381 | * mi/mi-out.h: Rename include guard. |
| 1382 | * mi/mi-main.h: Rename include guard. |
| 1383 | * mi/mi-interp.h: Rename include guard. |
| 1384 | * mi/mi-getopt.h: Rename include guard. |
| 1385 | * mi/mi-console.h: Rename include guard. |
| 1386 | * mi/mi-common.h: Rename include guard. |
| 1387 | * mi/mi-cmds.h: Rename include guard. |
| 1388 | * mi/mi-cmd-break.h: Rename include guard. |
| 1389 | * m2-lang.h: Add include guard. |
| 1390 | * location.h: Rename include guard. |
| 1391 | * linux-record.h: Rename include guard. |
| 1392 | * linux-nat.h: Add include guard. |
| 1393 | * linux-fork.h: Add include guard. |
| 1394 | * i386-darwin-tdep.h: Rename include guard. |
| 1395 | * hppa-linux-offsets.h: Add include guard. |
| 1396 | * guile/guile.h: Rename include guard. |
| 1397 | * guile/guile-internal.h: Rename include guard. |
| 1398 | * gnu-nat.h: Rename include guard. |
| 1399 | * gdb-stabs.h: Rename include guard. |
| 1400 | * frv-tdep.h: Add include guard. |
| 1401 | * f-lang.h: Add include guard. |
| 1402 | * event-loop.h: Add include guard. |
| 1403 | * darwin-nat.h: Rename include guard. |
| 1404 | * cp-abi.h: Rename include guard. |
| 1405 | * config/sparc/nm-sol2.h: Rename include guard. |
| 1406 | * config/nm-nto.h: Rename include guard. |
| 1407 | * config/nm-linux.h: Add include guard. |
| 1408 | * config/i386/nm-i386gnu.h: Rename include guard. |
| 1409 | * config/djgpp/nl_types.h: Rename include guard. |
| 1410 | * config/djgpp/langinfo.h: Rename include guard. |
| 1411 | * compile/gcc-cp-plugin.h: Add include guard. |
| 1412 | * compile/gcc-c-plugin.h: Add include guard. |
| 1413 | * compile/compile.h: Rename include guard. |
| 1414 | * compile/compile-object-run.h: Rename include guard. |
| 1415 | * compile/compile-object-load.h: Rename include guard. |
| 1416 | * compile/compile-internal.h: Rename include guard. |
| 1417 | * compile/compile-cplus.h: Rename include guard. |
| 1418 | * compile/compile-c.h: Rename include guard. |
| 1419 | * common/xml-utils.h: Rename include guard. |
| 1420 | * common/x86-xstate.h: Rename include guard. |
| 1421 | * common/version.h: Rename include guard. |
| 1422 | * common/vec.h: Rename include guard. |
| 1423 | * common/tdesc.h: Rename include guard. |
| 1424 | * common/selftest.h: Rename include guard. |
| 1425 | * common/scoped_restore.h: Rename include guard. |
| 1426 | * common/scoped_mmap.h: Rename include guard. |
| 1427 | * common/scoped_fd.h: Rename include guard. |
| 1428 | * common/safe-iterator.h: Rename include guard. |
| 1429 | * common/run-time-clock.h: Rename include guard. |
| 1430 | * common/refcounted-object.h: Rename include guard. |
| 1431 | * common/queue.h: Rename include guard. |
| 1432 | * common/ptid.h: Rename include guard. |
| 1433 | * common/print-utils.h: Rename include guard. |
| 1434 | * common/preprocessor.h: Rename include guard. |
| 1435 | * common/pathstuff.h: Rename include guard. |
| 1436 | * common/observable.h: Rename include guard. |
| 1437 | * common/netstuff.h: Rename include guard. |
| 1438 | * common/job-control.h: Rename include guard. |
| 1439 | * common/host-defs.h: Rename include guard. |
| 1440 | * common/gdb_wait.h: Rename include guard. |
| 1441 | * common/gdb_vecs.h: Rename include guard. |
| 1442 | * common/gdb_unlinker.h: Rename include guard. |
| 1443 | * common/gdb_unique_ptr.h: Rename include guard. |
| 1444 | * common/gdb_tilde_expand.h: Rename include guard. |
| 1445 | * common/gdb_sys_time.h: Rename include guard. |
| 1446 | * common/gdb_string_view.h: Rename include guard. |
| 1447 | * common/gdb_splay_tree.h: Rename include guard. |
| 1448 | * common/gdb_setjmp.h: Rename include guard. |
| 1449 | * common/gdb_ref_ptr.h: Rename include guard. |
| 1450 | * common/gdb_optional.h: Rename include guard. |
| 1451 | * common/gdb_locale.h: Rename include guard. |
| 1452 | * common/gdb_assert.h: Rename include guard. |
| 1453 | * common/filtered-iterator.h: Rename include guard. |
| 1454 | * common/filestuff.h: Rename include guard. |
| 1455 | * common/fileio.h: Rename include guard. |
| 1456 | * common/environ.h: Rename include guard. |
| 1457 | * common/common-utils.h: Rename include guard. |
| 1458 | * common/common-types.h: Rename include guard. |
| 1459 | * common/common-regcache.h: Rename include guard. |
| 1460 | * common/common-inferior.h: Rename include guard. |
| 1461 | * common/common-gdbthread.h: Rename include guard. |
| 1462 | * common/common-exceptions.h: Rename include guard. |
| 1463 | * common/common-defs.h: Rename include guard. |
| 1464 | * common/common-debug.h: Rename include guard. |
| 1465 | * common/cleanups.h: Rename include guard. |
| 1466 | * common/buffer.h: Rename include guard. |
| 1467 | * common/btrace-common.h: Rename include guard. |
| 1468 | * common/break-common.h: Rename include guard. |
| 1469 | * cli/cli-utils.h: Rename include guard. |
| 1470 | * cli/cli-style.h: Rename include guard. |
| 1471 | * cli/cli-setshow.h: Rename include guard. |
| 1472 | * cli/cli-script.h: Rename include guard. |
| 1473 | * cli/cli-interp.h: Rename include guard. |
| 1474 | * cli/cli-decode.h: Rename include guard. |
| 1475 | * cli/cli-cmds.h: Rename include guard. |
| 1476 | * charset-list.h: Add include guard. |
| 1477 | * buildsym-legacy.h: Rename include guard. |
| 1478 | * bfin-tdep.h: Add include guard. |
| 1479 | * ax.h: Rename include guard. |
| 1480 | * arm-linux-tdep.h: Add include guard. |
| 1481 | * arm-fbsd-tdep.h: Add include guard. |
| 1482 | * arch/xtensa.h: Rename include guard. |
| 1483 | * arch/tic6x.h: Add include guard. |
| 1484 | * arch/i386.h: Add include guard. |
| 1485 | * arch/arm.h: Rename include guard. |
| 1486 | * arch/arm-linux.h: Rename include guard. |
| 1487 | * arch/arm-get-next-pcs.h: Rename include guard. |
| 1488 | * arch/amd64.h: Add include guard. |
| 1489 | * arch/aarch64-insn.h: Rename include guard. |
| 1490 | * arch-utils.h: Rename include guard. |
| 1491 | * annotate.h: Add include guard. |
| 1492 | * amd64-darwin-tdep.h: Rename include guard. |
| 1493 | * aarch64-linux-tdep.h: Add include guard. |
| 1494 | * aarch64-fbsd-tdep.h: Add include guard. |
| 1495 | * aarch32-linux-nat.h: Add include guard. |
| 1496 | |
| 1497 | 2019-02-06 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 1498 | |
| 1499 | * macrotab.c (macro_define_internal): New function that |
| 1500 | factorizes macro_define_object_internal and macro_define_function |
| 1501 | code. |
| 1502 | (macro_define_object_internal): Use macro_define_internal. |
| 1503 | (macro_define_function): Likewise. |
| 1504 | |
| 1505 | 2019-02-06 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 1506 | |
| 1507 | * macrocmd.c (extract_identifier): Return |
| 1508 | a gdb::unique_xmalloc_ptr<char> instead of a char *, and update |
| 1509 | callers. |
| 1510 | |
| 1511 | 2019-02-06 John Baldwin <jhb@FreeBSD.org> |
| 1512 | |
| 1513 | * fbsd-nat.c (fbsd_fetch_cmdline): Join arguments with spaces. |
| 1514 | |
| 1515 | 2019-02-05 Tom Tromey <tom@tromey.com> |
| 1516 | |
| 1517 | * target.c (target_stack::unpush): Move assertion earlier. |
| 1518 | |
| 1519 | 2019-01-30 Tom Tromey <tom@tromey.com> |
| 1520 | |
| 1521 | PR python/23615: |
| 1522 | * python/python.c (execute_gdb_command): Use gdbpy_allow_threads. |
| 1523 | (gdbpy_parse_and_eval): Likewise. |
| 1524 | * python/python-internal.h (gdbpy_allow_threads): New class. |
| 1525 | |
| 1526 | 2019-01-28 John Baldwin <jhb@FreeBSD.org> |
| 1527 | |
| 1528 | * aarch64-fbsd-tdep.c (aarch64_fbsd_gregmap) |
| 1529 | (aarch64_fbsd_fpregmap): Move earlier. |
| 1530 | (AARCH64_MCONTEXT_REG_SIZE, AARCH64_MCONTEXT_FPREG_SIZE): Delete. |
| 1531 | (aarch64_fbsd_sigframe_init): Use trad_frame_set_reg_regmap |
| 1532 | instead of individual calls to trad_frame_set_reg_addr. |
| 1533 | * arm-fbsd-tdep.c (arm_fbsd_gregmap, arm_fbsd_vfpregmap): Move |
| 1534 | earlier. |
| 1535 | (ARM_MCONTEXT_REG_SIZE, ARM_MCONTEXT_VFP_REG_SIZE): Delete. |
| 1536 | (arm_fbsd_sigframe_init): Use trad_frame_set_reg_regmap |
| 1537 | instead of individual calls to trad_frame_set_reg_addr. |
| 1538 | |
| 1539 | 2019-01-28 Alan Hayward <alan.hayward@arm.com> |
| 1540 | |
| 1541 | * CONTRIBUTE: Replace contribution list with wiki link. |
| 1542 | |
| 1543 | 2019-01-25 Tom Tromey <tom@tromey.com> |
| 1544 | |
| 1545 | * Makefile.in (GDB_CFLAGS): Don't add -I for common. |
| 1546 | |
| 1547 | 2019-01-25 Tom Tromey <tom@tromey.com> |
| 1548 | |
| 1549 | * xtensa-linux-nat.c: Fix common/ includes. |
| 1550 | * xml-support.h: Fix common/ includes. |
| 1551 | * xml-support.c: Fix common/ includes. |
| 1552 | * x86-linux-nat.c: Fix common/ includes. |
| 1553 | * windows-nat.c: Fix common/ includes. |
| 1554 | * varobj.h: Fix common/ includes. |
| 1555 | * varobj.c: Fix common/ includes. |
| 1556 | * value.c: Fix common/ includes. |
| 1557 | * valops.c: Fix common/ includes. |
| 1558 | * utils.c: Fix common/ includes. |
| 1559 | * unittests/xml-utils-selftests.c: Fix common/ includes. |
| 1560 | * unittests/utils-selftests.c: Fix common/ includes. |
| 1561 | * unittests/unpack-selftests.c: Fix common/ includes. |
| 1562 | * unittests/tracepoint-selftests.c: Fix common/ includes. |
| 1563 | * unittests/style-selftests.c: Fix common/ includes. |
| 1564 | * unittests/string_view-selftests.c: Fix common/ includes. |
| 1565 | * unittests/scoped_restore-selftests.c: Fix common/ includes. |
| 1566 | * unittests/scoped_mmap-selftests.c: Fix common/ includes. |
| 1567 | * unittests/scoped_fd-selftests.c: Fix common/ includes. |
| 1568 | * unittests/rsp-low-selftests.c: Fix common/ includes. |
| 1569 | * unittests/parse-connection-spec-selftests.c: Fix common/ |
| 1570 | includes. |
| 1571 | * unittests/optional-selftests.c: Fix common/ includes. |
| 1572 | * unittests/offset-type-selftests.c: Fix common/ includes. |
| 1573 | * unittests/observable-selftests.c: Fix common/ includes. |
| 1574 | * unittests/mkdir-recursive-selftests.c: Fix common/ includes. |
| 1575 | * unittests/memrange-selftests.c: Fix common/ includes. |
| 1576 | * unittests/memory-map-selftests.c: Fix common/ includes. |
| 1577 | * unittests/lookup_name_info-selftests.c: Fix common/ includes. |
| 1578 | * unittests/function-view-selftests.c: Fix common/ includes. |
| 1579 | * unittests/environ-selftests.c: Fix common/ includes. |
| 1580 | * unittests/copy_bitwise-selftests.c: Fix common/ includes. |
| 1581 | * unittests/common-utils-selftests.c: Fix common/ includes. |
| 1582 | * unittests/cli-utils-selftests.c: Fix common/ includes. |
| 1583 | * unittests/array-view-selftests.c: Fix common/ includes. |
| 1584 | * ui-file.c: Fix common/ includes. |
| 1585 | * tui/tui-io.c: Fix common/ includes. |
| 1586 | * tracepoint.h: Fix common/ includes. |
| 1587 | * tracepoint.c: Fix common/ includes. |
| 1588 | * tracefile-tfile.c: Fix common/ includes. |
| 1589 | * top.h: Fix common/ includes. |
| 1590 | * top.c: Fix common/ includes. |
| 1591 | * thread.c: Fix common/ includes. |
| 1592 | * target/waitstatus.h: Fix common/ includes. |
| 1593 | * target/waitstatus.c: Fix common/ includes. |
| 1594 | * target.h: Fix common/ includes. |
| 1595 | * target.c: Fix common/ includes. |
| 1596 | * target-memory.c: Fix common/ includes. |
| 1597 | * target-descriptions.c: Fix common/ includes. |
| 1598 | * symtab.h: Fix common/ includes. |
| 1599 | * symfile.c: Fix common/ includes. |
| 1600 | * stap-probe.c: Fix common/ includes. |
| 1601 | * spu-linux-nat.c: Fix common/ includes. |
| 1602 | * sparc-nat.c: Fix common/ includes. |
| 1603 | * source.c: Fix common/ includes. |
| 1604 | * solib.c: Fix common/ includes. |
| 1605 | * solib-target.c: Fix common/ includes. |
| 1606 | * ser-unix.c: Fix common/ includes. |
| 1607 | * ser-tcp.c: Fix common/ includes. |
| 1608 | * ser-pipe.c: Fix common/ includes. |
| 1609 | * ser-base.c: Fix common/ includes. |
| 1610 | * selftest-arch.c: Fix common/ includes. |
| 1611 | * s12z-tdep.c: Fix common/ includes. |
| 1612 | * rust-exp.y: Fix common/ includes. |
| 1613 | * rs6000-aix-tdep.c: Fix common/ includes. |
| 1614 | * riscv-tdep.c: Fix common/ includes. |
| 1615 | * remote.c: Fix common/ includes. |
| 1616 | * remote-notif.h: Fix common/ includes. |
| 1617 | * remote-fileio.h: Fix common/ includes. |
| 1618 | * remote-fileio.c: Fix common/ includes. |
| 1619 | * regcache.h: Fix common/ includes. |
| 1620 | * regcache.c: Fix common/ includes. |
| 1621 | * record-btrace.c: Fix common/ includes. |
| 1622 | * python/python.c: Fix common/ includes. |
| 1623 | * python/py-type.c: Fix common/ includes. |
| 1624 | * python/py-inferior.c: Fix common/ includes. |
| 1625 | * progspace.h: Fix common/ includes. |
| 1626 | * producer.c: Fix common/ includes. |
| 1627 | * procfs.c: Fix common/ includes. |
| 1628 | * proc-api.c: Fix common/ includes. |
| 1629 | * printcmd.c: Fix common/ includes. |
| 1630 | * ppc-linux-nat.c: Fix common/ includes. |
| 1631 | * parser-defs.h: Fix common/ includes. |
| 1632 | * osdata.c: Fix common/ includes. |
| 1633 | * obsd-nat.c: Fix common/ includes. |
| 1634 | * nat/x86-linux.c: Fix common/ includes. |
| 1635 | * nat/x86-linux-dregs.c: Fix common/ includes. |
| 1636 | * nat/x86-dregs.h: Fix common/ includes. |
| 1637 | * nat/x86-dregs.c: Fix common/ includes. |
| 1638 | * nat/ppc-linux.c: Fix common/ includes. |
| 1639 | * nat/mips-linux-watch.h: Fix common/ includes. |
| 1640 | * nat/mips-linux-watch.c: Fix common/ includes. |
| 1641 | * nat/linux-waitpid.c: Fix common/ includes. |
| 1642 | * nat/linux-ptrace.h: Fix common/ includes. |
| 1643 | * nat/linux-ptrace.c: Fix common/ includes. |
| 1644 | * nat/linux-procfs.c: Fix common/ includes. |
| 1645 | * nat/linux-personality.c: Fix common/ includes. |
| 1646 | * nat/linux-osdata.c: Fix common/ includes. |
| 1647 | * nat/linux-namespaces.c: Fix common/ includes. |
| 1648 | * nat/linux-btrace.h: Fix common/ includes. |
| 1649 | * nat/linux-btrace.c: Fix common/ includes. |
| 1650 | * nat/fork-inferior.c: Fix common/ includes. |
| 1651 | * nat/amd64-linux-siginfo.c: Fix common/ includes. |
| 1652 | * nat/aarch64-sve-linux-ptrace.c: Fix common/ includes. |
| 1653 | * nat/aarch64-linux.c: Fix common/ includes. |
| 1654 | * nat/aarch64-linux-hw-point.h: Fix common/ includes. |
| 1655 | * nat/aarch64-linux-hw-point.c: Fix common/ includes. |
| 1656 | * namespace.h: Fix common/ includes. |
| 1657 | * mips-linux-tdep.c: Fix common/ includes. |
| 1658 | * minsyms.c: Fix common/ includes. |
| 1659 | * mi/mi-parse.h: Fix common/ includes. |
| 1660 | * mi/mi-main.c: Fix common/ includes. |
| 1661 | * mi/mi-cmd-env.c: Fix common/ includes. |
| 1662 | * memrange.h: Fix common/ includes. |
| 1663 | * memattr.c: Fix common/ includes. |
| 1664 | * maint.h: Fix common/ includes. |
| 1665 | * maint.c: Fix common/ includes. |
| 1666 | * main.c: Fix common/ includes. |
| 1667 | * machoread.c: Fix common/ includes. |
| 1668 | * location.c: Fix common/ includes. |
| 1669 | * linux-thread-db.c: Fix common/ includes. |
| 1670 | * linux-nat.c: Fix common/ includes. |
| 1671 | * linux-fork.c: Fix common/ includes. |
| 1672 | * inline-frame.c: Fix common/ includes. |
| 1673 | * infrun.c: Fix common/ includes. |
| 1674 | * inflow.c: Fix common/ includes. |
| 1675 | * inferior.h: Fix common/ includes. |
| 1676 | * inferior.c: Fix common/ includes. |
| 1677 | * infcmd.c: Fix common/ includes. |
| 1678 | * inf-ptrace.c: Fix common/ includes. |
| 1679 | * inf-child.c: Fix common/ includes. |
| 1680 | * ia64-linux-nat.c: Fix common/ includes. |
| 1681 | * i387-tdep.c: Fix common/ includes. |
| 1682 | * i386-tdep.c: Fix common/ includes. |
| 1683 | * i386-linux-tdep.c: Fix common/ includes. |
| 1684 | * i386-linux-nat.c: Fix common/ includes. |
| 1685 | * i386-go32-tdep.c: Fix common/ includes. |
| 1686 | * i386-fbsd-tdep.c: Fix common/ includes. |
| 1687 | * i386-fbsd-nat.c: Fix common/ includes. |
| 1688 | * guile/scm-type.c: Fix common/ includes. |
| 1689 | * guile/guile.c: Fix common/ includes. |
| 1690 | * go32-nat.c: Fix common/ includes. |
| 1691 | * gnu-nat.c: Fix common/ includes. |
| 1692 | * gdbthread.h: Fix common/ includes. |
| 1693 | * gdbarch-selftests.c: Fix common/ includes. |
| 1694 | * gdb_usleep.c: Fix common/ includes. |
| 1695 | * gdb_select.h: Fix common/ includes. |
| 1696 | * gdb_bfd.c: Fix common/ includes. |
| 1697 | * gcore.c: Fix common/ includes. |
| 1698 | * fork-child.c: Fix common/ includes. |
| 1699 | * findvar.c: Fix common/ includes. |
| 1700 | * fbsd-nat.c: Fix common/ includes. |
| 1701 | * event-top.c: Fix common/ includes. |
| 1702 | * event-loop.c: Fix common/ includes. |
| 1703 | * dwarf2read.c: Fix common/ includes. |
| 1704 | * dwarf2loc.c: Fix common/ includes. |
| 1705 | * dwarf2-frame.c: Fix common/ includes. |
| 1706 | * dwarf-index-cache.c: Fix common/ includes. |
| 1707 | * dtrace-probe.c: Fix common/ includes. |
| 1708 | * disasm-selftests.c: Fix common/ includes. |
| 1709 | * defs.h: Fix common/ includes. |
| 1710 | * csky-tdep.c: Fix common/ includes. |
| 1711 | * cp-valprint.c: Fix common/ includes. |
| 1712 | * cp-support.h: Fix common/ includes. |
| 1713 | * cp-support.c: Fix common/ includes. |
| 1714 | * corelow.c: Fix common/ includes. |
| 1715 | * completer.h: Fix common/ includes. |
| 1716 | * completer.c: Fix common/ includes. |
| 1717 | * compile/compile.c: Fix common/ includes. |
| 1718 | * compile/compile-loc2c.c: Fix common/ includes. |
| 1719 | * compile/compile-cplus-types.c: Fix common/ includes. |
| 1720 | * compile/compile-cplus-symbols.c: Fix common/ includes. |
| 1721 | * command.h: Fix common/ includes. |
| 1722 | * cli/cli-dump.c: Fix common/ includes. |
| 1723 | * cli/cli-cmds.c: Fix common/ includes. |
| 1724 | * charset.c: Fix common/ includes. |
| 1725 | * build-id.c: Fix common/ includes. |
| 1726 | * btrace.h: Fix common/ includes. |
| 1727 | * btrace.c: Fix common/ includes. |
| 1728 | * breakpoint.h: Fix common/ includes. |
| 1729 | * breakpoint.c: Fix common/ includes. |
| 1730 | * ax.h: |
| 1731 | (enum agent_op): Fix common/ includes. |
| 1732 | * ax-general.c (struct aop_map): Fix common/ includes. |
| 1733 | * ax-gdb.c: Fix common/ includes. |
| 1734 | * auxv.c: Fix common/ includes. |
| 1735 | * auto-load.c: Fix common/ includes. |
| 1736 | * arm-tdep.c: Fix common/ includes. |
| 1737 | * arch/riscv.c: Fix common/ includes. |
| 1738 | * arch/ppc-linux-common.c: Fix common/ includes. |
| 1739 | * arch/i386.c: Fix common/ includes. |
| 1740 | * arch/arm.c: Fix common/ includes. |
| 1741 | * arch/arm-linux.c: Fix common/ includes. |
| 1742 | * arch/arm-get-next-pcs.c: Fix common/ includes. |
| 1743 | * arch/amd64.c: Fix common/ includes. |
| 1744 | * arch/aarch64.c: Fix common/ includes. |
| 1745 | * arch/aarch64-insn.c: Fix common/ includes. |
| 1746 | * arch-utils.c: Fix common/ includes. |
| 1747 | * amd64-windows-tdep.c: Fix common/ includes. |
| 1748 | * amd64-tdep.c: Fix common/ includes. |
| 1749 | * amd64-sol2-tdep.c: Fix common/ includes. |
| 1750 | * amd64-obsd-tdep.c: Fix common/ includes. |
| 1751 | * amd64-nbsd-tdep.c: Fix common/ includes. |
| 1752 | * amd64-linux-tdep.c: Fix common/ includes. |
| 1753 | * amd64-linux-nat.c: Fix common/ includes. |
| 1754 | * amd64-fbsd-tdep.c: Fix common/ includes. |
| 1755 | * amd64-fbsd-nat.c: Fix common/ includes. |
| 1756 | * amd64-dicos-tdep.c: Fix common/ includes. |
| 1757 | * amd64-darwin-tdep.c: Fix common/ includes. |
| 1758 | * agent.c: Fix common/ includes. |
| 1759 | * ada-lang.h: Fix common/ includes. |
| 1760 | * ada-lang.c: Fix common/ includes. |
| 1761 | * aarch64-tdep.c: Fix common/ includes. |
| 1762 | |
| 1763 | 2019-01-25 Tom Tromey <tom@tromey.com> |
| 1764 | |
| 1765 | * common/create-version.sh: Use common/version.h. |
| 1766 | |
| 1767 | 2019-01-24 Pedro Alves <palves@redhat.com> |
| 1768 | |
| 1769 | * infrun.c (signal_stop, signal_print, signal_program) |
| 1770 | (signal_catch, signal_pass): Now arrays instead of pointers. |
| 1771 | (update_signals_program_target, do_target_resume) |
| 1772 | (signal_catch_update, handle_command, _initialize_infrun): Adjust. |
| 1773 | * linux-nat.c (linux_nat_target::pass_signals) |
| 1774 | (linux_nat_target::create_inferior, linux_nat_target::attach): |
| 1775 | Adjust. |
| 1776 | * linux-nat.h (linux_nat_target::pass_signals): Adjust. |
| 1777 | * nto-procfs.c (nto_procfs_target::pass_signals): Adjust. |
| 1778 | * procfs.c (procfs_target::pass_signals): Adjust. |
| 1779 | * record-full.c (record_full_target::resume): Adjust. |
| 1780 | * remote.c (remote_target::pass_signals) |
| 1781 | (remote_target::program_signals): Adjust. |
| 1782 | * target-debug.h (target_debug_print_signals): Now takes a |
| 1783 | gdb::array_view as parameter. Adjust. |
| 1784 | * target.h (target_ops) <pass_signals, program_signals>: Replace |
| 1785 | pointer and length parameters with gdb::array_view. |
| 1786 | (target_pass_signals, target_program_signals): Likewise. |
| 1787 | * target-delegates.c: Regenerate. |
| 1788 | |
| 1789 | 2019-01-24 Pedro Alves <palves@redhat.com> |
| 1790 | |
| 1791 | * common/forward-scope-exit.h |
| 1792 | (forward_scope_exit::forward_scope_exit): Pass arguments to |
| 1793 | m_bind_function directly, instead of creating a std::bind and |
| 1794 | copying that. |
| 1795 | |
| 1796 | 2019-01-24 Alan Hayward <alan.hayward@arm.com> |
| 1797 | |
| 1798 | * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check |
| 1799 | for static members. |
| 1800 | (pass_in_v_vfp_candidate): Likewise. |
| 1801 | |
| 1802 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1803 | Pedro Alves <palves@redhat.com> |
| 1804 | |
| 1805 | * regcache.c (class regcache_invalidator): Remove. |
| 1806 | (regcache::raw_write): Use make_scope_exit. |
| 1807 | |
| 1808 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1809 | |
| 1810 | * ui-out.h (class ui_out_emit_type): Update comment. |
| 1811 | |
| 1812 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1813 | |
| 1814 | * infrun.c (fetch_inferior_event): Update comment. |
| 1815 | |
| 1816 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1817 | Pedro Alves <palves@redhat.com> |
| 1818 | |
| 1819 | * infrun.c (reinstall_readline_callback_handler_cleanup): Remove |
| 1820 | parameter. |
| 1821 | (fetch_inferior_event): Use SCOPE_EXIT. |
| 1822 | |
| 1823 | |
| 1824 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1825 | Pedro Alves <palves@redhat.com> |
| 1826 | |
| 1827 | * infrun.c (disable_thread_events): Delete. |
| 1828 | (stop_all_threads): Use SCOPE_EXIT. |
| 1829 | |
| 1830 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1831 | Pedro Alves <palves@redhat.com> |
| 1832 | |
| 1833 | * symfile.c: Include forward-scope-exit.h. |
| 1834 | (clear_symtab_users_cleanup): Replace forward declaration with |
| 1835 | a FORWARD_SCOPE_EXIT. |
| 1836 | (syms_from_objfile_1): Use the forward_scope_exit and |
| 1837 | gdb::optional instead of cleanup_function. |
| 1838 | (reread_symbols): Use the forward_scope_exit instead of |
| 1839 | cleanup_function. |
| 1840 | (clear_symtab_users_cleanup): Remove function. |
| 1841 | |
| 1842 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1843 | Pedro Alves <palves@redhat.com> |
| 1844 | |
| 1845 | * linux-nat.c: Include scope-exit.h. |
| 1846 | (cleanup_target_stop): Remove. |
| 1847 | (linux_nat_target::static_tracepoint_markers_by_strid): Use |
| 1848 | SCOPE_EXIT. |
| 1849 | |
| 1850 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1851 | Pedro Alves <palves@redhat.com> |
| 1852 | |
| 1853 | * infcall.c (cleanup_delete_std_terminate_breakpoint): Remove. |
| 1854 | (call_function_by_hand_dummy): Use SCOPE_EXIT. |
| 1855 | |
| 1856 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1857 | Andrew Burgess <andrew.burgess@embecosm.com> |
| 1858 | Pedro Alves <palves@redhat.com> |
| 1859 | |
| 1860 | * infrun.c (fetch_inferior_event): Use scope_exit. |
| 1861 | * utils.h (make_bpstat_clear_actions_cleanup): Don't declare. |
| 1862 | * top.c (execute_command): Use scope_exit. |
| 1863 | * breakpoint.c (bpstat_do_actions): Use scope_exit. |
| 1864 | * utils.c (do_bpstat_clear_actions_cleanup) |
| 1865 | (make_bpstat_clear_actions_cleanup): Remove. |
| 1866 | |
| 1867 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1868 | Pedro Alves <palves@redhat.com> |
| 1869 | |
| 1870 | * infrun.c: Include "common/scope-exit.h" |
| 1871 | (delete_just_stopped_threads_infrun_breakpoints_cleanup): Remove. |
| 1872 | (wait_for_inferior): Use SCOPE_EXIT. |
| 1873 | (fetch_inferior_event): Use scope_exit. |
| 1874 | |
| 1875 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1876 | Pedro Alves <palves@redhat.com> |
| 1877 | |
| 1878 | * breakpoint.c (create_breakpoint): Remove cleanup. |
| 1879 | |
| 1880 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1881 | Andrew Burgess <andrew.burgess@embecosm.com> |
| 1882 | Pedro Alves <palves@redhat.com> |
| 1883 | |
| 1884 | 2019-01-23 Pedro Alves <palves@redhat.com> |
| 1885 | |
| 1886 | * gdbarch-selftests.c (struct on_exit): Use SCOPE_EXIT. |
| 1887 | |
| 1888 | 2019-01-23 Pedro Alves <palves@redhat.com> |
| 1889 | Andrew Burgess <andrew.burgess@embecosm.com> |
| 1890 | |
| 1891 | * gdbthread.h: Include "common/forward-scope-exit.h". |
| 1892 | (scoped_finish_thread_state): Redefine custom class in terms of |
| 1893 | forward_scope_exit. |
| 1894 | |
| 1895 | 2019-01-23 Pedro Alves <palves@redhat.com> |
| 1896 | Andrew Burgess <andrew.burgess@embecosm.com> |
| 1897 | |
| 1898 | * common/forward-scope-exit.h: New file. |
| 1899 | |
| 1900 | 2019-01-23 Pedro Alves <palves@redhat.com> |
| 1901 | Andrew Burgess <andrew.burgess@embecosm.com> |
| 1902 | Tom Tromey <tom@tromey.com> |
| 1903 | |
| 1904 | * common/scope-exit.h: New file. |
| 1905 | |
| 1906 | 2019-01-23 Pedro Alves <palves@redhat.com> |
| 1907 | |
| 1908 | * common/preprocessor.h (ESC): Rename to ... |
| 1909 | (ESC_PARENS): ... this. |
| 1910 | * common/valid-expr.h (CHECK_VALID_EXPR_1, CHECK_VALID_EXPR_2) |
| 1911 | (CHECK_VALID_EXPR_3, CHECK_VALID_EXPR_4): Adjust. |
| 1912 | |
| 1913 | 2019-01-23 Tom Tromey <tom@tromey.com> |
| 1914 | |
| 1915 | * language.h (class scoped_switch_to_sym_language_if_auto): |
| 1916 | Initialize m_lang in both cases. |
| 1917 | |
| 1918 | 2019-01-23 Alan Hayward <alan.hayward@arm.com> |
| 1919 | |
| 1920 | * nat/aarch64-linux.c (aarch64_linux_new_thread): Replace XNEW |
| 1921 | with XCNEW. |
| 1922 | |
| 1923 | 2019-01-22 Tom Tromey <tom@tromey.com> |
| 1924 | |
| 1925 | * corelow.c: Do not include sys/file.h. |
| 1926 | |
| 1927 | 2019-01-22 Tom Tromey <tom@tromey.com> |
| 1928 | |
| 1929 | * tui/tui-wingeneral.h: Include gdb_curses.h. |
| 1930 | |
| 1931 | 2019-01-22 Tom Tromey <tom@tromey.com> |
| 1932 | |
| 1933 | * source-cache.h (class source_cache) <get_source_lines, |
| 1934 | get_plain_source_lines, extract_lines>: Rename "lines" parameter. |
| 1935 | |
| 1936 | 2019-01-22 Tom Tromey <tom@tromey.com> |
| 1937 | |
| 1938 | * remote-fileio.h (struct remote_target): Declare. |
| 1939 | |
| 1940 | 2019-01-22 Tom Tromey <tom@tromey.com> |
| 1941 | |
| 1942 | * python/py-arch.c: Do not include py-ref.h. |
| 1943 | * python/py-bpevent.c: Do not include py-ref.h. |
| 1944 | * python/py-cmd.c: Do not include py-ref.h. |
| 1945 | * python/py-continueevent.c: Do not include py-ref.h. |
| 1946 | * python/py-event.h: Do not include py-ref.h. |
| 1947 | * python/py-evtregistry.c: Do not include py-ref.h. |
| 1948 | * python/py-finishbreakpoint.c: Do not include py-ref.h. |
| 1949 | * python/py-frame.c: Do not include py-ref.h. |
| 1950 | * python/py-framefilter.c: Do not include py-ref.h. |
| 1951 | * python/py-function.c: Do not include py-ref.h. |
| 1952 | * python/py-infevents.c: Do not include py-ref.h. |
| 1953 | * python/py-linetable.c: Do not include py-ref.h. |
| 1954 | * python/py-objfile.c: Do not include py-ref.h. |
| 1955 | * python/py-param.c: Do not include py-ref.h. |
| 1956 | * python/py-prettyprint.c: Do not include py-ref.h. |
| 1957 | * python/py-progspace.c: Do not include py-ref.h. |
| 1958 | * python/py-symbol.c: Do not include py-ref.h. |
| 1959 | * python/py-symtab.c: Do not include py-ref.h. |
| 1960 | * python/py-type.c: Do not include py-ref.h. |
| 1961 | * python/py-unwind.c: Do not include py-ref.h. |
| 1962 | * python/py-utils.c: Do not include py-ref.h. |
| 1963 | * python/py-value.c: Do not include py-ref.h. |
| 1964 | * python/py-varobj.c: Do not include py-ref.h. |
| 1965 | * python/py-xmethods.c: Do not include py-ref.h. |
| 1966 | * python/python.c: Do not include py-ref.h. |
| 1967 | * varobj.c: Do not include py-ref.h. |
| 1968 | |
| 1969 | 2019-01-22 Tom Tromey <tom@tromey.com> |
| 1970 | |
| 1971 | * objfiles.h (struct objfile_per_bfd_storage): Use "struct" |
| 1972 | keyword for bcache. |
| 1973 | |
| 1974 | 2019-01-22 Tom Tromey <tom@tromey.com> |
| 1975 | |
| 1976 | * compile/compile-cplus-types.c: Remove a comment by #include. |
| 1977 | |
| 1978 | 2019-01-22 Tom Tromey <tom@tromey.com> |
| 1979 | |
| 1980 | * compile/gcc-c-plugin.h: Include compile-internal.h. |
| 1981 | |
| 1982 | 2019-01-22 Tom Tromey <tom@tromey.com> |
| 1983 | |
| 1984 | * stabsread.c (EXTERN): Do not define. |
| 1985 | (symnum, next_symbol_text_func, processing_gcc_compilation) |
| 1986 | (within_function, global_sym_chain, global_stabs) |
| 1987 | (previous_stab_code, this_object_header_files) |
| 1988 | (n_this_object_header_files) |
| 1989 | (n_allocated_this_object_header_files): Define. |
| 1990 | * stabsread.h (EXTERN): Never define. Use "extern". |
| 1991 | |
| 1992 | 2019-01-22 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 1993 | |
| 1994 | * event-top.c (handle_line_of_input): use unique_xmalloc_ptr for |
| 1995 | history_value. |
| 1996 | |
| 1997 | 2019-01-21 Tom Tromey <tom@tromey.com> |
| 1998 | |
| 1999 | * ui-out.c: Fix includes. |
| 2000 | * tui/tui-source.c: Fix includes. |
| 2001 | * target.c: Fix includes. |
| 2002 | * remote.c: Fix includes. |
| 2003 | * regcache.c: Fix includes. |
| 2004 | * python/py-block.c: Fix includes. |
| 2005 | * printcmd.c: Fix includes. |
| 2006 | * or1k-tdep.c: Fix includes. |
| 2007 | * mi/mi-main.c: Fix includes. |
| 2008 | * m32r-tdep.c: Fix includes. |
| 2009 | * csky-tdep.c: Fix includes. |
| 2010 | * compile/compile-cplus-types.c: Fix includes. |
| 2011 | * cli/cli-interp.c: Fix includes. |
| 2012 | |
| 2013 | 2019-01-21 Alan Hayward <alan.hayward@arm.com> |
| 2014 | |
| 2015 | * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check |
| 2016 | for padding. |
| 2017 | |
| 2018 | 2019-01-16 Tom Tromey <tom@tromey.com> |
| 2019 | |
| 2020 | * objfiles.h (struct minimal_symbol_iterator): Rename. Move |
| 2021 | earlier. |
| 2022 | (struct objfile) <msymbols_range>: Move from top level. |
| 2023 | <msymbols>: New method. |
| 2024 | (class objfile_msymbols): Remove. |
| 2025 | * symtab.c (default_collect_symbol_completion_matches_break_on): |
| 2026 | Update. |
| 2027 | * symmisc.c (dump_msymbols): Update. |
| 2028 | * stabsread.c (scan_file_globals): Update. |
| 2029 | * objc-lang.c (info_selectors_command, info_classes_command) |
| 2030 | (find_methods): Update. |
| 2031 | * minsyms.c (find_solib_trampoline_target): Update. |
| 2032 | * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Update. |
| 2033 | * coffread.c (coff_symfile_read): Update. |
| 2034 | * ada-lang.c (ada_lookup_simple_minsym) |
| 2035 | (ada_collect_symbol_completion_matches): Update. |
| 2036 | |
| 2037 | 2019-01-16 Tom Tromey <tom@tromey.com> |
| 2038 | |
| 2039 | * objfiles.h (class objfile_msymbols) <iterator>: Change argument |
| 2040 | type. Remove no-argument constructor. |
| 2041 | <iterator::operator++>: Simplify. |
| 2042 | <begin>: Update. |
| 2043 | <end>: Use minimal_symbol_count. |
| 2044 | |
| 2045 | 2019-01-16 Tom Tromey <tom@tromey.com> |
| 2046 | |
| 2047 | * objfiles.h (struct objfile) <psymtabs>: New method. |
| 2048 | (class objfile_psymtabs): Remove. |
| 2049 | * psymtab.h (class psymtab_storage) <partial_symtab_range>: New |
| 2050 | typedef. |
| 2051 | <range>: New method. |
| 2052 | (require_partial_symbols): Change return type. |
| 2053 | * psymtab.c (require_partial_symbols) |
| 2054 | (psym_expand_symtabs_matching): Update. |
| 2055 | * mdebugread.c (parse_partial_symbols): Update. |
| 2056 | * dbxread.c (dbx_end_psymtab): Update. |
| 2057 | |
| 2058 | 2019-01-15 Tom Tromey <tom@tromey.com> |
| 2059 | |
| 2060 | * symtab.c (lookup_objfile_from_block) |
| 2061 | (lookup_symbol_in_objfile_symtabs) |
| 2062 | (basic_lookup_transparent_type_1, find_pc_sect_compunit_symtab) |
| 2063 | (find_line_symtab, info_sources_command) |
| 2064 | (default_collect_symbol_completion_matches_break_on) |
| 2065 | (make_source_files_completion_list): Update. |
| 2066 | * symmisc.c (print_objfile_statistics, dump_objfile) |
| 2067 | (maintenance_print_symbols, maintenance_info_symtabs) |
| 2068 | (maintenance_check_symtabs, maintenance_info_line_tables): |
| 2069 | Update. |
| 2070 | * source.c (select_source_symtab) |
| 2071 | (forget_cached_source_info_for_objfile): Update. |
| 2072 | * objfiles.h (class objfile_compunits): Remove. |
| 2073 | (struct objfile) <compunits_range>: New typedef. |
| 2074 | (compunits): New method. |
| 2075 | * objfiles.c (objfile_relocate1): Update. |
| 2076 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update. |
| 2077 | * maint.c (count_symtabs_and_blocks): Update. |
| 2078 | * linespec.c (iterate_over_all_matching_symtabs): Update. |
| 2079 | * cp-support.c (add_symbol_overload_list_qualified): Update. |
| 2080 | * coffread.c (coff_symtab_read): Update. |
| 2081 | * ada-lang.c (add_nonlocal_symbols) |
| 2082 | (ada_collect_symbol_completion_matches) |
| 2083 | (ada_add_global_exceptions): Update. |
| 2084 | |
| 2085 | 2019-01-15 Tom Tromey <tom@tromey.com> |
| 2086 | |
| 2087 | * progspace.h (program_space) <objfiles_safe_range>: New |
| 2088 | typedef. |
| 2089 | <objfiles_safe>: New method. |
| 2090 | * objfiles.h (class all_objfiles_safe): Remove. |
| 2091 | * objfiles.c (free_all_objfiles, objfile_purge_solibs): Update. |
| 2092 | * jit.c (jit_inferior_exit_hook): Update. |
| 2093 | |
| 2094 | 2019-01-17 Tom Tromey <tom@tromey.com> |
| 2095 | |
| 2096 | * progspace.h (program_space) <objfiles_range>: New typedef. |
| 2097 | <objfiles>: New method. |
| 2098 | <objfiles_head>: Rename from objfiles. |
| 2099 | (object_files): Update. |
| 2100 | * guile/scm-progspace.c (gdbscm_progspace_objfiles): Update. |
| 2101 | * guile/scm-pretty-print.c |
| 2102 | (ppscm_find_pretty_printer_from_objfiles): Update. |
| 2103 | * guile/scm-objfile.c (gdbscm_objfiles): Update. |
| 2104 | * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): |
| 2105 | Update. |
| 2106 | * python/py-progspace.c (pspy_get_objfiles): Update. |
| 2107 | * python/py-prettyprint.c (find_pretty_printer_from_objfiles): |
| 2108 | Update. |
| 2109 | * python/py-objfile.c (objfpy_lookup_objfile_by_name) |
| 2110 | (objfpy_lookup_objfile_by_build_id): Update. |
| 2111 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update. |
| 2112 | * windows-tdep.c (windows_iterate_over_objfiles_in_search_order): |
| 2113 | Update. |
| 2114 | * symtab.c (iterate_over_symtabs, matching_obj_sections) |
| 2115 | (expand_symtab_containing_pc, lookup_objfile_from_block) |
| 2116 | (lookup_static_symbol, basic_lookup_transparent_type) |
| 2117 | (find_pc_sect_compunit_symtab, find_symbol_at_address) |
| 2118 | (find_line_symtab, info_sources_command) |
| 2119 | (default_collect_symbol_completion_matches_break_on) |
| 2120 | (make_source_files_completion_list, find_main_name): Update. |
| 2121 | * symmisc.c (print_symbol_bcache_statistics) |
| 2122 | (print_objfile_statistics, maintenance_print_symbols) |
| 2123 | (maintenance_print_msymbols, maintenance_print_objfiles) |
| 2124 | (maintenance_info_symtabs, maintenance_check_symtabs) |
| 2125 | (maintenance_expand_symtabs, maintenance_info_line_tables): |
| 2126 | Update. |
| 2127 | * symfile.c (remove_symbol_file_command, overlay_invalidate_all) |
| 2128 | (find_pc_overlay, find_pc_mapped_section, list_overlays_command) |
| 2129 | (map_overlay_command, unmap_overlay_command) |
| 2130 | (simple_overlay_update, expand_symtabs_matching) |
| 2131 | (map_symbol_filenames): Update. |
| 2132 | * symfile-debug.c (set_debug_symfile): Update. |
| 2133 | * spu-tdep.c (spu_overlay_update, spu_objfile_from_frame): |
| 2134 | Update. |
| 2135 | * source.c (select_source_symtab, forget_cached_source_info): |
| 2136 | Update. |
| 2137 | * solib.c (solib_read_symbols): Update. |
| 2138 | * solib-spu.c (append_ocl_sos): Update. |
| 2139 | * psymtab.c (maintenance_print_psymbols) |
| 2140 | (maintenance_info_psymtabs, maintenance_check_psymtabs): Update. |
| 2141 | * probe.c (parse_probes_in_pspace, find_probe_by_pc): Update. |
| 2142 | * printcmd.c (info_symbol_command): Update. |
| 2143 | * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created): |
| 2144 | Update. |
| 2145 | * objfiles.h (class all_objfiles): Remove. |
| 2146 | * objfiles.c (have_partial_symbols, have_full_symbols) |
| 2147 | (have_minimal_symbols, qsort_cmp, update_section_map) |
| 2148 | (shared_objfile_contains_address_p) |
| 2149 | (default_iterate_over_objfiles_in_search_order): Update. |
| 2150 | * objc-lang.c (info_selectors_command, info_classes_command) |
| 2151 | (find_methods): Update. |
| 2152 | * minsyms.c (find_solib_trampoline_target): Update. |
| 2153 | * maint.c (maintenance_info_sections) |
| 2154 | (maintenance_translate_address, count_symtabs_and_blocks): |
| 2155 | Update. |
| 2156 | * main.c (captured_main_1): Update. |
| 2157 | * linux-thread-db.c (try_thread_db_load_from_pdir) |
| 2158 | (has_libpthread): Update. |
| 2159 | * linespec.c (iterate_over_all_matching_symtabs) |
| 2160 | (search_minsyms_for_name): Update. |
| 2161 | * jit.c (jit_find_objf_with_entry_addr): Update. |
| 2162 | * hppa-tdep.c (find_unwind_entry) |
| 2163 | (hppa_lookup_stub_minimal_symbol): Update. |
| 2164 | * gcore.c (gcore_create_callback, objfile_find_memory_regions): |
| 2165 | Update. |
| 2166 | * elfread.c (elf_gnu_ifunc_resolve_by_cache) |
| 2167 | (elf_gnu_ifunc_resolve_by_got): Update. |
| 2168 | * dwarf2-frame.c (dwarf2_frame_find_fde): Update. |
| 2169 | * dwarf-index-write.c (save_gdb_index_command): Update. |
| 2170 | * cp-support.c (add_symbol_overload_list_qualified): Update. |
| 2171 | * breakpoint.c (create_overlay_event_breakpoint) |
| 2172 | (create_longjmp_master_breakpoint) |
| 2173 | (create_std_terminate_master_breakpoint) |
| 2174 | (create_exception_master_breakpoint): Update. |
| 2175 | * blockframe.c (find_pc_partial_function): Update. |
| 2176 | * ada-lang.c (ada_lookup_simple_minsym, add_nonlocal_symbols) |
| 2177 | (ada_collect_symbol_completion_matches) |
| 2178 | (ada_add_global_exceptions): Update. |
| 2179 | |
| 2180 | 2019-01-17 Tom Tromey <tom@tromey.com> |
| 2181 | |
| 2182 | * solib-target.c (lm_info_target_p): Remove typedef. Don't |
| 2183 | declare VEC. |
| 2184 | (solib_target_parse_libraries): Change return type. |
| 2185 | (library_list_start_segment, library_list_start_section) |
| 2186 | (library_list_end_library, library_list_start_library); Update. |
| 2187 | (solib_target_free_library_list): Remove. |
| 2188 | (solib_target_parse_libraries): Remove cleanup. Change return |
| 2189 | type. |
| 2190 | (solib_target_current_sos): Update. |
| 2191 | |
| 2192 | 2019-01-17 Tom Tromey <tromey@bapiya> |
| 2193 | |
| 2194 | * valprint.c: Replace "the the" with "the". |
| 2195 | * symtab.c: Replace "the the" with "the". |
| 2196 | * solib.c: Replace "the the" with "the". |
| 2197 | * solib-dsbt.c: Replace "the the" with "the". |
| 2198 | * linespec.c: Replace "the the" with "the". |
| 2199 | * dwarf2loc.h: Replace "the the" with "the". |
| 2200 | * amd64-windows-tdep.c: Replace "the the" with "the". |
| 2201 | * aarch64-tdep.c: Replace "the the" with "the". |
| 2202 | |
| 2203 | 2019-01-16 Keith Seitz <keiths@redhat.com> |
| 2204 | |
| 2205 | PR gdb/23773 |
| 2206 | * dwarf2read.c (dwarf2_cu) <ancestor>: New field. |
| 2207 | <builder>: Rename to .. |
| 2208 | <m_builder>: ... this and make private. |
| 2209 | (dwarf2_cu::get_builder): New method. Change all users of |
| 2210 | `builder' to use this method. |
| 2211 | (dwarf2_start_symtab): Move to ... |
| 2212 | (dwarf2_cu::start_symtab): ... here. Update all callers |
| 2213 | (setup_type_unit_groups): Move to ... |
| 2214 | (dwarf2_cu::setup_type_unit_groups): ... here. Update all |
| 2215 | callers. |
| 2216 | (dwarf2_cu::reset_builder): New method. |
| 2217 | (process_full_compunit, process_full_type_unit): Use |
| 2218 | dwarf2_cu::reset_builder. |
| 2219 | (follow_die_offset): Record the ancestor CU if it is different |
| 2220 | from the followed DIE's CU. |
| 2221 | (follow_die_sig_1): Likewise. |
| 2222 | |
| 2223 | 2019-01-15 Tom Tromey <tom@tromey.com> |
| 2224 | |
| 2225 | * remote.c (class remote_state) <buf>: Now a char_vector. |
| 2226 | <buf_size>: Remove. |
| 2227 | (remote_target::getpkt): Change type of buf. Remove sizeof_buf |
| 2228 | parameter. |
| 2229 | (remote_target::getpkt_or_notif_sane_1) |
| 2230 | (remote_target::getpkt_sane) |
| 2231 | (remote_target::getpkt_or_notif_sane): Likewise. |
| 2232 | (class remote_target) <putpkt>: New overload. |
| 2233 | (remote_target::read_frame): Change type of "buf_p". Remove |
| 2234 | sizeof_p parameter. |
| 2235 | (packet_ok): New overload. |
| 2236 | (packet_check_result): New overload. |
| 2237 | Update all uses. |
| 2238 | |
| 2239 | 2019-01-14 Tom Tromey <tom@tromey.com> |
| 2240 | |
| 2241 | * remote-notif.c (handle_notification, remote_notif_ack) |
| 2242 | (remote_notif_parse): Make "buf" const. |
| 2243 | * remote-notif.h (struct notif_client) <parse, ack>: Make "buf" |
| 2244 | const. |
| 2245 | (remote_notif_parse, remote_notif_ack, handle_notification): |
| 2246 | Likewise. |
| 2247 | * remote.c (remote_notif_stop_parse): Make "buf" const. |
| 2248 | (remote_target::remote_parse_stop_reply): Make "buf" const. |
| 2249 | (remote_notif_stop_ack): Make "buf" const. |
| 2250 | |
| 2251 | 2019-01-14 Tom Tromey <tom@tromey.com> |
| 2252 | |
| 2253 | * remote.c (remote_console_output): Make parameter const. |
| 2254 | |
| 2255 | 2019-01-14 Tom Tromey <tom@tromey.com> |
| 2256 | |
| 2257 | * target-debug.h (target_debug_print_signals): Constify. |
| 2258 | * nto-procfs.c (nto_procfs_target::pass_signals): Update. |
| 2259 | * procfs.c (procfs_target::pass_signals): Update. |
| 2260 | * linux-nat.c (linux_nat_target::pass_signals): Update. |
| 2261 | * linux-nat.h (class linux_nat_target) <pass_signals>: Update. |
| 2262 | * target-delegates.c: Rebuild. |
| 2263 | * remote.c (remote_target::program_signals): Update. |
| 2264 | (remote_target::pass_signals): Update. |
| 2265 | * target.c (target_pass_signals): Constify argument. |
| 2266 | (target_program_signals): Likewise. |
| 2267 | * target.h (struct target_ops) <pass_signals, program_signals>: |
| 2268 | Constify argument. |
| 2269 | (target_pass_signals, target_program_signals): Constify argument. |
| 2270 | |
| 2271 | 2019-01-14 Tom Tromey <tom@tromey.com> |
| 2272 | |
| 2273 | PR tui/28819: |
| 2274 | * tui/tui-io.c (gdb_wgetch): Print \r when needed. |
| 2275 | |
| 2276 | 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com> |
| 2277 | |
| 2278 | * ppc-tdep.h (struct gdbarch_tdep) <ppc_v0_alias_regnum>: New |
| 2279 | field. |
| 2280 | * rs6000-tdep.c: Include reggroups.h. |
| 2281 | (IS_V_ALIAS_PSEUDOREG): Define. |
| 2282 | (rs6000_register_name): Return names for the "vX" aliases. |
| 2283 | (rs6000_pseudo_register_type): Return type for the "vX" aliases. |
| 2284 | (rs6000_pseudo_register_reggroup_p): Restore. Handle "vX" |
| 2285 | aliases. Call default_register_reggroup_p for all other |
| 2286 | pseudo-registers. |
| 2287 | (v_alias_pseudo_register_read, v_alias_pseudo_register_write): |
| 2288 | New functions. |
| 2289 | (rs6000_pseudo_register_read, rs6000_pseudo_register_write): |
| 2290 | Handle "vX" aliases. |
| 2291 | (v_alias_pseudo_register_collect): New function. |
| 2292 | (rs6000_ax_pseudo_register_collect): Handle "vX" aliases. |
| 2293 | (rs6000_gdbarch_init): Initialize "vX" aliases as |
| 2294 | pseudo-registers. Restore registration of |
| 2295 | rs6000_pseudo_register_reggroup_p with |
| 2296 | set_tdesc_pseudo_register_reggroup_p. |
| 2297 | |
| 2298 | 2019-01-13 Max Filippov <jcmvbkbc@gmail.com> |
| 2299 | |
| 2300 | * xtensa-linux-tdep.c (xtensa_linux_init_abi): Update |
| 2301 | tdep->num_pseudo_regs. Add calls to set_gdbarch_num_regs and |
| 2302 | set_gdbarch_num_pseudo_regs. |
| 2303 | |
| 2304 | 2019-01-12 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 2305 | |
| 2306 | * cli/cli-style.h (class cli_style_option): <add_setshow_commands> |
| 2307 | Remove arg prefixname, add do_set and do_show. |
| 2308 | Add member functions set_list and show_list. |
| 2309 | * cli/cli-style.c (class cli_style_option): Update accordingly. |
| 2310 | (style_set_list): Move to file scope. |
| 2311 | (style_show_list): Likewise. |
| 2312 | (set_style): Call help_list. |
| 2313 | (show_style): Call cmd_show_list. |
| 2314 | (_initialize_cli_style): New macro STYLE_ADD_SETSHOW_COMMANDS. |
| 2315 | Update to use the new macro. |
| 2316 | |
| 2317 | 2019-10-12 Joel Brobecker <brobecker@adacore.com> |
| 2318 | |
| 2319 | * ada-lang.c (_initialize_ada_language): Expand the help text |
| 2320 | for the "catch exception" command. |
| 2321 | |
| 2322 | 2019-01-12 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 2323 | |
| 2324 | * symtab.c (matching_obj_sections): Initialize obj, |
| 2325 | declare it closer to its usage. |
| 2326 | |
| 2327 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2328 | |
| 2329 | * thread-iter.h (inf_threads_iterator): Use next_iterator. |
| 2330 | (basic_inf_threads_range): Remove. |
| 2331 | (inf_threads_range, inf_non_exited_threads_range) |
| 2332 | (safe_inf_threads_range): Use next_adapter. |
| 2333 | |
| 2334 | 2019-01-10 Keith Seitz <keiths@redhat.com> |
| 2335 | |
| 2336 | PR gdb/23712 |
| 2337 | PR symtab/23010 |
| 2338 | * dwarf2read.c (dw2_add_symbol_to_list): Remove. |
| 2339 | (fixup_go_packaging, new_symbol): Use add_symbol_to_list. |
| 2340 | |
| 2341 | 2019-01-10 Keith Seitz <keiths@redhat.com> |
| 2342 | |
| 2343 | PR gdb/23712 |
| 2344 | PR symtab/23010 |
| 2345 | * dictionary.c (pending_to_vector): Remove. |
| 2346 | (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1): |
| 2347 | Remove _1 suffix, replacing functions of the same name. Update |
| 2348 | all callers. |
| 2349 | (dict_create_hashed, dict_create_hashed_expandable) |
| 2350 | (dict_create_linear, dict_create_linear_expandable, dict_free) |
| 2351 | (dict_add_symbol, dict_add_pending, dict_size, dict_empty): |
| 2352 | Make functions static. |
| 2353 | |
| 2354 | 2019-01-10 Keith Seitz <keiths@redhat.com> |
| 2355 | |
| 2356 | PR gdb/23712 |
| 2357 | PR symtab/23010 |
| 2358 | * dictionary.h (struct dictionary): Replace declaration with |
| 2359 | multidictionary. |
| 2360 | (dict_create_hashed, dict_create_hashed_expandable) |
| 2361 | (dict_create_linear, dict_create_linear_expandable) |
| 2362 | (dict_free, dict_add_symbol, dict_add_pending, dict_empty) |
| 2363 | (dict_iterator_first, dict_iterator_next, dict_iter_match_first) |
| 2364 | (dict_iter_match_next, dict_size): Rename to "mdict_" versions |
| 2365 | taking multidictionary argument. |
| 2366 | [ALL_DICT_SYMBOLS]: Update for multidictionary. |
| 2367 | * block.h (struct block) <dict>: Change to multidictionary |
| 2368 | and rename `multidict'. |
| 2369 | * block.c, buildsym.c, jit.c, mdebugread.c, objfiles.c, |
| 2370 | symmisc.c: Update all dictionary references to multidictionary. |
| 2371 | |
| 2372 | 2019-01-10 Keith Seitz <keiths@redhat.com> |
| 2373 | |
| 2374 | PR gdb/23712 |
| 2375 | PR symtab/23010 |
| 2376 | * dictionary.c: Include unordered_map. |
| 2377 | (pending_to_vector): New function. |
| 2378 | (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1): |
| 2379 | Rewrite the non-"_1" functions to take vector instead |
| 2380 | of linked list. |
| 2381 | (dict_create_hashed, dict_create_linear, dict_add_pending): Use the |
| 2382 | "new" _1 versions of the same name. |
| 2383 | (multidictionary): Define. |
| 2384 | (std::hash<enum language): New definition. |
| 2385 | (collate_pending_symbols_by_language, mdict_create_hashed) |
| 2386 | (mdict_create_hashed_expandable, mdict_create_linear) |
| 2387 | (mdict_create_linear_expandable, mdict_free) |
| 2388 | (find_language_dictionary, create_new_language_dictionary) |
| 2389 | (mdict_add_symbol, mdict_add_pending, mdict_iterator_first) |
| 2390 | (mdict_iterator_next, mdict_iter_match_first, mdict_iter_match_next) |
| 2391 | (mdict_size, mdict_empty): New functions. |
| 2392 | * dictionary.h (mdict_iterator): Define. |
| 2393 | |
| 2394 | 2019-01-10 Pedro Alves <palves@redhat.com> |
| 2395 | |
| 2396 | * breakpoint.c (read_uploaded_action) |
| 2397 | (create_tracepoint_from_upload): Adjust to use |
| 2398 | gdb::unique_xmalloc_ptr. |
| 2399 | * ctf.c (ctf_write_uploaded_tp): |
| 2400 | (SET_ARRAY_FIELD): Use emplace_back. |
| 2401 | (SET_STRING_FIELD): Adjust to use gdb::unique_xmalloc_ptr. |
| 2402 | * tracefile-tfile.c (tfile_write_uploaded_tp): |
| 2403 | * tracepoint.c (parse_tracepoint_definition): Adjust to use |
| 2404 | gdb::unique_xmalloc_ptr. |
| 2405 | * tracepoint.h (struct uploaded_tp) <cond, actions, step_actions, |
| 2406 | at_string, cond_string, cmd_strings>: Replace char pointers |
| 2407 | with gdb::unique_xmalloc_ptr. |
| 2408 | |
| 2409 | 2019-01-10 Pedro Alves <palves@redhat.com> |
| 2410 | |
| 2411 | * solib-target.c (library_list_start_library): Don't xstrdup name. |
| 2412 | |
| 2413 | 2019-01-10 Pedro Alves <palves@redhat.com> |
| 2414 | |
| 2415 | * mdebugread.c (parse_partial_symbols): Use |
| 2416 | gdb::unique_xmalloc_ptr to manage heap-allocated 'stabsstring'. |
| 2417 | |
| 2418 | 2019-01-10 Andrew Burgess <andrew.burgess@embecosm.com> |
| 2419 | |
| 2420 | * linux-fork.c (scoped_switch_fork_info) |
| 2421 | <~scoped_switch_fork_info>: Fix incorrect variable name. |
| 2422 | |
| 2423 | 2019-01-10 Andrew Burgess <andrew.burgess@embecosm.com> |
| 2424 | |
| 2425 | * linux-fork.c (scoped_switch_fork_info) |
| 2426 | <scoped_switch_fork_info>: Make explicit. |
| 2427 | <~scoped_switch_fork_info>: Wrap core in TRY/CATCH. |
| 2428 | |
| 2429 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2430 | |
| 2431 | * objfiles.h (objfile::reset_psymtabs): Update. |
| 2432 | * objfiles.c (objfile::objfile): Update. |
| 2433 | * psymtab.h (psymtab_storage::obstack): Update. |
| 2434 | (psymtab_storage::m_obstack): Use gdb::optional. |
| 2435 | (class psymtab_storage): Update comment. Remove objfile |
| 2436 | parameter. |
| 2437 | * psymtab.c (psymtab_storage::psymtab_storage): Update. |
| 2438 | |
| 2439 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2440 | |
| 2441 | * psymtab.h (psymtab_storage::allocate_psymtab): New method. |
| 2442 | <free_psymtabs>: Now private. |
| 2443 | * psymtab.c (psymtab_storage::allocate_psymtab): Implement. |
| 2444 | (allocate_psymtab): Use new method. |
| 2445 | |
| 2446 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2447 | |
| 2448 | * xcoffread.c (xcoff_end_psymtab): Use allocate_dependencies. |
| 2449 | * psymtab.h (psymtab_storage::allocate_dependencies): New method. |
| 2450 | * mdebugread.c (parse_partial_symbols): Use |
| 2451 | allocate_dependencies. |
| 2452 | * dwarf2read.c (dwarf2_create_include_psymtab): Use |
| 2453 | allocate_dependencies. |
| 2454 | (process_psymtab_comp_unit_reader) |
| 2455 | (build_type_psymtab_dependencies): Likewise. |
| 2456 | * dbxread.c (dbx_end_psymtab): Use allocate_dependencies. |
| 2457 | |
| 2458 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2459 | |
| 2460 | * psymtab.c (add_psymbol_to_bcache): Pass psymtab obstack to |
| 2461 | PSYMBOL_SET_LANGUAGE. |
| 2462 | (allocate_psymtab): Allocate psymtab on the psymtab obstack. |
| 2463 | |
| 2464 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2465 | |
| 2466 | * psymtab.h (psymtab_storage::obstack): New method. |
| 2467 | <m_obstack>: Rename from obstack; now private. |
| 2468 | * psymtab.c (psymtab_storage): Update. |
| 2469 | * dwarf2read.c (create_addrmap_from_index) |
| 2470 | (create_addrmap_from_aranges, dwarf2_build_psymtabs_hard): |
| 2471 | Update. |
| 2472 | |
| 2473 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2474 | |
| 2475 | * symfile.c (reread_symbols): Call objfile->reset_psymtabs. |
| 2476 | * objfiles.h (objfile::reset_psymtabs): New method. |
| 2477 | |
| 2478 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2479 | |
| 2480 | * symmisc.c (print_symbol_bcache_statistics): Update. |
| 2481 | (print_objfile_statistics): Update. |
| 2482 | * symfile.c (reread_symbols): Update. |
| 2483 | * psymtab.h (class psymtab_storage): New. |
| 2484 | * psymtab.c (psymtab_storage): New constructor. |
| 2485 | (~psymtab_storage): New destructor. |
| 2486 | (require_partial_symbols): Update. |
| 2487 | (ALL_OBJFILE_PSYMTABS_REQUIRED): Rewrite. |
| 2488 | (find_pc_sect_psymtab, find_pc_sect_psymbol) |
| 2489 | (match_partial_symbol, lookup_partial_symbol, dump_psymtab) |
| 2490 | (psym_dump, recursively_search_psymtabs, psym_has_symbols) |
| 2491 | (psym_find_compunit_symtab_by_address, sort_pst_symbols) |
| 2492 | (start_psymtab_common, end_psymtab_common) |
| 2493 | (add_psymbol_to_bcache, add_psymbol_to_list, init_psymbol_list) |
| 2494 | (allocate_psymtab): Update. |
| 2495 | (psymtab_storage::discard_psymtab): Rename from discard_psymtab. |
| 2496 | Update. |
| 2497 | (dump_psymtab_addrmap, maintenance_print_psymbols) |
| 2498 | (maintenance_check_psymtabs): Update. |
| 2499 | (class objfile_psymtabs): Move to objfiles.h. |
| 2500 | * psympriv.h (discard_psymtab): Now inline. |
| 2501 | (psymtab_discarder::psymtab_discarder): Update. |
| 2502 | (psymtab_discarder::~psymtab_discarder): Update. |
| 2503 | (ALL_OBJFILE_PSYMTABS): Rewrite. |
| 2504 | * objfiles.h (struct objfile) <psymtabs, psymtabs_addrmap, |
| 2505 | free_psymtabs, psymbol_cache, global_psymbols, static_psymbols>: |
| 2506 | Remove fields. |
| 2507 | <partial_symtabs>: New field. |
| 2508 | (class objfile_psymtabs): Move from psymtab.h. Update. |
| 2509 | * objfiles.c (objfile::objfile): Initialize partial_symtabs, not |
| 2510 | psymbol_cache. |
| 2511 | (objfile::~objfile): Don't destroy psymbol_cache. |
| 2512 | * mdebugread.c (parse_partial_symbols): Update. |
| 2513 | * dwarf2read.c (create_addrmap_from_index) |
| 2514 | (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab) |
| 2515 | (process_psymtab_comp_unit_reader, dwarf2_build_psymtabs_hard) |
| 2516 | (add_partial_subprogram, dwarf2_ranges_read): Update. |
| 2517 | * dwarf-index-write.c (write_address_map) |
| 2518 | (write_one_signatured_type, recursively_write_psymbols) |
| 2519 | (class debug_names, class debug_names, write_psymtabs_to_index): |
| 2520 | Update. |
| 2521 | |
| 2522 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2523 | |
| 2524 | * symtab.h (SYMBOL_SET_NAMES): Update. |
| 2525 | (symbol_set_names): Update. |
| 2526 | (MSYMBOL_SET_NAMES): Update. |
| 2527 | * symtab.c (symbol_set_names): Change argument to be an |
| 2528 | objfile_per_bfd_storage. |
| 2529 | * psymtab.c (add_psymbol_to_bcache): Update. |
| 2530 | * psympriv.h (PSYMBOL_SET_NAMES): Take per_bfd argument. |
| 2531 | |
| 2532 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2533 | |
| 2534 | * symtab.c (create_demangled_names_hash): Change argument to be an |
| 2535 | objfile_per_bfd_storage. |
| 2536 | (symbol_set_names): Update. |
| 2537 | |
| 2538 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2539 | |
| 2540 | * xcoffread.c (xcoff_initial_scan): Unconditionally call |
| 2541 | init_psymbol_list. |
| 2542 | * psymtab.c (init_psymbol_list): Do nothing if already called. |
| 2543 | * psympriv.h (init_psymbol_list): Add comment. |
| 2544 | * dwarf2read.c (dwarf2_build_psymtabs): Unconditionally call |
| 2545 | init_psymbol_list. |
| 2546 | * dbxread.c (dbx_symfile_read): Unconditionally call |
| 2547 | init_psymbol_list. |
| 2548 | |
| 2549 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2550 | |
| 2551 | * xcoffread.c (scan_xcoff_symtab): Update. |
| 2552 | * psymtab.c (add_psymbol_to_list): Replace "list" parameter with |
| 2553 | "where". |
| 2554 | * mdebugread.c (parse_partial_symbols) |
| 2555 | (handle_psymbol_enumerators): Update. |
| 2556 | * dwarf2read.c (add_partial_symbol, load_partial_dies): Update. |
| 2557 | * dbxread.c (read_dbx_symtab): Update. |
| 2558 | * psympriv.h (psymbol_placement): New enum. |
| 2559 | (add_psymbol_to_list): Update. |
| 2560 | |
| 2561 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2562 | |
| 2563 | * xcoffread.c (xcoff_start_psymtab): Remove global_psymbols and |
| 2564 | static_psymbols parameters. |
| 2565 | (scan_xcoff_symtab): Update. |
| 2566 | * psymtab.c (start_psymtab_common): Remove global_psymbols and |
| 2567 | static_psymbols parameters. |
| 2568 | * psympriv.h (start_psymtab_common): Update. |
| 2569 | * mdebugread.c (parse_partial_symbols): Update. |
| 2570 | * dwarf2read.c (create_partial_symtab): Update. |
| 2571 | * dbxread.c (read_dbx_symtab): Update. |
| 2572 | (start_psymtab): Remove global_psymbols and static_psymbols |
| 2573 | parameters. |
| 2574 | |
| 2575 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2576 | |
| 2577 | * xcoffread.c (xcoff_end_psymtab): Remove some initializations. |
| 2578 | * psymtab.c (allocate_psymtab): Add comment. |
| 2579 | * psympriv.h (allocate_psymtab): Add comment. |
| 2580 | * dwarf2read.c (dwarf2_create_include_psymtab): Remove some |
| 2581 | initializations. |
| 2582 | * dbxread.c (dbx_end_psymtab): Remove some initializations. |
| 2583 | |
| 2584 | 2019-01-10 Tom Tromey <tom@tromey.com> |
| 2585 | |
| 2586 | * symfile.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs): |
| 2587 | Don't declare. |
| 2588 | * mipsread.c: Include mdebugread.h. |
| 2589 | * mdebugread.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs): |
| 2590 | Declare. |
| 2591 | * elfread.c: Include mdebugread.h. |
| 2592 | |
| 2593 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2594 | |
| 2595 | * dbxread.c (dbx_end_psymtab): Use objfile_psymtabs. |
| 2596 | * mdebugread.c (parse_partial_symbols): Use objfile_psymtabs. |
| 2597 | * psymtab.c (ALL_OBJFILE_PSYMTABS_REQUIRED): Remove. |
| 2598 | (psym_map_symtabs_matching_filename, find_pc_sect_psymtab) |
| 2599 | (psym_lookup_symbol, psym_find_last_source_symtab) |
| 2600 | (psym_forget_cached_source_info, psym_print_stats) |
| 2601 | (psym_expand_symtabs_for_function, psym_expand_all_symtabs) |
| 2602 | (psym_expand_symtabs_with_fullname, psym_map_symbol_filenames) |
| 2603 | (psym_map_matching_symbols, psym_expand_symtabs_matching) |
| 2604 | (psym_find_compunit_symtab_by_address) |
| 2605 | (maintenance_print_psymbols, maintenance_info_psymtabs) |
| 2606 | (maintenance_check_psymtabs): Use ranged for. |
| 2607 | * psymtab.h (class objfile_psymtabs): New. |
| 2608 | (require_partial_symbols): Return objfile_psymtabs. |
| 2609 | * psympriv.h (ALL_OBJFILE_PSYMTABS): Remove. |
| 2610 | |
| 2611 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2612 | |
| 2613 | * symfile.c (overlay_invalidate_all, find_pc_overlay) |
| 2614 | (find_pc_mapped_section, list_overlays_command) |
| 2615 | (map_overlay_command, unmap_overlay_command) |
| 2616 | (simple_overlay_update): Use all_objfiles. |
| 2617 | * spu-tdep.c (spu_overlay_update): Use all_objfiles. |
| 2618 | * printcmd.c (info_symbol_command): Use all_objfiles. |
| 2619 | * objfiles.h (ALL_OBJSECTIONS): Remove. |
| 2620 | * maint.c (maintenance_translate_address): Use all_objfiles. |
| 2621 | * gcore.c (gcore_create_callback): Use all_objfiles. |
| 2622 | (objfile_find_memory_regions): Likewise. |
| 2623 | |
| 2624 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2625 | |
| 2626 | * symtab.c (find_line_symtab, info_sources_command) |
| 2627 | (make_source_files_completion_list): Use objfile_compunits. |
| 2628 | * source.c (select_source_symtab): Use objfile_compunits. |
| 2629 | * objfiles.h (struct objfile): Update comment. |
| 2630 | (ALL_OBJFILES): Remove. |
| 2631 | (ALL_FILETABS): Remove. |
| 2632 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Use |
| 2633 | objfile_compunits. |
| 2634 | |
| 2635 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2636 | |
| 2637 | * symmisc.c (print_objfile_statistics, dump_objfile) |
| 2638 | (maintenance_print_symbols): Use compunit_filetabs. |
| 2639 | * source.c (forget_cached_source_info_for_objfile): Use |
| 2640 | compunit_filetabs. |
| 2641 | * objfiles.h (ALL_OBJFILE_FILETABS): Remove. |
| 2642 | (ALL_FILETABS): Use compunit_filetabs. |
| 2643 | * objfiles.c (objfile_relocate1): Use compunit_filetabs. |
| 2644 | * coffread.c (coff_symtab_read): Use compunit_filetabs. |
| 2645 | |
| 2646 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2647 | |
| 2648 | * symtab.h (ALL_COMPUNIT_FILETABS): Remove. |
| 2649 | (compunit_filetabs): New. |
| 2650 | * symtab.c (iterate_over_some_symtabs, find_pc_sect_line): Use |
| 2651 | compunit_filetabs. |
| 2652 | (info_sources_command, make_source_files_completion_list): Remove |
| 2653 | declaration. |
| 2654 | * symmisc.c (print_objfile_statistics, dump_objfile) |
| 2655 | (maintenance_print_symbols): Remove declaration. |
| 2656 | (maintenance_info_symtabs): Use compunit_filetabs. |
| 2657 | (maintenance_info_line_tables): Likewise. |
| 2658 | * source.c (select_source_symtab): Change local variable name. |
| 2659 | (forget_cached_source_info_for_objfile): Remove declaration. |
| 2660 | * objfiles.h (ALL_OBJFILE_FILETABS): Use compunit_filetabs. |
| 2661 | * objfiles.c (objfile_relocate1): Remove declaration. |
| 2662 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove |
| 2663 | declaration. |
| 2664 | * maint.c (count_symtabs_and_blocks): Use compunit_filetabs. |
| 2665 | * coffread.c (coff_symtab_read): Remove declaration. |
| 2666 | * buildsym.c (buildsym_compunit::end_symtab_with_blockvector): Use |
| 2667 | compunit_filetabs. |
| 2668 | |
| 2669 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2670 | |
| 2671 | * symtab.c (lookup_objfile_from_block) |
| 2672 | (find_pc_sect_compunit_symtab, search_symbols) |
| 2673 | (default_collect_symbol_completion_matches_break_on): Use |
| 2674 | objfile_compunits. |
| 2675 | * objfiles.h (ALL_COMPUNITS): Remove. |
| 2676 | * maint.c (count_symtabs_and_blocks): Use objfile_compunits. |
| 2677 | * cp-support.c (add_symbol_overload_list_qualified): Use |
| 2678 | objfile_compunits. |
| 2679 | * ada-lang.c (ada_collect_symbol_completion_matches) |
| 2680 | (ada_add_global_exceptions): Use objfile_compunits. |
| 2681 | |
| 2682 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2683 | |
| 2684 | * source.c (select_source_symtab) |
| 2685 | (forget_cached_source_info_for_objfile): Remove declaration. |
| 2686 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove |
| 2687 | declaration. |
| 2688 | * maint.c (count_symtabs_and_blocks): Remove declaration. |
| 2689 | * cp-support.c (add_symbol_overload_list_qualified): Remove |
| 2690 | declaration. |
| 2691 | * coffread.c (coff_symtab_read): Remove declaration. |
| 2692 | * symtab.c (lookup_symbol_in_objfile_symtabs) |
| 2693 | (basic_lookup_transparent_type_1): Use objfile_compunits. |
| 2694 | (lookup_objfile_from_block, find_pc_sect_compunit_symtab) |
| 2695 | (info_sources_command, search_symbols) |
| 2696 | (default_collect_symbol_completion_matches_break_on) |
| 2697 | (make_source_files_completion_list): Remove declaration. |
| 2698 | * ada-lang.c (add_nonlocal_symbols): Use objfile_compunits. |
| 2699 | (ada_collect_symbol_completion_matches) |
| 2700 | (ada_add_global_exceptions): Remove declaration. |
| 2701 | * linespec.c (iterate_over_all_matching_symtabs): Use |
| 2702 | objfile_compunits. |
| 2703 | * objfiles.h (ALL_OBJFILE_COMPUNITS): Remove. |
| 2704 | (class objfile_compunits): New. |
| 2705 | (ALL_COMPUNITS): Use objfile_compunits. |
| 2706 | * symmisc.c (print_objfile_statistics, maintenance_info_symtabs) |
| 2707 | (maintenance_check_symtabs, maintenance_info_line_tables): Use |
| 2708 | objfile_compunits. |
| 2709 | * objfiles.c (objfile_relocate1): Use objfile_compunits. |
| 2710 | |
| 2711 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2712 | |
| 2713 | * symtab.c (search_symbols) |
| 2714 | (default_collect_symbol_completion_matches_break_on): Use |
| 2715 | objfile_msymbols. |
| 2716 | * ada-lang.c (ada_lookup_simple_minsym) |
| 2717 | (ada_collect_symbol_completion_matches): Use objfile_msymbols. |
| 2718 | * minsyms.c (find_solib_trampoline_target): Use objfile_msymbols. |
| 2719 | * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Use |
| 2720 | objfile_msymbols. |
| 2721 | * coffread.c (coff_symfile_read): Use objfile_msymbols. |
| 2722 | * symmisc.c (dump_msymbols): Use objfile_msymbols. |
| 2723 | * objc-lang.c (find_methods): Use objfile_msymbols. |
| 2724 | (info_selectors_command, info_classes_command): Likewise. |
| 2725 | * stabsread.c (scan_file_globals): Use objfile_msymbols. |
| 2726 | * objfiles.h (class objfile_msymbols): New. |
| 2727 | (ALL_OBJFILE_MSYMBOLS): Remove. |
| 2728 | (ALL_MSYMBOLS): Remove. |
| 2729 | |
| 2730 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2731 | |
| 2732 | * common/next-iterator.h (next_adapter): Add Iterator template |
| 2733 | parameter. |
| 2734 | * objfiles.h (ALL_OBJFILES_SAFE): Remove. |
| 2735 | (class all_objfiles_safe): New. |
| 2736 | * jit.c (jit_inferior_exit_hook): Use all_objfiles_safe. |
| 2737 | * objfiles.c (put_objfile_before): Update comment. |
| 2738 | (add_separate_debug_objfile): Likewise. |
| 2739 | (free_all_objfiles): Use all_objfiles_safe. |
| 2740 | (objfile_purge_solibs): Likewise. |
| 2741 | |
| 2742 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2743 | |
| 2744 | * symtab.c (iterate_over_symtabs, matching_obj_sections) |
| 2745 | (expand_symtab_containing_pc, lookup_static_symbol) |
| 2746 | (basic_lookup_transparent_type, find_pc_sect_compunit_symtab) |
| 2747 | (find_symbol_at_address, find_line_symtab, find_main_name): Use |
| 2748 | all_objfiles. |
| 2749 | * probe.c (find_probe_by_pc, collect_probes): Use all_objfiles. |
| 2750 | * breakpoint.c (create_overlay_event_breakpoint) |
| 2751 | (create_longjmp_master_breakpoint) |
| 2752 | (create_std_terminate_master_breakpoint) |
| 2753 | (create_exception_master_breakpoint): Use all_objfiles. |
| 2754 | * linux-thread-db.c (try_thread_db_load_from_pdir) |
| 2755 | (has_libpthread): Use all_objfiles. |
| 2756 | * ada-lang.c (add_nonlocal_symbols): Use all_objfiles. |
| 2757 | * linespec.c (iterate_over_all_matching_symtabs) |
| 2758 | (search_minsyms_for_name): Use all_objfiles. |
| 2759 | * maint.c (maintenance_info_sections): Use all_objfiles. |
| 2760 | * main.c (captured_main_1): Use all_objfiles. |
| 2761 | * spu-tdep.c (spu_objfile_from_frame): Use all_objfiles. |
| 2762 | * guile/scm-objfile.c (gdbscm_objfiles): Use all_objfiles. |
| 2763 | * guile/scm-pretty-print.c |
| 2764 | (ppscm_find_pretty_printer_from_objfiles): Use all_objfiles. |
| 2765 | * solib-spu.c (append_ocl_sos): Use all_objfiles. |
| 2766 | * symmisc.c (maintenance_print_symbols): Use all_objfiles. |
| 2767 | (maintenance_print_msymbols): Use all_objfiles. |
| 2768 | * source.c (select_source_symtab): Use all_objfiles. |
| 2769 | * jit.c (jit_find_objf_with_entry_addr): Use all_objfiles. |
| 2770 | * symfile.c (remove_symbol_file_command) |
| 2771 | (expand_symtabs_matching, map_symbol_filenames): Use |
| 2772 | all_objfiles. |
| 2773 | * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created): Use |
| 2774 | all_objfiles. |
| 2775 | * dwarf2-frame.c (dwarf2_frame_find_fde): Use all_objfiles. |
| 2776 | * objc-lang.c (find_methods): Use all_objfiles. |
| 2777 | * objfiles.c (have_partial_symbols, have_full_symbols) |
| 2778 | (have_minimal_symbols, qsort_cmp) |
| 2779 | (default_iterate_over_objfiles_in_search_order): Use |
| 2780 | all_objfiles. |
| 2781 | * hppa-tdep.c (find_unwind_entry): Use all_objfiles. |
| 2782 | * psymtab.c (maintenance_print_psymbols): Use all_objfiles. |
| 2783 | (maintenance_check_psymtabs): Use all_objfiles. |
| 2784 | (ALL_PSYMTABS): Remove. |
| 2785 | * compile/compile-object-run.c (do_module_cleanup): Use |
| 2786 | all_objfiles. |
| 2787 | * blockframe.c (find_pc_partial_function): Use all_objfiles. |
| 2788 | * cp-support.c (add_symbol_overload_list_qualified): Use |
| 2789 | all_objfiles. |
| 2790 | * windows-tdep.c (windows_iterate_over_objfiles_in_search_order): |
| 2791 | Use all_objfiles. |
| 2792 | * dwarf-index-write.c (save_gdb_index_command): Use all_objfiles. |
| 2793 | * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): Use |
| 2794 | all_objfiles. |
| 2795 | * python/py-objfile.c (objfpy_lookup_objfile_by_name) |
| 2796 | (objfpy_lookup_objfile_by_build_id): Use all_objfiles. |
| 2797 | * python/py-prettyprint.c (find_pretty_printer_from_objfiles): |
| 2798 | Uses all_objfiles. |
| 2799 | * solib.c (solib_read_symbols): Use all_objfiles |
| 2800 | |
| 2801 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2802 | |
| 2803 | * probe.c (parse_probes_in_pspace): Use all_objfiles. |
| 2804 | * guile/scm-progspace.c (gdbscm_progspace_objfiles): Use |
| 2805 | all_objfiles. |
| 2806 | * objfiles.h (ALL_PSPACE_OBJFILES): Remove. |
| 2807 | * symmisc.c (print_symbol_bcache_statistics) |
| 2808 | (print_objfile_statistics, maintenance_print_objfiles) |
| 2809 | (maintenance_info_symtabs, maintenance_check_symtabs) |
| 2810 | (maintenance_expand_symtabs, maintenance_info_line_tables): Use |
| 2811 | all_objfiles. |
| 2812 | * source.c (forget_cached_source_info): Use all_objfiles. |
| 2813 | * symfile-debug.c (set_debug_symfile): Use all_objfiles. |
| 2814 | * elfread.c (elf_gnu_ifunc_resolve_by_cache) |
| 2815 | (elf_gnu_ifunc_resolve_by_got): Use all_objfiles. |
| 2816 | * objfiles.c (update_section_map): Use all_objfiles. |
| 2817 | (shared_objfile_contains_address_p): Likewise. |
| 2818 | * psymtab.c (maintenance_info_psymtabs): Use all_objfiles. |
| 2819 | * python/py-progspace.c (pspy_get_objfiles): Use all_objfiles. |
| 2820 | |
| 2821 | 2019-01-09 Tom Tromey <tom@tromey.com> |
| 2822 | |
| 2823 | * common/next-iterator.h: New file. |
| 2824 | * objfiles.h (class all_objfiles): New. |
| 2825 | (struct objfile_iterator): New. |
| 2826 | |
| 2827 | 2019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 2828 | |
| 2829 | * NEWS: Move the description of the changed "frame", "select-frame", |
| 2830 | and "info frame" commands to the Changed commands section. |
| 2831 | |
| 2832 | 2019-01-09 Simon Marchi <simon.marchi@ericsson.com> |
| 2833 | |
| 2834 | * gdbtypes.c (check_stub_method_group): Remove handling of old |
| 2835 | mangling schemes. |
| 2836 | * linespec.c (find_methods): Likewise. |
| 2837 | * stabsread.c (read_member_functions): Likewise. |
| 2838 | * valops.c (search_struct_method): Likewise. |
| 2839 | (value_struct_elt_for_reference): Likewise. |
| 2840 | * NEWS: Mention this change. |
| 2841 | |
| 2842 | 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com> |
| 2843 | |
| 2844 | * cli/cli-cmds.c (list_command): Pass a source_lines_range to |
| 2845 | print_source_lines. |
| 2846 | * source.c (print_source_lines_base): Update line number check. |
| 2847 | (print_source_lines): New function. |
| 2848 | (source_lines_range::source_lines_range): New function. |
| 2849 | * source.h (class source_lines_range): New class. |
| 2850 | (print_source_lines): New declaration. |
| 2851 | |
| 2852 | 2019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 2853 | |
| 2854 | * linespec.c (linespec_state_destructor): Free self->canonical_names. |
| 2855 | |
| 2856 | 2019-01-08 Tom Tromey <tom@tromey.com> |
| 2857 | Simon Marchi <simon.marchi@ericsson.com> |
| 2858 | |
| 2859 | PR gdb/24060 |
| 2860 | * ada-exp.y (DOLLAR_VARIABLE): Rename from SPECIAL_VARIABLE. |
| 2861 | * ada-lex.l (DOLLAR_VARIABLE): Likewise. |
| 2862 | * c-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE. |
| 2863 | * f-exp.y (DOLLAR_VARIABLE): Likewise. |
| 2864 | * m2-exp.y (DOLLAR_VARIABLE): Rename from INTERNAL_VAR. |
| 2865 | * p-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE. |
| 2866 | |
| 2867 | 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 2868 | |
| 2869 | * source.c (select_source_symtab): Move header comment to |
| 2870 | declaration in source.h. |
| 2871 | (forget_cached_source_info_for_objfile): Likewise. |
| 2872 | (forget_cached_source_info): Likewise. |
| 2873 | (identify_source_line): Likewise. |
| 2874 | * source.h (identify_source_line): Move declaration from symtab.h |
| 2875 | and add comment from source.c |
| 2876 | (print_source_lines): Likewise. |
| 2877 | (forget_cached_source_info_for_objfile): Likewise. |
| 2878 | (forget_cached_source_info): Likewise. |
| 2879 | (select_source_symtab): Likewise. |
| 2880 | (enum print_source_lines_flag): Move definition from symtab.h. |
| 2881 | * symtab.h (identify_source_line): Move declaration to source.h. |
| 2882 | (print_source_lines): Likewise. |
| 2883 | (forget_cached_source_info_for_objfile): Likewise. |
| 2884 | (forget_cached_source_info): Likewise. |
| 2885 | (select_source_symtab): Likewise. |
| 2886 | (enum print_source_lines_flag): Move definition to source.h. |
| 2887 | * tui/tui-hooks.c: Add 'source.h' include. |
| 2888 | |
| 2889 | 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 2890 | |
| 2891 | * source.c (print_source_lines_base): Handle requests to print |
| 2892 | reverse line number sequences, and guard against empty lines |
| 2893 | string. |
| 2894 | |
| 2895 | 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
| 2896 | |
| 2897 | * source.c (print_source_lines_base): Fix skip of '\r' if next |
| 2898 | character is '\n'. |
| 2899 | |
| 2900 | 2019-01-06 Tom Tromey <tom@tromey.com> |
| 2901 | |
| 2902 | * c-exp.y (struct c_parse_state) <macro_original_text, |
| 2903 | expansion_obstack>: New member. |
| 2904 | (macro_original_text, expansion_obstack): Remove globals. |
| 2905 | (scan_macro_expansion, scanning_macro_expansion) |
| 2906 | (finished_macro_expansion): Update. |
| 2907 | (scan_macro_cleanup): Remove. |
| 2908 | (yylex, c_parse): Update. |
| 2909 | |
| 2910 | 2019-01-06 Tom Tromey <tom@tromey.com> |
| 2911 | |
| 2912 | * c-exp.y (struct c_parse_state) <strings>: New member. |
| 2913 | (operator_stoken): Update. |
| 2914 | |
| 2915 | 2019-01-06 Tom Tromey <tom@tromey.com> |
| 2916 | |
| 2917 | * parser-defs.h (type_ptr): Remove typedef. Don't declare VEC. |
| 2918 | (union type_stack_elt) <typelist_val>: Now a pointer to |
| 2919 | std::vector. |
| 2920 | (type_stack_cleanup): Don't declare. |
| 2921 | (push_typelist): Update. |
| 2922 | * parse.c (pop_typelist): Return a std::vector. |
| 2923 | (push_typelist): Take a std::vector. |
| 2924 | (follow_types): Update. Do not free args. |
| 2925 | (type_stack_cleanup): Remove. |
| 2926 | * c-exp.y (struct c_parse_state): New. |
| 2927 | (cpstate): New global. |
| 2928 | (type_aggregate_p, exp, ptr_operator, parameter_typelist) |
| 2929 | (nonempty_typelist): Update. |
| 2930 | (func_mod): Create a new vector. |
| 2931 | (c_parse): Create a c_parse_state. |
| 2932 | (check_parameter_typelist): Do not delete params. |
| 2933 | (function_method): Update. Do not delete type_list. |
| 2934 | |
| 2935 | 2019-01-06 Tom Tromey <tom@tromey.com> |
| 2936 | |
| 2937 | PR gdb/28155: |
| 2938 | * python/py-finishbreakpoint.c (bpfinishpy_init): Use |
| 2939 | check_typedef. |
| 2940 | * infcmd.c (finish_command_fsm_should_stop): Use check_typedef. |
| 2941 | (print_return_value): Likewise. |
| 2942 | |
| 2943 | 2019-01-05 Tom Tromey <tom@tromey.com> |
| 2944 | |
| 2945 | * contrib/cleanup_check.py: Remove. |
| 2946 | * contrib/gcc-with-excheck: Remove. |
| 2947 | * contrib/exsummary.py: Remove. |
| 2948 | * contrib/excheck.py: Remove. |
| 2949 | |
| 2950 | 2019-01-05 Joel Brobecker <brobecker@adacore.com> |
| 2951 | |
| 2952 | * thread.c (delete_thread_1): Add gdb_assert that THR is not |
| 2953 | NULL. Initialize tpprev to NULL instead of assigning it |
| 2954 | to NULL on the next statement. |
| 2955 | * windows-nat.c (windows_delete_thread): Remove check for |
| 2956 | main_thread_id before printing thread exit notifications. |
| 2957 | (get_windows_debug_event) <EXIT_THREAD_DEBUG_EVENT>: |
| 2958 | Remove thread ID check against main_thread_id. |
| 2959 | <CREATE_PROCESS_DEBUG_EVENT>: Remove call to |
| 2960 | windows_delete_thread. |
| 2961 | <EXIT_PROCESS_DEBUG_EVENT>: Add call to windows_delete_thread. |
| 2962 | |
| 2963 | 2019-01-04 Tom Tromey <tom@tromey.com> |
| 2964 | |
| 2965 | * compile/compile.c (_initialize_compile): Use upper case for |
| 2966 | metasyntactic variables. |
| 2967 | * symmisc.c (_initialize_symmisc): Use upper case for |
| 2968 | metasyntactic variables. |
| 2969 | * psymtab.c (_initialize_psymtab): Use upper case for |
| 2970 | metasyntactic variables. |
| 2971 | * demangle.c (demangle_command): Use upper case for metasyntactic |
| 2972 | variables. |
| 2973 | (_initialize_demangler): Likewise. |
| 2974 | * ax-gdb.c (_initialize_ax_gdb): Use upper case for metasyntactic |
| 2975 | variables. |
| 2976 | |
| 2977 | 2019-01-03 Tom Tromey <tom@tromey.com> |
| 2978 | |
| 2979 | * tui/tui-source.c (tui_set_source_content): Use xstrdup. |
| 2980 | |
| 2981 | 2019-01-03 Tom Tromey <tom@tromey.com> |
| 2982 | |
| 2983 | * python/py-symtab.c (salpy_str): Update. |
| 2984 | (struct salpy_sal_object) <symtab>: Now a PyObject. |
| 2985 | (salpy_dealloc): Update. |
| 2986 | (del_objfile_sal): Use gdbpy_ref. |
| 2987 | |
| 2988 | 2019-01-03 Tom Tromey <tom@tromey.com> |
| 2989 | |
| 2990 | * python/py-type.c (convert_field): Use new_reference. Return |
| 2991 | gdbpy_ref. |
| 2992 | (make_fielditem): Return gdbpy_ref. |
| 2993 | (typy_fields): Update. |
| 2994 | (typy_getitem): Update. |
| 2995 | (field_name): Return gdbpy_ref. Use new_reference. |
| 2996 | (typy_iterator_iternext): Update. |
| 2997 | |
| 2998 | 2019-01-03 Tom Tromey <tom@tromey.com> |
| 2999 | |
| 3000 | * python/py-record.c (gdbpy_stop_recording): Use Py_RETURN_NONE. |
| 3001 | |
| 3002 | 2019-01-03 Tom Tromey <tom@tromey.com> |
| 3003 | |
| 3004 | * python/py-value.c (valpy_dealloc): Use Py_XDECREF. |
| 3005 | * python/py-type.c (typy_fields_items): Use gdbpy_ref. |
| 3006 | * python/py-progspace.c (pspy_set_printers): Use gdbpy_ref. |
| 3007 | (pspy_set_frame_filters, pspy_set_frame_unwinders) |
| 3008 | (pspy_set_type_printers): Likewise. |
| 3009 | * python/py-function.c (fnpy_init): Use gdbpy_ref. |
| 3010 | * python/py-cmd.c (cmdpy_init): Use gdbpy_ref. |
| 3011 | * python/py-objfile.c (objfpy_set_printers): Use gdbpy_ref. |
| 3012 | (objfpy_set_frame_filters, objfpy_set_frame_unwinders) |
| 3013 | (objfpy_set_type_printers): Likewise. |
| 3014 | |
| 3015 | 2019-01-03 Tom Tromey <tom@tromey.com> |
| 3016 | |
| 3017 | * python/python.c (gdbpy_enter, ~gdbpy_enter): Update. |
| 3018 | (gdbpy_print_stack): Use gdbpy_err_fetch. |
| 3019 | * python/python-internal.h (class gdbpy_err_fetch): New class. |
| 3020 | (class gdbpy_enter) <m_error_type, m_error_value, |
| 3021 | m_error_traceback>: Remove. |
| 3022 | <m_error>: New member. |
| 3023 | (gdbpy_exception_to_string): Don't declare. |
| 3024 | * python/py-varobj.c (py_varobj_iter_next): Use gdbpy_err_fetch. |
| 3025 | * python/py-value.c (convert_value_from_python): Use |
| 3026 | gdbpy_err_fetch. |
| 3027 | * python/py-utils.c (gdbpy_err_fetch::to_string): Rename from |
| 3028 | gdbpy_exception_to_string. |
| 3029 | (gdbpy_handle_exception): Use gdbpy_err_fetch. |
| 3030 | * python/py-prettyprint.c (print_stack_unless_memory_error): Use |
| 3031 | gdbpy_err_fetch. |
| 3032 | |
| 3033 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3034 | |
| 3035 | * linux-nat.c (delete_lwp_cleanup): Delete. |
| 3036 | (struct lwp_deleter): New struct. |
| 3037 | (lwp_info_up): New typedef. |
| 3038 | (linux_nat_target::follow_fork): Delete cleanup, and make use of |
| 3039 | lwp_info_up. |
| 3040 | |
| 3041 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3042 | |
| 3043 | * linux-fork.c (class scoped_switch_fork_info): New class. |
| 3044 | (inferior_call_waitpid): Update to use scoped_switch_fork_info. |
| 3045 | |
| 3046 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3047 | |
| 3048 | * valops.c (find_overload_match): Remove use of null_cleanup, and |
| 3049 | calls to do_cleanups. |
| 3050 | |
| 3051 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3052 | |
| 3053 | * compile/compile-cplus-types.c |
| 3054 | (compile_cplus_instance::decl_name): Handle changes to |
| 3055 | cp_func_name. |
| 3056 | * cp-support.c (cp_func_name): Update header comment, update |
| 3057 | return type. |
| 3058 | * cp-support.h (cp_func_name): Update return type in declaration. |
| 3059 | * valops.c (find_overload_match): Move temp_func local to top |
| 3060 | level of function and change its type. Use temp_func to hold and |
| 3061 | delete temporary string obtained from cp_func_name. |
| 3062 | |
| 3063 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3064 | |
| 3065 | * remote.c (remote_target::remote_check_symbols): Convert `msg` to |
| 3066 | gdb::char_vector, remove cleanup, and update uses of `msg`. |
| 3067 | |
| 3068 | 2019-01-03 Jim Wilson <jimw@sifive.com> |
| 3069 | |
| 3070 | * riscv-tdep.c (riscv_freg_feature): Drop s0 name from f8. |
| 3071 | |
| 3072 | 2019-01-02 Tom Tromey <tom@tromey.com> |
| 3073 | |
| 3074 | * xml-tdesc.c (xml_cache): Hold a target_desc_up. |
| 3075 | (tdesc_parse_xml): Remove cleanups. |
| 3076 | * target-descriptions.h (make_cleanup_free_target_description): |
| 3077 | Don't declare. |
| 3078 | (target_desc_deleter): New struct. |
| 3079 | (target_desc_up): New typedef. |
| 3080 | * target-descriptions.c (target_desc_deleter::operator()): Rename |
| 3081 | from free_target_description. |
| 3082 | (make_cleanup_free_target_description): Remove. |
| 3083 | |
| 3084 | 2019-01-02 Tom Tromey <tom@tromey.com> |
| 3085 | |
| 3086 | * linespec.c (struct linespec_parser): Rename from ls_parser. Add |
| 3087 | constructor, destructor. |
| 3088 | (linespec_parser): Remove typedef. |
| 3089 | (~linespec_parser): Rename from linespec_parser_delete. |
| 3090 | (linespec_lex_to_end, linespec_complete_label) |
| 3091 | (linespec_complete): Update. |
| 3092 | (decode_line_full): Remove cleanups. |
| 3093 | (decode_line_1): Update. |
| 3094 | |
| 3095 | 2019-01-02 Tom Tromey <tom@tromey.com> |
| 3096 | |
| 3097 | * python/python-internal.h (inferior_to_inferior_object): Change |
| 3098 | return type. |
| 3099 | * python/py-exitedevent.c (create_exited_event_object): Update. |
| 3100 | * python/py-inferior.c (inferior_to_inferior_object): Return |
| 3101 | gdbpy_ref. |
| 3102 | (python_new_inferior, python_inferior_deleted) |
| 3103 | (thread_to_thread_object, delete_thread_object) |
| 3104 | (build_inferior_list, gdbpy_selected_inferior): Update. |
| 3105 | * python/py-infthread.c (create_thread_object): Update. Also fail |
| 3106 | if inferior_to_inferior_object fails. |
| 3107 | |
| 3108 | 2019-01-02 Simon Marchi <simon.marchi@ericsson.com> |
| 3109 | |
| 3110 | * inferior.h (class inferior) <displaced_step_state>: New field. |
| 3111 | * infrun.h (struct displaced_step_state): Move here from |
| 3112 | infrun.c. Initialize fields, add constructor. |
| 3113 | <inf>: Remove field. |
| 3114 | <reset>: New method. |
| 3115 | * infrun.c (struct displaced_step_inferior_state): Move to |
| 3116 | infrun.h. |
| 3117 | (displaced_step_inferior_states): Remove. |
| 3118 | (get_displaced_stepping_state): Adust. |
| 3119 | (displaced_step_in_progress_any_inferior): Adjust. |
| 3120 | (displaced_step_in_progress_thread): Adjust. |
| 3121 | (displaced_step_in_progress): Adjust. |
| 3122 | (add_displaced_stepping_state): Remove. |
| 3123 | (get_displaced_step_closure_by_addr): Adjust. |
| 3124 | (remove_displaced_stepping_state): Remove. |
| 3125 | (infrun_inferior_exit): Call displaced_step_state.reset. |
| 3126 | (use_displaced_stepping): Don't check for NULL. |
| 3127 | (displaced_step_prepare_throw): Call |
| 3128 | get_displaced_stepping_state. |
| 3129 | (displaced_step_fixup): Don't check for NULL. |
| 3130 | (prepare_for_detach): Don't check for NULL. |
| 3131 | |
| 3132 | 2019-01-02 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 3133 | |
| 3134 | * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm |
| 3135 | in case of call that did not complete. |
| 3136 | |
| 3137 | 2019-01-02 Andrey Utkin <autkin@undo.io> |
| 3138 | |
| 3139 | * symfile.c (find_separate_debug_file): Fix search of debug files for |
| 3140 | remote debuggee. |
| 3141 | |
| 3142 | 2019-01-02 Tom Tromey <tom@tromey.com> |
| 3143 | |
| 3144 | * python/py-inferior.c (gdbpy_initialize_inferior): Fix |
| 3145 | indentation. |
| 3146 | * python/py-frame.c (frapy_older): Remove cast. |
| 3147 | (frapy_newer): Likewise. |
| 3148 | * python/py-breakpoint.c (local_setattro): Remove cast. |
| 3149 | * python/py-arch.c (archpy_name): Remove local variable. |
| 3150 | * python/py-type.c (gdbpy_lookup_type): Remove cast. |
| 3151 | |
| 3152 | 2019-01-02 Joel Brobecker <brobecker@adacore.com> |
| 3153 | |
| 3154 | * unittests/basic_string_view/element_access/char/empty.cc: |
| 3155 | Fix year range in copyright header. |
| 3156 | |
| 3157 | 2019-01-01 Andrew Burgess <andrew.burgess@embecosm.com> |
| 3158 | |
| 3159 | * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>: |
| 3160 | Delete. |
| 3161 | <operator==>: Update with for removed field. |
| 3162 | <hash>: Likewise. |
| 3163 | * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to... |
| 3164 | <isa_features>: ...this. |
| 3165 | <abi_features>: New field. |
| 3166 | (riscv_isa_flen): Update comment. |
| 3167 | (riscv_abi_xlen): New declaration. |
| 3168 | (riscv_abi_flen): New declaration. |
| 3169 | * riscv-tdep.c (riscv_isa_xlen): Update to get answer from |
| 3170 | isa_features. |
| 3171 | (riscv_abi_xlen): New function. |
| 3172 | (riscv_isa_flen): Update to get answer from isa_features. |
| 3173 | (riscv_abi_flen): New function. |
| 3174 | (riscv_has_fp_abi): Update to get answer from abi_features. |
| 3175 | (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa |
| 3176 | xlen and flen. |
| 3177 | (riscv_call_info) <xlen, flen>: Update comment. |
| 3178 | (riscv_call_arg_struct): Remove invalid assertions |
| 3179 | (riscv_features_from_gdbarch_info): Update now hw_float_abi field |
| 3180 | is removed. |
| 3181 | (riscv_gdbarch_init): Gather isa features and abi features |
| 3182 | separately, ensure both match on the gdbarch when reusing an old |
| 3183 | gdbarch. Relax an error check to allow 32-bit abi float to run on |
| 3184 | a target with 64-bit float hardware. |
| 3185 | |
| 3186 | 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 3187 | |
| 3188 | * source.c (search_command_helper): Stop reverse search |
| 3189 | when line 1 has been searched. |
| 3190 | |
| 3191 | 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 3192 | |
| 3193 | * record-full.c (record_full_base_target::close): Rewrite |
| 3194 | record_full_core_buf_list free logic. |
| 3195 | |
| 3196 | 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
| 3197 | |
| 3198 | * break-catch-syscall.c (print_one_catch_syscall): xfree |
| 3199 | the last text. |
| 3200 | |
| 3201 | 2019-01-01 Joel Brobecker <brobecker@adacore.com> |
| 3202 | |
| 3203 | * top.c (print_gdb_version): Update Copyright year in version |
| 3204 | message. |
| 3205 | |
| 3206 | 2019-01-01 Joel Brobecker <brobecker@adacore.com> |
| 3207 | |
| 3208 | Update copyright year range in all GDB files. |
| 3209 | |
| 3210 | 2019-01-01, 19 Joel Brobecker <brobecker@adacore.com> |
| 3211 | |
| 3212 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018. |
| 3213 | |
| 3214 | For older changes see ChangeLog-2018. |
| 3215 | \f |
| 3216 | Local Variables: |
| 3217 | mode: change-log |
| 3218 | left-margin: 8 |
| 3219 | fill-column: 74 |
| 3220 | version-control: never |
| 3221 | coding: utf-8 |
| 3222 | End: |
| 3223 | |