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