Don't pass -m64 to libcc1 on aarch64-linux.
[external/binutils.git] / gdb / ChangeLog
1 2018-01-17  Yao Qi  <yao.qi@linaro.org>
2
3         * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): New
4         function.
5         (aarch64_linux_init_abi): Install it to gdbarch hook
6         gcc_target_options.
7
8 2018-01-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9
10         * infrun.c (keep_going_pass_signal): Clear step-over info when
11         insert_breakpoints fails.
12
13 2018-01-12  Joel Brobecker  <brobecker@adacore.com>
14
15         * version.in: Set GDB version number to 8.0.91.DATE-git.
16         * PROBLEMS: Likewise.
17
18 2018-01-12  Joel Brobecker  <brobecker@adacore.com>
19
20         GDB 8.0.91 released.
21
22 2018-01-12  Joel Brobecker  <brobecker@adacore.com>
23
24         * version.in: Set GDB version number to 8.0.91.
25         * PROBLEMS: Likewise.
26
27 2018-01-12  Joel Brobecker  <brobecker@adacore.com>
28
29         * NEWS: Rename "Changes since 8.0" into "Changes in 8.1".
30
31 2018-01-11  Pedro Alves  <palves@redhat.com>
32
33         PR gdb/22583
34         * infrun.c (resume): Rename to ...
35         (resume_1): ... this.
36         (resume): Reimplement as wrapper around resume_1.
37
38 2018-01-11  Pedro Alves  <palves@redhat.com>
39
40         PR remote/22597
41         * remote.c (remote_parse_stop_reply): Default to the last-set
42         general thread instead of to 'magic_null_ptid'.
43
44 2018-01-10  Pedro Alves  <palves@redhat.com>
45
46         * language.h (language_get_symbol_name_matcher): Rename ...
47         (get_symbol_name_matcher): ... this.
48         * language.c (language_get_symbol_name_matcher): Ditto.
49         * dictionary.c, linespec.c, minsyms.c, psymtab.c, symtab.c: All
50         callers adjusted.
51
52 2018-01-10  Pedro Alves  <palves@redhat.com>
53
54         PR gdb/22670
55         * dwarf2read.c
56         (gdb_index_symbol_name_matcher::gdb_index_symbol_name_matcher):
57         Adjust to use language_get_symbol_name_matcher instead of
58         language_defn::la_get_symbol_name_matcher.
59         * language.c (language_get_symbol_name_matcher): If in Ada mode
60         and the lookup name is a verbatim match, return Ada's matcher.
61         * language.h (language_get_symbol_name_matcher): Adjust comment.
62         (ada_lookup_name_info::verbatim_p):: New method.
63
64 2018-01-10  Pedro Alves  <palves@redhat.com>
65
66         PR gdb/22670
67         * ada-lang.c (ada_collect_symbol_completion_matches): If the
68         minsym's language is language_auto or language_cplus, pass down
69         language_ada instead.
70         * symtab.c (compare_symbol_name): Don't frob symbol language here.
71
72 2018-01-10  Pedro Alves  <palves@redhat.com>
73
74         PR gdb/22670
75         * minsyms.c (linkage_name_str): New function.
76         (iterate_over_minimal_symbols): Use it.
77
78 2018-01-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79
80         * gdb/gnu-nat.c: Include <elf.h> and <link.h>.
81         (gnu_xfer_auxv): New function.
82         (gnu_xfer_partial): Call gnu_xfer_auxv when `object' is
83         TARGET_OBJECT_AUXV.
84
85 2018-01-08  Yao Qi  <yao.qi@linaro.org>
86             Simon Marchi  <simon.marchi@ericsson.com>
87
88         * Makefile.in (COMMON_SFILES): Remove selftest-arch.c and
89         common/selftest.c.
90         (COMMON_OBS): Remove selftest.o.
91         * configure.ac: Append selftest-arch.c and common/selftest.c to
92         CONFIG_SRCS.  Append selftest-arch.o and selftest.o to COMMON_OBS.
93         * configure: Re-generated.
94         * maint.c (maintenance_selftest): Wrap selftests::run_tests with
95         GDB_SELF_TEST.
96         (maintenance_info_selftests): Likewise.
97
98 2018-01-05  Pedro Alves  <palves@redhat.com>
99
100         PR gdb/18653
101         * common/signals-state-save-restore.c
102         (save_original_signals_state): New parameter 'quiet'.  Warn if we
103         find a custom handler preinstalled, instead of internal erroring.
104         But only warn if !quiet.
105         * common/signals-state-save-restore.h
106         (save_original_signals_state): New parameter 'quiet'.
107         * main.c (captured_main_1): Move save_original_signals_state call
108         after option handling, and pass QUIET.
109
110 2018-01-05  Pedro Alves  <palves@redhat.com>
111
112         * spu-tdep.c (spu_catch_start): Pass
113         symbol_name_match_type::SEARCH_NAME to block_lookup_symbol.
114
115 2018-01-05  Pedro Alves  <palves@redhat.com>
116
117         PR gdb/22670
118         * ada-lang.c (literal_symbol_name_matcher): New function.
119         (ada_get_symbol_name_matcher): Use it for
120         symbol_name_match_type::SEARCH_NAME.
121         * block.c (block_lookup_symbol): New parameter 'match_type'.  Pass
122         it down instead of assuming symbol_name_match_type::FULL.
123         * block.h (block_lookup_symbol): New parameter 'match_type'.
124         * c-valprint.c (print_unpacked_pointer): Use
125         lookup_symbol_search_name instead of lookup_symbol.
126         * compile/compile-object-load.c (get_out_value_type): Pass down
127         symbol_name_match_type::SEARCH_NAME.
128         * cp-namespace.c (cp_basic_lookup_symbol): Pass down
129         symbol_name_match_type::FULL.
130         * cp-support.c (cp_get_symbol_name_matcher): Handle
131         symbol_name_match_type::SEARCH_NAME.
132         * infrun.c (insert_exception_resume_breakpoint): Use
133         lookup_symbol_search_name.
134         * p-valprint.c (pascal_val_print): Use lookup_symbol_search_name.
135         * psymtab.c (maintenance_check_psymtabs): Use
136         symbol_name_match_type::SEARCH_NAME and SYMBOL_SEARCH_NAME.
137         * stack.c (print_frame_args): Use lookup_symbol_search_name and
138         SYMBOL_SEARCH_NAME.
139         * symtab.c (lookup_local_symbol): Don't demangle the lookup name
140         if symbol_name_match_type::SEARCH_NAME.
141         (lookup_symbol_in_language): Pass down
142         symbol_name_match_type::FULL.
143         (lookup_symbol_search_name): New.
144         (lookup_language_this): Pass down
145         symbol_name_match_type::SEARCH_NAME.
146         (lookup_symbol_aux, lookup_local_symbol): New parameter
147         'match_type'.  Pass it down.
148         * symtab.h (symbol_name_match_type::SEARCH_NAME): New enumerator.
149         (lookup_symbol_search_name): New declaration.
150         (lookup_symbol_in_block): New 'match_type' parameter.
151
152 2018-01-05  Pedro Alves  <palves@redhat.com>
153
154         PR gdb/22670
155         * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of
156         ada_lookup_symbol.
157         (ada_lookup_symbol): Reimplement in terms of
158         ada_lookup_symbol_list, bits factored out from
159         ada_lookup_encoded_symbol.
160
161 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
162
163         GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7):
164         * version.in: Bump version to 8.0.90.DATE-git.
165
166 2018-01-03  Xavier Roirand  <roirand@adacore.com>
167
168         * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
169         Add field.
170         * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
171         Add field.
172         (default_exception_support_info) <catch_handlers_sym>: Add field.
173         (exception_support_info_fallback) <catch_handlers_sym>: Add field.
174         (ada_exception_name_addr_1): Add "catch handlers" handling.
175         (ada_exception_catchpoint_cond_string) <ex>: New parameter.
176         Update all callers.
177         (create_excep_cond_exprs) <ex>: Add parameter.
178         (re_set_exception): Update create_excep_cond_exprs call.
179         (print_it_exception, print_one_exception, print_mention_exception)
180         (print_recreate_exception): Add "catch handler" handling.
181         (allocate_location_catch_handlers, re_set_catch_handlers)
182         (check_status_catch_handlers, print_it_catch_handlers)
183         (print_one_catch_handlers, print_mention_catch_handlers)
184         (print_recreate_catch_handlers): New function.
185         (catch_handlers_breakpoint_ops): New variable.
186         (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
187         Add parameter.  Add "catch handler" handling.
188         (ada_exception_sym_name, ada_exception_breakpoint_ops):
189         Add "catch handler" handling.
190         (ada_exception_catchpoint_cond_string): Add "catch handler"
191         handling.
192         (create_ada_exception_catchpoint): Update create_excep_cond_exprs
193         call.
194         (catch_ada_handlers_command): New function.
195         (initialize_ada_catchpoint_ops): Initialize "catch handlers"
196         operations structure.
197         (_initialize_ada_language): Add "catch handlers" command entry.
198         * NEWS: Document "catch handlers" feature.
199
200 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
201
202         * ada-lang.c (ada_value_slice_from_ptr): Take array stride into
203         account when creating the array type of the slice.
204         (ada_value_slice): Likewise.
205
206 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
207
208         * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
209         New enum value.
210         (create_array_type_with_stride): Add byte_stride_prop parameter.
211         * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
212         New parameter.  Update all callers in this file.
213         (array_type_has_dynamic_stride): New function.
214         (is_dynamic_type_internal, resolve_dynamic_array): Add handling
215         of arrays with dynamic byte strides.
216         * dwarf2read.c (read_array_type): Add support for dynamic
217         DW_AT_byte_stride attributes.
218
219 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
220
221         * dwarf2read.c (read_unspecified_type): Treat
222         DW_TAG_enumeration_type DIEs from Ada units as stubs.
223
224 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
225
226         Update copyright year range in all GDB files.
227
228 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
229
230         * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
231         and gdb/testsuite/gdb.base/step-line.c.
232
233 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
234
235         * copyright.py (main): Dump the contents of
236         MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
237         even if BY_HAND is empty.
238
239 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
240
241         * top.c (print_gdb_version): Update Copyright year in version
242         message.
243
244 2018-01-01  Joel Brobecker  <brobecker@adacore.com>
245
246         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
247
248 For older changes see ChangeLog-2017.
249 \f
250 Local Variables:
251 mode: change-log
252 left-margin: 8
253 fill-column: 74
254 version-control: never
255 coding: utf-8
256 End: