1 2018-01-17 Yao Qi <yao.qi@linaro.org>
3 * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): New
5 (aarch64_linux_init_abi): Install it to gdbarch hook
8 2018-01-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10 * infrun.c (keep_going_pass_signal): Clear step-over info when
11 insert_breakpoints fails.
13 2018-01-12 Joel Brobecker <brobecker@adacore.com>
15 * version.in: Set GDB version number to 8.0.91.DATE-git.
18 2018-01-12 Joel Brobecker <brobecker@adacore.com>
22 2018-01-12 Joel Brobecker <brobecker@adacore.com>
24 * version.in: Set GDB version number to 8.0.91.
27 2018-01-12 Joel Brobecker <brobecker@adacore.com>
29 * NEWS: Rename "Changes since 8.0" into "Changes in 8.1".
31 2018-01-11 Pedro Alves <palves@redhat.com>
34 * infrun.c (resume): Rename to ...
36 (resume): Reimplement as wrapper around resume_1.
38 2018-01-11 Pedro Alves <palves@redhat.com>
41 * remote.c (remote_parse_stop_reply): Default to the last-set
42 general thread instead of to 'magic_null_ptid'.
44 2018-01-10 Pedro Alves <palves@redhat.com>
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
52 2018-01-10 Pedro Alves <palves@redhat.com>
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.
64 2018-01-10 Pedro Alves <palves@redhat.com>
67 * ada-lang.c (ada_collect_symbol_completion_matches): If the
68 minsym's language is language_auto or language_cplus, pass down
70 * symtab.c (compare_symbol_name): Don't frob symbol language here.
72 2018-01-10 Pedro Alves <palves@redhat.com>
75 * minsyms.c (linkage_name_str): New function.
76 (iterate_over_minimal_symbols): Use it.
78 2018-01-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
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
85 2018-01-08 Yao Qi <yao.qi@linaro.org>
86 Simon Marchi <simon.marchi@ericsson.com>
88 * Makefile.in (COMMON_SFILES): Remove selftest-arch.c and
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
96 (maintenance_info_selftests): Likewise.
98 2018-01-05 Pedro Alves <palves@redhat.com>
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.
110 2018-01-05 Pedro Alves <palves@redhat.com>
112 * spu-tdep.c (spu_catch_start): Pass
113 symbol_name_match_type::SEARCH_NAME to block_lookup_symbol.
115 2018-01-05 Pedro Alves <palves@redhat.com>
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
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.
152 2018-01-05 Pedro Alves <palves@redhat.com>
155 * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of
157 (ada_lookup_symbol): Reimplement in terms of
158 ada_lookup_symbol_list, bits factored out from
159 ada_lookup_encoded_symbol.
161 2018-01-05 Joel Brobecker <brobecker@adacore.com>
163 GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7):
164 * version.in: Bump version to 8.0.90.DATE-git.
166 2018-01-03 Xavier Roirand <roirand@adacore.com>
168 * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
170 * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
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.
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"
192 (create_ada_exception_catchpoint): Update create_excep_cond_exprs
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.
200 2018-01-02 Joel Brobecker <brobecker@adacore.com>
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.
206 2018-01-02 Joel Brobecker <brobecker@adacore.com>
208 * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
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.
219 2018-01-02 Joel Brobecker <brobecker@adacore.com>
221 * dwarf2read.c (read_unspecified_type): Treat
222 DW_TAG_enumeration_type DIEs from Ada units as stubs.
224 2018-01-01 Joel Brobecker <brobecker@adacore.com>
226 Update copyright year range in all GDB files.
228 2018-01-01 Joel Brobecker <brobecker@adacore.com>
230 * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
231 and gdb/testsuite/gdb.base/step-line.c.
233 2018-01-01 Joel Brobecker <brobecker@adacore.com>
235 * copyright.py (main): Dump the contents of
236 MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
237 even if BY_HAND is empty.
239 2018-01-01 Joel Brobecker <brobecker@adacore.com>
241 * top.c (print_gdb_version): Update Copyright year in version
244 2018-01-01 Joel Brobecker <brobecker@adacore.com>
246 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
248 For older changes see ChangeLog-2017.
254 version-control: never