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