]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
Fix regresssion(internal-error) printing subprogram argument (PR gdb/22670)
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
de63c46b
PA
12018-01-05 Pedro Alves <palves@redhat.com>
2
3 PR gdb/22670
4 * ada-lang.c (literal_symbol_name_matcher): New function.
5 (ada_get_symbol_name_matcher): Use it for
6 symbol_name_match_type::SEARCH_NAME.
7 * block.c (block_lookup_symbol): New parameter 'match_type'. Pass
8 it down instead of assuming symbol_name_match_type::FULL.
9 * block.h (block_lookup_symbol): New parameter 'match_type'.
10 * c-valprint.c (print_unpacked_pointer): Use
11 lookup_symbol_search_name instead of lookup_symbol.
12 * compile/compile-object-load.c (get_out_value_type): Pass down
13 symbol_name_match_type::SEARCH_NAME.
14 * cp-namespace.c (cp_basic_lookup_symbol): Pass down
15 symbol_name_match_type::FULL.
16 * cp-support.c (cp_get_symbol_name_matcher): Handle
17 symbol_name_match_type::SEARCH_NAME.
18 * infrun.c (insert_exception_resume_breakpoint): Use
19 lookup_symbol_search_name.
20 * p-valprint.c (pascal_val_print): Use lookup_symbol_search_name.
21 * psymtab.c (maintenance_check_psymtabs): Use
22 symbol_name_match_type::SEARCH_NAME and SYMBOL_SEARCH_NAME.
23 * stack.c (print_frame_args): Use lookup_symbol_search_name and
24 SYMBOL_SEARCH_NAME.
25 * symtab.c (lookup_local_symbol): Don't demangle the lookup name
26 if symbol_name_match_type::SEARCH_NAME.
27 (lookup_symbol_in_language): Pass down
28 symbol_name_match_type::FULL.
29 (lookup_symbol_search_name): New.
30 (lookup_language_this): Pass down
31 symbol_name_match_type::SEARCH_NAME.
32 (lookup_symbol_aux, lookup_local_symbol): New parameter
33 'match_type'. Pass it down.
34 * symtab.h (symbol_name_match_type::SEARCH_NAME): New enumerator.
35 (lookup_symbol_search_name): New declaration.
36 (lookup_symbol_in_block): New 'match_type' parameter.
37
f98fc17b
PA
382018-01-05 Pedro Alves <palves@redhat.com>
39
40 PR gdb/22670
41 * ada-lang.c (ada_lookup_encoded_symbol): Reimplement in terms of
42 ada_lookup_symbol.
43 (ada_lookup_symbol): Reimplement in terms of
44 ada_lookup_symbol_list, bits factored out from
45 ada_lookup_encoded_symbol.
46
342f8240
JB
472018-01-05 Joel Brobecker <brobecker@adacore.com>
48
49 * ada-exp.y (write_object_renaming): When subscripting an array
50 using a symbol as the index, pass the block in call to
51 ada_lookup_encoded_symbol when looking that symbol up.
52
7150d33c
JG
532018-01-05 Jerome Guitton <guitton@adacore.com>
54
55 * ada-lang.c (ada_array_length): Use ada_index_type instead of
56 TYPE_INDEX_TYPE.
57
cc0e770c
JB
582018-01-05 Joel Brobecker <brobecker@adacore.com>
59
60 * ada-lang.c (ada_to_fixed_value_create): Add handling of
61 the case where VALUE_LVAL (val0) is not lval_memory.
62
f79da888 632018-01-05 Xavier Roirand <roirand@adacore.com>
e3861a03
XR
64
65 * ada-valprint.c (print_optional_low_bound): Handle
66 character-indexed array printing like boolean-indexed array
67 printing.
68
cd385f94
JB
692018-01-05 Joel Brobecker <brobecker@adacore.com>
70
71 * NEWS: Create a new section for the next release branch.
72 Rename the section of the current branch, now that it has
73 been cut.
74
09aca949
JB
752018-01-05 Joel Brobecker <brobecker@adacore.com>
76
77 GDB 8.1 branch created (5219ac6237c272b938c28517bf371429260c71e7):
78 * version.in: Bump version to 8.1.50.DATE-git.
79
9f757bf7
XR
802018-01-03 Xavier Roirand <roirand@adacore.com>
81
82 * ada-lang.h (ada_exception_catchpoint_kind) <ada_catch_handlers>:
83 Add field.
84 * ada-lang.c (struct exception_support_info) <catch_handlers_sym>:
85 Add field.
86 (default_exception_support_info) <catch_handlers_sym>: Add field.
87 (exception_support_info_fallback) <catch_handlers_sym>: Add field.
88 (ada_exception_name_addr_1): Add "catch handlers" handling.
89 (ada_exception_catchpoint_cond_string) <ex>: New parameter.
90 Update all callers.
91 (create_excep_cond_exprs) <ex>: Add parameter.
92 (re_set_exception): Update create_excep_cond_exprs call.
93 (print_it_exception, print_one_exception, print_mention_exception)
94 (print_recreate_exception): Add "catch handler" handling.
95 (allocate_location_catch_handlers, re_set_catch_handlers)
96 (check_status_catch_handlers, print_it_catch_handlers)
97 (print_one_catch_handlers, print_mention_catch_handlers)
98 (print_recreate_catch_handlers): New function.
99 (catch_handlers_breakpoint_ops): New variable.
100 (catch_ada_exception_command_split) <is_catch_handlers_cmd>:
101 Add parameter. Add "catch handler" handling.
102 (ada_exception_sym_name, ada_exception_breakpoint_ops):
103 Add "catch handler" handling.
104 (ada_exception_catchpoint_cond_string): Add "catch handler"
105 handling.
106 (create_ada_exception_catchpoint): Update create_excep_cond_exprs
107 call.
108 (catch_ada_handlers_command): New function.
109 (initialize_ada_catchpoint_ops): Initialize "catch handlers"
110 operations structure.
111 (_initialize_ada_language): Add "catch handlers" command entry.
112 * NEWS: Document "catch handlers" feature.
113
9fe561ab
JB
1142018-01-02 Joel Brobecker <brobecker@adacore.com>
115
116 * ada-lang.c (ada_value_slice_from_ptr): Take array stride into
117 account when creating the array type of the slice.
118 (ada_value_slice): Likewise.
119
a405673c
JB
1202018-01-02 Joel Brobecker <brobecker@adacore.com>
121
122 * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_BYTE_STRIDE>:
123 New enum value.
124 (create_array_type_with_stride): Add byte_stride_prop parameter.
125 * gdbtypes.c (create_array_type_with_stride) <byte_stride_prop>:
126 New parameter. Update all callers in this file.
127 (array_type_has_dynamic_stride): New function.
128 (is_dynamic_type_internal, resolve_dynamic_array): Add handling
129 of arrays with dynamic byte strides.
130 * dwarf2read.c (read_array_type): Add support for dynamic
131 DW_AT_byte_stride attributes.
132
74a2f8ff
JB
1332018-01-02 Joel Brobecker <brobecker@adacore.com>
134
135 * dwarf2read.c (read_unspecified_type): Treat
136 DW_TAG_enumeration_type DIEs from Ada units as stubs.
137
e2882c85
JB
1382018-01-01 Joel Brobecker <brobecker@adacore.com>
139
140 Update copyright year range in all GDB files.
141
1690bb24
JB
1422018-01-01 Joel Brobecker <brobecker@adacore.com>
143
144 * copyright.py (BY_HAND): Remove gdb/testsuite/gdb.base/step-line.inp
145 and gdb/testsuite/gdb.base/step-line.c.
146
0f0c98a8
JB
1472018-01-01 Joel Brobecker <brobecker@adacore.com>
148
149 * copyright.py (main): Dump the contents of
150 MULTIPLE_COPYRIGHT_HEADERS (separately) from BY_HAND,
151 even if BY_HAND is empty.
152
82e1e79a
JB
1532018-01-01 Joel Brobecker <brobecker@adacore.com>
154
155 * top.c (print_gdb_version): Update Copyright year in version
156 message.
157
053f54e5 1582018-01-01 Joel Brobecker <brobecker@adacore.com>
47fea877 159
053f54e5 160 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2017.
47fea877 161
053f54e5 162For older changes see ChangeLog-2017.
c906108c
SS
163\f
164Local Variables:
165mode: change-log
166left-margin: 8
167fill-column: 74
168version-control: never
57da7796 169coding: utf-8
c906108c 170End: