]>
Commit | Line | Data |
---|---|---|
84696f37 MM |
1 | 2018-02-09 Markus Metzger <[email protected]> |
2 | ||
3 | * common/scoped_mmap.h: New. | |
4 | * unittests/scoped_mmap-selftest.c: New. | |
5 | * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add | |
6 | unittests/scoped_mmap-selftest.c. | |
7 | ||
ea4a0888 MM |
8 | 2018-02-09 Markus Metzger <[email protected]> |
9 | ||
10 | * common/scoped_fd.h: New. | |
11 | * unittests/scoped_fd-selftest.c: New. | |
12 | * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add | |
13 | unittests/scoped_fd-selftest.c. | |
14 | ||
869e8290 TT |
15 | 2018-02-09 Tom Tromey <[email protected]> |
16 | ||
17 | * auto-load.c (auto_load_section_scripts): Use | |
18 | gdb::unique_xmalloc_ptr. | |
19 | ||
a37a2ae7 TT |
20 | 2018-02-09 Tom Tromey <[email protected]> |
21 | ||
22 | * auto-load.c (execute_script_contents): Use std::string. | |
23 | ||
4e725347 JB |
24 | 2018-02-09 Joel Brobecker <[email protected]> |
25 | ||
26 | * NEWS <Changes in GDB 8.1>: Clarify that "rbreak" is a new | |
27 | Python function, rather than a new command. | |
28 | ||
9a897d43 TT |
29 | 2018-02-08 Tom Tromey <[email protected]> |
30 | ||
31 | * solib.c (solib_find_1): Use std::string. | |
32 | (solib_bfd_fopen): Use unique_xmalloc_ptr. | |
33 | ||
58ef3771 TT |
34 | 2018-02-08 Tom Tromey <[email protected]> |
35 | ||
36 | * build-id.c (build_id_to_debug_bfd): Use unique_xmalloc_ptr. | |
37 | ||
a9abc434 TT |
38 | 2018-02-08 Tom Tromey <[email protected]> |
39 | ||
40 | * source.c (find_source_lines): Use gdb::def_vector. | |
41 | ||
84f27c6f TT |
42 | 2018-02-08 Tom Tromey <[email protected]> |
43 | ||
44 | * macrocmd.c (struct temporary_macro_definition): New. | |
45 | (macro_define_command): Use temporary_macro_definition. Remove | |
46 | cleanups. | |
47 | (free_macro_definition_ptr): Remove. | |
48 | ||
0354904b TT |
49 | 2018-02-08 Tom Tromey <[email protected]> |
50 | ||
51 | * macroexp.c (maybe_expand): Use std::string. | |
52 | ||
1739cf24 TT |
53 | 2018-02-08 Tom Tromey <[email protected]> |
54 | ||
55 | * macroexp.c (struct macro_buffer): Add initializers for some | |
56 | members. | |
57 | (init_buffer, init_shared_buffer, free_buffer) | |
58 | (free_buffer_return_text): Remove. | |
59 | (macro_buffer): New constructors. | |
60 | (~macro_buffer): New destructor. | |
61 | (macro_buffer::set_shared): New method. | |
62 | (macro_buffer::resize_buffer, macro_buffer::appendc) | |
63 | (macro_buffer::appendmem): Now methods, not free functions. | |
64 | (set_token, append_tokens_without_splicing, stringify) | |
65 | (macro_stringify): Update. | |
66 | (gather_arguments): Change return type. Remove argc_p argument, | |
67 | add args_ptr argument. Use std::vector. | |
68 | (substitute_args): Remove argc argument. Accept std::vector. | |
69 | (expand): Update. Use std::vector. | |
70 | (scan, macro_expand, macro_expand_next): Update. | |
71 | ||
f6c2623e TT |
72 | 2018-02-08 Tom Tromey <[email protected]> |
73 | ||
74 | * symtab.c (default_collect_symbol_completion_matches_break_on): | |
75 | Use unique_xmalloc_ptr. | |
76 | * macroscope.h: (sal_macro_scope, user_macro_scope) | |
77 | (default_macro_scope): Return unique_xmalloc_ptr. | |
78 | * macroscope.c (sal_macro_scope, user_macro_scope) | |
79 | (default_macro_scope): Return unique_xmalloc_ptr. | |
80 | * macroexp.h (macro_expand, macro_expand_once): Return | |
81 | unique_xmalloc_ptr. | |
82 | * macroexp.c (macro_expand, macro_expand_once): Return | |
83 | unique_xmalloc_ptr. | |
84 | * macrocmd.c (macro_expand_command, macro_expand_once_command) | |
85 | (info_macro_command, info_macros_command): Use | |
86 | unique_xmalloc_ptr. | |
87 | * compile/compile-c-support.c (write_macro_definitions): Use | |
88 | unique_xmalloc_ptr. | |
89 | * c-exp.y (c_parse): Use unique_xmalloc_ptr. | |
90 | ||
c2e0e465 SM |
91 | 2018-02-07 Simon Marchi <[email protected]> |
92 | ||
93 | * value.c (value_static_field): Assign field type instead of | |
94 | containing type when returning an optimized out value. | |
95 | ||
3f8c94b4 YQ |
96 | 2018-02-06 Yao Qi <[email protected]> |
97 | ||
98 | * ft32-tdep.c (ft32_read_pc): Remove. | |
99 | (ft32_write_pc): Remove. | |
100 | (ft32_gdbarch_init): Update. | |
101 | * m32r-tdep.c (m32r_read_pc): Remove. | |
102 | (m32r_gdbarch_init): Update. | |
103 | * mep-tdep.c (mep_read_pc): Remove. | |
104 | (mep_gdbarch_init): Update. | |
105 | * microblaze-tdep.c (microblaze_write_pc): Remove. | |
106 | (microblaze_gdbarch_init): Update. | |
107 | * mn10300-tdep.c (mn10300_read_pc): Remove. | |
108 | (mn10300_write_pc): Remove. | |
109 | (mn10300_gdbarch_init): Update. | |
110 | * moxie-tdep.c (moxie_read_pc): Remove. | |
111 | (moxie_write_pc): Remove. | |
112 | (moxie_gdbarch_init): Update. | |
113 | ||
bca65a23 YQ |
114 | 2018-02-06 Yao Qi <[email protected]> |
115 | ||
116 | * expprint.c (print_subexp_standard): Handle | |
117 | OP_F77_UNDETERMINED_ARGLIST. | |
118 | (dump_subexp_body_standard): Likewise. | |
119 | ||
583e3f90 | 120 | 2018-02-05 Alan Hayward <[email protected]> |
b8df6ca7 | 121 | |
583e3f90 YQ |
122 | * target-descriptions.c (tdesc_element_visitor) Add empty |
123 | implementations. | |
b8df6ca7 AH |
124 | (tdesc_type): Move make_gdb_type from here. |
125 | (tdesc_type_builtin): Likewise. | |
126 | (tdesc_type_vector): Likewise. | |
127 | (tdesc_type_with_fields): Move make_gdb_type_ functions from here. | |
128 | (make_gdb_type_struct): Move from tdesc_type_with_fields. | |
129 | (make_gdb_type_union): Likewise. | |
130 | (make_gdb_type_flags): Likewise. | |
131 | (make_gdb_type_enum): Likewise. | |
132 | (make_gdb_type): New function. | |
133 | (tdesc_register_type): Use static make_gdb_type. | |
134 | ||
e813d34a RK |
135 | 2018-02-05 Ruslan Kabatsayev <[email protected]> |
136 | ||
137 | * infcmd.c (default_print_one_register_info): Align natural-format | |
138 | column values consistently one under another. | |
139 | (pad_to_column): New function. | |
140 | ||
0eb876f5 JB |
141 | 2018-02-05 Joel Brobecker <[email protected]> |
142 | ||
143 | * dwarf2read.c (dwarf2_physname): Move commment. | |
144 | ||
0625771b LS |
145 | 2018-02-01 Leszek Swirski <[email protected]> |
146 | ||
147 | * varobj.c (varobj_formatted_print_options): Allow recursive | |
148 | pretty printing if pretty printing is enabled. | |
149 | ||
59498c30 LS |
150 | 2018-02-01 Leszek Swirski <[email protected]> |
151 | ||
152 | * c-exp.y (lex_one_token, classify_name, yylex): Don't classify | |
153 | names after a structop as a filename. | |
154 | ||
2d9e6acb YQ |
155 | 2018-02-01 Yao Qi <[email protected]> |
156 | ||
157 | * arm-tdep.c (arm_record_data_proc_misc_ld_str): Rewrite it. | |
158 | (arm_record_coproc_data_proc): Likewise. | |
159 | ||
df95a9cf YQ |
160 | 2018-02-01 Yao Qi <[email protected]> |
161 | ||
162 | * arm-tdep.c (arm_record_extension_space): Change ret to signed. | |
163 | ||
07e5f5cf NP |
164 | 2018-01-31 Nikola Prica <[email protected]> |
165 | ||
166 | * rs6000-tdep.c (skip_prologue): Remove shifting for lr_reg and | |
167 | assign shifted lr_reg to fdata->lr_register when lr_reg is set. | |
168 | ||
3045b475 PA |
169 | 2018-01-31 Pedro Alves <[email protected]> |
170 | ||
171 | * darwin-nat.c (darwin_interrupt): Remove ptid_t parameter. | |
172 | * inflow.c (child_terminal_save_inferior): Wrap reference to | |
173 | tcgetpgrp in HAVE_TERMIOS_H. | |
174 | (child_interrupt, child_pass_ctrlc): Wrap references to signal in | |
175 | _WIN32. | |
176 | * remote-sim.c (gdbsim_interrupt): Remove ptid_t parameter and | |
177 | always iterate over all inferiors. | |
178 | (gdbsim_cntrl_c): Adjust. | |
179 | * windows-nat.c (windows_interrupt): Remove 'ptid_t' parameter. | |
180 | ||
929b5ad4 JB |
181 | 2018-01-31 Joel Brobecker <[email protected]> |
182 | ||
183 | * gdbtypes.c (lookup_array_range_type): Make sure the array's | |
184 | index type is objfile-owned if the element type is as well. | |
185 | ||
29236ca2 JB |
186 | 2018-01-31 Joel Brobecker <[email protected]> |
187 | ||
188 | GDB 8.1 released. | |
189 | ||
c81e8879 PR |
190 | 2018-01-30 Philipp Rudo <[email protected]> |
191 | ||
192 | * s390-linux-tdep.c: Remove includes "features/s390-linux32.c" and | |
193 | "features/s390x-linux64.c". | |
194 | (_initialize_s390_linux_tdep): Remove initialization of tdescs | |
195 | s390_linux32 and s390x_linux64. | |
196 | (s390_linux_init_abi_31, s390_linux_init_abi_64): Don't set | |
197 | default tdesc. | |
198 | * s390-tdep.c: Include "features/s390-linux32.c" and | |
199 | "features/s390x-linux64.c". | |
200 | (s390_tdesc_valid): Add check for tdesc_has_registers. | |
201 | (s390_gdbarch_init): Make sure there is always a valid tdesc. | |
202 | (_initialize_s390_tdep): Initialize tdesc_s390_linux32 and | |
203 | tdesc_s390x_linux64. | |
204 | * s390-linux-tdep.h: Move export of tdesc_s390_linux32 and | |
205 | tdesc_s390x_linux64 to... | |
206 | * s390-tdep.h: ...here. | |
207 | ||
e671cd59 PA |
208 | 2018-01-30 Pedro Alves <[email protected]> |
209 | ||
210 | PR gdb/13211 | |
211 | * config.in, configure: Regenerate. | |
212 | * configure.ac: Check for getpgid. | |
213 | * go32-nat.c (go32_pass_ctrlc): New. | |
214 | (go32_target): Install it. | |
215 | * inf-child.c (inf_child_target): Install | |
216 | child_terminal_save_inferior, child_pass_ctrlc and | |
217 | child_interrupt. | |
218 | * inf-ptrace.c (inf_ptrace_interrupt): Delete. | |
219 | (inf_ptrace_target): No longer install it. | |
220 | * infcmd.c (interrupt_target_1): Adjust. | |
221 | * inferior.h (child_terminal_save_inferior, child_pass_ctrlc) | |
222 | (child_interrupt): Declare. | |
223 | (inferior::terminal_state): New. | |
224 | * inflow.c (struct terminal_info): Update comments. | |
225 | (inferior_process_group): Delete. | |
226 | (terminal_is_ours): Delete. | |
227 | (gdb_tty_state): New. | |
228 | (child_terminal_init): Adjust. | |
229 | (is_gdb_terminal, sharing_input_terminal_1) | |
230 | (sharing_input_terminal): New functions. | |
231 | (child_terminal_inferior): Adjust. Use sharing_input_terminal. | |
232 | Set the process's actual process group in the foreground if | |
233 | possible. Handle is_ours_for_output/is_ours distinction. Don't | |
234 | mark terminal as the inferior's if not sharing GDB's terminal. | |
235 | Don't check attach_flag. | |
236 | (child_terminal_ours_for_output, child_terminal_ours): Adjust to | |
237 | pass down a target_terminal_state. | |
238 | (child_terminal_save_inferior): New, factored out from ... | |
239 | (child_terminal_ours_1): ... this. Handle | |
240 | target_terminal_state::is_ours_for_output. | |
241 | (child_interrupt, child_pass_ctrlc): New. | |
242 | (inflow_inferior_exit): Clear the inferior's terminal_state. | |
243 | (copy_terminal_info): Copy the inferior's terminal state. | |
244 | (_initialize_inflow): Remove reference to terminal_is_ours. | |
245 | * inflow.h (inferior_process_group): Delete. | |
246 | * nto-procfs.c (nto_handle_sigint, procfs_interrupt): Adjust. | |
247 | * procfs.c (procfs_target): Don't install procfs_interrupt. | |
248 | (procfs_interrupt): Delete. | |
249 | * remote.c (remote_serial_quit_handler): Adjust. | |
250 | (remote_interrupt): Remove ptid parameter. Adjust. | |
251 | * target-delegates.c: Regenerate. | |
252 | * target.c: Include "terminal.h". | |
253 | (target_terminal::terminal_state): Rename to ... | |
254 | (target_terminal::m_terminal_state): ... this. | |
255 | (target_terminal::init): Adjust. | |
256 | (target_terminal::inferior): Adjust to per-inferior | |
257 | terminal_state. | |
258 | (target_terminal::restore_inferior, target_terminal_is_ours_kind): New. | |
259 | (target_terminal::ours, target_terminal::ours_for_output): Use | |
260 | target_terminal_is_ours_kind. | |
261 | (target_interrupt): Remove ptid parameter. Adjust. | |
262 | (default_target_pass_ctrlc): Adjust. | |
263 | * target.h (target_ops::to_terminal_save_inferior): New field. | |
264 | (target_ops::to_interrupt): Remove ptid_t parameter. | |
265 | (target_interrupt): Remove ptid_t parameter. Update comment. | |
266 | (target_pass_ctrlc): Update comment. | |
267 | * target/target.h (target_terminal_state): New scoped enum, | |
268 | factored out of ... | |
269 | (target_terminal::terminal_state): ... here. | |
270 | (target_terminal::inferior): Update comments. | |
271 | (target_terminal::restore_inferior): New. | |
272 | (target_terminal::is_inferior, target_terminal::is_ours) | |
273 | (target_terminal::is_ours_for_output): Adjust. | |
274 | (target_terminal::scoped_restore_terminal_state): Adjust to | |
275 | rename, and call restore_inferior() instead of inferior(). | |
276 | (target_terminal::scoped_restore_terminal_state::m_state): Change | |
277 | type. | |
278 | (target_terminal::terminal_state): Rename to ... | |
279 | (target_terminal::m_terminal_state): ... this and change type. | |
280 | ||
9c3a5d93 PA |
281 | 2018-01-30 Pedro Alves <[email protected]> |
282 | ||
283 | * linux-nat.c (wait_for_signal): New function. | |
284 | (wait_lwp, linux_nat_wait_1): Use it instead of calling sigsuspend | |
285 | directly. | |
286 | (async_terminal_is_ours) | |
287 | (linux_nat_terminal_inferior, linux_nat_terminal_ours): Delete. | |
288 | (linux_nat_add_target): Don't override | |
289 | to_terminal_inferior/to_terminal_ours. | |
290 | ||
69ab5edb SDJ |
291 | 2018-01-29 Sergio Durigan Junior <[email protected]> |
292 | ||
293 | * remote.c (remote_follow_fork): Don't call "detach_inferior". | |
294 | ||
fc8e7e75 SM |
295 | 2018-01-28 Simon Marchi <[email protected]> |
296 | ||
297 | * dwarf2read.c (free_dwo_files): Add forward-declaration. | |
298 | (dwarf2_per_objfile::~dwarf2_per_objfile): Move content from | |
299 | dwarf2_per_objfile_free here. | |
300 | (dwarf2_per_objfile_free): Remove. | |
301 | (_initialize_dwarf2_read): Don't register | |
302 | dwarf2_per_objfile_free as a registry cleanup. | |
303 | ||
b2a426e2 EZ |
304 | 2018-01-27 Eli Zaretskii <[email protected]> |
305 | ||
306 | Avoid compilation errors in MinGW native builds | |
307 | ||
308 | The error is triggered by including python-internal.h, and the | |
309 | error message is: | |
310 | ||
311 | In file included from d:\usr\lib\gcc\mingw32\6.3.0\include\c++\math.h:36:0, | |
312 | from build-gnulib/import/math.h:27, | |
313 | from d:/usr/Python26/include/pyport.h:235, | |
314 | from d:/usr/Python26/include/Python.h:58, | |
315 | from python/python-internal.h:94, | |
316 | from python/py-arch.c:24: | |
317 | d:\usr\lib\gcc\mingw32\6.3.0\include\c++\cmath:1157:11: error: '::hypot' has not been declared | |
318 | using ::hypot; | |
319 | ^~~~~ | |
320 | ||
321 | This happens because Python headers define 'hypot' to expand t | |
322 | '_hypot' in the Windows builds. | |
323 | * python/python-internal.h (_hypot) [__MINGW32__]: Define back to | |
324 | 'hypoth'. This avoids a compilation error. | |
325 | ||
0bdd8eac AH |
326 | 2018-01-26 Alan Hayward <[email protected]> |
327 | ||
328 | * MAINTAINERS (Write After Approval): Fix ordering. | |
329 | ||
56ae9dc3 AH |
330 | 2018-01-26 Alan Hayward <[email protected]> |
331 | ||
332 | * MAINTAINERS (Write After Approval): Add Alan Hayward. | |
333 | ||
7433498b AM |
334 | 2018-01-26 Alan Modra <[email protected]> |
335 | ||
336 | * ppc-linux-tdep.c (powerpc32_plt_stub): Make const. | |
337 | (powerpc32_plt_stub_so_1): Rename from powerpc32_plt_stub_so. | |
338 | Remove nop. Make const. Comment. | |
339 | (powerpc32_plt_stub_so_2): New. | |
340 | (POWERPC32_PLT_CHECK_LEN): Rename from POWERPC32_PLT_STUB_LEN. | |
341 | Correct count. Update uses. | |
342 | (ppc_skip_trampoline_code): Match powerpc32_plt_stub_so_2 too. | |
343 | Move common code reading PLT entry word. Correct | |
344 | powerpc32_plt_stub PLT address calculation. | |
345 | * ppc64-tdep.c (ppc64_standard_linkage1): Make const. | |
346 | (ppc64_standard_linkage2, ppc64_standard_linkage3): Likewise. | |
347 | (ppc64_standard_linkage4, ppc64_standard_linkage5): Likewise. | |
348 | (ppc64_standard_linkage6, ppc64_standard_linkage7): Likewise. | |
349 | (ppc64_standard_linkage8): Likewise. | |
350 | * rs6000-tdep.c (ppc_insns_match_pattern): Make pattern const. | |
351 | Correct insns description. | |
352 | * ppc-tdep.h (ppc_insns_match_pattern): Update prototype. | |
353 | ||
0f59d5fc PA |
354 | 2018-01-24 Pedro Alves <[email protected]> |
355 | ||
356 | GCC PR libstdc++/83906 | |
357 | * gdbtypes.c (operator==(const dynamic_prop &, | |
358 | const dynamic_prop &)): New. | |
359 | (operator==(const range_bounds &, const range_bounds &)): New. | |
360 | (check_types_equal): Use them instead of memcmp. | |
361 | * gdbtypes.h (operator==(const dynamic_prop &, | |
362 | const dynamic_prop &)): Declare. | |
363 | (operator!=(const dynamic_prop &, const dynamic_prop &)): Declare. | |
364 | (operator==(const range_bounds &, const range_bounds &)): Declare. | |
365 | (operator!=(const range_bounds &, const range_bounds &)): Declare. | |
366 | ||
ef8914a4 PR |
367 | 2018-01-23 Philipp Rudo <[email protected]> |
368 | ||
369 | * s390-linux-tdep.c (s390_record_address_mask) | |
370 | (s390_record_calc_disp_common, s390_record_calc_disp) | |
371 | (s390_record_calc_disp_vsce, s390_record_calc_rl, s390_popcnt) | |
372 | (s390_record_gpr_g, s390_record_gpr_h, s390_record_vr) | |
373 | (s390_process_record): Move to s390-tdep.c. | |
374 | (s390_linux_init_abi_any): Adjust. | |
375 | * s390-tdep.c (s390_record_address_mask) | |
376 | (s390_record_calc_disp_common, s390_record_calc_disp) | |
377 | (s390_record_calc_disp_vsce, s390_record_calc_rl, s390_popcnt) | |
378 | (s390_record_gpr_g, s390_record_gpr_h, s390_record_vr) | |
379 | (s390_process_record): Moved from s390-linux-tdep.c | |
380 | (s390_gdbarch_init): Adjust. | |
381 | ||
d6e58945 PR |
382 | 2018-01-23 Philipp Rudo <[email protected]> |
383 | ||
384 | * s390-linux-nat.c (s390-tdep.h): New include. | |
385 | * Makefile.in (ALL_TARGET_OBS): Add s390-tdep.o. | |
386 | (HFILES_NO_SRCDIR): Add s390-tdep.h. | |
387 | (ALLDEPFILES): Add s390-tdep.c. | |
388 | * configure.tgt (s390*-*-linux*): Add s390-tdep.o. | |
389 | * s390-linux-tdep.h (HWCAP_S390_*, S390_*_REGNUM): Move to... | |
390 | * s390-tdep.h: ...this. New file. | |
391 | * s390-linux-tdep.c (s390-tdep.h): New include. | |
392 | (_initialize_s390_tdep): Rename to... | |
393 | (_initialize_s390_linux_tdep): ...this and adjust. | |
394 | (s390_abi_kind, s390_vector_abi_kind, gdbarch_tdep) | |
395 | (enum named opcodes, S390_NUM_GPRS, S390_NUM_FPRS): Move to | |
396 | s390-tdep.h. | |
397 | (s390_break_insn, s390_breakpoint, s390_readinstruction, is_ri) | |
398 | (is_ril, is_rr, is_rre, is_rs, is_rsy, is_rx, is_rxy) | |
399 | (s390_is_partial_instruction, s390_software_single_step) | |
400 | (is_non_branch_ril, s390_displaced_step_copy_insn) | |
401 | (s390_displaced_step_fixup, s390_displaced_step_hw_singlestep) | |
402 | (s390_prologue_data, s390_addr, s390_store, s390_load) | |
403 | (s390_check_for_saved, s390_analyze_prologue, s390_skip_prologue) | |
404 | (s390_register_call_saved, s390_guess_tracepoint_registers) | |
405 | (s390_register_name, s390_dwarf_regmap, s390_dwarf_reg_to_regnum) | |
406 | (regnum_is_gpr_full, regnum_is_vxr_full, s390_value_from_register) | |
407 | (s390_pseudo_register_name, s390_pseudo_register_type) | |
408 | (s390_pseudo_register_read, s390_pseudo_register_write) | |
409 | (s390_pseudo_register_reggroup_p, s390_ax_pseudo_register_collect) | |
410 | (s390_ax_pseudo_register_push_stack, s390_gen_return_address) | |
411 | (s390_addr_bits_remove, s390_address_class_type_flags) | |
412 | (s390_address_class_type_flags_to_name) | |
413 | (s390_address_class_name_to_type_flags, s390_effective_inner_type) | |
414 | (s390_function_arg_float, s390_function_arg_vector) | |
415 | (is_power_of_two, s390_function_arg_integer, s390_arg_state) | |
416 | (s390_handle_arg, s390_push_dummy_call, s390_dummy_id) | |
417 | (s390_frame_align, s390_register_return_value, s390_return_value) | |
418 | (s390_stack_frame_destroyed_p, s390_unwind_pc, s390_unwind_sp) | |
419 | (s390_unwind_pseudo_register, s390_adjust_frame_regnum) | |
420 | (s390_dwarf2_prev_register, s390_dwarf2_frame_init_reg) | |
421 | (s390_trad_frame_prev_register, s390_unwind_cache) | |
422 | (s390_prologue_frame_unwind_cache) | |
423 | (s390_backchain_frame_unwind_cache, s390_frame_unwind_cache) | |
424 | (s390_frame_this_id, s390_frame_prev_register, s390_frame_unwind) | |
425 | (s390_stub_unwind_cache, s390_stub_frame_unwind_cache) | |
426 | (s390_stub_frame_this_id, s390_stub_frame_prev_register) | |
427 | (s390_stub_frame_sniffer, s390_stub_frame_unwind) | |
428 | (s390_frame_base_address, s390_local_base_address) | |
429 | (s390_frame_base, s390_gcc_target_options) | |
430 | (s390_gnu_triplet_regexp, s390_stap_is_single_operand) | |
431 | (s390_validate_reg_range, s390_tdesc_valid) | |
432 | (s390_gdbarch_tdep_alloc, s390_gdbarch_init): Move to... | |
433 | * s390-tdep.c: ...this. New file. | |
434 | ||
9c0b896e PR |
435 | 2018-01-23 Philipp Rudo <[email protected]> |
436 | ||
437 | * s390-linux-tdep.c (gdbarch_tdep.s390_syscall_record): New hook. | |
438 | (s390_process_record, s390_gdbarch_tdep_alloc) | |
439 | (s390_linux_init_abi_any): Use/set new hook. | |
440 | ||
7042632b PR |
441 | 2018-01-23 Philipp Rudo <[email protected]> |
442 | ||
443 | * s390-linux-tdep.c (osabi.h): New include. | |
444 | (s390_linux_init_abi_31, s390_linux_init_abi_64) | |
445 | (s390_linux_init_abi_any): New functions. | |
446 | (s390_gdbarch_init, _initialize_s390_tdep): Adjust. | |
447 | ||
650f5e13 PR |
448 | 2018-01-23 Philipp Rudo <[email protected]> |
449 | ||
450 | * s390-linux-tdep.c (s390_gdbarch_init): Use gdb_assert for | |
451 | tdesc_has_registers check | |
452 | ||
47c9317e PR |
453 | 2018-01-23 Philipp Rudo <[email protected]> |
454 | ||
455 | * s390-linux-tdep.c (s390_tdesc_valid): New function. | |
456 | (s390_validate_reg_range): New macro. | |
457 | (s390_gdbarch_init): Adjust. | |
458 | ||
095085d8 PR |
459 | 2018-01-23 Philipp Rudo <[email protected]> |
460 | ||
461 | * s390-linux-tdep.c (gdbarch_tdep) <tdesc>: New field. | |
462 | (s390_gdbarch_tdep_alloc): Adjust. | |
463 | (s390_gdbarch_init): Adjust. | |
464 | ||
ab9bcc67 PR |
465 | 2018-01-23 Philipp Rudo <[email protected]> |
466 | ||
467 | * s390-linux-tdep.c (gdbarch_tdep) <have_linux_v1, have_linux_v2> | |
468 | <have_tdb>: Change type to bool. | |
469 | (s390_gdbarch_tdep_alloc): Adjust. | |
470 | (s390_gdbarch_init): Adjust. | |
471 | ||
21f6f5ff PR |
472 | 2018-01-23 Philipp Rudo <[email protected]> |
473 | ||
474 | * s390-linux-tdep (s390_abi_kind) <ABI_NONE>: New default field. | |
475 | (gdbarch_tdep) <have_upper, have_vx>: New fields. | |
476 | (s390_gdbarch_tdep_alloc): New function. | |
477 | (s390_gdbarch_init): Allocate tdep at start and use its fields | |
478 | instead of separate variables. | |
479 | ||
0eb97953 PR |
480 | 2018-01-23 Philipp Rudo <[email protected]> |
481 | ||
482 | * s390-linux-tdep.c (s390_gdbarch_init): Remove duplicate checks | |
483 | when looking for cached gdbarch and add comment for remaining. | |
484 | ||
5c319bb2 PA |
485 | 2018-01-22 Pedro Alves <[email protected]> |
486 | Sergio Durigan Junior <[email protected]> | |
487 | ||
488 | * typeprint.c (whatis_exp): Initialize "val" in the "whatis type" | |
489 | case. | |
490 | ||
d65ce302 MR |
491 | 2018-01-22 Maciej W. Rozycki <[email protected]> |
492 | ||
493 | * MAINTAINERS: Update my company e-mail address. | |
494 | ||
ec7a5fcb YQ |
495 | 2018-01-22 Yao Qi <[email protected]> |
496 | ||
497 | * regcache.c (cooked_write_test): New function. | |
498 | (_initialize_regcache): Register the test. | |
499 | ||
11f57cb6 YQ |
500 | 2018-01-22 Yao Qi <[email protected]> |
501 | ||
502 | * ia64-tdep.c (ia64_pseudo_register_read): Call | |
503 | regcache->cooked_read instead of regcache_cooked_read_unsigned. | |
504 | * m32c-tdep.c (m32c_cat_read): Likewise. | |
505 | (m32c_r3r2r1r0_read): Likewise. | |
506 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Likewise. | |
507 | * xtensa-tdep.c (xtensa_register_read_masked): Likewise. | |
508 | ||
03f50fc8 YQ |
509 | 2018-01-22 Yao Qi <[email protected]> |
510 | ||
511 | * aarch64-tdep.c (aarch64_pseudo_read_value): Call regcache | |
512 | method raw_read instead of regcache_raw_read. | |
513 | * amd64-tdep.c (amd64_pseudo_register_read_value): Likewise. | |
514 | * arm-tdep.c (arm_neon_quad_read): Likewise. | |
515 | * avr-tdep.c (avr_pseudo_register_read): Likewise. | |
516 | * bfin-tdep.c (bfin_pseudo_register_read): Likewise. | |
517 | * frv-tdep.c (frv_pseudo_register_read): Likewise. | |
518 | * h8300-tdep.c (h8300_pseudo_register_read): Likewise. | |
519 | * i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Likewise. | |
520 | (i386_pseudo_register_read_into_value): Likewise. | |
521 | * mep-tdep.c (mep_pseudo_cr32_read): Likewise. | |
522 | * msp430-tdep.c (msp430_pseudo_register_read): Likewise. | |
523 | * nds32-tdep.c (nds32_pseudo_register_read): Likewise. | |
524 | * rl78-tdep.c (rl78_pseudo_register_read): Likewise. | |
525 | * s390-linux-tdep.c (s390_pseudo_register_read): Likewise. | |
526 | * sparc-tdep.c (sparc32_pseudo_register_read): Likewise. | |
527 | * sparc64-tdep.c (sparc64_pseudo_register_read): Likewise. | |
528 | * spu-tdep.c (spu_pseudo_register_read_spu): Likewise. | |
529 | * xtensa-tdep.c (xtensa_pseudo_register_read): Likewise. | |
530 | ||
dc711524 YQ |
531 | 2018-01-22 Yao Qi <[email protected]> |
532 | ||
533 | * Makefile.in (ALL_TARGET_OBS): Remove mt-tdep.o. | |
534 | * configure.tgt: Remove target mt. | |
535 | * mt-tdep.c: Remove. | |
536 | * regcache.c (cooked_read_test): Remove the check for mt. | |
537 | ||
3f5a868b YQ |
538 | 2018-01-22 Yao Qi <[email protected]> |
539 | ||
540 | * jit.c (jit_frame_prev_register): Call regcache::cooked_read | |
541 | instead of gdbarch_pseudo_register_read_value. | |
542 | ||
de4cb04a JB |
543 | 2018-01-22 Joel Brobecker <[email protected]> |
544 | ||
545 | * dwarf2read.c (need_gnat_info): Return nonzero if the cu's | |
546 | language is Ada. | |
547 | ||
a9e40818 JB |
548 | 2018-01-22 Joel Brobecker <[email protected]> |
549 | ||
550 | * linespec.c (create_sals_line_offset): Remove code that preserved | |
551 | the symtab_and_line's line number. | |
552 | ||
e707fc44 AB |
553 | 2018-01-21 Andrew Burgess <[email protected]> |
554 | ||
555 | * varobj.c (varobj_create): Don't set valid_block when creating a | |
556 | floating varobj. | |
557 | ||
03d0bf7b AB |
558 | 2018-01-21 Andrew Burgess <[email protected]> |
559 | ||
560 | * varobj.c (varobj_create): Remove out of date comment. | |
561 | ||
ae451627 AB |
562 | 2018-01-21 Andrew Burgess <[email protected]> |
563 | ||
564 | PR mi/20395 | |
565 | * ada-exp.y (write_var_from_sym): Pass extra parameter when | |
566 | updating innermost block. | |
567 | * parse.c (innermost_block_tracker::update): Take extra type | |
568 | parameter, and check types match before updating innermost block. | |
569 | (write_dollar_variable): Update innermost block for registers. | |
570 | * parser-defs.h (enum innermost_block_tracker_type): New enum. | |
571 | (innermost_block_tracker::innermost_block_tracker): Initialise | |
572 | m_types member. | |
573 | (innermost_block_tracker::reset): Take type parameter. | |
574 | (innermost_block_tracker::update): Take type parameter, and pass | |
575 | type through as needed. | |
576 | (innermost_block_tracker::m_types): New member. | |
577 | * varobj.c (varobj_create): Pass type when reseting innermost | |
578 | block. | |
579 | ||
aee1fcdf AB |
580 | 2018-01-21 Andrew Burgess <[email protected]> |
581 | ||
582 | * ada-exp.y (write_var_from_sym): Switch to innermost_block API. | |
583 | * ada-lang.c (resolve_subexp): Likewise. | |
584 | * breakpoint.c (set_breakpoint_condition) Likewise. | |
585 | (watch_command_1) Likewise. | |
586 | * c-exp.y (variable): Likewise. | |
587 | * d-exp.y (PrimaryExpression): Likewise. | |
588 | * f-exp.y (variable): Likewise. | |
589 | * go-exp.y (variable): Likewise. | |
590 | * m2-exp.y (variable): Likewise. | |
591 | * objfiles.c (objfile::~objfile): Likewise. | |
592 | * p-exp.y (variable): Likewise. | |
593 | * parse.c (innermost_block): Change type. | |
594 | * parser-defs.h (class innermost_block_tracker): New. | |
595 | (innermost_block): Change to innermost_block_tracker. | |
596 | * printcmd.c (display_command): Switch to innermost_block API. | |
597 | (do_one_display): Likewise. | |
598 | * rust-exp.y (do_one_display): Likewise. | |
599 | * symfile.c (clear_symtab_users): Likewise. | |
600 | * varobj.c (varobj_create): Switch to innermost_block API, replace | |
601 | use of innermost_block with block stored on varobj object. | |
602 | ||
396af9a1 AB |
603 | 2018-01-21 Andrew Burgess <[email protected]> |
604 | ||
605 | * expression.h (innermost_block): Remove declaration. | |
606 | * varobj.c: Add 'parser-defs.h' include. | |
607 | ||
fcfcc376 TT |
608 | 2018-01-19 Tom Tromey <[email protected]> |
609 | ||
610 | * rust-lang.c (rust_lookup_symbol_nonlocal): Look up qualified | |
611 | symbols in the static and global blocks. | |
612 | ||
5a6c3296 JC |
613 | 2018-01-19 James Clarke <[email protected]> |
614 | ||
615 | * nat/linux-ptrace.c: Remove unnecessary reinclusion of | |
616 | gdb_ptrace.h, and move including gdb_wait.h ... | |
617 | * nat/linux-ptrace.h: ... to here. | |
618 | ||
bc09b0c1 SM |
619 | 2018-01-19 Simon Marchi <[email protected]> |
620 | ||
621 | * inf-ptrace.c (inf_ptrace_detach): Adjust call to | |
622 | inf_ptrace_detach_success. | |
623 | (inf_ptrace_detach_success): Add inferior parameter, use it | |
624 | instead of inferior_ptid, pass it to detach_inferior. | |
625 | * inf-ptrace.h (inf_ptrace_detach_success): Add inferior | |
626 | parameter. | |
627 | * inferior.c (detach_inferior): Add overload that takes an | |
628 | inferior object. | |
629 | * inferior.h (detach_inferior): Likewise. | |
630 | * linux-nat.c (linux_nat_detach): Use the inf parameter, don't | |
631 | use inferior_ptid, adjust call to inf_ptrace_detach_success. | |
632 | * linux-thread-db.c (thread_db_detach): Use inf parameter. | |
633 | ||
6e1e1966 SM |
634 | 2018-01-19 Simon Marchi <[email protected]> |
635 | ||
636 | * target.h (struct target_ops) <to_detach>: Add inferior | |
637 | parameter. | |
638 | (target_detach): Likewise. | |
639 | * target.c (dispose_inferior): Pass inferior down. | |
640 | (target_detach): Pass inferior down. Assert that it is equal to | |
641 | the current inferior. | |
642 | * aix-thread.c (aix_thread_detach): Pass inferior down. | |
643 | * corefile.c (core_file_command): Pass current_inferior() down. | |
644 | * corelow.c (core_detach): Add inferior parameter. | |
645 | * darwin-nat.c (darwin_detach): Likewise. | |
646 | * gnu-nat.c (gnu_detach): Likewise. | |
647 | * inf-ptrace.c (inf_ptrace_detach): Likewise. | |
648 | * infcmd.c (detach_command): Pass current_inferior() down to | |
649 | target_detach. | |
650 | * infrun.c (follow_fork_inferior): Pass parent_inf to | |
651 | target_detach. | |
652 | (handle_vfork_child_exec_or_exit): Pass inf->vfork_parent to | |
653 | target_detach. | |
654 | * linux-nat.c (linux_nat_detach): Add inferior parameter. | |
655 | * linux-thread-db.c (thread_db_detach): Likewise. | |
656 | * nto-procfs.c (procfs_detach): Likewise. | |
657 | * procfs.c (procfs_detach): Likewise. | |
658 | * record.c (record_detach): Likewise. | |
659 | * record.h (struct inferior): Forward-declare. | |
660 | (record_detach): Add inferior parameter. | |
661 | * remote-sim.c (gdbsim_detach): Likewise. | |
662 | * remote.c (remote_detach_1): Likewise. | |
663 | (remote_detach): Likewise. | |
664 | (extended_remote_detach): Likewise. | |
665 | * sol-thread.c (sol_thread_detach): Likewise. | |
666 | * target-debug.h (target_debug_print_inferior_p): New macro. | |
667 | * target-delegates.c: Re-generate. | |
668 | * top.c (kill_or_detach): Pass inferior down to target_detach. | |
669 | * windows-nat.c (windows_detach): Add inferior parameter. | |
670 | ||
6bd6f3b6 SM |
671 | 2018-01-19 Simon Marchi <[email protected]> |
672 | ||
673 | * target.h (struct target_ops) <to_detach>: Remove args | |
674 | parameter. | |
675 | (target_detach): Likewise. | |
676 | * target.c (dispose_inferior): Adjust. | |
677 | (target_detach): Remove args parameter, adjust. | |
678 | * aix-thread.c (aix_thread_detach): Adjust. | |
679 | * corefile.c (core_file_command): Adjust. | |
680 | * corelow.c (core_detach): Adjust. | |
681 | * darwin-nat.c (darwin_detach): Adjust. | |
682 | * gnu-nat.c (gnu_detach): Adjust. | |
683 | * inf-ptrace.c (inf_ptrace_detach): Adjust. | |
684 | * infcmd.c (detach_command): Adjust | |
685 | * infrun.c (follow_fork_inferior): Adjust. | |
686 | (handle_vfork_child_exec_or_exit): Adjust. | |
687 | * linux-fork.c (linux_fork_detach): Remove args parameter. | |
688 | * linux-fork.h (linux_fork_detach): Likewise. | |
689 | * linux-nat.c (linux_nat_detach): Likewise, and adjust. | |
690 | * linux-thread-db.c (thread_db_detach): Likewise. | |
691 | * nto-procfs.c (procfs_detach): Likewise. | |
692 | * procfs.c (procfs_detach): Likewise. | |
693 | (do_detach): Remove signo parameter. | |
694 | * record.c (record_detach): Remove args parameter. | |
695 | * record.h (record_detach): Likewise. | |
696 | * remote-sim.c (gdbsim_detach): Likewise. | |
697 | * remote.c (remote_detach_1): Likewise. | |
698 | (remote_detach): Likewise. | |
699 | (extended_remote_detach): Likewise. | |
700 | * sol-thread.c (sol_thread_detach): Likewise. | |
701 | * target-delegates.c: Re-generate. | |
702 | * top.c (struct qt_args) <args>: Remove field. | |
703 | (kill_or_detach): Don't pass args. | |
704 | (quit_force): Don't set args. | |
705 | * windows-nat.c (windows_detach): Remove args parameter. | |
706 | ||
88af8ea8 YQ |
707 | 2018-01-19 Yao Qi <[email protected]> |
708 | ||
709 | * arm-linux-tdep.c (arm_linux_gcc_target_options): New function. | |
710 | (arm_linux_init_abi): Install it. | |
711 | ||
dea445b9 YQ |
712 | 2018-01-19 Yao Qi <[email protected]> |
713 | ||
714 | * osabi.c (gdb_osabi_names): Extend the regexp for | |
715 | arm-linux-gnueabihf. | |
716 | ||
4a17f768 YQ |
717 | 2018-01-18 Yao Qi <[email protected]> |
718 | ||
719 | * dwarf2read.c (abbrev_table) <abbrevs>: Rename it to | |
720 | m_abbrevs. | |
721 | (abbrev_table::add_abbrev): Update. | |
722 | (abbrev_table::lookup_abbrev): Update. | |
723 | ||
d679c21a YQ |
724 | 2018-01-18 Yao Qi <[email protected]> |
725 | ||
726 | * ppc-linux-tdep.c (ppu2spu_prev_register): Call cooked_read. | |
727 | ||
7d937cad SDJ |
728 | 2018-01-17 Sergio Durigan Junior <[email protected]> |
729 | ||
730 | * compile/compile.c (compile_to_object): Convert "triplet_rx" | |
731 | to "std::string". | |
732 | ||
9e14690d TT |
733 | 2018-01-17 Tom Tromey <[email protected]> |
734 | ||
735 | * dwarf2read.c (symbolp): Remove typedef. Don't instantiate VEC. | |
736 | ||
50a82047 TT |
737 | 2018-01-17 Tom Tromey <[email protected]> |
738 | ||
739 | * gdbtypes.h (add_dyn_prop): Remove objfile parameter. | |
740 | * gdbtypes.c (add_dyn_prop): Remove objfile parameter. | |
741 | (create_array_type_with_stride): Update. | |
742 | * dwarf2read.c (set_die_type): Update. | |
743 | ||
c89b44cd TT |
744 | 2018-01-17 Tom Tromey <[email protected]> |
745 | ||
746 | * dwarf2read.c (delayed_method_info): Remove typedef. | |
747 | (dwarf2_cu::method_info): Now a std::vector. | |
748 | (add_to_method_list): Update. | |
749 | (free_delayed_list): Remove. | |
750 | (compute_delayed_physnames): Update. | |
751 | (process_full_comp_unit, process_full_type_unit): Clear the method | |
752 | list. Remove cleanups. | |
753 | (psymtab_include_file_name): Add name_holder parameter. Use | |
754 | unique_xmalloc_ptr. | |
755 | (dwarf_decode_lines): Update. | |
756 | ||
fcd3b13d SM |
757 | 2018-01-17 Tom Tromey <[email protected]> |
758 | Simon Marchi <[email protected]> | |
759 | ||
760 | * dwarf2read.c (struct dwarf2_cu): Add constructor, destructor. | |
761 | (dwarf2_per_objfile::free_cached_comp_units) | |
762 | (init_tu_and_read_dwo_dies, init_cutu_and_read_dies) | |
763 | (init_cutu_and_read_dies_no_follow): Update. | |
764 | (dwarf2_cu::dwarf2_cu): Rename from init_one_comp_unit. | |
765 | (dwarf2_cu::~dwarf2_cu): New. | |
766 | (free_heap_comp_unit, free_stack_comp_unit): Remove. | |
767 | (age_cached_comp_units, free_one_cached_comp_unit): Update. | |
768 | ||
685af9cd TT |
769 | 2018-01-17 Tom Tromey <[email protected]> |
770 | Simon Marchi <[email protected]> | |
771 | ||
772 | * dwarf2read.c (struct dwarf2_cu) <abbrev_table>: Remove. | |
773 | (struct die_reader_specs) <abbrev_table>: New member. | |
774 | (struct abbrev_table): Add constructor. | |
775 | <alloc_abbrev, add_abbrev, lookup_abbrev>: Declare. | |
776 | <abbrev_obstack>: Now an auto_obstack. | |
777 | (abbrev_table_up): New typedef. | |
778 | (init_cu_die_reader): Add abbrev_table parameter. | |
779 | (read_cutu_die_from_dwo): Remove abbrev_table_provided parameter. | |
780 | Add result_dwo_abbrev_table. | |
781 | (init_tu_and_read_dwo_dies, init_cutu_and_read_dies) | |
782 | (init_cutu_and_read_dies_no_follow, build_type_psymtabs_1): | |
783 | Update. | |
784 | (peek_die_abbrev): Take die_reader_specs, not dwarf_cu as | |
785 | parameter. | |
786 | (skip_children): Update. | |
787 | (abbrev_table::alloc_abbrev): Rename from | |
788 | abbrev_table_alloc_abbrev. | |
789 | (abbrev_table::add_abbrev): Rename from abbrev_table_add_abbrev. | |
790 | (abbrev_table::lookup_abbrev): Rename from | |
791 | abbrev_table_lookup_abbrev. | |
792 | (abbrev_table_read_table): Return abbrev_table_up. | |
793 | (abbrev_table_free, abbrev_table_free_cleanup) | |
794 | (dwarf2_read_abbrevs, dwarf2_free_abbrev_table): Remove. | |
795 | (load_partial_dies): Update. | |
796 | ||
5e2db402 TT |
797 | 2018-01-17 Tom Tromey <[email protected]> |
798 | ||
799 | * dwarf2read.c (dwarf2_compute_name): Update comment. | |
800 | (read_func_scope, read_variable): Update. | |
801 | (new_symbol): Remove. | |
802 | (new_symbol_full): Rename to new_symbol. | |
803 | ||
ee7f689e | 804 | 2018-01-17 Mike Gulick <[email protected]> |
41667530 MG |
805 | |
806 | PR gdb/16577 | |
807 | * gdb_bfd.c (gdb_bfd_map_section): If unable to read object file, issue | |
808 | a warning instead of throwing an error, set section size to 0 and return | |
809 | NULL. | |
810 | * gdb_bfd.h (gdb_bfd_map_section): Update description. | |
811 | ||
4d9b86e1 SM |
812 | 2018-01-17 Simon Marchi <[email protected]> |
813 | ||
814 | * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason): Return | |
815 | std::string. | |
816 | (linux_ptrace_attach_fail_reason_string): Likewise. | |
817 | * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): | |
818 | Likewise. | |
819 | (linux_ptrace_attach_fail_reason_string): Likewise. | |
820 | * linux-nat.c (attach_proc_task_lwp_callback): Adjust. | |
821 | ||
a7b2d0fb SM |
822 | 2018-01-17 Simon Marchi <[email protected]> |
823 | ||
824 | * linux-nat.c (linux_nat_attach): Remove xstrdup. | |
825 | ||
f517c180 EA |
826 | 2018-01-17 Eldar Abusalimov <[email protected]> |
827 | ||
828 | PR gdb/21559 | |
829 | * configure.ac: Include <sys/types.h> prior to <sys/user.h> when | |
830 | checking for fs_base/gs_base fields in struct user_regs_struct. | |
831 | * configure: Regenerate. | |
832 | ||
7045b1ca YQ |
833 | 2018-01-17 Yao Qi <[email protected]> |
834 | ||
835 | * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): New | |
836 | function. | |
837 | (aarch64_linux_init_abi): Install it to gdbarch hook | |
838 | gcc_target_options. | |
839 | ||
db422fb2 PA |
840 | 2018-01-15 Pedro Alves <[email protected]> |
841 | ||
842 | * common/signals-state-save-restore.c | |
843 | (save_original_signals_state): Fix typos. | |
844 | ||
ba643918 SDJ |
845 | 2017-01-12 Tom Tromey <[email protected]> |
846 | Sergio Durigan Junior <[email protected]> | |
847 | ||
848 | * Makefile.in (install-only): Install gdb-add-index. | |
849 | ||
906b4aac JB |
850 | 2018-01-12 John Baldwin <[email protected]> |
851 | ||
852 | * fbsd-tdep.c (KVE_PROTECTION): Correct value. | |
853 | ||
bdf2a94a AA |
854 | 2018-01-12 Andreas Arnez <[email protected]> |
855 | ||
856 | * infrun.c (keep_going_pass_signal): Clear step-over info when | |
857 | insert_breakpoints fails. | |
858 | ||
71d378ae PA |
859 | 2018-01-11 Pedro Alves <[email protected]> |
860 | ||
861 | PR gdb/22583 | |
862 | * infrun.c (resume): Rename to ... | |
863 | (resume_1): ... this. | |
864 | (resume): Reimplement as wrapper around resume_1. | |
865 | ||
3cada740 PA |
866 | 2018-01-11 Pedro Alves <[email protected]> |
867 | ||
868 | PR remote/22597 | |
869 | * remote.c (remote_parse_stop_reply): Default to the last-set | |
870 | general thread instead of to 'magic_null_ptid'. | |
871 | ||
618daa93 PA |
872 | 2018-01-10 Pedro Alves <[email protected]> |
873 | ||
874 | * language.h (language_get_symbol_name_matcher): Rename ... | |
875 | (get_symbol_name_matcher): ... this. | |
876 | * language.c (language_get_symbol_name_matcher): Ditto. | |
877 | * dictionary.c, linespec.c, minsyms.c, psymtab.c, symtab.c: All | |
878 | callers adjusted. | |
879 | ||
c63d3e8d PA |
880 | 2018-01-10 Pedro Alves <[email protected]> |
881 | ||
882 | PR gdb/22670 | |
883 | * dwarf2read.c | |
884 | (gdb_index_symbol_name_matcher::gdb_index_symbol_name_matcher): | |
885 | Adjust to use language_get_symbol_name_matcher instead of | |
886 | language_defn::la_get_symbol_name_matcher. | |
887 | * language.c (language_get_symbol_name_matcher): If in Ada mode | |
888 | and the lookup name is a verbatim match, return Ada's matcher. | |
889 | * language.h (language_get_symbol_name_matcher): Adjust comment. | |
890 | (ada_lookup_name_info::verbatim_p):: New method. | |
891 | ||
d4c2a405 PA |
892 | 2018-01-10 Pedro Alves <[email protected]> |
893 | ||
894 | PR gdb/22670 | |
895 | * ada-lang.c (ada_collect_symbol_completion_matches): If the | |
896 | minsym's language is language_auto or language_cplus, pass down | |
897 | language_ada instead. | |
898 | * symtab.c (compare_symbol_name): Don't frob symbol language here. | |
899 | ||
8825213e PA |
900 | 2018-01-10 Pedro Alves <[email protected]> |
901 | ||
902 | PR gdb/22670 | |
903 | * minsyms.c (linkage_name_str): New function. | |
904 | (iterate_over_minimal_symbols): Use it. | |
905 | ||
2d97a5d9 JB |
906 | 2018-01-09 John Baldwin <[email protected]> |
907 | ||
908 | * NEWS: Document that 'info proc' now works on FreeBSD. | |
909 | ||
92fce24d JB |
910 | 2018-01-09 John Baldwin <[email protected]> |
911 | ||
912 | * configure.ac: Check for kinfo_getfile in libutil. | |
913 | * configure: Regenerate. | |
914 | * config.in: Regenerate. | |
915 | * fbsd-nat.c: Include "fbsd-tdep.h". | |
916 | (fbsd_fetch_cmdline): New. | |
917 | (fbsd_fetch_kinfo_proc): Move earlier and change to return a bool | |
918 | rather than calling error. | |
919 | (fbsd_info_proc): New. | |
920 | (fbsd_thread_name): Report error if fbsd_fetch_kinfo_proc fails. | |
921 | (fbsd_wait): Report warning if fbsd_fetch_kinfo_proc fails. | |
922 | (fbsd_nat_add_target): Set "to_info_proc" to "fbsd_info_proc". | |
923 | ||
262f62f5 JB |
924 | 2018-01-09 John Baldwin <[email protected]> |
925 | ||
926 | * fbsd-nat.c (struct free_deleter): Remove. | |
927 | (fbsd_find_memory_regions): Use gdb::unique_xmalloc_ptr<>. | |
928 | ||
b999e203 JB |
929 | 2018-01-09 John Baldwin <[email protected]> |
930 | ||
931 | * fbsd-nat.c (fbsd_pid_to_exec_file) [KERN_PROC_PATHNAME]: Return | |
932 | NULL for an empty pathname. | |
933 | ||
d2176225 JB |
934 | 2018-01-09 John Baldwin <[email protected]> |
935 | ||
936 | * fbsd-tdep.c (KVE_STRUCTSIZE, KVE_START, KVE_END, KVE_OFFSET) | |
937 | (KVE_FLAGS, KVE_PROTECTION, KVE_PATH, KINFO_VME_PROT_READ) | |
938 | (KINFO_VME_PROT_WRITE, KINFO_VME_PROT_EXEC, KINFO_VME_FLAG_COW) | |
939 | (KINFO_VME_FLAG_NEEDS_COPY, KINFO_VME_FLAG_NOCOREDUMP) | |
940 | (KINFO_VME_FLAG_SUPER, KINFO_VME_FLAG_GROWS_UP) | |
941 | (KINFO_VME_FLAG_GROWS_DOWN, KF_STRUCTSIZE, KF_TYPE, KF_FD) | |
942 | (KF_PATH, KINFO_FILE_TYPE_VNODE, KINFO_FILE_FD_TYPE_CWD) | |
943 | (KINFO_FILE_FD_TYPE_TEXT, SIG_WORDS, struct kinfo_proc_layout) | |
944 | (kinfo_proc_layout_32, kinfo_proc_layout_i386) | |
945 | (kinfo_proc_layout_64, fbsd_vm_map_entry_flags) | |
946 | (fbsd_core_info_proc_mappings, fbsd_core_vnode_path) | |
947 | (fbsd_core_fetch_timeval, fbsd_print_sigset) | |
948 | (fbsd_core_info_proc_status, fbsd_core_info_proc): New. | |
949 | (fbsd_init_abi): Install gdbarch "core_info_proc" method. | |
950 | * fbsd-tdep.h (fbsd_vm_map_entry_flags): New. | |
951 | ||
9c4ac400 ST |
952 | 2018-01-08 Samuel Thibault <[email protected]> |
953 | ||
954 | * gdb/gnu-nat.c: Include <elf.h> and <link.h>. | |
955 | (gnu_xfer_auxv): New function. | |
956 | (gnu_xfer_partial): Call gnu_xfer_auxv when `object' is | |
957 | TARGET_OBJECT_AUXV. | |
958 | ||
1e5ded6c YQ |
959 | 2018-01-08 Yao Qi <[email protected]> |
960 | Simon Marchi <[email protected]> | |
961 | ||
962 | * Makefile.in (COMMON_SFILES): Remove selftest-arch.c and | |
963 | common/selftest.c. | |
964 | (COMMON_OBS): Remove selftest.o. | |
965 | * configure.ac: Append selftest-arch.c and common/selftest.c to | |
966 | CONFIG_SRCS. Append selftest-arch.o and selftest.o to COMMON_OBS. | |
967 | * configure: Re-generated. | |
968 | * maint.c (maintenance_selftest): Wrap selftests::run_tests with | |
969 | GDB_SELF_TEST. | |
970 | (maintenance_info_selftests): Likewise. | |
971 | ||
04bafb1e XR |
972 | 2018-01-08 Xavier Roirand <[email protected]> |
973 | ||
974 | * ada-valprint.c (val_print_packed_array_elements): Use | |
975 | proper number of elements when printing an array indexed | |
976 | by an enumeration type. | |
977 | ||
518817b3 SM |
978 | 2018-01-07 Simon Marchi <[email protected]> |
979 | ||
980 | * dwarf2read.c (struct dwarf2_cu) <dwarf2_per_objfile>: Remove. | |
981 | (dw2_get_file_names_reader): Adjust. | |
982 | (lookup_dwo_signatured_type): Adjust. | |
983 | (lookup_dwp_signatured_type): Adjust. | |
984 | (lookup_signatured_type): Adjust. | |
985 | (create_type_unit_group): Adjust. | |
986 | (get_type_unit_group): Adjust. | |
987 | (process_psymtab_comp_unit_reader): Adjust. | |
988 | (build_type_psymtabs_reader): Adjust. | |
989 | (scan_partial_symbols): Adjust. | |
990 | (add_partial_symbol): Adjust. | |
991 | (add_partial_subprogram): Adjust. | |
992 | (peek_die_abbrev): Adjust. | |
993 | (fixup_go_packaging): Adjust. | |
994 | (process_imported_unit_die): Adjust. | |
995 | (dwarf2_compute_name): Adjust. | |
996 | (dwarf2_physname): Adjust. | |
997 | (read_import_statement): Adjust. | |
998 | (handle_DW_AT_stmt_list): Adjust. | |
999 | (read_file_scope): Adjust. | |
1000 | (read_func_scope): Adjust. | |
1001 | (read_lexical_block_scope): Adjust. | |
1002 | (read_call_site_scope): Adjust. | |
1003 | (read_variable): Adjust. | |
1004 | (dwarf2_rnglists_process): Adjust. | |
1005 | (dwarf2_ranges_process): Adjust. | |
1006 | (dwarf2_ranges_read): Adjust. | |
1007 | (dwarf2_get_pc_bounds): Adjust. | |
1008 | (dwarf2_record_block_ranges): Adjust. | |
1009 | (dwarf2_add_field): Adjust. | |
1010 | (dwarf2_add_member_fn): Adjust. | |
1011 | (read_structure_type): Adjust. | |
1012 | (process_structure_scope): Adjust. | |
1013 | (read_enumeration_type): Adjust. | |
1014 | (read_array_type): Adjust. | |
1015 | (mark_common_block_symbol_computed): Adjust. | |
1016 | (read_common_block): Adjust. | |
1017 | (read_namespace_type): Adjust. | |
1018 | (read_namespace): Adjust. | |
1019 | (read_module_type): Adjust. | |
1020 | (read_tag_pointer_type): Adjust. | |
1021 | (read_tag_ptr_to_member_type): Adjust. | |
1022 | (read_tag_string_type): Adjust. | |
1023 | (read_subroutine_type): Adjust. | |
1024 | (read_typedef): Adjust. | |
1025 | (read_base_type): Adjust. | |
1026 | (attr_to_dynamic_prop): Adjust. | |
1027 | (read_subrange_type): Adjust. | |
1028 | (read_unspecified_type): Adjust. | |
1029 | (dwarf2_read_abbrevs): Adjust. | |
1030 | (load_partial_dies): Adjust. | |
1031 | (read_partial_die): Adjust. | |
1032 | (find_partial_die): Adjust. | |
1033 | (guess_partial_die_structure_name): Adjust. | |
1034 | (fixup_partial_die): Adjust. | |
1035 | (read_attribute_value): Adjust. | |
1036 | (read_addr_index): Adjust. | |
1037 | (read_addr_index_from_leb128): Adjust. | |
1038 | (read_str_index): Adjust. | |
1039 | (dwarf2_string_attr): Adjust. | |
1040 | (get_debug_line_section): Adjust. | |
1041 | (dwarf_decode_line_header): Adjust. | |
1042 | (lnp_state_machine::check_line_address): Adjust. | |
1043 | (dwarf_decode_lines_1): Adjust. | |
1044 | (dwarf_decode_lines): Adjust. | |
1045 | (dwarf2_start_symtab): Adjust. | |
1046 | (var_decode_location): Adjust. | |
1047 | (new_symbol_full): Adjust. | |
1048 | (dwarf2_const_value_data): Adjust. | |
1049 | (dwarf2_const_value_attr): Adjust. | |
1050 | (dwarf2_const_value): Adjust. | |
1051 | (die_type): Adjust. | |
1052 | (die_containing_type): Adjust. | |
1053 | (build_error_marker_type): Adjust. | |
1054 | (lookup_die_type): Adjust. | |
1055 | (guess_full_die_structure_name): Adjust. | |
1056 | (anonymous_struct_prefix): Adjust. | |
1057 | (determine_prefix): Adjust. | |
1058 | (dwarf2_name): Adjust. | |
1059 | (follow_die_ref_or_sig): Adjust. | |
1060 | (follow_die_offset): Adjust. | |
1061 | (follow_die_ref): Adjust. | |
1062 | (follow_die_sig_1): Adjust. | |
1063 | (follow_die_sig): Adjust. | |
1064 | (get_signatured_type): Adjust. | |
1065 | (get_DW_AT_signature_type): Adjust. | |
1066 | (decode_locdesc): Adjust. | |
1067 | (dwarf_decode_macros): Adjust. | |
1068 | (cu_debug_loc_section): Adjust. | |
1069 | (fill_in_loclist_baton): Adjust. | |
1070 | (dwarf2_symbol_mark_computed): Adjust. | |
1071 | (init_one_comp_unit): Don't assign | |
1072 | dwarf2_cu::dwarf2_per_objfile. | |
1073 | (set_die_type): Adjust. | |
1074 | ||
ed2dc618 SM |
1075 | 2018-01-07 Simon Marchi <[email protected]> |
1076 | ||
1077 | * dwarf2read.c (struct mapped_debug_names): Add constructor. | |
1078 | <dwarf2_per_objfile>: New field. | |
1079 | (dwarf2_per_objfile): Remove global. | |
1080 | (get_dwarf2_per_objfile): New function. | |
1081 | (set_dwarf2_per_objfile): New function. | |
1082 | (dwarf2_build_psymtabs_hard): Change objfile parameter to | |
1083 | dwarf2_per_objfile. | |
1084 | (abbrev_table_read_table): Add dwarf2_per_objfile parameter. | |
1085 | (read_abbrev_offset): Likewise. | |
1086 | (read_indirect_string): Likewise. | |
1087 | (read_indirect_line_string): Likewise. | |
1088 | (read_indirect_string_at_offset): Likewise. | |
1089 | (read_indirect_string_from_dwz): Likewise. | |
1090 | (dwarf2_find_containing_comp_unit): Change objfile parameter to | |
1091 | dwarf2_per_objfile. | |
1092 | (age_cached_comp_units): Add dwarf2_per_objfile parameter. | |
1093 | (create_all_comp_units): Change objfile parameter to | |
1094 | dwarf2_per_objfile. | |
1095 | (create_all_type_units): Likewise. | |
1096 | (process_queue): Add dwarf2_per_objfile parameter. | |
1097 | (read_and_check_comp_unit_head): Likewise. | |
1098 | (lookup_dwo_unit_in_dwp): Likewise. | |
1099 | (get_dwp_file): Likewise. | |
1100 | (process_cu_includes): Likewise. | |
1101 | (struct free_dwo_file_cleanup_data): New struct. | |
1102 | (dwarf2_has_info): Use get_dwarf2_per_objfile and | |
1103 | set_dwarf2_per_objfile. | |
1104 | (dwarf2_get_dwz_file): Add dwarf2_per_objfile parameter. | |
1105 | (dw2_do_instantiate_symtab): Get dwarf2_per_objfile from | |
1106 | context, adjust calls. | |
1107 | (dw2_instantiate_symtab): Likewise. | |
1108 | (dw2_get_cutu): Add dwarf2_per_objfile parameter. | |
1109 | (dw2_get_cu): Likewise. | |
1110 | (create_cu_from_index_list): Change objfile parameter to | |
1111 | dwarf2_per_objfile. | |
1112 | (create_cus_from_index_list): Get dwarf2_per_objfile from | |
1113 | context, adjust calls. | |
1114 | (create_cus_from_index): Likewise. | |
1115 | (create_signatured_type_table_from_index): Change objfile | |
1116 | parameter to dwarf2_per_objfile. | |
1117 | (create_signatured_type_table_from_debug_names): Change objfile | |
1118 | parameter to dwarf2_per_objfile. | |
1119 | (create_addrmap_from_index): Likewise. | |
1120 | (create_addrmap_from_aranges): Likewise. | |
1121 | (dwarf2_read_index): Use get_dwarf2_per_objfile, adjust calls. | |
1122 | (dw2_setup): Remove. | |
1123 | (dw2_get_file_names_reader): Get dwarf2_per_objfile from | |
1124 | context. | |
1125 | (dw2_find_last_source_symtab): Get dwarf2_per_objfile using | |
1126 | get_dwarf2_per_objfile. | |
1127 | (dw2_forget_cached_source_info): Likewise. | |
1128 | (dw2_map_symtabs_matching_filename): Likewise. | |
1129 | (struct dw2_symtab_iterator) <index>: Remove. | |
1130 | <dwarf2_per_objfile>: New field. | |
1131 | (dw2_symtab_iter_init): Replace index parameter with | |
1132 | dwarf2_per_objfile. | |
1133 | (dw2_symtab_iter_next): Use dwarf2_per_objfile from iter. | |
1134 | (dw2_lookup_symbol): Use get_dwarf2_per_objfile and adjust. | |
1135 | (dw2_print_stats): Likewise. | |
1136 | (dw2_dump): Likewise. | |
1137 | (dw2_expand_symtabs_for_function): Likewise. | |
1138 | (dw2_expand_all_symtabs): Likewise. | |
1139 | (dw2_expand_symtabs_with_fullname): Likewise. | |
1140 | (dw2_expand_marked_cus): Replace index and objfile parameters | |
1141 | with dwarf2_per_objfile. | |
1142 | (dw_expand_symtabs_matching_file_matcher): Add | |
1143 | dwarf2_per_objfile parameter and adjust calls. | |
1144 | (dw2_expand_symtabs_matching): Use get_dwarf2_per_objfile and | |
1145 | adjust calls. | |
1146 | (dw2_find_pc_sect_compunit_symtab): Don't call dw2_setup. | |
1147 | (dw2_map_symbol_filenames): Use get_dwarf2_per_objfile and | |
1148 | adjust calls. | |
1149 | (create_cus_from_debug_names_list): Replace objfile parameter | |
1150 | with dwarf2_per_objfile and adjust calls. | |
1151 | (create_cus_from_debug_names): Likewise. | |
1152 | (dwarf2_read_debug_names): Likewise. | |
1153 | (mapped_debug_names::namei_to_name): Adjust call. | |
1154 | (dw2_debug_names_iterator::next): Likewise. | |
1155 | (dw2_debug_names_iterator::find_vec_in_debug_names): Likewise. | |
1156 | (dw2_debug_names_lookup_symbol): Use get_dwarf2_per_objfile. | |
1157 | (dw2_debug_names_dump): Likewise. | |
1158 | (dw2_debug_names_expand_symtabs_for_function): Likewise. | |
1159 | (dw2_debug_names_expand_symtabs_matching): Likewise. | |
1160 | (dwarf2_initialize_objfile): Likewise. | |
1161 | (dwarf2_build_psymtabs): Likewise. | |
1162 | (get_abbrev_section_for_cu): Get dwarf2_per_objfile from | |
1163 | this_cu. | |
1164 | (error_check_comp_unit_head): Add dwarf2_per_objfile parameter. | |
1165 | (read_and_check_comp_unit_head): Likewise. | |
1166 | (read_abbrev_offset): Likewise. | |
1167 | (create_debug_type_hash_table): Likewise. | |
1168 | (create_debug_types_hash_table): Likewise. | |
1169 | (create_all_type_units): Replace objfile parameter with | |
1170 | dwarf2_per_objfile. | |
1171 | (add_type_unit): Add dwarf2_per_objfile parameter. | |
1172 | (fill_in_sig_entry_from_dwo_entry): Replace objfile parameter | |
1173 | with dwarf2_per_objfile. | |
1174 | (lookup_dwo_signatured_type): Get dwarf2_per_objfile from cu. | |
1175 | (lookup_dwp_signatured_type): Likewise. | |
1176 | (lookup_signatured_type): Likewise. | |
1177 | (read_cutu_die_from_dwo): Likewise. | |
1178 | (init_tu_and_read_dwo_dies): Likewise. | |
1179 | (init_cutu_and_read_dies): Likewise. | |
1180 | (init_cutu_and_read_dies_no_follow): Likewise. | |
1181 | (allocate_type_unit_groups_table): Add objfile parameter. | |
1182 | (create_type_unit_group): Use dwarf2_per_objfile from cu. | |
1183 | (get_type_unit_group): Likewise. | |
1184 | (process_psymtab_comp_unit): Update call. | |
1185 | (build_type_psymtabs_reader): Use dwarf2_per_objfile from cu. | |
1186 | (build_type_psymtabs_1): Add dwarf2_per_objfile parameter. | |
1187 | (print_tu_stats): Likewise. | |
1188 | (build_type_psymtab_dependencies): Use dwarf2_per_objfile passed | |
1189 | in void* parameter. | |
1190 | (build_type_psymtabs): Change objfile parameter to | |
1191 | dwarf2_per_objfile. | |
1192 | (process_skeletonless_type_unit): Use dwarf2_per_objfile | |
1193 | passed in void* parameter. | |
1194 | (process_skeletonless_type_units): Change objfile parameter to | |
1195 | dwarf2_per_objfile. | |
1196 | (set_partial_user): Likewise. | |
1197 | (dwarf2_build_psymtabs_hard): Likewise. | |
1198 | (read_comp_units_from_section): Likewise. | |
1199 | (create_all_comp_units): Likewise. | |
1200 | (scan_partial_symbols): Update calls. | |
1201 | (add_partial_symbol): Likewise. | |
1202 | (dwarf2_read_symtab): Use get_dwarf2_per_objfile. | |
1203 | (maybe_queue_comp_unit): Use dwarf2_read_symtab from cu. | |
1204 | (process_queue): Add dwarf2_per_objfile parameter. | |
1205 | (get_compunit_symtab): Use dwarf2_per_objfile from cu. | |
1206 | (compute_compunit_symtab_includes): Likewise. | |
1207 | (process_cu_includes): Add dwarf2_per_objfile parameter. | |
1208 | (process_full_comp_unit): Use dwarf2_per_objfile from cu. | |
1209 | (process_full_type_unit): Likewise. | |
1210 | (process_imported_unit_die): Update call. | |
1211 | (handle_DW_AT_stmt_list): Use dwarf2_per_objfile from cu. | |
1212 | (read_file_scope): Likewise. | |
1213 | (allocate_dwo_file_hash_table): Add objfile parameter. | |
1214 | (lookup_dwo_file_slot): Add dwarf2_per_objfile parameter. | |
1215 | (create_cus_hash_table): Likewise. | |
1216 | (create_dwp_hash_table): Likewise. | |
1217 | (create_dwo_unit_in_dwp_v1): Likewise. | |
1218 | (create_dwp_v2_section): Likewise. | |
1219 | (create_dwo_unit_in_dwp_v2): Likewise. | |
1220 | (lookup_dwo_unit_in_dwp): Likewise. | |
1221 | (try_open_dwop_file): Likewise. | |
1222 | (open_dwo_file): Likewise. Use dwarf2_per_objfile from cu. | |
1223 | (open_and_init_dwo_file): Use dwarf2_per_objfile from cu, update | |
1224 | cleanup to include a reference to dwarf2_per_objfile. | |
1225 | (open_dwp_file): Add dwarf2_per_objfile parameter. | |
1226 | (open_and_init_dwp_file): Likewise. | |
1227 | (get_dwp_file): Likewise. | |
1228 | (lookup_dwo_cutu): Use dwarf2_per_objfile from cu. | |
1229 | (queue_and_load_all_dwo_tus): Update call. | |
1230 | (free_dwo_file_cleanup): Use dwarf2_per_objfile from cleanup | |
1231 | data. | |
1232 | (dwarf2_rnglists_process): Use dwarf2_per_objfile from cu. | |
1233 | (dwarf2_ranges_process): Likewise. | |
1234 | (dwarf2_get_pc_bounds): Likewise. | |
1235 | (mark_common_block_symbol_computed): Likewise. | |
1236 | (abbrev_table_read_table): Add dwarf2_per_objfile parameter. | |
1237 | (dwarf2_read_abbrevs): Update call. | |
1238 | (read_partial_die): Use dwarf2_per_objfile from cu. | |
1239 | (find_partial_die): Likewise. | |
1240 | (fixup_partial_die): Likewise. | |
1241 | (read_attribute_value): Likewise. | |
1242 | (read_indirect_string_at_offset_from): Add objfile parameter. | |
1243 | (read_indirect_string_at_offset): Add dwarf2_per_objfile | |
1244 | parameter. | |
1245 | (read_indirect_string_from_dwz): Add objfile parameter. | |
1246 | (read_indirect_string): Add objfile parameter. | |
1247 | (read_addr_index_1): Add dwarf2_per_objfile parameter. | |
1248 | (read_addr_index): Use dwarf2_per_objfile from cu. | |
1249 | (dwarf2_read_addr_index): Use dwarf2_per_objfile from cu, don't | |
1250 | call dw2_setup. | |
1251 | (read_str_index): Use dwarf2_per_objfile from cu. | |
1252 | (get_debug_line_section): Likewise. | |
1253 | (read_formatted_entries): Add dwarf2_per_objfile parameter. | |
1254 | (dwarf_decode_line_header): Use dwarf2_per_objfile from cu. | |
1255 | (new_symbol_full): Use dwarf2_per_objfile from cu. | |
1256 | (build_error_marker_type): Likewise. | |
1257 | (lookup_die_type): Likewise. | |
1258 | (determine_prefix): Likewise. | |
1259 | (follow_die_offset): Likewise. | |
1260 | (dwarf2_fetch_die_loc_sect_off): Use get_dwarf2_per_objfile. | |
1261 | (dwarf2_fetch_constant_bytes): Don't call dw2_setup. | |
1262 | (dwarf2_fetch_die_type_sect_off): Likewise. | |
1263 | (dwarf2_get_die_type): Likewise. | |
1264 | (follow_die_sig_1): Use dwarf2_per_objfile from cu. | |
1265 | (get_signatured_type): Likewise. | |
1266 | (get_DW_AT_signature_type): Likewise. | |
1267 | (dwarf_decode_macro_bytes): Add dwarf2_per_objfile parameter. | |
1268 | (dwarf_decode_macros): Use dwarf2_per_objfile from cu. | |
1269 | (cu_debug_loc_section): Likewise. | |
1270 | (fill_in_loclist_baton): Likewise. | |
1271 | (dwarf2_symbol_mark_computed): Likewise. | |
1272 | (dwarf2_find_containing_comp_unit): Change objfile parameter to | |
1273 | dwarf2_per_objfile. | |
1274 | (free_cached_comp_units): Use dwarf2_per_objfile passed in void* | |
1275 | parameter. | |
1276 | (age_cached_comp_units): Add dwarf2_per_objfile parameter. | |
1277 | (free_one_cached_comp_unit): Use dwarf2_per_objfile from cu. | |
1278 | (dwarf2_free_objfile): Use get_dwarf2_per_objfile. | |
1279 | (set_die_type): Use dwarf2_free_objfile from cu. | |
1280 | (get_die_type_at_offset): Likewise. | |
1281 | (dwarf2_per_objfile_free): Don't assign global variable. | |
1282 | (debug_names) <constructor>: Add dwarf2_per_objfile | |
1283 | parameter, update m_debugstrlookup construction. | |
1284 | (debug_names::debug_str_lookup): Add dwarf2_per_objfile | |
1285 | parameter. | |
1286 | <m_dwarf2_per_objfile>: New field. | |
1287 | <lookup>: Use m_dwarf2_per_objfile. | |
1288 | (check_dwarf64_offsets): Add dwarf2_per_objfile parameter. | |
1289 | (psyms_seen_size): Likewise. | |
1290 | (write_gdbindex): Replace objfile parameter with | |
1291 | dwarf2_per_objfile. | |
1292 | (write_debug_names): Likewise. | |
1293 | (write_psymtabs_to_index): Likewise. | |
1294 | (save_gdb_index_command): Use get_dwarf2_per_objfile, update | |
1295 | calls. | |
1296 | ||
e3b94546 SM |
1297 | 2018-01-07 Simon Marchi <[email protected]> |
1298 | ||
1299 | * dwarf2read.c (struct dwarf2_cu) <objfile>: Remove. | |
1300 | <dwarf2_per_objfile>: New field. | |
1301 | (struct dwarf2_per_cu_data) <objfile>: Remove. | |
1302 | <dwarf2_per_objfile>: New field. | |
1303 | (create_cu_from_index_list): Assign dwarf2_per_objfile instead | |
1304 | of objfile. | |
1305 | (create_signatured_type_table_from_index): Likewise. | |
1306 | (create_debug_type_hash_table): Likewise. | |
1307 | (fill_in_sig_entry_from_dwo_entry): Likewise. | |
1308 | (lookup_dwo_unit): Access objfile through dwarf2_per_objfile. | |
1309 | (create_type_unit_group): Assign dwarf2_per_objfile instead of | |
1310 | objfile. | |
1311 | (create_partial_symtab): Access objfile through | |
1312 | dwarf2_per_objfile. | |
1313 | (process_psymtab_comp_unit_reader): Likewise. | |
1314 | (read_comp_units_from_section): Likewise. | |
1315 | (scan_partial_symbols): Likewise. | |
1316 | (add_partial_symbol): Likewise. | |
1317 | (add_partial_subprogram): Likewise. | |
1318 | (peek_die_abbrev): Likewise. | |
1319 | (fixup_go_packaging): Likewise. | |
1320 | (process_full_comp_unit): Likewise. | |
1321 | (process_full_type_unit): Likewise. | |
1322 | (process_imported_unit_die): Likewise. | |
1323 | (dwarf2_compute_name): Likewise. | |
1324 | (dwarf2_physname): Likewise. | |
1325 | (read_import_statement): Likewise. | |
1326 | (create_cus_hash_table): Assign dwarf2_physname instead of | |
1327 | objfile. | |
1328 | (read_func_scope): Access objfile through dwarf2_per_objfile. | |
1329 | (read_lexical_block_scope): Likewise. | |
1330 | (read_call_site_scope): Likewise. | |
1331 | (read_variable): Likewise. | |
1332 | (dwarf2_rnglists_process): Likewise. | |
1333 | (dwarf2_ranges_process): Likewise. | |
1334 | (dwarf2_ranges_read): Likewise. | |
1335 | (dwarf2_record_block_ranges): Likewise. | |
1336 | (dwarf2_add_field): Likewise. | |
1337 | (dwarf2_add_member_fn): Likewise. | |
1338 | (read_structure_type): Likewise. | |
1339 | (process_structure_scope): Likewise. | |
1340 | (read_enumeration_type): Likewise. | |
1341 | (read_array_type): Likewise. | |
1342 | (read_common_block): Likewise. | |
1343 | (read_namespace_type): Likewise. | |
1344 | (read_namespace): Likewise. | |
1345 | (read_module_type): Likewise. | |
1346 | (read_tag_pointer_type): Likewise. | |
1347 | (read_tag_ptr_to_member_type): Likewise. | |
1348 | (read_tag_string_type): Likewise. | |
1349 | (read_subroutine_type): Likewise. | |
1350 | (read_typedef): Likewise. | |
1351 | (read_base_type): Likewise. | |
1352 | (attr_to_dynamic_prop): Likewise. | |
1353 | (read_subrange_type): Likewise. | |
1354 | (read_unspecified_type): Likewise. | |
1355 | (load_partial_dies): Likewise. | |
1356 | (read_partial_die): Likewise. | |
1357 | (find_partial_die): Likewise. | |
1358 | (guess_partial_die_structure_name): Likewise. | |
1359 | (fixup_partial_die): Likewise. | |
1360 | (read_attribute_value): Likewise. | |
1361 | (read_addr_index_from_leb128): Likewise. | |
1362 | (dwarf2_read_addr_index): Likewise. | |
1363 | (dwarf2_string_attr): Likewise. | |
1364 | (lnp_state_machine::check_line_address): Likewise. | |
1365 | (dwarf_decode_lines_1): Likewise. | |
1366 | (dwarf_decode_lines): Likewise. | |
1367 | (dwarf2_start_symtab): Likewise. | |
1368 | (var_decode_location): Likewise. | |
1369 | (new_symbol_full): Likewise. | |
1370 | (dwarf2_const_value_data): Likewise. | |
1371 | (dwarf2_const_value_attr): Likewise. | |
1372 | (dwarf2_const_value): Likewise. | |
1373 | (die_type): Likewise. | |
1374 | (die_containing_type): Likewise. | |
1375 | (lookup_die_type): Likewise. | |
1376 | (guess_full_die_structure_name): Likewise. | |
1377 | (anonymous_struct_prefix): Likewise. | |
1378 | (dwarf2_name): Likewise. | |
1379 | (follow_die_ref_or_sig): Likewise. | |
1380 | (follow_die_offset): Likewise. | |
1381 | (follow_die_ref): Likewise. | |
1382 | (dwarf2_fetch_die_loc_sect_off): Likewise. | |
1383 | (dwarf2_fetch_constant_bytes): Likewise. | |
1384 | (dwarf2_fetch_die_type_sect_off): Likewise. | |
1385 | (dwarf2_get_die_type): Likewise. | |
1386 | (follow_die_sig): Likewise. | |
1387 | (decode_locdesc): Likewise. | |
1388 | (dwarf2_per_cu_objfile): Likewise. | |
1389 | (dwarf2_per_cu_text_offset): Likewise. | |
1390 | (init_one_comp_unit): Assign dwarf2_per_objfile instead of | |
1391 | objfile. | |
1392 | (set_die_type): Access objfile through | |
1393 | dwarf2_per_objfile. | |
1394 | ||
b01ba14d SM |
1395 | 2018-01-07 Simon Marchi <[email protected]> |
1396 | ||
1397 | * valprint.c (converted_character_d): Remove typedef. | |
1398 | (DEF_VEC_O (converted_character_d)): Remove. | |
1399 | (count_next_character): Use std::vector. | |
1400 | (print_converted_chars_to_obstack): Likewise. | |
1401 | (generic_printstr): Likewise. | |
1402 | ||
4d0fdd9b SM |
1403 | 2018-01-07 Simon Marchi <[email protected]> |
1404 | ||
1405 | * xml-support.h (struct gdb_xml_value): Add constructor. | |
1406 | <value>: Change type to unique_xmalloc_ptr. | |
1407 | (gdb_xml_value_s): Remove typedef. | |
1408 | (DEF_VEC_O (gdb_xml_value_s)): Remove. | |
1409 | (gdb_xml_element_start_handler): Change parameter type to | |
1410 | std::vector. | |
1411 | (xml_find_attribute): Likewise. | |
1412 | * xml-support.c (xml_find_attribute): Change parameter type to | |
1413 | std::vector and adjust. | |
1414 | (gdb_xml_values_cleanup): Remove. | |
1415 | (gdb_xml_parser::start_element): Adjust to std::vector. | |
1416 | (xinclude_start_include): Change paraeter type to std::vector | |
1417 | and adjust. | |
1418 | * btrace.c (check_xml_btrace_version): Likewise. | |
1419 | (parse_xml_btrace_block): Likewise. | |
1420 | (parse_xml_btrace_pt_config_cpu): Likewise. | |
1421 | (parse_xml_btrace_pt): Likewise. | |
1422 | (parse_xml_btrace_conf_bts): Likewise. | |
1423 | (parse_xml_btrace_conf_pt): Likewise. | |
1424 | * memory-map.c (memory_map_start_memory): Likewise. | |
1425 | (memory_map_start_property): Likewise. | |
1426 | * osdata.c (osdata_start_osdata): Likewise. | |
1427 | (osdata_start_item): Likewise. | |
1428 | (osdata_start_column): Likewise. | |
1429 | * remote.c (start_thread): Likewise. | |
1430 | * solib-aix.c (library_list_start_library): Likewise. | |
1431 | (library_list_start_list): Likewise. | |
1432 | * solib-svr4.c (library_list_start_library): Likewise. | |
1433 | (svr4_library_list_start_list): Likewise. | |
1434 | * solib-target.c (library_list_start_segment): Likewise. | |
1435 | (library_list_start_section): Likewise. | |
1436 | (library_list_start_library): Likewise. | |
1437 | (library_list_start_list): Likewise. | |
1438 | * tracepoint.c (traceframe_info_start_memory): Likewise. | |
1439 | (traceframe_info_start_tvar): Likewise. | |
1440 | * xml-syscall.c (syscall_start_syscall): Likewise. | |
1441 | * xml-tdesc.c (tdesc_start_target): Likewise. | |
1442 | (tdesc_start_feature): Likewise. | |
1443 | (tdesc_start_reg): Likewise. | |
1444 | (tdesc_start_union): Likewise. | |
1445 | (tdesc_start_struct): Likewise. | |
1446 | (tdesc_start_flags): Likewise. | |
1447 | (tdesc_start_enum): Likewise. | |
1448 | (tdesc_start_field): Likewise. | |
1449 | (tdesc_start_enum_value): Likewise. | |
1450 | (tdesc_start_vector): Likewise. | |
1451 | ||
f979c73f SM |
1452 | 2018-01-07 Simon Marchi <[email protected]> |
1453 | ||
1454 | * extension.h (struct xmethod_worker) <clone>: Remove. | |
1455 | * python/py-xmethods.c (struct python_xmethod_worker) <clone>: | |
1456 | Remove. | |
1457 | (python_xmethod_worker::clone): Remove. | |
1458 | * valops.c (find_overload_match): Use std::move instead of | |
1459 | clone. | |
1460 | ||
ba18742c SM |
1461 | 2018-01-07 Simon Marchi <[email protected]> |
1462 | ||
1463 | * extension-priv.h (enum ext_lang_rc): Remove, move to extension.h. | |
1464 | (struct extension_language_ops) <clone_xmethod_worker_data>: Remove. | |
1465 | <free_xmethod_worker_data>: Remove. | |
1466 | <get_matching_xmethod_workers>: Chance VEC to std::vector. | |
1467 | <get_xmethod_arg_types>: Remove. | |
1468 | <get_xmethod_result_type>: Remove. | |
1469 | <invoke_xmethod>: Remove. | |
1470 | * extension.c (new_xmethod_worker): Remove. | |
1471 | (clone_xmethod_worker): Remove. | |
1472 | (get_matching_xmethod_workers): Return void, pass std::vector by | |
1473 | pointer. | |
1474 | (get_xmethod_arg_types): Rename to... | |
1475 | (xmethod_worker::get_arg_types): ... this, and adjust. | |
1476 | (get_xmethod_result_type): Rename to... | |
1477 | (xmethod_worker::get_result_type): ... this, and adjust. | |
1478 | (invoke_xmethod): Remove. | |
1479 | (free_xmethod_worker): Remove. | |
1480 | (free_xmethod_worker_vec): Remove. | |
1481 | * extension.h (enum ext_lang_rc): Move here from | |
1482 | extension-priv.h. | |
1483 | (struct xmethod_worker): Add constructor and destructor. | |
1484 | <data>: Remove. | |
1485 | <value>: Remove. | |
1486 | <invoke, clone, do_get_result_type, do_get_arg_types>: New | |
1487 | virtual pure methods. | |
1488 | <get_arg_types, get_result_type>: New methods. | |
1489 | (xmethod_worker_ptr): Remove typedef. | |
1490 | (DEF_VEC_P (xmethod_worker_ptr)): Remove. | |
1491 | (xmethod_worker_vec): Remove typedef. | |
1492 | (xmethod_worker_up): New typedef. | |
1493 | (invoke_xmethod): Remove. | |
1494 | (clone_xmethod_worker): Remove. | |
1495 | (free_xmethod_worker): Remove. | |
1496 | (free_xmethod_worker_vec): Remove. | |
1497 | (get_xmethod_arg_types): Remove. | |
1498 | (get_xmethod_result_type): Remove. | |
1499 | * valops.c (find_method_list): Use std::vector, don't use | |
1500 | intermediate vector. | |
1501 | (value_find_oload_method_list): Use std::vector. | |
1502 | (find_overload_match): Use std::vector. | |
1503 | (find_oload_champ): Use std::vector. | |
1504 | * value.c (value_free): Use operator delete. | |
1505 | (value_of_xmethod): Rename to... | |
1506 | (value_from_xmethod): ... this. Don't assign | |
1507 | xmethod_worker::value, take rvalue-reference. | |
1508 | (result_type_of_xmethod): Adjust. | |
1509 | (call_xmethod): Adjust. | |
1510 | * value.h: Include extension.h. | |
1511 | (struct xmethod_worker): Don't forward-declare. | |
1512 | (value_of_xmethod): Rename to... | |
1513 | (value_from_xmethod): ... this, take rvalue-reference. | |
1514 | * python/py-xmethods.c (struct gdbpy_worker_data): Rename to... | |
1515 | (struct python_xmethod_worker): ... this, add constructor and | |
1516 | destructor. | |
1517 | <invoke, clone, do_get_arg_types, do_get_result_type>: Implement. | |
1518 | (gdbpy_free_xmethod_worker_data): Rename to... | |
1519 | (python_xmethod_worker::~python_xmethod_worker): ... this and | |
1520 | adjust. | |
1521 | (gdbpy_clone_xmethod_worker_data): Rename to... | |
1522 | (python_xmethod_worker::clone): ... this and adjust. | |
1523 | (gdbpy_get_matching_xmethod_workers): Use std::vector, don't use | |
1524 | temporary vector. | |
1525 | (gdbpy_get_xmethod_arg_types): Rename to... | |
1526 | (python_xmethod_worker::do_get_arg_types): ... this and adjust. | |
1527 | (gdbpy_get_xmethod_result_type): Rename to... | |
1528 | (python_xmethod_worker::do_get_result_type): ... this and | |
1529 | adjust. | |
1530 | (gdbpy_invoke_xmethod): Rename to... | |
1531 | (python_xmethod_worker::invoke): ... this and adjust. | |
1532 | (new_python_xmethod_worker): Rename to... | |
1533 | (python_xmethod_worker::python_xmethod_worker): ... this and | |
1534 | adjust. | |
1535 | * python/python-internal.h (gdbpy_clone_xmethod_worker_data): | |
1536 | Remove. | |
1537 | (gdbpy_free_xmethod_worker_data): Remove. | |
1538 | (gdbpy_get_matching_xmethod_workers): Use std::vector. | |
1539 | (gdbpy_get_xmethod_arg_types): Remove. | |
1540 | (gdbpy_get_xmethod_result_type): Remove. | |
1541 | (gdbpy_invoke_xmethod): Remove. | |
1542 | * python/python.c (python_extension_ops): Remove obsolete | |
1543 | callbacks. | |
1544 | ||
e379cee6 PA |
1545 | 2018-01-05 Pedro Alves <[email protected]> |
1546 | ||
1547 | PR gdb/18653 | |
1548 | * common/signals-state-save-restore.c | |
1549 | (save_original_signals_state): New parameter 'quiet'. Warn if we | |
1550 | find a custom handler preinstalled, instead of internal erroring. | |
1551 | But only warn if !quiet. | |
1552 | * common/signals-state-save-restore.h | |
1553 | (save_original_signals_state): New parameter 'quiet'. | |
1554 | * main.c (captured_main_1): Move save_original_signals_state call | |
1555 | after option handling, and pass QUIET. | |
1556 | ||
a655456c PA |
1557 | 2018-01-05 Pedro Alves <[email protected]> |
1558 | ||
1559 | * spu-tdep.c (spu_catch_start): Pass | |
1560 | symbol_name_match_type::SEARCH_NAME to block_lookup_symbol. | |
1561 | ||
de63c46b PA |
1562 | 2018-01-05 Pedro Alves <[email protected]> |
1563 | ||
1564 | PR gdb/22670 | |
1565 | * ada-lang.c (literal_symbol_name_matcher): New function. | |
1566 | (ada_get_symbol_name_matcher): Use it for | |
1567 | symbol_name_match_type::SEARCH_NAME. | |
1568 | * block.c (block_lookup_symbol): New parameter 'match_type'. Pass | |
1569 | it down instead of assuming symbol_name_match_type::FULL. | |
1570 | * block.h (block_lookup_symbol): New parameter 'match_type'. | |
1571 | * c-valprint.c (print_unpacked_pointer): Use | |
1572 | lookup_symbol_search_name instead of lookup_symbol. | |
1573 | * compile/compile-object-load.c (get_out_value_type): Pass down | |
1574 | symbol_name_match_type::SEARCH_NAME. | |
1575 | * cp-namespace.c (cp_basic_lookup_symbol): Pass down | |
1576 | symbol_name_match_type::FULL. | |
1577 | * cp-support.c (cp_get_symbol_name_matcher): Handle | |
1578 | symbol_name_match_type::SEARCH_NAME. | |
1579 | * infrun.c (insert_exception_resume_breakpoint): Use | |
1580 | lookup_symbol_search_name. | |
1581 | * p-valprint.c (pascal_val_print): Use lookup_symbol_search_name. | |
1582 | * psymtab.c (maintenance_check_psymtabs): Use | |
1583 | symbol_name_match_type::SEARCH_NAME and SYMBOL_SEARCH_NAME. | |
1584 | * stack.c (print_frame_args): Use lookup_symbol_search_name and | |
1585 | SYMBOL_SEARCH_NAME. | |
1586 | * symtab.c (lookup_local_symbol): Don't demangle the lookup name | |
1587 | if symbol_name_match_type::SEARCH_NAME. | |
1588 | (lookup_symbol_in_language): Pass down | |
1589 | symbol_name_match_type::FULL. | |
1590 | (lookup_symbol_search_name): New. | |
1591 | (lookup_language_this): Pass down | |
1592 | symbol_name_match_type::SEARCH_NAME. | |
1593 | (lookup_symbol_aux, lookup_local_symbol): New parameter | |
1594 | 'match_type'. Pass it down. | |
1595 | * symtab.h (symbol_name_match_type::SEARCH_NAME): New enumerator. | |
1596 | (lookup_symbol_search_name): New declaration. | |
1597 | (lookup_symbol_in_block): New 'match_type' parameter. | |
1598 | ||
f98fc17b PA |
1599 | 2018-01-05 Pedro Alves <[email protected]> |
1600 | ||
1601 | PR gdb/22670 | |
1602 | * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of | |
1603 | ada_lookup_symbol. | |
1604 | (ada_lookup_symbol): Reimplement in terms of | |
1605 | ada_lookup_symbol_list, bits factored out from | |
1606 | ada_lookup_encoded_symbol. | |
1607 | ||
342f8240 JB |
1608 | 2018-01-05 Joel Brobecker <[email protected]> |
1609 | ||
1610 | * ada-exp.y (write_object_renaming): When subscripting an array | |
1611 | using a symbol as the index, pass the block in call to | |
1612 | ada_lookup_encoded_symbol when looking that symbol up. | |
1613 | ||
7150d33c JG |
1614 | 2018-01-05 Jerome Guitton <[email protected]> |
1615 | ||
1616 | * ada-lang.c (ada_array_length): Use ada_index_type instead of | |
1617 | TYPE_INDEX_TYPE. | |
1618 | ||
cc0e770c JB |
1619 | 2018-01-05 Joel Brobecker <[email protected]> |
1620 | ||
1621 | * ada-lang.c (ada_to_fixed_value_create): Add handling of | |
1622 | the case where VALUE_LVAL (val0) is not lval_memory. | |
1623 | ||
f79da888 | 1624 | 2018-01-05 Xavier Roirand <[email protected]> |
e3861a03 XR |
1625 | |
1626 | * ada-valprint.c (print_optional_low_bound): Handle | |
1627 | character-indexed array printing like boolean-indexed array | |
1628 | printing. | |
1629 | ||
cd385f94 JB |
1630 | 2018-01-05 Joel Brobecker <[email protected]> |
1631 | ||
1632 | * NEWS: Create a new section for the next release branch. | |
1633 | Rename the section of the current branch, now that it has | |
1634 | been cut. | |
1635 | ||
09aca949 JB |
1636 | 2018-01-05 Joel Brobecker <[email protected]> |
1637 | ||
1638 | GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7): | |
1639 | * version.in: Bump version to 8.1.50.DATE-git. | |
1640 | ||
9f757bf7 XR |
1641 | 2018-01-03 Xavier Roirand <[email protected]> |
1642 | ||
1643 | * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>: | |
1644 | Add field. | |
1645 | * ada-lang.c (struct exception_support_info) <catch_handlers_sym>: | |
1646 | Add field. | |
1647 | (default_exception_support_info) <catch_handlers_sym>: Add field. | |
1648 | (exception_support_info_fallback) <catch_handlers_sym>: Add field. | |
1649 | (ada_exception_name_addr_1): Add "catch handlers" handling. | |
1650 | (ada_exception_catchpoint_cond_string) <ex>: New parameter. | |
1651 | Update all callers. | |
1652 | (create_excep_cond_exprs) <ex>: Add parameter. | |
1653 | (re_set_exception): Update create_excep_cond_exprs call. | |
1654 | (print_it_exception, print_one_exception, print_mention_exception) | |
1655 | (print_recreate_exception): Add "catch handler" handling. | |
1656 | (allocate_location_catch_handlers, re_set_catch_handlers) | |
1657 | (check_status_catch_handlers, print_it_catch_handlers) | |
1658 | (print_one_catch_handlers, print_mention_catch_handlers) | |
1659 | (print_recreate_catch_handlers): New function. | |
1660 | (catch_handlers_breakpoint_ops): New variable. | |
1661 | (catch_ada_exception_command_split) <is_catch_handlers_cmd>: | |
1662 | Add parameter. Add "catch handler" handling. | |
1663 | (ada_exception_sym_name, ada_exception_breakpoint_ops): | |
1664 | Add "catch handler" handling. | |
1665 | (ada_exception_catchpoint_cond_string): Add "catch handler" | |
1666 | handling. | |
1667 | (create_ada_exception_catchpoint): Update create_excep_cond_exprs | |
1668 | call. | |
1669 | (catch_ada_handlers_command): New function. | |
1670 | (initialize_ada_catchpoint_ops): Initialize "catch handlers" | |
1671 | operations structure. | |
1672 | (_initialize_ada_language): Add "catch handlers" command entry. | |
1673 | * NEWS: Document "catch handlers" feature. | |
1674 | ||
9fe561ab JB |
1675 | 2018-01-02 Joel Brobecker <[email protected]> |
1676 | ||
1677 | * ada-lang.c (ada_value_slice_from_ptr): Take array stride into | |
1678 | account when creating the array type of the slice. | |
1679 | (ada_value_slice): Likewise. | |
1680 | ||
a405673c JB |
1681 | 2018-01-02 Joel Brobecker <[email protected]> |
1682 | ||
1683 | * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>: | |
1684 | New enum value. | |
1685 | (create_array_type_with_stride): Add byte_stride_prop parameter. | |
1686 | * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>: | |
1687 | New parameter. Update all callers in this file. | |
1688 | (array_type_has_dynamic_stride): New function. | |
1689 | (is_dynamic_type_internal, resolve_dynamic_array): Add handling | |
1690 | of arrays with dynamic byte strides. | |
1691 | * dwarf2read.c (read_array_type): Add support for dynamic | |
1692 | DW_AT_byte_stride attributes. | |
1693 | ||
74a2f8ff JB |
1694 | 2018-01-02 Joel Brobecker <[email protected]> |
1695 | ||
1696 | * dwarf2read.c (read_unspecified_type): Treat | |
1697 | DW_TAG_enumeration_type DIEs from Ada units as stubs. | |
1698 | ||
e2882c85 JB |
1699 | 2018-01-01 Joel Brobecker <[email protected]> |
1700 | ||
1701 | Update copyright year range in all GDB files. | |
1702 | ||
1690bb24 JB |
1703 | 2018-01-01 Joel Brobecker <[email protected]> |
1704 | ||
1705 | * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp | |
1706 | and gdb/testsuite/gdb.base/step-line.c. | |
1707 | ||
0f0c98a8 JB |
1708 | 2018-01-01 Joel Brobecker <[email protected]> |
1709 | ||
1710 | * copyright.py (main): Dump the contents of | |
1711 | MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND, | |
1712 | even if BY_HAND is empty. | |
1713 | ||
82e1e79a JB |
1714 | 2018-01-01 Joel Brobecker <[email protected]> |
1715 | ||
1716 | * top.c (print_gdb_version): Update Copyright year in version | |
1717 | message. | |
1718 | ||
053f54e5 | 1719 | 2018-01-01 Joel Brobecker <[email protected]> |
47fea877 | 1720 | |
053f54e5 | 1721 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017. |
47fea877 | 1722 | |
053f54e5 | 1723 | For older changes see ChangeLog-2017. |
c906108c SS |
1724 | \f |
1725 | Local Variables: | |
1726 | mode: change-log | |
1727 | left-margin: 8 | |
1728 | fill-column: 74 | |
1729 | version-control: never | |
57da7796 | 1730 | coding: utf-8 |
c906108c | 1731 | End: |