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