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