24ccfe68824cb139fcf25a618fe1f38f2f3263e2
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2018-01-05 Pedro Alves <palves@redhat.com>
2
3 PR gdb/18653
4 * common/signals-state-save-restore.c
5 (save_original_signals_state): New parameter 'quiet'. Warn if we
6 find a custom handler preinstalled, instead of internal erroring.
7 But only warn if !quiet.
8 * common/signals-state-save-restore.h
9 (save_original_signals_state): New parameter 'quiet'.
10 * main.c (captured_main_1): Move save_original_signals_state call
11 after option handling, and pass QUIET.
12
13 2018-01-05 Pedro Alves <palves@redhat.com>
14
15 * spu-tdep.c (spu_catch_start): Pass
16 symbol_name_match_type::SEARCH_NAME to block_lookup_symbol.
17
18 2018-01-05 Pedro Alves <palves@redhat.com>
19
20 PR gdb/22670
21 * ada-lang.c (literal_symbol_name_matcher): New function.
22 (ada_get_symbol_name_matcher): Use it for
23 symbol_name_match_type::SEARCH_NAME.
24 * block.c (block_lookup_symbol): New parameter 'match_type'. Pass
25 it down instead of assuming symbol_name_match_type::FULL.
26 * block.h (block_lookup_symbol): New parameter 'match_type'.
27 * c-valprint.c (print_unpacked_pointer): Use
28 lookup_symbol_search_name instead of lookup_symbol.
29 * compile/compile-object-load.c (get_out_value_type): Pass down
30 symbol_name_match_type::SEARCH_NAME.
31 * cp-namespace.c (cp_basic_lookup_symbol): Pass down
32 symbol_name_match_type::FULL.
33 * cp-support.c (cp_get_symbol_name_matcher): Handle
34 symbol_name_match_type::SEARCH_NAME.
35 * infrun.c (insert_exception_resume_breakpoint): Use
36 lookup_symbol_search_name.
37 * p-valprint.c (pascal_val_print): Use lookup_symbol_search_name.
38 * psymtab.c (maintenance_check_psymtabs): Use
39 symbol_name_match_type::SEARCH_NAME and SYMBOL_SEARCH_NAME.
40 * stack.c (print_frame_args): Use lookup_symbol_search_name and
41 SYMBOL_SEARCH_NAME.
42 * symtab.c (lookup_local_symbol): Don't demangle the lookup name
43 if symbol_name_match_type::SEARCH_NAME.
44 (lookup_symbol_in_language): Pass down
45 symbol_name_match_type::FULL.
46 (lookup_symbol_search_name): New.
47 (lookup_language_this): Pass down
48 symbol_name_match_type::SEARCH_NAME.
49 (lookup_symbol_aux, lookup_local_symbol): New parameter
50 'match_type'. Pass it down.
51 * symtab.h (symbol_name_match_type::SEARCH_NAME): New enumerator.
52 (lookup_symbol_search_name): New declaration.
53 (lookup_symbol_in_block): New 'match_type' parameter.
54
55 2018-01-05 Pedro Alves <palves@redhat.com>
56
57 PR gdb/22670
58 * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of
59 ada_lookup_symbol.
60 (ada_lookup_symbol): Reimplement in terms of
61 ada_lookup_symbol_list, bits factored out from
62 ada_lookup_encoded_symbol.
63
64 2018-01-05 Joel Brobecker <brobecker@adacore.com>
65
66 * ada-exp.y (write_object_renaming): When subscripting an array
67 using a symbol as the index, pass the block in call to
68 ada_lookup_encoded_symbol when looking that symbol up.
69
70 2018-01-05 Jerome Guitton <guitton@adacore.com>
71
72 * ada-lang.c (ada_array_length): Use ada_index_type instead of
73 TYPE_INDEX_TYPE.
74
75 2018-01-05 Joel Brobecker <brobecker@adacore.com>
76
77 * ada-lang.c (ada_to_fixed_value_create): Add handling of
78 the case where VALUE_LVAL (val0) is not lval_memory.
79
80 2018-01-05 Xavier Roirand <roirand@adacore.com>
81
82 * ada-valprint.c (print_optional_low_bound): Handle
83 character-indexed array printing like boolean-indexed array
84 printing.
85
86 2018-01-05 Joel Brobecker <brobecker@adacore.com>
87
88 * NEWS: Create a new section for the next release branch.
89 Rename the section of the current branch, now that it has
90 been cut.
91
92 2018-01-05 Joel Brobecker <brobecker@adacore.com>
93
94 GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7):
95 * version.in: Bump version to 8.1.50.DATE-git.
96
97 2018-01-03 Xavier Roirand <roirand@adacore.com>
98
99 * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
100 Add field.
101 * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
102 Add field.
103 (default_exception_support_info) <catch_handlers_sym>: Add field.
104 (exception_support_info_fallback) <catch_handlers_sym>: Add field.
105 (ada_exception_name_addr_1): Add "catch handlers" handling.
106 (ada_exception_catchpoint_cond_string) <ex>: New parameter.
107 Update all callers.
108 (create_excep_cond_exprs) <ex>: Add parameter.
109 (re_set_exception): Update create_excep_cond_exprs call.
110 (print_it_exception, print_one_exception, print_mention_exception)
111 (print_recreate_exception): Add "catch handler" handling.
112 (allocate_location_catch_handlers, re_set_catch_handlers)
113 (check_status_catch_handlers, print_it_catch_handlers)
114 (print_one_catch_handlers, print_mention_catch_handlers)
115 (print_recreate_catch_handlers): New function.
116 (catch_handlers_breakpoint_ops): New variable.
117 (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
118 Add parameter. Add "catch handler" handling.
119 (ada_exception_sym_name, ada_exception_breakpoint_ops):
120 Add "catch handler" handling.
121 (ada_exception_catchpoint_cond_string): Add "catch handler"
122 handling.
123 (create_ada_exception_catchpoint): Update create_excep_cond_exprs
124 call.
125 (catch_ada_handlers_command): New function.
126 (initialize_ada_catchpoint_ops): Initialize "catch handlers"
127 operations structure.
128 (_initialize_ada_language): Add "catch handlers" command entry.
129 * NEWS: Document "catch handlers" feature.
130
131 2018-01-02 Joel Brobecker <brobecker@adacore.com>
132
133 * ada-lang.c (ada_value_slice_from_ptr): Take array stride into
134 account when creating the array type of the slice.
135 (ada_value_slice): Likewise.
136
137 2018-01-02 Joel Brobecker <brobecker@adacore.com>
138
139 * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
140 New enum value.
141 (create_array_type_with_stride): Add byte_stride_prop parameter.
142 * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
143 New parameter. Update all callers in this file.
144 (array_type_has_dynamic_stride): New function.
145 (is_dynamic_type_internal, resolve_dynamic_array): Add handling
146 of arrays with dynamic byte strides.
147 * dwarf2read.c (read_array_type): Add support for dynamic
148 DW_AT_byte_stride attributes.
149
150 2018-01-02 Joel Brobecker <brobecker@adacore.com>
151
152 * dwarf2read.c (read_unspecified_type): Treat
153 DW_TAG_enumeration_type DIEs from Ada units as stubs.
154
155 2018-01-01 Joel Brobecker <brobecker@adacore.com>
156
157 Update copyright year range in all GDB files.
158
159 2018-01-01 Joel Brobecker <brobecker@adacore.com>
160
161 * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
162 and gdb/testsuite/gdb.base/step-line.c.
163
164 2018-01-01 Joel Brobecker <brobecker@adacore.com>
165
166 * copyright.py (main): Dump the contents of
167 MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
168 even if BY_HAND is empty.
169
170 2018-01-01 Joel Brobecker <brobecker@adacore.com>
171
172 * top.c (print_gdb_version): Update Copyright year in version
173 message.
174
175 2018-01-01 Joel Brobecker <brobecker@adacore.com>
176
177 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
178
179 For older changes see ChangeLog-2017.
180 \f
181 Local Variables:
182 mode: change-log
183 left-margin: 8
184 fill-column: 74
185 version-control: never
186 coding: utf-8
187 End:
This page took 0.036677 seconds and 4 git commands to generate.