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