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