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