Commit | Line | Data |
---|---|---|
ee7f689e | 1 | 2018-01-17 Mike Gulick <mgulick@mathworks.com> |
41667530 MG |
2 | |
3 | PR gdb/16577 | |
4 | * gdb_bfd.c (gdb_bfd_map_section): If unable to read object file, issue | |
5 | a warning instead of throwing an error, set section size to 0 and return | |
6 | NULL. | |
7 | * gdb_bfd.h (gdb_bfd_map_section): Update description. | |
8 | ||
4d9b86e1 SM |
9 | 2018-01-17 Simon Marchi <simon.marchi@ericsson.com> |
10 | ||
11 | * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason): Return | |
12 | std::string. | |
13 | (linux_ptrace_attach_fail_reason_string): Likewise. | |
14 | * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): | |
15 | Likewise. | |
16 | (linux_ptrace_attach_fail_reason_string): Likewise. | |
17 | * linux-nat.c (attach_proc_task_lwp_callback): Adjust. | |
18 | ||
a7b2d0fb SM |
19 | 2018-01-17 Simon Marchi <simon.marchi@ericsson.com> |
20 | ||
21 | * linux-nat.c (linux_nat_attach): Remove xstrdup. | |
22 | ||
f517c180 EA |
23 | 2018-01-17 Eldar Abusalimov <eldar.abusalimov@jetbrains.com> |
24 | ||
25 | PR gdb/21559 | |
26 | * configure.ac: Include <sys/types.h> prior to <sys/user.h> when | |
27 | checking for fs_base/gs_base fields in struct user_regs_struct. | |
28 | * configure: Regenerate. | |
29 | ||
7045b1ca YQ |
30 | 2018-01-17 Yao Qi <yao.qi@linaro.org> |
31 | ||
32 | * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): New | |
33 | function. | |
34 | (aarch64_linux_init_abi): Install it to gdbarch hook | |
35 | gcc_target_options. | |
36 | ||
db422fb2 PA |
37 | 2018-01-15 Pedro Alves <palves@redhat.com> |
38 | ||
39 | * common/signals-state-save-restore.c | |
40 | (save_original_signals_state): Fix typos. | |
41 | ||
ba643918 SDJ |
42 | 2017-01-12 Tom Tromey <tom@tromey.com> |
43 | Sergio Durigan Junior <sergiodj@redhat.com> | |
44 | ||
45 | * Makefile.in (install-only): Install gdb-add-index. | |
46 | ||
906b4aac JB |
47 | 2018-01-12 John Baldwin <jhb@FreeBSD.org> |
48 | ||
49 | * fbsd-tdep.c (KVE_PROTECTION): Correct value. | |
50 | ||
bdf2a94a AA |
51 | 2018-01-12 Andreas Arnez <arnez@linux.vnet.ibm.com> |
52 | ||
53 | * infrun.c (keep_going_pass_signal): Clear step-over info when | |
54 | insert_breakpoints fails. | |
55 | ||
71d378ae PA |
56 | 2018-01-11 Pedro Alves <palves@redhat.com> |
57 | ||
58 | PR gdb/22583 | |
59 | * infrun.c (resume): Rename to ... | |
60 | (resume_1): ... this. | |
61 | (resume): Reimplement as wrapper around resume_1. | |
62 | ||
3cada740 PA |
63 | 2018-01-11 Pedro Alves <palves@redhat.com> |
64 | ||
65 | PR remote/22597 | |
66 | * remote.c (remote_parse_stop_reply): Default to the last-set | |
67 | general thread instead of to 'magic_null_ptid'. | |
68 | ||
618daa93 PA |
69 | 2018-01-10 Pedro Alves <palves@redhat.com> |
70 | ||
71 | * language.h (language_get_symbol_name_matcher): Rename ... | |
72 | (get_symbol_name_matcher): ... this. | |
73 | * language.c (language_get_symbol_name_matcher): Ditto. | |
74 | * dictionary.c, linespec.c, minsyms.c, psymtab.c, symtab.c: All | |
75 | callers adjusted. | |
76 | ||
c63d3e8d PA |
77 | 2018-01-10 Pedro Alves <palves@redhat.com> |
78 | ||
79 | PR gdb/22670 | |
80 | * dwarf2read.c | |
81 | (gdb_index_symbol_name_matcher::gdb_index_symbol_name_matcher): | |
82 | Adjust to use language_get_symbol_name_matcher instead of | |
83 | language_defn::la_get_symbol_name_matcher. | |
84 | * language.c (language_get_symbol_name_matcher): If in Ada mode | |
85 | and the lookup name is a verbatim match, return Ada's matcher. | |
86 | * language.h (language_get_symbol_name_matcher): Adjust comment. | |
87 | (ada_lookup_name_info::verbatim_p):: New method. | |
88 | ||
d4c2a405 PA |
89 | 2018-01-10 Pedro Alves <palves@redhat.com> |
90 | ||
91 | PR gdb/22670 | |
92 | * ada-lang.c (ada_collect_symbol_completion_matches): If the | |
93 | minsym's language is language_auto or language_cplus, pass down | |
94 | language_ada instead. | |
95 | * symtab.c (compare_symbol_name): Don't frob symbol language here. | |
96 | ||
8825213e PA |
97 | 2018-01-10 Pedro Alves <palves@redhat.com> |
98 | ||
99 | PR gdb/22670 | |
100 | * minsyms.c (linkage_name_str): New function. | |
101 | (iterate_over_minimal_symbols): Use it. | |
102 | ||
2d97a5d9 JB |
103 | 2018-01-09 John Baldwin <jhb@FreeBSD.org> |
104 | ||
105 | * NEWS: Document that 'info proc' now works on FreeBSD. | |
106 | ||
92fce24d JB |
107 | 2018-01-09 John Baldwin <jhb@FreeBSD.org> |
108 | ||
109 | * configure.ac: Check for kinfo_getfile in libutil. | |
110 | * configure: Regenerate. | |
111 | * config.in: Regenerate. | |
112 | * fbsd-nat.c: Include "fbsd-tdep.h". | |
113 | (fbsd_fetch_cmdline): New. | |
114 | (fbsd_fetch_kinfo_proc): Move earlier and change to return a bool | |
115 | rather than calling error. | |
116 | (fbsd_info_proc): New. | |
117 | (fbsd_thread_name): Report error if fbsd_fetch_kinfo_proc fails. | |
118 | (fbsd_wait): Report warning if fbsd_fetch_kinfo_proc fails. | |
119 | (fbsd_nat_add_target): Set "to_info_proc" to "fbsd_info_proc". | |
120 | ||
262f62f5 JB |
121 | 2018-01-09 John Baldwin <jhb@FreeBSD.org> |
122 | ||
123 | * fbsd-nat.c (struct free_deleter): Remove. | |
124 | (fbsd_find_memory_regions): Use gdb::unique_xmalloc_ptr<>. | |
125 | ||
b999e203 JB |
126 | 2018-01-09 John Baldwin <jhb@FreeBSD.org> |
127 | ||
128 | * fbsd-nat.c (fbsd_pid_to_exec_file) [KERN_PROC_PATHNAME]: Return | |
129 | NULL for an empty pathname. | |
130 | ||
d2176225 JB |
131 | 2018-01-09 John Baldwin <jhb@FreeBSD.org> |
132 | ||
133 | * fbsd-tdep.c (KVE_STRUCTSIZE, KVE_START, KVE_END, KVE_OFFSET) | |
134 | (KVE_FLAGS, KVE_PROTECTION, KVE_PATH, KINFO_VME_PROT_READ) | |
135 | (KINFO_VME_PROT_WRITE, KINFO_VME_PROT_EXEC, KINFO_VME_FLAG_COW) | |
136 | (KINFO_VME_FLAG_NEEDS_COPY, KINFO_VME_FLAG_NOCOREDUMP) | |
137 | (KINFO_VME_FLAG_SUPER, KINFO_VME_FLAG_GROWS_UP) | |
138 | (KINFO_VME_FLAG_GROWS_DOWN, KF_STRUCTSIZE, KF_TYPE, KF_FD) | |
139 | (KF_PATH, KINFO_FILE_TYPE_VNODE, KINFO_FILE_FD_TYPE_CWD) | |
140 | (KINFO_FILE_FD_TYPE_TEXT, SIG_WORDS, struct kinfo_proc_layout) | |
141 | (kinfo_proc_layout_32, kinfo_proc_layout_i386) | |
142 | (kinfo_proc_layout_64, fbsd_vm_map_entry_flags) | |
143 | (fbsd_core_info_proc_mappings, fbsd_core_vnode_path) | |
144 | (fbsd_core_fetch_timeval, fbsd_print_sigset) | |
145 | (fbsd_core_info_proc_status, fbsd_core_info_proc): New. | |
146 | (fbsd_init_abi): Install gdbarch "core_info_proc" method. | |
147 | * fbsd-tdep.h (fbsd_vm_map_entry_flags): New. | |
148 | ||
9c4ac400 ST |
149 | 2018-01-08 Samuel Thibault <samuel.thibault@ens-lyon.org> |
150 | ||
151 | * gdb/gnu-nat.c: Include <elf.h> and <link.h>. | |
152 | (gnu_xfer_auxv): New function. | |
153 | (gnu_xfer_partial): Call gnu_xfer_auxv when `object' is | |
154 | TARGET_OBJECT_AUXV. | |
155 | ||
1e5ded6c YQ |
156 | 2018-01-08 Yao Qi <yao.qi@linaro.org> |
157 | Simon Marchi <simon.marchi@ericsson.com> | |
158 | ||
159 | * Makefile.in (COMMON_SFILES): Remove selftest-arch.c and | |
160 | common/selftest.c. | |
161 | (COMMON_OBS): Remove selftest.o. | |
162 | * configure.ac: Append selftest-arch.c and common/selftest.c to | |
163 | CONFIG_SRCS. Append selftest-arch.o and selftest.o to COMMON_OBS. | |
164 | * configure: Re-generated. | |
165 | * maint.c (maintenance_selftest): Wrap selftests::run_tests with | |
166 | GDB_SELF_TEST. | |
167 | (maintenance_info_selftests): Likewise. | |
168 | ||
04bafb1e XR |
169 | 2018-01-08 Xavier Roirand <roirand@adacore.com> |
170 | ||
171 | * ada-valprint.c (val_print_packed_array_elements): Use | |
172 | proper number of elements when printing an array indexed | |
173 | by an enumeration type. | |
174 | ||
518817b3 SM |
175 | 2018-01-07 Simon Marchi <simon.marchi@polymtl.ca> |
176 | ||
177 | * dwarf2read.c (struct dwarf2_cu) <dwarf2_per_objfile>: Remove. | |
178 | (dw2_get_file_names_reader): Adjust. | |
179 | (lookup_dwo_signatured_type): Adjust. | |
180 | (lookup_dwp_signatured_type): Adjust. | |
181 | (lookup_signatured_type): Adjust. | |
182 | (create_type_unit_group): Adjust. | |
183 | (get_type_unit_group): Adjust. | |
184 | (process_psymtab_comp_unit_reader): Adjust. | |
185 | (build_type_psymtabs_reader): Adjust. | |
186 | (scan_partial_symbols): Adjust. | |
187 | (add_partial_symbol): Adjust. | |
188 | (add_partial_subprogram): Adjust. | |
189 | (peek_die_abbrev): Adjust. | |
190 | (fixup_go_packaging): Adjust. | |
191 | (process_imported_unit_die): Adjust. | |
192 | (dwarf2_compute_name): Adjust. | |
193 | (dwarf2_physname): Adjust. | |
194 | (read_import_statement): Adjust. | |
195 | (handle_DW_AT_stmt_list): Adjust. | |
196 | (read_file_scope): Adjust. | |
197 | (read_func_scope): Adjust. | |
198 | (read_lexical_block_scope): Adjust. | |
199 | (read_call_site_scope): Adjust. | |
200 | (read_variable): Adjust. | |
201 | (dwarf2_rnglists_process): Adjust. | |
202 | (dwarf2_ranges_process): Adjust. | |
203 | (dwarf2_ranges_read): Adjust. | |
204 | (dwarf2_get_pc_bounds): Adjust. | |
205 | (dwarf2_record_block_ranges): Adjust. | |
206 | (dwarf2_add_field): Adjust. | |
207 | (dwarf2_add_member_fn): Adjust. | |
208 | (read_structure_type): Adjust. | |
209 | (process_structure_scope): Adjust. | |
210 | (read_enumeration_type): Adjust. | |
211 | (read_array_type): Adjust. | |
212 | (mark_common_block_symbol_computed): Adjust. | |
213 | (read_common_block): Adjust. | |
214 | (read_namespace_type): Adjust. | |
215 | (read_namespace): Adjust. | |
216 | (read_module_type): Adjust. | |
217 | (read_tag_pointer_type): Adjust. | |
218 | (read_tag_ptr_to_member_type): Adjust. | |
219 | (read_tag_string_type): Adjust. | |
220 | (read_subroutine_type): Adjust. | |
221 | (read_typedef): Adjust. | |
222 | (read_base_type): Adjust. | |
223 | (attr_to_dynamic_prop): Adjust. | |
224 | (read_subrange_type): Adjust. | |
225 | (read_unspecified_type): Adjust. | |
226 | (dwarf2_read_abbrevs): Adjust. | |
227 | (load_partial_dies): Adjust. | |
228 | (read_partial_die): Adjust. | |
229 | (find_partial_die): Adjust. | |
230 | (guess_partial_die_structure_name): Adjust. | |
231 | (fixup_partial_die): Adjust. | |
232 | (read_attribute_value): Adjust. | |
233 | (read_addr_index): Adjust. | |
234 | (read_addr_index_from_leb128): Adjust. | |
235 | (read_str_index): Adjust. | |
236 | (dwarf2_string_attr): Adjust. | |
237 | (get_debug_line_section): Adjust. | |
238 | (dwarf_decode_line_header): Adjust. | |
239 | (lnp_state_machine::check_line_address): Adjust. | |
240 | (dwarf_decode_lines_1): Adjust. | |
241 | (dwarf_decode_lines): Adjust. | |
242 | (dwarf2_start_symtab): Adjust. | |
243 | (var_decode_location): Adjust. | |
244 | (new_symbol_full): Adjust. | |
245 | (dwarf2_const_value_data): Adjust. | |
246 | (dwarf2_const_value_attr): Adjust. | |
247 | (dwarf2_const_value): Adjust. | |
248 | (die_type): Adjust. | |
249 | (die_containing_type): Adjust. | |
250 | (build_error_marker_type): Adjust. | |
251 | (lookup_die_type): Adjust. | |
252 | (guess_full_die_structure_name): Adjust. | |
253 | (anonymous_struct_prefix): Adjust. | |
254 | (determine_prefix): Adjust. | |
255 | (dwarf2_name): Adjust. | |
256 | (follow_die_ref_or_sig): Adjust. | |
257 | (follow_die_offset): Adjust. | |
258 | (follow_die_ref): Adjust. | |
259 | (follow_die_sig_1): Adjust. | |
260 | (follow_die_sig): Adjust. | |
261 | (get_signatured_type): Adjust. | |
262 | (get_DW_AT_signature_type): Adjust. | |
263 | (decode_locdesc): Adjust. | |
264 | (dwarf_decode_macros): Adjust. | |
265 | (cu_debug_loc_section): Adjust. | |
266 | (fill_in_loclist_baton): Adjust. | |
267 | (dwarf2_symbol_mark_computed): Adjust. | |
268 | (init_one_comp_unit): Don't assign | |
269 | dwarf2_cu::dwarf2_per_objfile. | |
270 | (set_die_type): Adjust. | |
271 | ||
ed2dc618 SM |
272 | 2018-01-07 Simon Marchi <simon.marchi@ericsson.com> |
273 | ||
274 | * dwarf2read.c (struct mapped_debug_names): Add constructor. | |
275 | <dwarf2_per_objfile>: New field. | |
276 | (dwarf2_per_objfile): Remove global. | |
277 | (get_dwarf2_per_objfile): New function. | |
278 | (set_dwarf2_per_objfile): New function. | |
279 | (dwarf2_build_psymtabs_hard): Change objfile parameter to | |
280 | dwarf2_per_objfile. | |
281 | (abbrev_table_read_table): Add dwarf2_per_objfile parameter. | |
282 | (read_abbrev_offset): Likewise. | |
283 | (read_indirect_string): Likewise. | |
284 | (read_indirect_line_string): Likewise. | |
285 | (read_indirect_string_at_offset): Likewise. | |
286 | (read_indirect_string_from_dwz): Likewise. | |
287 | (dwarf2_find_containing_comp_unit): Change objfile parameter to | |
288 | dwarf2_per_objfile. | |
289 | (age_cached_comp_units): Add dwarf2_per_objfile parameter. | |
290 | (create_all_comp_units): Change objfile parameter to | |
291 | dwarf2_per_objfile. | |
292 | (create_all_type_units): Likewise. | |
293 | (process_queue): Add dwarf2_per_objfile parameter. | |
294 | (read_and_check_comp_unit_head): Likewise. | |
295 | (lookup_dwo_unit_in_dwp): Likewise. | |
296 | (get_dwp_file): Likewise. | |
297 | (process_cu_includes): Likewise. | |
298 | (struct free_dwo_file_cleanup_data): New struct. | |
299 | (dwarf2_has_info): Use get_dwarf2_per_objfile and | |
300 | set_dwarf2_per_objfile. | |
301 | (dwarf2_get_dwz_file): Add dwarf2_per_objfile parameter. | |
302 | (dw2_do_instantiate_symtab): Get dwarf2_per_objfile from | |
303 | context, adjust calls. | |
304 | (dw2_instantiate_symtab): Likewise. | |
305 | (dw2_get_cutu): Add dwarf2_per_objfile parameter. | |
306 | (dw2_get_cu): Likewise. | |
307 | (create_cu_from_index_list): Change objfile parameter to | |
308 | dwarf2_per_objfile. | |
309 | (create_cus_from_index_list): Get dwarf2_per_objfile from | |
310 | context, adjust calls. | |
311 | (create_cus_from_index): Likewise. | |
312 | (create_signatured_type_table_from_index): Change objfile | |
313 | parameter to dwarf2_per_objfile. | |
314 | (create_signatured_type_table_from_debug_names): Change objfile | |
315 | parameter to dwarf2_per_objfile. | |
316 | (create_addrmap_from_index): Likewise. | |
317 | (create_addrmap_from_aranges): Likewise. | |
318 | (dwarf2_read_index): Use get_dwarf2_per_objfile, adjust calls. | |
319 | (dw2_setup): Remove. | |
320 | (dw2_get_file_names_reader): Get dwarf2_per_objfile from | |
321 | context. | |
322 | (dw2_find_last_source_symtab): Get dwarf2_per_objfile using | |
323 | get_dwarf2_per_objfile. | |
324 | (dw2_forget_cached_source_info): Likewise. | |
325 | (dw2_map_symtabs_matching_filename): Likewise. | |
326 | (struct dw2_symtab_iterator) <index>: Remove. | |
327 | <dwarf2_per_objfile>: New field. | |
328 | (dw2_symtab_iter_init): Replace index parameter with | |
329 | dwarf2_per_objfile. | |
330 | (dw2_symtab_iter_next): Use dwarf2_per_objfile from iter. | |
331 | (dw2_lookup_symbol): Use get_dwarf2_per_objfile and adjust. | |
332 | (dw2_print_stats): Likewise. | |
333 | (dw2_dump): Likewise. | |
334 | (dw2_expand_symtabs_for_function): Likewise. | |
335 | (dw2_expand_all_symtabs): Likewise. | |
336 | (dw2_expand_symtabs_with_fullname): Likewise. | |
337 | (dw2_expand_marked_cus): Replace index and objfile parameters | |
338 | with dwarf2_per_objfile. | |
339 | (dw_expand_symtabs_matching_file_matcher): Add | |
340 | dwarf2_per_objfile parameter and adjust calls. | |
341 | (dw2_expand_symtabs_matching): Use get_dwarf2_per_objfile and | |
342 | adjust calls. | |
343 | (dw2_find_pc_sect_compunit_symtab): Don't call dw2_setup. | |
344 | (dw2_map_symbol_filenames): Use get_dwarf2_per_objfile and | |
345 | adjust calls. | |
346 | (create_cus_from_debug_names_list): Replace objfile parameter | |
347 | with dwarf2_per_objfile and adjust calls. | |
348 | (create_cus_from_debug_names): Likewise. | |
349 | (dwarf2_read_debug_names): Likewise. | |
350 | (mapped_debug_names::namei_to_name): Adjust call. | |
351 | (dw2_debug_names_iterator::next): Likewise. | |
352 | (dw2_debug_names_iterator::find_vec_in_debug_names): Likewise. | |
353 | (dw2_debug_names_lookup_symbol): Use get_dwarf2_per_objfile. | |
354 | (dw2_debug_names_dump): Likewise. | |
355 | (dw2_debug_names_expand_symtabs_for_function): Likewise. | |
356 | (dw2_debug_names_expand_symtabs_matching): Likewise. | |
357 | (dwarf2_initialize_objfile): Likewise. | |
358 | (dwarf2_build_psymtabs): Likewise. | |
359 | (get_abbrev_section_for_cu): Get dwarf2_per_objfile from | |
360 | this_cu. | |
361 | (error_check_comp_unit_head): Add dwarf2_per_objfile parameter. | |
362 | (read_and_check_comp_unit_head): Likewise. | |
363 | (read_abbrev_offset): Likewise. | |
364 | (create_debug_type_hash_table): Likewise. | |
365 | (create_debug_types_hash_table): Likewise. | |
366 | (create_all_type_units): Replace objfile parameter with | |
367 | dwarf2_per_objfile. | |
368 | (add_type_unit): Add dwarf2_per_objfile parameter. | |
369 | (fill_in_sig_entry_from_dwo_entry): Replace objfile parameter | |
370 | with dwarf2_per_objfile. | |
371 | (lookup_dwo_signatured_type): Get dwarf2_per_objfile from cu. | |
372 | (lookup_dwp_signatured_type): Likewise. | |
373 | (lookup_signatured_type): Likewise. | |
374 | (read_cutu_die_from_dwo): Likewise. | |
375 | (init_tu_and_read_dwo_dies): Likewise. | |
376 | (init_cutu_and_read_dies): Likewise. | |
377 | (init_cutu_and_read_dies_no_follow): Likewise. | |
378 | (allocate_type_unit_groups_table): Add objfile parameter. | |
379 | (create_type_unit_group): Use dwarf2_per_objfile from cu. | |
380 | (get_type_unit_group): Likewise. | |
381 | (process_psymtab_comp_unit): Update call. | |
382 | (build_type_psymtabs_reader): Use dwarf2_per_objfile from cu. | |
383 | (build_type_psymtabs_1): Add dwarf2_per_objfile parameter. | |
384 | (print_tu_stats): Likewise. | |
385 | (build_type_psymtab_dependencies): Use dwarf2_per_objfile passed | |
386 | in void* parameter. | |
387 | (build_type_psymtabs): Change objfile parameter to | |
388 | dwarf2_per_objfile. | |
389 | (process_skeletonless_type_unit): Use dwarf2_per_objfile | |
390 | passed in void* parameter. | |
391 | (process_skeletonless_type_units): Change objfile parameter to | |
392 | dwarf2_per_objfile. | |
393 | (set_partial_user): Likewise. | |
394 | (dwarf2_build_psymtabs_hard): Likewise. | |
395 | (read_comp_units_from_section): Likewise. | |
396 | (create_all_comp_units): Likewise. | |
397 | (scan_partial_symbols): Update calls. | |
398 | (add_partial_symbol): Likewise. | |
399 | (dwarf2_read_symtab): Use get_dwarf2_per_objfile. | |
400 | (maybe_queue_comp_unit): Use dwarf2_read_symtab from cu. | |
401 | (process_queue): Add dwarf2_per_objfile parameter. | |
402 | (get_compunit_symtab): Use dwarf2_per_objfile from cu. | |
403 | (compute_compunit_symtab_includes): Likewise. | |
404 | (process_cu_includes): Add dwarf2_per_objfile parameter. | |
405 | (process_full_comp_unit): Use dwarf2_per_objfile from cu. | |
406 | (process_full_type_unit): Likewise. | |
407 | (process_imported_unit_die): Update call. | |
408 | (handle_DW_AT_stmt_list): Use dwarf2_per_objfile from cu. | |
409 | (read_file_scope): Likewise. | |
410 | (allocate_dwo_file_hash_table): Add objfile parameter. | |
411 | (lookup_dwo_file_slot): Add dwarf2_per_objfile parameter. | |
412 | (create_cus_hash_table): Likewise. | |
413 | (create_dwp_hash_table): Likewise. | |
414 | (create_dwo_unit_in_dwp_v1): Likewise. | |
415 | (create_dwp_v2_section): Likewise. | |
416 | (create_dwo_unit_in_dwp_v2): Likewise. | |
417 | (lookup_dwo_unit_in_dwp): Likewise. | |
418 | (try_open_dwop_file): Likewise. | |
419 | (open_dwo_file): Likewise. Use dwarf2_per_objfile from cu. | |
420 | (open_and_init_dwo_file): Use dwarf2_per_objfile from cu, update | |
421 | cleanup to include a reference to dwarf2_per_objfile. | |
422 | (open_dwp_file): Add dwarf2_per_objfile parameter. | |
423 | (open_and_init_dwp_file): Likewise. | |
424 | (get_dwp_file): Likewise. | |
425 | (lookup_dwo_cutu): Use dwarf2_per_objfile from cu. | |
426 | (queue_and_load_all_dwo_tus): Update call. | |
427 | (free_dwo_file_cleanup): Use dwarf2_per_objfile from cleanup | |
428 | data. | |
429 | (dwarf2_rnglists_process): Use dwarf2_per_objfile from cu. | |
430 | (dwarf2_ranges_process): Likewise. | |
431 | (dwarf2_get_pc_bounds): Likewise. | |
432 | (mark_common_block_symbol_computed): Likewise. | |
433 | (abbrev_table_read_table): Add dwarf2_per_objfile parameter. | |
434 | (dwarf2_read_abbrevs): Update call. | |
435 | (read_partial_die): Use dwarf2_per_objfile from cu. | |
436 | (find_partial_die): Likewise. | |
437 | (fixup_partial_die): Likewise. | |
438 | (read_attribute_value): Likewise. | |
439 | (read_indirect_string_at_offset_from): Add objfile parameter. | |
440 | (read_indirect_string_at_offset): Add dwarf2_per_objfile | |
441 | parameter. | |
442 | (read_indirect_string_from_dwz): Add objfile parameter. | |
443 | (read_indirect_string): Add objfile parameter. | |
444 | (read_addr_index_1): Add dwarf2_per_objfile parameter. | |
445 | (read_addr_index): Use dwarf2_per_objfile from cu. | |
446 | (dwarf2_read_addr_index): Use dwarf2_per_objfile from cu, don't | |
447 | call dw2_setup. | |
448 | (read_str_index): Use dwarf2_per_objfile from cu. | |
449 | (get_debug_line_section): Likewise. | |
450 | (read_formatted_entries): Add dwarf2_per_objfile parameter. | |
451 | (dwarf_decode_line_header): Use dwarf2_per_objfile from cu. | |
452 | (new_symbol_full): Use dwarf2_per_objfile from cu. | |
453 | (build_error_marker_type): Likewise. | |
454 | (lookup_die_type): Likewise. | |
455 | (determine_prefix): Likewise. | |
456 | (follow_die_offset): Likewise. | |
457 | (dwarf2_fetch_die_loc_sect_off): Use get_dwarf2_per_objfile. | |
458 | (dwarf2_fetch_constant_bytes): Don't call dw2_setup. | |
459 | (dwarf2_fetch_die_type_sect_off): Likewise. | |
460 | (dwarf2_get_die_type): Likewise. | |
461 | (follow_die_sig_1): Use dwarf2_per_objfile from cu. | |
462 | (get_signatured_type): Likewise. | |
463 | (get_DW_AT_signature_type): Likewise. | |
464 | (dwarf_decode_macro_bytes): Add dwarf2_per_objfile parameter. | |
465 | (dwarf_decode_macros): Use dwarf2_per_objfile from cu. | |
466 | (cu_debug_loc_section): Likewise. | |
467 | (fill_in_loclist_baton): Likewise. | |
468 | (dwarf2_symbol_mark_computed): Likewise. | |
469 | (dwarf2_find_containing_comp_unit): Change objfile parameter to | |
470 | dwarf2_per_objfile. | |
471 | (free_cached_comp_units): Use dwarf2_per_objfile passed in void* | |
472 | parameter. | |
473 | (age_cached_comp_units): Add dwarf2_per_objfile parameter. | |
474 | (free_one_cached_comp_unit): Use dwarf2_per_objfile from cu. | |
475 | (dwarf2_free_objfile): Use get_dwarf2_per_objfile. | |
476 | (set_die_type): Use dwarf2_free_objfile from cu. | |
477 | (get_die_type_at_offset): Likewise. | |
478 | (dwarf2_per_objfile_free): Don't assign global variable. | |
479 | (debug_names) <constructor>: Add dwarf2_per_objfile | |
480 | parameter, update m_debugstrlookup construction. | |
481 | (debug_names::debug_str_lookup): Add dwarf2_per_objfile | |
482 | parameter. | |
483 | <m_dwarf2_per_objfile>: New field. | |
484 | <lookup>: Use m_dwarf2_per_objfile. | |
485 | (check_dwarf64_offsets): Add dwarf2_per_objfile parameter. | |
486 | (psyms_seen_size): Likewise. | |
487 | (write_gdbindex): Replace objfile parameter with | |
488 | dwarf2_per_objfile. | |
489 | (write_debug_names): Likewise. | |
490 | (write_psymtabs_to_index): Likewise. | |
491 | (save_gdb_index_command): Use get_dwarf2_per_objfile, update | |
492 | calls. | |
493 | ||
e3b94546 SM |
494 | 2018-01-07 Simon Marchi <simon.marchi@ericsson.com> |
495 | ||
496 | * dwarf2read.c (struct dwarf2_cu) <objfile>: Remove. | |
497 | <dwarf2_per_objfile>: New field. | |
498 | (struct dwarf2_per_cu_data) <objfile>: Remove. | |
499 | <dwarf2_per_objfile>: New field. | |
500 | (create_cu_from_index_list): Assign dwarf2_per_objfile instead | |
501 | of objfile. | |
502 | (create_signatured_type_table_from_index): Likewise. | |
503 | (create_debug_type_hash_table): Likewise. | |
504 | (fill_in_sig_entry_from_dwo_entry): Likewise. | |
505 | (lookup_dwo_unit): Access objfile through dwarf2_per_objfile. | |
506 | (create_type_unit_group): Assign dwarf2_per_objfile instead of | |
507 | objfile. | |
508 | (create_partial_symtab): Access objfile through | |
509 | dwarf2_per_objfile. | |
510 | (process_psymtab_comp_unit_reader): Likewise. | |
511 | (read_comp_units_from_section): Likewise. | |
512 | (scan_partial_symbols): Likewise. | |
513 | (add_partial_symbol): Likewise. | |
514 | (add_partial_subprogram): Likewise. | |
515 | (peek_die_abbrev): Likewise. | |
516 | (fixup_go_packaging): Likewise. | |
517 | (process_full_comp_unit): Likewise. | |
518 | (process_full_type_unit): Likewise. | |
519 | (process_imported_unit_die): Likewise. | |
520 | (dwarf2_compute_name): Likewise. | |
521 | (dwarf2_physname): Likewise. | |
522 | (read_import_statement): Likewise. | |
523 | (create_cus_hash_table): Assign dwarf2_physname instead of | |
524 | objfile. | |
525 | (read_func_scope): Access objfile through dwarf2_per_objfile. | |
526 | (read_lexical_block_scope): Likewise. | |
527 | (read_call_site_scope): Likewise. | |
528 | (read_variable): Likewise. | |
529 | (dwarf2_rnglists_process): Likewise. | |
530 | (dwarf2_ranges_process): Likewise. | |
531 | (dwarf2_ranges_read): Likewise. | |
532 | (dwarf2_record_block_ranges): Likewise. | |
533 | (dwarf2_add_field): Likewise. | |
534 | (dwarf2_add_member_fn): Likewise. | |
535 | (read_structure_type): Likewise. | |
536 | (process_structure_scope): Likewise. | |
537 | (read_enumeration_type): Likewise. | |
538 | (read_array_type): Likewise. | |
539 | (read_common_block): Likewise. | |
540 | (read_namespace_type): Likewise. | |
541 | (read_namespace): Likewise. | |
542 | (read_module_type): Likewise. | |
543 | (read_tag_pointer_type): Likewise. | |
544 | (read_tag_ptr_to_member_type): Likewise. | |
545 | (read_tag_string_type): Likewise. | |
546 | (read_subroutine_type): Likewise. | |
547 | (read_typedef): Likewise. | |
548 | (read_base_type): Likewise. | |
549 | (attr_to_dynamic_prop): Likewise. | |
550 | (read_subrange_type): Likewise. | |
551 | (read_unspecified_type): Likewise. | |
552 | (load_partial_dies): Likewise. | |
553 | (read_partial_die): Likewise. | |
554 | (find_partial_die): Likewise. | |
555 | (guess_partial_die_structure_name): Likewise. | |
556 | (fixup_partial_die): Likewise. | |
557 | (read_attribute_value): Likewise. | |
558 | (read_addr_index_from_leb128): Likewise. | |
559 | (dwarf2_read_addr_index): Likewise. | |
560 | (dwarf2_string_attr): Likewise. | |
561 | (lnp_state_machine::check_line_address): Likewise. | |
562 | (dwarf_decode_lines_1): Likewise. | |
563 | (dwarf_decode_lines): Likewise. | |
564 | (dwarf2_start_symtab): Likewise. | |
565 | (var_decode_location): Likewise. | |
566 | (new_symbol_full): Likewise. | |
567 | (dwarf2_const_value_data): Likewise. | |
568 | (dwarf2_const_value_attr): Likewise. | |
569 | (dwarf2_const_value): Likewise. | |
570 | (die_type): Likewise. | |
571 | (die_containing_type): Likewise. | |
572 | (lookup_die_type): Likewise. | |
573 | (guess_full_die_structure_name): Likewise. | |
574 | (anonymous_struct_prefix): Likewise. | |
575 | (dwarf2_name): Likewise. | |
576 | (follow_die_ref_or_sig): Likewise. | |
577 | (follow_die_offset): Likewise. | |
578 | (follow_die_ref): Likewise. | |
579 | (dwarf2_fetch_die_loc_sect_off): Likewise. | |
580 | (dwarf2_fetch_constant_bytes): Likewise. | |
581 | (dwarf2_fetch_die_type_sect_off): Likewise. | |
582 | (dwarf2_get_die_type): Likewise. | |
583 | (follow_die_sig): Likewise. | |
584 | (decode_locdesc): Likewise. | |
585 | (dwarf2_per_cu_objfile): Likewise. | |
586 | (dwarf2_per_cu_text_offset): Likewise. | |
587 | (init_one_comp_unit): Assign dwarf2_per_objfile instead of | |
588 | objfile. | |
589 | (set_die_type): Access objfile through | |
590 | dwarf2_per_objfile. | |
591 | ||
b01ba14d SM |
592 | 2018-01-07 Simon Marchi <simon.marchi@ericsson.com> |
593 | ||
594 | * valprint.c (converted_character_d): Remove typedef. | |
595 | (DEF_VEC_O (converted_character_d)): Remove. | |
596 | (count_next_character): Use std::vector. | |
597 | (print_converted_chars_to_obstack): Likewise. | |
598 | (generic_printstr): Likewise. | |
599 | ||
4d0fdd9b SM |
600 | 2018-01-07 Simon Marchi <simon.marchi@polymtl.ca> |
601 | ||
602 | * xml-support.h (struct gdb_xml_value): Add constructor. | |
603 | <value>: Change type to unique_xmalloc_ptr. | |
604 | (gdb_xml_value_s): Remove typedef. | |
605 | (DEF_VEC_O (gdb_xml_value_s)): Remove. | |
606 | (gdb_xml_element_start_handler): Change parameter type to | |
607 | std::vector. | |
608 | (xml_find_attribute): Likewise. | |
609 | * xml-support.c (xml_find_attribute): Change parameter type to | |
610 | std::vector and adjust. | |
611 | (gdb_xml_values_cleanup): Remove. | |
612 | (gdb_xml_parser::start_element): Adjust to std::vector. | |
613 | (xinclude_start_include): Change paraeter type to std::vector | |
614 | and adjust. | |
615 | * btrace.c (check_xml_btrace_version): Likewise. | |
616 | (parse_xml_btrace_block): Likewise. | |
617 | (parse_xml_btrace_pt_config_cpu): Likewise. | |
618 | (parse_xml_btrace_pt): Likewise. | |
619 | (parse_xml_btrace_conf_bts): Likewise. | |
620 | (parse_xml_btrace_conf_pt): Likewise. | |
621 | * memory-map.c (memory_map_start_memory): Likewise. | |
622 | (memory_map_start_property): Likewise. | |
623 | * osdata.c (osdata_start_osdata): Likewise. | |
624 | (osdata_start_item): Likewise. | |
625 | (osdata_start_column): Likewise. | |
626 | * remote.c (start_thread): Likewise. | |
627 | * solib-aix.c (library_list_start_library): Likewise. | |
628 | (library_list_start_list): Likewise. | |
629 | * solib-svr4.c (library_list_start_library): Likewise. | |
630 | (svr4_library_list_start_list): Likewise. | |
631 | * solib-target.c (library_list_start_segment): Likewise. | |
632 | (library_list_start_section): Likewise. | |
633 | (library_list_start_library): Likewise. | |
634 | (library_list_start_list): Likewise. | |
635 | * tracepoint.c (traceframe_info_start_memory): Likewise. | |
636 | (traceframe_info_start_tvar): Likewise. | |
637 | * xml-syscall.c (syscall_start_syscall): Likewise. | |
638 | * xml-tdesc.c (tdesc_start_target): Likewise. | |
639 | (tdesc_start_feature): Likewise. | |
640 | (tdesc_start_reg): Likewise. | |
641 | (tdesc_start_union): Likewise. | |
642 | (tdesc_start_struct): Likewise. | |
643 | (tdesc_start_flags): Likewise. | |
644 | (tdesc_start_enum): Likewise. | |
645 | (tdesc_start_field): Likewise. | |
646 | (tdesc_start_enum_value): Likewise. | |
647 | (tdesc_start_vector): Likewise. | |
648 | ||
f979c73f SM |
649 | 2018-01-07 Simon Marchi <simon.marchi@polymtl.ca> |
650 | ||
651 | * extension.h (struct xmethod_worker) <clone>: Remove. | |
652 | * python/py-xmethods.c (struct python_xmethod_worker) <clone>: | |
653 | Remove. | |
654 | (python_xmethod_worker::clone): Remove. | |
655 | * valops.c (find_overload_match): Use std::move instead of | |
656 | clone. | |
657 | ||
ba18742c SM |
658 | 2018-01-07 Simon Marchi <simon.marchi@polymtl.ca> |
659 | ||
660 | * extension-priv.h (enum ext_lang_rc): Remove, move to extension.h. | |
661 | (struct extension_language_ops) <clone_xmethod_worker_data>: Remove. | |
662 | <free_xmethod_worker_data>: Remove. | |
663 | <get_matching_xmethod_workers>: Chance VEC to std::vector. | |
664 | <get_xmethod_arg_types>: Remove. | |
665 | <get_xmethod_result_type>: Remove. | |
666 | <invoke_xmethod>: Remove. | |
667 | * extension.c (new_xmethod_worker): Remove. | |
668 | (clone_xmethod_worker): Remove. | |
669 | (get_matching_xmethod_workers): Return void, pass std::vector by | |
670 | pointer. | |
671 | (get_xmethod_arg_types): Rename to... | |
672 | (xmethod_worker::get_arg_types): ... this, and adjust. | |
673 | (get_xmethod_result_type): Rename to... | |
674 | (xmethod_worker::get_result_type): ... this, and adjust. | |
675 | (invoke_xmethod): Remove. | |
676 | (free_xmethod_worker): Remove. | |
677 | (free_xmethod_worker_vec): Remove. | |
678 | * extension.h (enum ext_lang_rc): Move here from | |
679 | extension-priv.h. | |
680 | (struct xmethod_worker): Add constructor and destructor. | |
681 | <data>: Remove. | |
682 | <value>: Remove. | |
683 | <invoke, clone, do_get_result_type, do_get_arg_types>: New | |
684 | virtual pure methods. | |
685 | <get_arg_types, get_result_type>: New methods. | |
686 | (xmethod_worker_ptr): Remove typedef. | |
687 | (DEF_VEC_P (xmethod_worker_ptr)): Remove. | |
688 | (xmethod_worker_vec): Remove typedef. | |
689 | (xmethod_worker_up): New typedef. | |
690 | (invoke_xmethod): Remove. | |
691 | (clone_xmethod_worker): Remove. | |
692 | (free_xmethod_worker): Remove. | |
693 | (free_xmethod_worker_vec): Remove. | |
694 | (get_xmethod_arg_types): Remove. | |
695 | (get_xmethod_result_type): Remove. | |
696 | * valops.c (find_method_list): Use std::vector, don't use | |
697 | intermediate vector. | |
698 | (value_find_oload_method_list): Use std::vector. | |
699 | (find_overload_match): Use std::vector. | |
700 | (find_oload_champ): Use std::vector. | |
701 | * value.c (value_free): Use operator delete. | |
702 | (value_of_xmethod): Rename to... | |
703 | (value_from_xmethod): ... this. Don't assign | |
704 | xmethod_worker::value, take rvalue-reference. | |
705 | (result_type_of_xmethod): Adjust. | |
706 | (call_xmethod): Adjust. | |
707 | * value.h: Include extension.h. | |
708 | (struct xmethod_worker): Don't forward-declare. | |
709 | (value_of_xmethod): Rename to... | |
710 | (value_from_xmethod): ... this, take rvalue-reference. | |
711 | * python/py-xmethods.c (struct gdbpy_worker_data): Rename to... | |
712 | (struct python_xmethod_worker): ... this, add constructor and | |
713 | destructor. | |
714 | <invoke, clone, do_get_arg_types, do_get_result_type>: Implement. | |
715 | (gdbpy_free_xmethod_worker_data): Rename to... | |
716 | (python_xmethod_worker::~python_xmethod_worker): ... this and | |
717 | adjust. | |
718 | (gdbpy_clone_xmethod_worker_data): Rename to... | |
719 | (python_xmethod_worker::clone): ... this and adjust. | |
720 | (gdbpy_get_matching_xmethod_workers): Use std::vector, don't use | |
721 | temporary vector. | |
722 | (gdbpy_get_xmethod_arg_types): Rename to... | |
723 | (python_xmethod_worker::do_get_arg_types): ... this and adjust. | |
724 | (gdbpy_get_xmethod_result_type): Rename to... | |
725 | (python_xmethod_worker::do_get_result_type): ... this and | |
726 | adjust. | |
727 | (gdbpy_invoke_xmethod): Rename to... | |
728 | (python_xmethod_worker::invoke): ... this and adjust. | |
729 | (new_python_xmethod_worker): Rename to... | |
730 | (python_xmethod_worker::python_xmethod_worker): ... this and | |
731 | adjust. | |
732 | * python/python-internal.h (gdbpy_clone_xmethod_worker_data): | |
733 | Remove. | |
734 | (gdbpy_free_xmethod_worker_data): Remove. | |
735 | (gdbpy_get_matching_xmethod_workers): Use std::vector. | |
736 | (gdbpy_get_xmethod_arg_types): Remove. | |
737 | (gdbpy_get_xmethod_result_type): Remove. | |
738 | (gdbpy_invoke_xmethod): Remove. | |
739 | * python/python.c (python_extension_ops): Remove obsolete | |
740 | callbacks. | |
741 | ||
e379cee6 PA |
742 | 2018-01-05 Pedro Alves <palves@redhat.com> |
743 | ||
744 | PR gdb/18653 | |
745 | * common/signals-state-save-restore.c | |
746 | (save_original_signals_state): New parameter 'quiet'. Warn if we | |
747 | find a custom handler preinstalled, instead of internal erroring. | |
748 | But only warn if !quiet. | |
749 | * common/signals-state-save-restore.h | |
750 | (save_original_signals_state): New parameter 'quiet'. | |
751 | * main.c (captured_main_1): Move save_original_signals_state call | |
752 | after option handling, and pass QUIET. | |
753 | ||
a655456c PA |
754 | 2018-01-05 Pedro Alves <palves@redhat.com> |
755 | ||
756 | * spu-tdep.c (spu_catch_start): Pass | |
757 | symbol_name_match_type::SEARCH_NAME to block_lookup_symbol. | |
758 | ||
de63c46b PA |
759 | 2018-01-05 Pedro Alves <palves@redhat.com> |
760 | ||
761 | PR gdb/22670 | |
762 | * ada-lang.c (literal_symbol_name_matcher): New function. | |
763 | (ada_get_symbol_name_matcher): Use it for | |
764 | symbol_name_match_type::SEARCH_NAME. | |
765 | * block.c (block_lookup_symbol): New parameter 'match_type'. Pass | |
766 | it down instead of assuming symbol_name_match_type::FULL. | |
767 | * block.h (block_lookup_symbol): New parameter 'match_type'. | |
768 | * c-valprint.c (print_unpacked_pointer): Use | |
769 | lookup_symbol_search_name instead of lookup_symbol. | |
770 | * compile/compile-object-load.c (get_out_value_type): Pass down | |
771 | symbol_name_match_type::SEARCH_NAME. | |
772 | * cp-namespace.c (cp_basic_lookup_symbol): Pass down | |
773 | symbol_name_match_type::FULL. | |
774 | * cp-support.c (cp_get_symbol_name_matcher): Handle | |
775 | symbol_name_match_type::SEARCH_NAME. | |
776 | * infrun.c (insert_exception_resume_breakpoint): Use | |
777 | lookup_symbol_search_name. | |
778 | * p-valprint.c (pascal_val_print): Use lookup_symbol_search_name. | |
779 | * psymtab.c (maintenance_check_psymtabs): Use | |
780 | symbol_name_match_type::SEARCH_NAME and SYMBOL_SEARCH_NAME. | |
781 | * stack.c (print_frame_args): Use lookup_symbol_search_name and | |
782 | SYMBOL_SEARCH_NAME. | |
783 | * symtab.c (lookup_local_symbol): Don't demangle the lookup name | |
784 | if symbol_name_match_type::SEARCH_NAME. | |
785 | (lookup_symbol_in_language): Pass down | |
786 | symbol_name_match_type::FULL. | |
787 | (lookup_symbol_search_name): New. | |
788 | (lookup_language_this): Pass down | |
789 | symbol_name_match_type::SEARCH_NAME. | |
790 | (lookup_symbol_aux, lookup_local_symbol): New parameter | |
791 | 'match_type'. Pass it down. | |
792 | * symtab.h (symbol_name_match_type::SEARCH_NAME): New enumerator. | |
793 | (lookup_symbol_search_name): New declaration. | |
794 | (lookup_symbol_in_block): New 'match_type' parameter. | |
795 | ||
f98fc17b PA |
796 | 2018-01-05 Pedro Alves <palves@redhat.com> |
797 | ||
798 | PR gdb/22670 | |
799 | * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of | |
800 | ada_lookup_symbol. | |
801 | (ada_lookup_symbol): Reimplement in terms of | |
802 | ada_lookup_symbol_list, bits factored out from | |
803 | ada_lookup_encoded_symbol. | |
804 | ||
342f8240 JB |
805 | 2018-01-05 Joel Brobecker <brobecker@adacore.com> |
806 | ||
807 | * ada-exp.y (write_object_renaming): When subscripting an array | |
808 | using a symbol as the index, pass the block in call to | |
809 | ada_lookup_encoded_symbol when looking that symbol up. | |
810 | ||
7150d33c JG |
811 | 2018-01-05 Jerome Guitton <guitton@adacore.com> |
812 | ||
813 | * ada-lang.c (ada_array_length): Use ada_index_type instead of | |
814 | TYPE_INDEX_TYPE. | |
815 | ||
cc0e770c JB |
816 | 2018-01-05 Joel Brobecker <brobecker@adacore.com> |
817 | ||
818 | * ada-lang.c (ada_to_fixed_value_create): Add handling of | |
819 | the case where VALUE_LVAL (val0) is not lval_memory. | |
820 | ||
f79da888 | 821 | 2018-01-05 Xavier Roirand <roirand@adacore.com> |
e3861a03 XR |
822 | |
823 | * ada-valprint.c (print_optional_low_bound): Handle | |
824 | character-indexed array printing like boolean-indexed array | |
825 | printing. | |
826 | ||
cd385f94 JB |
827 | 2018-01-05 Joel Brobecker <brobecker@adacore.com> |
828 | ||
829 | * NEWS: Create a new section for the next release branch. | |
830 | Rename the section of the current branch, now that it has | |
831 | been cut. | |
832 | ||
09aca949 JB |
833 | 2018-01-05 Joel Brobecker <brobecker@adacore.com> |
834 | ||
835 | GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7): | |
836 | * version.in: Bump version to 8.1.50.DATE-git. | |
837 | ||
9f757bf7 XR |
838 | 2018-01-03 Xavier Roirand <roirand@adacore.com> |
839 | ||
840 | * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>: | |
841 | Add field. | |
842 | * ada-lang.c (struct exception_support_info) <catch_handlers_sym>: | |
843 | Add field. | |
844 | (default_exception_support_info) <catch_handlers_sym>: Add field. | |
845 | (exception_support_info_fallback) <catch_handlers_sym>: Add field. | |
846 | (ada_exception_name_addr_1): Add "catch handlers" handling. | |
847 | (ada_exception_catchpoint_cond_string) <ex>: New parameter. | |
848 | Update all callers. | |
849 | (create_excep_cond_exprs) <ex>: Add parameter. | |
850 | (re_set_exception): Update create_excep_cond_exprs call. | |
851 | (print_it_exception, print_one_exception, print_mention_exception) | |
852 | (print_recreate_exception): Add "catch handler" handling. | |
853 | (allocate_location_catch_handlers, re_set_catch_handlers) | |
854 | (check_status_catch_handlers, print_it_catch_handlers) | |
855 | (print_one_catch_handlers, print_mention_catch_handlers) | |
856 | (print_recreate_catch_handlers): New function. | |
857 | (catch_handlers_breakpoint_ops): New variable. | |
858 | (catch_ada_exception_command_split) <is_catch_handlers_cmd>: | |
859 | Add parameter. Add "catch handler" handling. | |
860 | (ada_exception_sym_name, ada_exception_breakpoint_ops): | |
861 | Add "catch handler" handling. | |
862 | (ada_exception_catchpoint_cond_string): Add "catch handler" | |
863 | handling. | |
864 | (create_ada_exception_catchpoint): Update create_excep_cond_exprs | |
865 | call. | |
866 | (catch_ada_handlers_command): New function. | |
867 | (initialize_ada_catchpoint_ops): Initialize "catch handlers" | |
868 | operations structure. | |
869 | (_initialize_ada_language): Add "catch handlers" command entry. | |
870 | * NEWS: Document "catch handlers" feature. | |
871 | ||
9fe561ab JB |
872 | 2018-01-02 Joel Brobecker <brobecker@adacore.com> |
873 | ||
874 | * ada-lang.c (ada_value_slice_from_ptr): Take array stride into | |
875 | account when creating the array type of the slice. | |
876 | (ada_value_slice): Likewise. | |
877 | ||
a405673c JB |
878 | 2018-01-02 Joel Brobecker <brobecker@adacore.com> |
879 | ||
880 | * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>: | |
881 | New enum value. | |
882 | (create_array_type_with_stride): Add byte_stride_prop parameter. | |
883 | * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>: | |
884 | New parameter. Update all callers in this file. | |
885 | (array_type_has_dynamic_stride): New function. | |
886 | (is_dynamic_type_internal, resolve_dynamic_array): Add handling | |
887 | of arrays with dynamic byte strides. | |
888 | * dwarf2read.c (read_array_type): Add support for dynamic | |
889 | DW_AT_byte_stride attributes. | |
890 | ||
74a2f8ff JB |
891 | 2018-01-02 Joel Brobecker <brobecker@adacore.com> |
892 | ||
893 | * dwarf2read.c (read_unspecified_type): Treat | |
894 | DW_TAG_enumeration_type DIEs from Ada units as stubs. | |
895 | ||
e2882c85 JB |
896 | 2018-01-01 Joel Brobecker <brobecker@adacore.com> |
897 | ||
898 | Update copyright year range in all GDB files. | |
899 | ||
1690bb24 JB |
900 | 2018-01-01 Joel Brobecker <brobecker@adacore.com> |
901 | ||
902 | * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp | |
903 | and gdb/testsuite/gdb.base/step-line.c. | |
904 | ||
0f0c98a8 JB |
905 | 2018-01-01 Joel Brobecker <brobecker@adacore.com> |
906 | ||
907 | * copyright.py (main): Dump the contents of | |
908 | MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND, | |
909 | even if BY_HAND is empty. | |
910 | ||
82e1e79a JB |
911 | 2018-01-01 Joel Brobecker <brobecker@adacore.com> |
912 | ||
913 | * top.c (print_gdb_version): Update Copyright year in version | |
914 | message. | |
915 | ||
053f54e5 | 916 | 2018-01-01 Joel Brobecker <brobecker@adacore.com> |
47fea877 | 917 | |
053f54e5 | 918 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017. |
47fea877 | 919 | |
053f54e5 | 920 | For older changes see ChangeLog-2017. |
c906108c SS |
921 | \f |
922 | Local Variables: | |
923 | mode: change-log | |
924 | left-margin: 8 | |
925 | fill-column: 74 | |
926 | version-control: never | |
57da7796 | 927 | coding: utf-8 |
c906108c | 928 | End: |