1 2019-01-10 Tom Tromey <tom@tromey.com>
3 * xcoffread.c (xcoff_end_psymtab): Remove some initializations.
4 * psymtab.c (allocate_psymtab): Add comment.
5 * psympriv.h (allocate_psymtab): Add comment.
6 * dwarf2read.c (dwarf2_create_include_psymtab): Remove some
8 * dbxread.c (dbx_end_psymtab): Remove some initializations.
10 2019-01-10 Tom Tromey <tom@tromey.com>
12 * symfile.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs):
14 * mipsread.c: Include mdebugread.h.
15 * mdebugread.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs):
17 * elfread.c: Include mdebugread.h.
19 2019-01-09 Tom Tromey <tom@tromey.com>
21 * dbxread.c (dbx_end_psymtab): Use objfile_psymtabs.
22 * mdebugread.c (parse_partial_symbols): Use objfile_psymtabs.
23 * psymtab.c (ALL_OBJFILE_PSYMTABS_REQUIRED): Remove.
24 (psym_map_symtabs_matching_filename, find_pc_sect_psymtab)
25 (psym_lookup_symbol, psym_find_last_source_symtab)
26 (psym_forget_cached_source_info, psym_print_stats)
27 (psym_expand_symtabs_for_function, psym_expand_all_symtabs)
28 (psym_expand_symtabs_with_fullname, psym_map_symbol_filenames)
29 (psym_map_matching_symbols, psym_expand_symtabs_matching)
30 (psym_find_compunit_symtab_by_address)
31 (maintenance_print_psymbols, maintenance_info_psymtabs)
32 (maintenance_check_psymtabs): Use ranged for.
33 * psymtab.h (class objfile_psymtabs): New.
34 (require_partial_symbols): Return objfile_psymtabs.
35 * psympriv.h (ALL_OBJFILE_PSYMTABS): Remove.
37 2019-01-09 Tom Tromey <tom@tromey.com>
39 * symfile.c (overlay_invalidate_all, find_pc_overlay)
40 (find_pc_mapped_section, list_overlays_command)
41 (map_overlay_command, unmap_overlay_command)
42 (simple_overlay_update): Use all_objfiles.
43 * spu-tdep.c (spu_overlay_update): Use all_objfiles.
44 * printcmd.c (info_symbol_command): Use all_objfiles.
45 * objfiles.h (ALL_OBJSECTIONS): Remove.
46 * maint.c (maintenance_translate_address): Use all_objfiles.
47 * gcore.c (gcore_create_callback): Use all_objfiles.
48 (objfile_find_memory_regions): Likewise.
50 2019-01-09 Tom Tromey <tom@tromey.com>
52 * symtab.c (find_line_symtab, info_sources_command)
53 (make_source_files_completion_list): Use objfile_compunits.
54 * source.c (select_source_symtab): Use objfile_compunits.
55 * objfiles.h (struct objfile): Update comment.
56 (ALL_OBJFILES): Remove.
57 (ALL_FILETABS): Remove.
58 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Use
61 2019-01-09 Tom Tromey <tom@tromey.com>
63 * symmisc.c (print_objfile_statistics, dump_objfile)
64 (maintenance_print_symbols): Use compunit_filetabs.
65 * source.c (forget_cached_source_info_for_objfile): Use
67 * objfiles.h (ALL_OBJFILE_FILETABS): Remove.
68 (ALL_FILETABS): Use compunit_filetabs.
69 * objfiles.c (objfile_relocate1): Use compunit_filetabs.
70 * coffread.c (coff_symtab_read): Use compunit_filetabs.
72 2019-01-09 Tom Tromey <tom@tromey.com>
74 * symtab.h (ALL_COMPUNIT_FILETABS): Remove.
75 (compunit_filetabs): New.
76 * symtab.c (iterate_over_some_symtabs, find_pc_sect_line): Use
78 (info_sources_command, make_source_files_completion_list): Remove
80 * symmisc.c (print_objfile_statistics, dump_objfile)
81 (maintenance_print_symbols): Remove declaration.
82 (maintenance_info_symtabs): Use compunit_filetabs.
83 (maintenance_info_line_tables): Likewise.
84 * source.c (select_source_symtab): Change local variable name.
85 (forget_cached_source_info_for_objfile): Remove declaration.
86 * objfiles.h (ALL_OBJFILE_FILETABS): Use compunit_filetabs.
87 * objfiles.c (objfile_relocate1): Remove declaration.
88 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove
90 * maint.c (count_symtabs_and_blocks): Use compunit_filetabs.
91 * coffread.c (coff_symtab_read): Remove declaration.
92 * buildsym.c (buildsym_compunit::end_symtab_with_blockvector): Use
95 2019-01-09 Tom Tromey <tom@tromey.com>
97 * symtab.c (lookup_objfile_from_block)
98 (find_pc_sect_compunit_symtab, search_symbols)
99 (default_collect_symbol_completion_matches_break_on): Use
101 * objfiles.h (ALL_COMPUNITS): Remove.
102 * maint.c (count_symtabs_and_blocks): Use objfile_compunits.
103 * cp-support.c (add_symbol_overload_list_qualified): Use
105 * ada-lang.c (ada_collect_symbol_completion_matches)
106 (ada_add_global_exceptions): Use objfile_compunits.
108 2019-01-09 Tom Tromey <tom@tromey.com>
110 * source.c (select_source_symtab)
111 (forget_cached_source_info_for_objfile): Remove declaration.
112 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove
114 * maint.c (count_symtabs_and_blocks): Remove declaration.
115 * cp-support.c (add_symbol_overload_list_qualified): Remove
117 * coffread.c (coff_symtab_read): Remove declaration.
118 * symtab.c (lookup_symbol_in_objfile_symtabs)
119 (basic_lookup_transparent_type_1): Use objfile_compunits.
120 (lookup_objfile_from_block, find_pc_sect_compunit_symtab)
121 (info_sources_command, search_symbols)
122 (default_collect_symbol_completion_matches_break_on)
123 (make_source_files_completion_list): Remove declaration.
124 * ada-lang.c (add_nonlocal_symbols): Use objfile_compunits.
125 (ada_collect_symbol_completion_matches)
126 (ada_add_global_exceptions): Remove declaration.
127 * linespec.c (iterate_over_all_matching_symtabs): Use
129 * objfiles.h (ALL_OBJFILE_COMPUNITS): Remove.
130 (class objfile_compunits): New.
131 (ALL_COMPUNITS): Use objfile_compunits.
132 * symmisc.c (print_objfile_statistics, maintenance_info_symtabs)
133 (maintenance_check_symtabs, maintenance_info_line_tables): Use
135 * objfiles.c (objfile_relocate1): Use objfile_compunits.
137 2019-01-09 Tom Tromey <tom@tromey.com>
139 * symtab.c (search_symbols)
140 (default_collect_symbol_completion_matches_break_on): Use
142 * ada-lang.c (ada_lookup_simple_minsym)
143 (ada_collect_symbol_completion_matches): Use objfile_msymbols.
144 * minsyms.c (find_solib_trampoline_target): Use objfile_msymbols.
145 * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Use
147 * coffread.c (coff_symfile_read): Use objfile_msymbols.
148 * symmisc.c (dump_msymbols): Use objfile_msymbols.
149 * objc-lang.c (find_methods): Use objfile_msymbols.
150 (info_selectors_command, info_classes_command): Likewise.
151 * stabsread.c (scan_file_globals): Use objfile_msymbols.
152 * objfiles.h (class objfile_msymbols): New.
153 (ALL_OBJFILE_MSYMBOLS): Remove.
154 (ALL_MSYMBOLS): Remove.
156 2019-01-09 Tom Tromey <tom@tromey.com>
158 * common/next-iterator.h (next_adapter): Add Iterator template
160 * objfiles.h (ALL_OBJFILES_SAFE): Remove.
161 (class all_objfiles_safe): New.
162 * jit.c (jit_inferior_exit_hook): Use all_objfiles_safe.
163 * objfiles.c (put_objfile_before): Update comment.
164 (add_separate_debug_objfile): Likewise.
165 (free_all_objfiles): Use all_objfiles_safe.
166 (objfile_purge_solibs): Likewise.
168 2019-01-09 Tom Tromey <tom@tromey.com>
170 * symtab.c (iterate_over_symtabs, matching_obj_sections)
171 (expand_symtab_containing_pc, lookup_static_symbol)
172 (basic_lookup_transparent_type, find_pc_sect_compunit_symtab)
173 (find_symbol_at_address, find_line_symtab, find_main_name): Use
175 * probe.c (find_probe_by_pc, collect_probes): Use all_objfiles.
176 * breakpoint.c (create_overlay_event_breakpoint)
177 (create_longjmp_master_breakpoint)
178 (create_std_terminate_master_breakpoint)
179 (create_exception_master_breakpoint): Use all_objfiles.
180 * linux-thread-db.c (try_thread_db_load_from_pdir)
181 (has_libpthread): Use all_objfiles.
182 * ada-lang.c (add_nonlocal_symbols): Use all_objfiles.
183 * linespec.c (iterate_over_all_matching_symtabs)
184 (search_minsyms_for_name): Use all_objfiles.
185 * maint.c (maintenance_info_sections): Use all_objfiles.
186 * main.c (captured_main_1): Use all_objfiles.
187 * spu-tdep.c (spu_objfile_from_frame): Use all_objfiles.
188 * guile/scm-objfile.c (gdbscm_objfiles): Use all_objfiles.
189 * guile/scm-pretty-print.c
190 (ppscm_find_pretty_printer_from_objfiles): Use all_objfiles.
191 * solib-spu.c (append_ocl_sos): Use all_objfiles.
192 * symmisc.c (maintenance_print_symbols): Use all_objfiles.
193 (maintenance_print_msymbols): Use all_objfiles.
194 * source.c (select_source_symtab): Use all_objfiles.
195 * jit.c (jit_find_objf_with_entry_addr): Use all_objfiles.
196 * symfile.c (remove_symbol_file_command)
197 (expand_symtabs_matching, map_symbol_filenames): Use
199 * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created): Use
201 * dwarf2-frame.c (dwarf2_frame_find_fde): Use all_objfiles.
202 * objc-lang.c (find_methods): Use all_objfiles.
203 * objfiles.c (have_partial_symbols, have_full_symbols)
204 (have_minimal_symbols, qsort_cmp)
205 (default_iterate_over_objfiles_in_search_order): Use
207 * hppa-tdep.c (find_unwind_entry): Use all_objfiles.
208 * psymtab.c (maintenance_print_psymbols): Use all_objfiles.
209 (maintenance_check_psymtabs): Use all_objfiles.
210 (ALL_PSYMTABS): Remove.
211 * compile/compile-object-run.c (do_module_cleanup): Use
213 * blockframe.c (find_pc_partial_function): Use all_objfiles.
214 * cp-support.c (add_symbol_overload_list_qualified): Use
216 * windows-tdep.c (windows_iterate_over_objfiles_in_search_order):
218 * dwarf-index-write.c (save_gdb_index_command): Use all_objfiles.
219 * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): Use
221 * python/py-objfile.c (objfpy_lookup_objfile_by_name)
222 (objfpy_lookup_objfile_by_build_id): Use all_objfiles.
223 * python/py-prettyprint.c (find_pretty_printer_from_objfiles):
225 * solib.c (solib_read_symbols): Use all_objfiles
227 2019-01-09 Tom Tromey <tom@tromey.com>
229 * probe.c (parse_probes_in_pspace): Use all_objfiles.
230 * guile/scm-progspace.c (gdbscm_progspace_objfiles): Use
232 * objfiles.h (ALL_PSPACE_OBJFILES): Remove.
233 * symmisc.c (print_symbol_bcache_statistics)
234 (print_objfile_statistics, maintenance_print_objfiles)
235 (maintenance_info_symtabs, maintenance_check_symtabs)
236 (maintenance_expand_symtabs, maintenance_info_line_tables): Use
238 * source.c (forget_cached_source_info): Use all_objfiles.
239 * symfile-debug.c (set_debug_symfile): Use all_objfiles.
240 * elfread.c (elf_gnu_ifunc_resolve_by_cache)
241 (elf_gnu_ifunc_resolve_by_got): Use all_objfiles.
242 * objfiles.c (update_section_map): Use all_objfiles.
243 (shared_objfile_contains_address_p): Likewise.
244 * psymtab.c (maintenance_info_psymtabs): Use all_objfiles.
245 * python/py-progspace.c (pspy_get_objfiles): Use all_objfiles.
247 2019-01-09 Tom Tromey <tom@tromey.com>
249 * common/next-iterator.h: New file.
250 * objfiles.h (class all_objfiles): New.
251 (struct objfile_iterator): New.
253 2019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
255 * NEWS: Move the description of the changed "frame", "select-frame",
256 and "info frame" commands to the Changed commands section.
258 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
260 * gdbtypes.c (check_stub_method_group): Remove handling of old
262 * linespec.c (find_methods): Likewise.
263 * stabsread.c (read_member_functions): Likewise.
264 * valops.c (search_struct_method): Likewise.
265 (value_struct_elt_for_reference): Likewise.
266 * NEWS: Mention this change.
268 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
270 * cli/cli-cmds.c (list_command): Pass a source_lines_range to
272 * source.c (print_source_lines_base): Update line number check.
273 (print_source_lines): New function.
274 (source_lines_range::source_lines_range): New function.
275 * source.h (class source_lines_range): New class.
276 (print_source_lines): New declaration.
278 2019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
280 * linespec.c (linespec_state_destructor): Free self->canonical_names.
282 2019-01-08 Tom Tromey <tom@tromey.com>
283 Simon Marchi <simon.marchi@ericsson.com>
286 * ada-exp.y (DOLLAR_VARIABLE): Rename from SPECIAL_VARIABLE.
287 * ada-lex.l (DOLLAR_VARIABLE): Likewise.
288 * c-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.
289 * f-exp.y (DOLLAR_VARIABLE): Likewise.
290 * m2-exp.y (DOLLAR_VARIABLE): Rename from INTERNAL_VAR.
291 * p-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE.
293 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
295 * source.c (select_source_symtab): Move header comment to
296 declaration in source.h.
297 (forget_cached_source_info_for_objfile): Likewise.
298 (forget_cached_source_info): Likewise.
299 (identify_source_line): Likewise.
300 * source.h (identify_source_line): Move declaration from symtab.h
301 and add comment from source.c
302 (print_source_lines): Likewise.
303 (forget_cached_source_info_for_objfile): Likewise.
304 (forget_cached_source_info): Likewise.
305 (select_source_symtab): Likewise.
306 (enum print_source_lines_flag): Move definition from symtab.h.
307 * symtab.h (identify_source_line): Move declaration to source.h.
308 (print_source_lines): Likewise.
309 (forget_cached_source_info_for_objfile): Likewise.
310 (forget_cached_source_info): Likewise.
311 (select_source_symtab): Likewise.
312 (enum print_source_lines_flag): Move definition to source.h.
313 * tui/tui-hooks.c: Add 'source.h' include.
315 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
317 * source.c (print_source_lines_base): Handle requests to print
318 reverse line number sequences, and guard against empty lines
321 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com>
323 * source.c (print_source_lines_base): Fix skip of '\r' if next
326 2019-01-06 Tom Tromey <tom@tromey.com>
328 * c-exp.y (struct c_parse_state) <macro_original_text,
329 expansion_obstack>: New member.
330 (macro_original_text, expansion_obstack): Remove globals.
331 (scan_macro_expansion, scanning_macro_expansion)
332 (finished_macro_expansion): Update.
333 (scan_macro_cleanup): Remove.
334 (yylex, c_parse): Update.
336 2019-01-06 Tom Tromey <tom@tromey.com>
338 * c-exp.y (struct c_parse_state) <strings>: New member.
339 (operator_stoken): Update.
341 2019-01-06 Tom Tromey <tom@tromey.com>
343 * parser-defs.h (type_ptr): Remove typedef. Don't declare VEC.
344 (union type_stack_elt) <typelist_val>: Now a pointer to
346 (type_stack_cleanup): Don't declare.
347 (push_typelist): Update.
348 * parse.c (pop_typelist): Return a std::vector.
349 (push_typelist): Take a std::vector.
350 (follow_types): Update. Do not free args.
351 (type_stack_cleanup): Remove.
352 * c-exp.y (struct c_parse_state): New.
353 (cpstate): New global.
354 (type_aggregate_p, exp, ptr_operator, parameter_typelist)
355 (nonempty_typelist): Update.
356 (func_mod): Create a new vector.
357 (c_parse): Create a c_parse_state.
358 (check_parameter_typelist): Do not delete params.
359 (function_method): Update. Do not delete type_list.
361 2019-01-06 Tom Tromey <tom@tromey.com>
364 * python/py-finishbreakpoint.c (bpfinishpy_init): Use
366 * infcmd.c (finish_command_fsm_should_stop): Use check_typedef.
367 (print_return_value): Likewise.
369 2019-01-05 Tom Tromey <tom@tromey.com>
371 * contrib/cleanup_check.py: Remove.
372 * contrib/gcc-with-excheck: Remove.
373 * contrib/exsummary.py: Remove.
374 * contrib/excheck.py: Remove.
376 2019-01-05 Joel Brobecker <brobecker@adacore.com>
378 * thread.c (delete_thread_1): Add gdb_assert that THR is not
379 NULL. Initialize tpprev to NULL instead of assigning it
380 to NULL on the next statement.
381 * windows-nat.c (windows_delete_thread): Remove check for
382 main_thread_id before printing thread exit notifications.
383 (get_windows_debug_event) <EXIT_THREAD_DEBUG_EVENT>:
384 Remove thread ID check against main_thread_id.
385 <CREATE_PROCESS_DEBUG_EVENT>: Remove call to
386 windows_delete_thread.
387 <EXIT_PROCESS_DEBUG_EVENT>: Add call to windows_delete_thread.
389 2019-01-04 Tom Tromey <tom@tromey.com>
391 * compile/compile.c (_initialize_compile): Use upper case for
392 metasyntactic variables.
393 * symmisc.c (_initialize_symmisc): Use upper case for
394 metasyntactic variables.
395 * psymtab.c (_initialize_psymtab): Use upper case for
396 metasyntactic variables.
397 * demangle.c (demangle_command): Use upper case for metasyntactic
399 (_initialize_demangler): Likewise.
400 * ax-gdb.c (_initialize_ax_gdb): Use upper case for metasyntactic
403 2019-01-03 Tom Tromey <tom@tromey.com>
405 * tui/tui-source.c (tui_set_source_content): Use xstrdup.
407 2019-01-03 Tom Tromey <tom@tromey.com>
409 * python/py-symtab.c (salpy_str): Update.
410 (struct salpy_sal_object) <symtab>: Now a PyObject.
411 (salpy_dealloc): Update.
412 (del_objfile_sal): Use gdbpy_ref.
414 2019-01-03 Tom Tromey <tom@tromey.com>
416 * python/py-type.c (convert_field): Use new_reference. Return
418 (make_fielditem): Return gdbpy_ref.
419 (typy_fields): Update.
420 (typy_getitem): Update.
421 (field_name): Return gdbpy_ref. Use new_reference.
422 (typy_iterator_iternext): Update.
424 2019-01-03 Tom Tromey <tom@tromey.com>
426 * python/py-record.c (gdbpy_stop_recording): Use Py_RETURN_NONE.
428 2019-01-03 Tom Tromey <tom@tromey.com>
430 * python/py-value.c (valpy_dealloc): Use Py_XDECREF.
431 * python/py-type.c (typy_fields_items): Use gdbpy_ref.
432 * python/py-progspace.c (pspy_set_printers): Use gdbpy_ref.
433 (pspy_set_frame_filters, pspy_set_frame_unwinders)
434 (pspy_set_type_printers): Likewise.
435 * python/py-function.c (fnpy_init): Use gdbpy_ref.
436 * python/py-cmd.c (cmdpy_init): Use gdbpy_ref.
437 * python/py-objfile.c (objfpy_set_printers): Use gdbpy_ref.
438 (objfpy_set_frame_filters, objfpy_set_frame_unwinders)
439 (objfpy_set_type_printers): Likewise.
441 2019-01-03 Tom Tromey <tom@tromey.com>
443 * python/python.c (gdbpy_enter, ~gdbpy_enter): Update.
444 (gdbpy_print_stack): Use gdbpy_err_fetch.
445 * python/python-internal.h (class gdbpy_err_fetch): New class.
446 (class gdbpy_enter) <m_error_type, m_error_value,
447 m_error_traceback>: Remove.
448 <m_error>: New member.
449 (gdbpy_exception_to_string): Don't declare.
450 * python/py-varobj.c (py_varobj_iter_next): Use gdbpy_err_fetch.
451 * python/py-value.c (convert_value_from_python): Use
453 * python/py-utils.c (gdbpy_err_fetch::to_string): Rename from
454 gdbpy_exception_to_string.
455 (gdbpy_handle_exception): Use gdbpy_err_fetch.
456 * python/py-prettyprint.c (print_stack_unless_memory_error): Use
459 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
461 * linux-nat.c (delete_lwp_cleanup): Delete.
462 (struct lwp_deleter): New struct.
463 (lwp_info_up): New typedef.
464 (linux_nat_target::follow_fork): Delete cleanup, and make use of
467 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
469 * linux-fork.c (class scoped_switch_fork_info): New class.
470 (inferior_call_waitpid): Update to use scoped_switch_fork_info.
472 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
474 * valops.c (find_overload_match): Remove use of null_cleanup, and
475 calls to do_cleanups.
477 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
479 * compile/compile-cplus-types.c
480 (compile_cplus_instance::decl_name): Handle changes to
482 * cp-support.c (cp_func_name): Update header comment, update
484 * cp-support.h (cp_func_name): Update return type in declaration.
485 * valops.c (find_overload_match): Move temp_func local to top
486 level of function and change its type. Use temp_func to hold and
487 delete temporary string obtained from cp_func_name.
489 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com>
491 * remote.c (remote_target::remote_check_symbols): Convert `msg` to
492 gdb::char_vector, remove cleanup, and update uses of `msg`.
494 2019-01-03 Jim Wilson <jimw@sifive.com>
496 * riscv-tdep.c (riscv_freg_feature): Drop s0 name from f8.
498 2019-01-02 Tom Tromey <tom@tromey.com>
500 * xml-tdesc.c (xml_cache): Hold a target_desc_up.
501 (tdesc_parse_xml): Remove cleanups.
502 * target-descriptions.h (make_cleanup_free_target_description):
504 (target_desc_deleter): New struct.
505 (target_desc_up): New typedef.
506 * target-descriptions.c (target_desc_deleter::operator()): Rename
507 from free_target_description.
508 (make_cleanup_free_target_description): Remove.
510 2019-01-02 Tom Tromey <tom@tromey.com>
512 * linespec.c (struct linespec_parser): Rename from ls_parser. Add
513 constructor, destructor.
514 (linespec_parser): Remove typedef.
515 (~linespec_parser): Rename from linespec_parser_delete.
516 (linespec_lex_to_end, linespec_complete_label)
517 (linespec_complete): Update.
518 (decode_line_full): Remove cleanups.
519 (decode_line_1): Update.
521 2019-01-02 Tom Tromey <tom@tromey.com>
523 * python/python-internal.h (inferior_to_inferior_object): Change
525 * python/py-exitedevent.c (create_exited_event_object): Update.
526 * python/py-inferior.c (inferior_to_inferior_object): Return
528 (python_new_inferior, python_inferior_deleted)
529 (thread_to_thread_object, delete_thread_object)
530 (build_inferior_list, gdbpy_selected_inferior): Update.
531 * python/py-infthread.c (create_thread_object): Update. Also fail
532 if inferior_to_inferior_object fails.
534 2019-01-02 Simon Marchi <simon.marchi@ericsson.com>
536 * inferior.h (class inferior) <displaced_step_state>: New field.
537 * infrun.h (struct displaced_step_state): Move here from
538 infrun.c. Initialize fields, add constructor.
541 * infrun.c (struct displaced_step_inferior_state): Move to
543 (displaced_step_inferior_states): Remove.
544 (get_displaced_stepping_state): Adust.
545 (displaced_step_in_progress_any_inferior): Adjust.
546 (displaced_step_in_progress_thread): Adjust.
547 (displaced_step_in_progress): Adjust.
548 (add_displaced_stepping_state): Remove.
549 (get_displaced_step_closure_by_addr): Adjust.
550 (remove_displaced_stepping_state): Remove.
551 (infrun_inferior_exit): Call displaced_step_state.reset.
552 (use_displaced_stepping): Don't check for NULL.
553 (displaced_step_prepare_throw): Call
554 get_displaced_stepping_state.
555 (displaced_step_fixup): Don't check for NULL.
556 (prepare_for_detach): Don't check for NULL.
558 2019-01-02 Philippe Waroquiers <philippe.waroquiers@skynet.be>
560 * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm
561 in case of call that did not complete.
563 2019-01-02 Andrey Utkin <autkin@undo.io>
565 * symfile.c (find_separate_debug_file): Fix search of debug files for
568 2019-01-02 Tom Tromey <tom@tromey.com>
570 * python/py-inferior.c (gdbpy_initialize_inferior): Fix
572 * python/py-frame.c (frapy_older): Remove cast.
573 (frapy_newer): Likewise.
574 * python/py-breakpoint.c (local_setattro): Remove cast.
575 * python/py-arch.c (archpy_name): Remove local variable.
576 * python/py-type.c (gdbpy_lookup_type): Remove cast.
578 2019-01-02 Joel Brobecker <brobecker@adacore.com>
580 * unittests/basic_string_view/element_access/char/empty.cc:
581 Fix year range in copyright header.
583 2019-01-01 Andrew Burgess <andrew.burgess@embecosm.com>
585 * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>:
587 <operator==>: Update with for removed field.
589 * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to...
590 <isa_features>: ...this.
591 <abi_features>: New field.
592 (riscv_isa_flen): Update comment.
593 (riscv_abi_xlen): New declaration.
594 (riscv_abi_flen): New declaration.
595 * riscv-tdep.c (riscv_isa_xlen): Update to get answer from
597 (riscv_abi_xlen): New function.
598 (riscv_isa_flen): Update to get answer from isa_features.
599 (riscv_abi_flen): New function.
600 (riscv_has_fp_abi): Update to get answer from abi_features.
601 (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa
603 (riscv_call_info) <xlen, flen>: Update comment.
604 (riscv_call_arg_struct): Remove invalid assertions
605 (riscv_features_from_gdbarch_info): Update now hw_float_abi field
607 (riscv_gdbarch_init): Gather isa features and abi features
608 separately, ensure both match on the gdbarch when reusing an old
609 gdbarch. Relax an error check to allow 32-bit abi float to run on
610 a target with 64-bit float hardware.
612 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
614 * source.c (search_command_helper): Stop reverse search
615 when line 1 has been searched.
617 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
619 * record-full.c (record_full_base_target::close): Rewrite
620 record_full_core_buf_list free logic.
622 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
624 * break-catch-syscall.c (print_one_catch_syscall): xfree
627 2019-01-01 Joel Brobecker <brobecker@adacore.com>
629 * top.c (print_gdb_version): Update Copyright year in version
632 2019-01-01 Joel Brobecker <brobecker@adacore.com>
634 Update copyright year range in all GDB files.
636 2019-01-01 Joel Brobecker <brobecker@adacore.com>
638 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018.
640 For older changes see ChangeLog-2018.
646 version-control: never