Commit | Line | Data |
---|---|---|
98c897e3 SM |
1 | 2021-04-23 Simon Marchi <simon.marchi@polymtl.ca> |
2 | ||
3 | * observable.c (observer_debug): Change to bool. | |
4 | ||
9fc29955 AB |
5 | 2021-04-23 Andrew Burgess <andrew.burgess@embecosm.com> |
6 | ||
7 | * dwarf2/read.c: Add 'unordered_set' include. | |
8 | (dwarf2_base_index_functions::map_symbol_filenames): Replace | |
9 | 'visited' hash table with 'qfn_cache' unordered_set. Remove use | |
10 | of per_Bfd->filenames_cache cache, and use function local | |
11 | filenames_cache instead. Reindent. | |
12 | * dwarf2/read.h (struct dwarf2_per_bfd) <filenames_cache>: Delete. | |
13 | ||
0406545d SM |
14 | 2021-04-22 Simon Marchi <simon.marchi@polymtl.ca> |
15 | ||
16 | * breakpoint.c (iterate_over_bp_locations): Change callback to | |
17 | function view, remove data parameter. | |
18 | * breakpoint.h (iterate_over_bp_locations): Likewise. | |
19 | * record-full.c (record_full_sync_record_breakpoints): Remove | |
20 | data parameter. | |
21 | ||
432ce4cf TT |
22 | 2021-04-22 Tom Tromey <tom@tromey.com> |
23 | ||
24 | * c-typeprint.c (c_type_print_base_struct_union): Use | |
25 | print_spaces_filtered_with_print_options. | |
26 | ||
e25d6d93 SM |
27 | 2021-04-22 Simon Marchi <simon.marchi@polymtl.ca> |
28 | ||
29 | PR gdb/27757 | |
30 | * python/py-type.c (typy_range): Check that bounds are constant | |
31 | before accessing them as such. | |
32 | * guile/scm-type.c (gdbscm_type_range): Likewise. | |
33 | ||
4efeb0d3 TBA |
34 | 2021-04-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
35 | ||
36 | * Makefile.in (COMMON_SFILES): Remove continuations.c. | |
37 | * inferior.c (inferior::add_continuation): New method, adapted | |
38 | from 'add_inferior_continuation'. | |
39 | (inferior::do_all_continuations): New method, adapted from | |
40 | 'do_all_inferior_continuations'. | |
41 | (inferior::~inferior): Clear the list of continuations directly. | |
42 | * inferior.h (class inferior) <continuations>: Rename into... | |
43 | <m_continuations>: ...this and make private. | |
44 | * continuations.c: Remove. | |
45 | * continuations.h: Remove. | |
46 | * event-top.c: Don't include "continuations.h". | |
47 | ||
48 | Update the users below. | |
49 | * inf-loop.c (inferior_event_handler) | |
50 | * infcmd.c (attach_command) | |
51 | (notice_new_inferior): Update. | |
52 | ||
c4c493de TBA |
53 | 2021-04-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
54 | ||
55 | * inferior.h (class inferior) <continuations>: Change the type | |
56 | to be an std::list of std::function's. | |
57 | Update the references and uses below. | |
58 | * continuations.c (struct continuation): Delete. | |
59 | (make_continuation): Delete. | |
60 | (do_my_continuations_1): Delete. | |
61 | (do_my_continuations): Delete. | |
62 | (discard_my_continuations_1): Delete. | |
63 | (discard_my_continuations): Delete. | |
64 | (add_inferior_continuation): Update. | |
65 | (do_all_inferior_continuations): Update. | |
66 | (discard_all_inferior_continuations): Update. | |
67 | * continuations.h (add_inferior_continuation): Update to take | |
68 | an std::function as the parameter. | |
69 | * infcmd.c (struct attach_command_continuation_args): Delete. | |
70 | (attach_command_continuation): Delete. | |
71 | (attach_command_continuation_free_args): Delete. | |
72 | (attach_command): Update. | |
73 | (notice_new_inferior): Update. | |
74 | ||
1194676e TBA |
75 | 2021-04-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
76 | ||
77 | * continuations.h: Update the general comment. | |
78 | * inferior.h (class inferior) <continuations>: Update the comment. | |
79 | * interps.c: Do not include "continuations.h". | |
80 | ||
35682f0a TBA |
81 | 2021-04-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
82 | ||
83 | * continuations.h (do_all_inferior_continuations): Remove the 'err' | |
84 | parameter. Update the references below. | |
85 | * continuations.c (do_my_continuations_1) | |
86 | (do_my_continuations) | |
87 | (do_all_inferior_continuations): Update. | |
88 | * inf-loop.c (inferior_event_handler): Update. | |
89 | * infcmd.c (attach_command_continuation): Update. | |
90 | ||
6fee5eee TBA |
91 | 2021-04-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
92 | ||
93 | * infcmd.c (attach_post_wait): Update the function comment. | |
94 | ||
27d0790a TBA |
95 | 2021-04-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
96 | ||
97 | * infcmd.c (attach_post_wait): Remove the unused parameter 'args'. | |
98 | Update the references below. | |
99 | (struct attach_command_continuation_args) | |
100 | (attach_command_continuation) | |
101 | (attach_command_continuation_free_args) | |
102 | (attach_command) | |
103 | (notice_new_inferior): Update to remove the reference to 'args'. | |
104 | ||
c39ebbf4 TV |
105 | 2021-04-22 Simon Marchi <simon.marchi@polymtl.ca> |
106 | Tom de Vries <tdevries@suse.de> | |
107 | ||
108 | PR remote/27710 | |
109 | * remote.c (remote_target_is_non_stop_p): New function. | |
110 | * remote.h (remote_target_is_non_stop_p): Declare. | |
111 | * remote-notif.c (remote_async_get_pending_events_handler): Fix assert | |
112 | to check non-stopness using notif_state->remote rather current target. | |
113 | ||
22f80c0f TT |
114 | 2021-04-22 Tom Tromey <tom@tromey.com> |
115 | ||
116 | * rust-parse.c (rust_parser::parse_sizeof): Remove KW_MUT code. | |
117 | (struct typed_val_int) <val>: Now ULONGEST. | |
118 | (rust_parser::parse_array_type): Remove negative check. | |
119 | (rust_lex_int_test): Change 'value' to ULONGEST. | |
120 | ||
05f3c0f0 AB |
121 | 2021-04-22 Andrew Burgess <andrew.burgess@embecosm.com> |
122 | ||
123 | * arch-utils.c (default_addressable_memory_unit_size): Return a | |
124 | value based on bfd's bits per byte. | |
125 | ||
7e7a35fb TT |
126 | 2021-04-21 Tom Tromey <tom@tromey.com> |
127 | ||
128 | * dwarf2/read.h (struct dwarf2_per_cu_data) <dwarf_version>: Now | |
129 | unsigned char. | |
130 | (struct dwarf2_per_cu_data): Rearrange. | |
131 | * dwarf2/comp-unit.h (struct comp_unit_head) <version>: Now | |
132 | unsigned char. | |
133 | (struct comp_unit_head): Rearrange. | |
134 | * dwarf2/comp-unit.c (read_comp_unit_head): Update. | |
135 | ||
ff507520 TV |
136 | 2021-04-21 Tom de Vries <tdevries@suse.de> |
137 | ||
138 | PR build/27681 | |
139 | * configure.ac: Remove --without-included-regex/--with-included-regex. | |
140 | * config.in: Regenerate. | |
141 | * configure: Regenerate. | |
142 | * gdb_regex.h: Assume USE_INCLUDED_REGEX is defined. | |
143 | ||
10a636cc TBA |
144 | 2021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
145 | ||
146 | * breakpoint.h (create_breakpoint): Add a new parameter, | |
147 | 'force_condition'. | |
148 | * breakpoint.c (create_breakpoint): Use the 'force_condition' | |
149 | argument when 'parse_extra' is false to check if the condition | |
150 | is invalid at all of the breakpoint locations. | |
151 | Update the users below. | |
152 | (break_command_1) | |
153 | (dprintf_command) | |
154 | (trace_command) | |
155 | (ftrace_command) | |
156 | (strace_command) | |
157 | (create_tracepoint_from_upload): Update. | |
158 | * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Update. | |
159 | * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Update. | |
160 | * python/py-breakpoint.c (bppy_init): Update. | |
161 | * python/py-finishbreakpoint.c (bpfinishpy_init): Update. | |
162 | ||
85c88e2a TBA |
163 | 2021-04-21 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
164 | ||
165 | * breakpoint.c (print_one_breakpoint_location): Display "N" for | |
166 | disabled-by-condition locations on MI-like output. | |
167 | (breakpoint_1): Do not display the disabled-by-condition footnote | |
168 | if the output is MI-like. | |
169 | ||
fd34472c FC |
170 | 2021-04-21 Frederic Cambus <fred@statdns.com> |
171 | ||
172 | * syscalls/update-netbsd.sh: Fix script name display in usage, and | |
173 | update year range in generated copyright notices. | |
174 | ||
184dcd81 FW |
175 | 2021-04-20 Felix Willgerodt <felix.willgerodt@intel.com> |
176 | ||
177 | * c-exp.y (qualifier_seq_noopt): Replace qualifier_seq with | |
178 | qualifier_seq_noopt. | |
179 | ||
525174e8 FW |
180 | 2021-04-20 Felix Willgerodt <felix.willgerodt@intel.com> |
181 | ||
182 | * c-exp.y (single_qualifier): Handle UNKNOWN_CPP_NAME. | |
183 | ||
f5dc2ee3 AB |
184 | 2021-04-19 Andrew Burgess <andrew.burgess@embecosm.com> |
185 | ||
186 | * producer.c: Replace 'regex' include with 'gdb_regex.h'. | |
187 | (producer_is_icc): Replace use of std::regex with gdb's | |
188 | compiled_regex. | |
189 | ||
42c2c694 TT |
190 | 2021-04-17 Tom Tromey <tom@tromey.com> |
191 | ||
192 | PR gdb/23743: | |
193 | * dwarf2/read.c (class offset_view): New. | |
194 | (struct symbol_table_slot): Remove. | |
195 | (struct mapped_index) <symbol_table, constant_pool>: Change type. | |
196 | <symbol_name_index, symbol_vec_index>: New methods. | |
197 | <symbol_name_slot_invalid, symbol_name_at, symbol_name_count>: | |
198 | Rewrite. | |
199 | (read_gdb_index_from_buffer): Update. | |
200 | (struct dw2_symtab_iterator) <vec>: Change type. | |
201 | (dw2_symtab_iter_init_common, dw2_symtab_iter_init) | |
202 | (dw2_symtab_iter_next, dw2_expand_marked_cus): Update. | |
203 | * dwarf2/index-write.c (class data_buf) <append_data>: Remove. | |
204 | <append_array, append_offset>: New methods. | |
205 | (write_hash_table, add_address_entry, write_gdbindex_1) | |
206 | (write_debug_names): Update. | |
207 | * dwarf2/index-common.h (byte_swap, MAYBE_SWAP): Remove. | |
208 | ||
da314dd3 TT |
209 | 2021-04-17 Tom Tromey <tom@tromey.com> |
210 | ||
211 | * dwarf2/index-write.c (write_psymtabs_to_index): Check | |
212 | partial_symtabs. | |
213 | ||
0b7b2c2a TT |
214 | 2021-04-17 Tom Tromey <tom@tromey.com> |
215 | ||
216 | * psymtab.c (psymbol_functions::expand_matching_symbols): Rename | |
217 | from map_matching_symbols. Change parameters. | |
218 | * psympriv.h (struct psymbol_functions) <expand_matching_symbols>: | |
219 | Rename from map_matching_symbols. Change parameters. | |
220 | * dwarf2/read.c (struct dwarf2_gdb_index) | |
221 | <expand_matching_symbols>: Rename from map_matching_symbols. | |
222 | Change parameters. | |
223 | (struct dwarf2_debug_names_index) <expand_matching_symbols>: | |
224 | Rename from map_matching_symbols. Change parameters. | |
225 | (dwarf2_gdb_index::expand_matching_symbols): Rename from | |
226 | dw2_map_matching_symbols. Change parameters. | |
227 | (dwarf2_gdb_index::expand_matching_symbols): Remove old | |
228 | implementation. | |
229 | (dwarf2_debug_names_index::expand_matching_symbols): Rename from | |
230 | map_matching_symbols. Change parameters. | |
231 | * objfiles.h (struct objfile) <expand_matching_symbols>: Rename | |
232 | from map_matching_symbols. Change parameters. | |
233 | * symfile-debug.c (objfile::expand_matching_symbols): Rename from | |
234 | map_matching_symbols. Change parameters. | |
235 | * ada-lang.c (map_matching_symbols): New function. | |
236 | (add_nonlocal_symbols): Update. | |
237 | ||
90160b57 TT |
238 | 2021-04-17 Tom Tromey <tom@tromey.com> |
239 | ||
240 | * quick-symbol.h (struct quick_symbol_functions) | |
241 | <expand_symtabs_with_fullname>: Remove. | |
242 | * psymtab.c (psymbol_functions::expand_symtabs_with_fullname): | |
243 | Remove. | |
244 | * psympriv.h (struct psymbol_functions) | |
245 | <expand_symtabs_with_fullname>: Remove. | |
246 | * dwarf2/read.c (struct dwarf2_base_index_functions) | |
247 | <expand_symtabs_with_fullname>: Remove. | |
248 | (dwarf2_base_index_functions::expand_symtabs_with_fullname): | |
249 | Remove. | |
250 | * objfiles.h (struct objfile) <expand_symtabs_with_fullname>: | |
251 | Update comment. | |
252 | * symfile-debug.c (objfile::expand_symtabs_with_fullname): | |
253 | Rewrite. | |
254 | ||
7089bd88 TT |
255 | 2021-04-17 Tom Tromey <tom@tromey.com> |
256 | ||
257 | * symfile-debug.c (objfile::expand_symtabs_for_function): | |
258 | Rewrite. | |
259 | * quick-symbol.h (struct quick_symbol_functions) | |
260 | <expand_symtabs_for_function>: Remove. | |
261 | * psymtab.c (psymbol_functions::expand_symtabs_for_function): | |
262 | Remove. | |
263 | * psympriv.h (struct psymbol_functions) | |
264 | <expand_symtabs_for_function>: Remove. | |
265 | * objfiles.h (struct objfile) <expand_symtabs_for_function>: | |
266 | Update comment. | |
267 | * dwarf2/read.c (struct dwarf2_gdb_index) | |
268 | <expand_symtabs_for_function>: Remove. | |
269 | (struct dwarf2_debug_names_index) <expand_symtabs_for_function>: | |
270 | Remove. | |
271 | (find_slot_in_mapped_hash): Remove. | |
272 | (dw2_symtab_iter_init_common): Merge with dw2_symtab_iter_init. | |
273 | (dw2_symtab_iter_init): Remove one overload. | |
274 | (dwarf2_gdb_index::expand_symtabs_for_function) | |
275 | (dwarf2_debug_names_index::expand_symtabs_for_function): Remove. | |
276 | ||
536a40f3 TT |
277 | 2021-04-17 Tom Tromey <tom@tromey.com> |
278 | ||
279 | * symfile-debug.c (objfile::map_symtabs_matching_filename): | |
280 | Rewrite. | |
281 | * quick-symbol.h (struct quick_symbol_functions) | |
282 | <map_symtabs_matching_filename>: Remove. | |
283 | * psymtab.c (partial_map_expand_apply) | |
284 | (psymbol_functions::map_symtabs_matching_filename): Remove. | |
285 | * psympriv.h (struct psymbol_functions) | |
286 | <map_symtabs_matching_filename>: Remove. | |
287 | * objfiles.h (struct objfile) <map_symtabs_matching_filename>: | |
288 | Update comment. | |
289 | * dwarf2/read.c (struct dwarf2_base_index_functions) | |
290 | <map_symtabs_matching_filename>: Remove. | |
291 | (dw2_map_expand_apply) | |
292 | (dwarf2_base_index_functions::map_symtabs_matching_filename): | |
293 | Remove. | |
294 | ||
84d865e3 TT |
295 | 2021-04-17 Tom Tromey <tom@tromey.com> |
296 | ||
297 | * symfile-debug.c (objfile::lookup_symbol): Rewrite. | |
298 | * quick-symbol.h (struct quick_symbol_functions) <lookup_symbol>: | |
299 | Remove. | |
300 | * psymtab.c (psymbol_functions::lookup_symbol): Remove. | |
301 | * psympriv.h (struct psymbol_functions) <lookup_symbol>: Remove. | |
302 | * objfiles.h (struct objfile) <lookup_symbol>: Add comment. | |
303 | * dwarf2/read.c (struct dwarf2_gdb_index) <lookup_symbol>: | |
304 | Remove. | |
305 | (struct dwarf2_debug_names_index) <lookup_symbol>: Remove. | |
306 | (dwarf2_gdb_index::lookup_symbol) | |
307 | (dwarf2_debug_names_index::lookup_symbol): Remove. | |
308 | ||
3bfa51a7 TT |
309 | 2021-04-17 Tom Tromey <tom@tromey.com> |
310 | ||
311 | * symtab.c (global_symbol_searcher::expand_symtabs): Update. | |
312 | * symmisc.c (maintenance_expand_symtabs): Update. | |
313 | * symfile.c (expand_symtabs_matching): Update. | |
314 | * symfile-debug.c (objfile::expand_symtabs_matching): Add 'domain' | |
315 | parameter. | |
316 | * quick-symbol.h (struct quick_symbol_functions) | |
317 | <expand_symtabs_matching>: Add 'domain' parameter. | |
318 | * psymtab.c (recursively_search_psymtabs) | |
319 | (psymbol_functions::expand_symtabs_matching): Add 'domain' | |
320 | parameter. | |
321 | * psympriv.h (struct psymbol_functions) <expand_symtabs_matching>: | |
322 | Add 'domain' parameter. | |
323 | * objfiles.h (struct objfile) <expand_symtabs_matching>: Add | |
324 | 'domain' parameter. | |
325 | * linespec.c (iterate_over_all_matching_symtabs): Update. | |
326 | * dwarf2/read.c (struct dwarf2_gdb_index) | |
327 | <expand_symtabs_matching>: Add 'domain' parameter. | |
328 | (struct dwarf2_debug_names_index) <expand_symtabs_matching>: Add | |
329 | 'domain' parameter. | |
330 | (dw2_expand_symtabs_matching) | |
331 | (dwarf2_gdb_index::expand_symtabs_matching) | |
332 | (dw2_debug_names_iterator) | |
333 | (dwarf2_debug_names_index::expand_symtabs_matching): Add 'domain' | |
334 | parameter. | |
335 | ||
03a8ea51 TT |
336 | 2021-04-17 Tom Tromey <tom@tromey.com> |
337 | ||
338 | * symtab.c (global_symbol_searcher::expand_symtabs) | |
339 | (default_collect_symbol_completion_matches_break_on): Update. | |
340 | * symmisc.c (maintenance_expand_symtabs): Update. | |
341 | * symfile.h (expand_symtabs_matching): Add search_flags | |
342 | parameter. | |
343 | * symfile.c (expand_symtabs_matching): Add search_flags | |
344 | parameter. | |
345 | * symfile-debug.c (objfile::expand_symtabs_matching): Add | |
346 | search_flags parameter. | |
347 | * quick-symbol.h (struct quick_symbol_functions) | |
348 | <expand_symtabs_matching>: Add search_flags parameter. | |
349 | * python/py-symbol.c (gdbpy_lookup_static_symbols): Update. | |
350 | * psymtab.c (recursively_search_psymtabs) | |
351 | (psymbol_functions::expand_symtabs_matching): Add search_flags | |
352 | parameter. | |
353 | * psympriv.h (struct psymbol_functions) <expand_symtabs_matching>: | |
354 | Add search_flags parameter. | |
355 | * objfiles.h (struct objfile) <expand_symtabs_matching>: Add | |
356 | search_flags parameter. | |
357 | * linespec.c (iterate_over_all_matching_symtabs): Update. | |
358 | * dwarf2/read.c (struct dwarf2_gdb_index) | |
359 | <expand_symtabs_matching>: Add search_flags parameter. | |
360 | (struct dwarf2_debug_names_index) <expand_symtabs_matching>: Add | |
361 | search_flags parameter. | |
362 | (dw2_map_matching_symbols): Update. | |
363 | (dw2_expand_marked_cus, dw2_expand_symtabs_matching) | |
364 | (dwarf2_gdb_index::expand_symtabs_matching): Add search_flags | |
365 | parameter. | |
366 | (dw2_debug_names_iterator): Change block_index to search flags. | |
367 | <m_block_index>: Likewise. | |
368 | (dw2_debug_names_iterator::next) | |
369 | (dwarf2_debug_names_index::lookup_symbol) | |
370 | (dwarf2_debug_names_index::expand_symtabs_for_function) | |
371 | (dwarf2_debug_names_index::map_matching_symbols) | |
372 | (dwarf2_debug_names_index::map_matching_symbols): Update. | |
373 | (dwarf2_debug_names_index::expand_symtabs_matching): Add | |
374 | search_flags parameter. | |
375 | * ada-lang.c (ada_add_global_exceptions) | |
376 | (collect_symbol_completion_matches): Update. | |
377 | ||
df35e626 TT |
378 | 2021-04-17 Tom Tromey <tom@tromey.com> |
379 | ||
380 | * symtab.c (default_collect_symbol_completion_matches_break_on): | |
381 | Update. | |
382 | * symfile.h (expand_symtabs_matching): Return bool. | |
383 | * symfile.c (expand_symtabs_matching): Return bool. | |
384 | * symfile-debug.c (objfile::expand_symtabs_matching): Return | |
385 | bool. | |
386 | * quick-symbol.h (expand_symtabs_exp_notify_ftype): Return bool. | |
387 | (struct quick_symbol_functions) <expand_symtabs_matching>: Return | |
388 | bool. | |
389 | * psymtab.c (psymbol_functions::expand_symtabs_matching): Return | |
390 | bool. | |
391 | * psympriv.h (struct psymbol_functions) | |
392 | <expand_symtabs_matching>: Return bool. | |
393 | * objfiles.h (struct objfile) <expand_symtabs_matching>: Return | |
394 | bool. | |
395 | * dwarf2/read.c (struct dwarf2_gdb_index) | |
396 | <expand_symtabs_matching>: Return bool. | |
397 | (struct dwarf2_debug_names_index) <expand_symtabs_matching>: | |
398 | Return bool. | |
399 | (dw2_expand_symtabs_matching_symbol): Return bool. | |
400 | (dw2_expand_symtabs_matching_one, dw2_expand_marked_cus) | |
401 | (dw2_expand_symtabs_matching) | |
402 | (dwarf2_gdb_index::expand_symtabs_matching) | |
403 | (dwarf2_debug_names_index::expand_symtabs_matching) | |
404 | (dwarf2_debug_names_index::expand_symtabs_matching): Return bool. | |
405 | ||
e357e990 TT |
406 | 2021-04-17 Tom Tromey <tom@tromey.com> |
407 | ||
408 | * quick-symbol.h (enum block_search_flag_values): New. | |
409 | (block_search_flags): New enum flags type. | |
410 | ||
3cbc7ac3 TT |
411 | 2021-04-16 Tom Tromey <tom@tromey.com> |
412 | ||
413 | * rust-parse.c: New file. | |
414 | * rust-exp.y: Remove. | |
415 | * Makefile.in (COMMON_SFILES): Add rust-parse.c. | |
416 | (SFILES): Remove rust-exp.y. | |
417 | (YYFILES, local-maintainer-clean): Remove rust-exp.c. | |
418 | ||
1b6b755e LM |
419 | 2021-04-16 Luis Machado <luis.machado@linaro.org> |
420 | ||
421 | * arch-utils.c (default_floatformat_for_type): Handle bfloat16. | |
422 | ||
c45ecc9d JB |
423 | 2021-04-15 John Baldwin <jhb@FreeBSD.org> |
424 | ||
425 | * fbsd-nat.c (fbsd_lwp_debug_printf, fbsd_nat_debug_printf): New, | |
426 | use throughout file. | |
427 | ||
a15a276b TT |
428 | 2021-04-15 Tom Tromey <tromey@adacore.com> |
429 | ||
430 | * ada-valprint.c (ada_value_print_array): Handle optimized-out | |
431 | arrays. | |
432 | ||
644a2e75 TT |
433 | 2021-04-15 Tom Tromey <tromey@adacore.com> |
434 | ||
435 | * printcmd.c (print_variable_and_value): Use | |
436 | common_val_print_checked. | |
437 | ||
9e5e03df TT |
438 | 2021-04-15 Tom Tromey <tromey@adacore.com> |
439 | ||
440 | * rust-exp.y (rust_parser::convert_ast_to_expression): Update. | |
441 | * parse.c (parser_state::push_symbol, parser_state::push_dollar): | |
442 | Update. | |
443 | * p-exp.y (variable): Update. | |
444 | * m2-exp.y (variable): Update. | |
445 | * go-exp.y (variable): Update. | |
446 | * expprint.c (dump_for_expression): New overload. | |
447 | * expop.h (check_objfile): New overload. | |
448 | (check_constant): New overload. | |
449 | (class var_value_operation): Use block_symbol. | |
450 | <get_symbol>: Rewrite. | |
451 | * eval.c (var_value_operation::evaluate) | |
452 | (var_value_operation::evaluate_funcall) | |
453 | (var_value_operation::evaluate_for_address) | |
454 | (var_value_operation::evaluate_for_address) | |
455 | (var_value_operation::evaluate_with_coercion) | |
456 | (var_value_operation::evaluate_for_sizeof) | |
457 | (var_value_operation::evaluate_for_cast): Update. | |
458 | * d-exp.y (PrimaryExpression): Update. | |
459 | * c-exp.y (variable): Update. | |
460 | * ax-gdb.c (var_value_operation::do_generate_ax): Update. | |
461 | * ada-lang.c (ada_var_value_operation::evaluate_for_cast) | |
462 | (ada_var_value_operation::evaluate) | |
463 | (ada_var_value_operation::resolve) | |
464 | (ada_funcall_operation::resolve): Update. | |
465 | * ada-exp.y (write_var_from_sym, write_object_renaming) | |
466 | (write_ambiguous_var, write_var_or_type, write_name_assoc) | |
467 | (maybe_overload): Update. | |
468 | * ada-exp.h (class ada_var_value_operation) <get_block>: Rewrite. | |
469 | ||
5809fbf2 TT |
470 | 2021-04-15 Tom Tromey <tom@tromey.com> |
471 | Andrew Burgess <andrew.burgess@embecosm.com> | |
472 | ||
473 | * NEWS: Add entry. | |
474 | * main.c (captured_main_1): Call check_quiet_mode. | |
475 | * top.c (startup_quiet): New global. | |
476 | (check_quiet_mode): New function. | |
477 | (show_startup_quiet): New function. | |
478 | (init_main): Register new command. | |
479 | * top.h (check_quiet_mode): Declare. | |
480 | ||
92e4e97a AB |
481 | 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com> |
482 | ||
483 | PR cli/25956 | |
484 | * NEWS: Mention new early init files and command line options. | |
485 | * config.in: Regenerate. | |
486 | * configure: Regenerate. | |
487 | * configure.ac: Define GDBEARLYINIT. | |
488 | * main.c (get_earlyinit_files): New function. | |
489 | (enum cmdarg_kind): Add CMDARG_EARLYINIT_FILE and | |
490 | CMDARG_EARLYINIT_COMMAND. | |
491 | (captured_main_1): Add support for new command line flags, and for | |
492 | processing startup files. | |
493 | (print_gdb_help): Include startup files in the output. | |
494 | ||
54b4dcc5 AB |
495 | 2021-04-15 Andrew Burgess <andrew.burgess@embecosm.com> |
496 | ||
497 | * main.c (relocate_gdbinit_path_maybe_in_datadir): Rename to... | |
498 | (relocate_file_path_maybe_in_datadir): ...this. | |
499 | (class gdb_initfile_finder): New class. | |
500 | (get_init_files): Now uses gdb_initfile_finder. | |
501 | (print_gdb_help): Print 'None found' when there are no init files. | |
502 | ||
34dc0f95 TBA |
503 | 2021-04-14 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> |
504 | ||
505 | * dwarf2/read.c (inherit_abstract_dies): Keep a reference to the | |
506 | corresponding child of the abstract DIE when iterating the | |
507 | children of the concrete DIE. | |
508 | ||
329534fd TV |
509 | 2021-04-13 Tom de Vries <tdevries@suse.de> |
510 | ||
511 | * ui-style.c (read_semi_number, extended_color): Change idx parameter | |
512 | type to regoff_t *. | |
513 | ||
d9d2ef05 LM |
514 | 2021-04-13 Luis Machado <luis.machado@linaro.org> |
515 | ||
516 | * rs6000-tdep.c (ppc_displaced_step_fixup): Use %s to print | |
517 | hex values. | |
518 | ||
c8a37944 WS |
519 | 2021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com> |
520 | ||
521 | * rs6000-tdep.c: Add support for single-stepping of | |
522 | prefixed instructions. | |
523 | ||
b722acca WS |
524 | 2021-04-12 Will Schmidt <will_schmidt@vnet.ibm.com> |
525 | ||
e3d528d7 WS |
526 | PR gdb/27525 |
527 | * gdb/rs6000-tdep.c (ppc_displaced_step_fixup): Update to | |
528 | handle the addpcis/lnia instruction. | |
529 | ||
530 | 2021-04-05 Will Schmidt <will_schmidt@vnet.ibm.com> | |
531 | ||
b722acca WS |
532 | * MAINTAINERS (Write After Approval): Add myself. |
533 | ||
6ba4cb84 CL |
534 | 2021-4-12 Carl Love <cel@us.ibm.com> |
535 | ||
536 | * rs6000-tdep.c (rs6000_builtin_type_vec128): Add t_float128 variable. | |
537 | (rs6000_builtin_type_vec128): Add append_composite_type_field for | |
538 | float128. | |
539 | ||
d4717483 SM |
540 | 2021-04-12 Simon Marchi <simon.marchi@polymtl.ca> |
541 | ||
542 | * nat/windows-nat.c: Remove all code guarded by _WIN32_WCE. | |
543 | * nat/windows-nat.h: Likewise. | |
544 | ||
b3885679 EZ |
545 | 2021-04-10 Eli Zaretskii <eliz@gnu.org> |
546 | ||
547 | * windows-nat.c (windows_nat::handle_load_dll): Call | |
548 | windows_add_dll if get_image_name failed to glean the name of the | |
549 | DLL by using the lpImageName pointer. | |
550 | (windows_add_all_dlls): Now a thin wrapper around windows_add_dll. | |
551 | (windows_add_dll): Now does what windows_add_all_dlls did before, | |
552 | but also accepts an argument LOAD_ADDR, which, if non-NULL, | |
553 | specifies the address where the DLL was loaded into the inferior, | |
554 | and looks for the single DLL loaded at that address. | |
555 | ||
1ef6a596 LM |
556 | 2021-04-09 Luis Machado <luis.machado@linaro.org> |
557 | ||
558 | * nat/aarch64-mte-linux-ptrace.c: Update include file order. | |
559 | ||
83a559f7 DQ |
560 | 2021-04-08 Dominique Quatravaux <dominique.quatravaux@epfl.ch> |
561 | ||
562 | * darwin-nat.c (darwin_nat_target::resume): Remove status | |
563 | variable. | |
564 | ||
16e311ab FW |
565 | 2021-04-08 Felix Willgerodt <felix.willgerodt@intel.com> |
566 | ||
567 | * i386-tdep.c (i386_skip_prologue): Use symbol table to find the | |
568 | prologue end for Intel compilers. | |
569 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
570 | * producer.c (producer_is_icc_ge_19): New function. | |
571 | * producer.h (producer_is_icc_ge_19): New declaration. | |
572 | ||
fbb3bcfc FW |
573 | 2021-04-08 Felix Willgerodt <felix.willgerodt@intel.com> |
574 | ||
575 | * producer.c: (producer_is_icc): Update for new version scheme. | |
576 | (producer_parsing_tests): Update names and expected results. | |
577 | * producer.h: (producer_is_icc): Update comment accordingly. | |
578 | ||
e97007b6 SM |
579 | 2021-04-07 Simon Marchi <simon.marchi@polymtl.ca> |
580 | ||
581 | * target.h (struct target_ops) <follow_fork>: Return void. | |
582 | (target_follow_fork): Likewise. | |
583 | * target.c (default_follow_fork): Likewise. | |
584 | (target_follow_fork): Likewise. | |
585 | * infrun.c (follow_fork_inferior): Adjust. | |
586 | * fbsd-nat.h (class fbsd_nat_target) <follow_fork>: Return void. | |
587 | * fbsd-nat.c (fbsd_nat_target:::follow_fork): Likewise. | |
588 | * linux-nat.h (class linux_nat_target) <follow_fork>: Likewise. | |
589 | * linux-nat.c (linux_nat_target::follow_fork): Return void. | |
590 | * obsd-nat.h (class obsd_nat_target) <follow_fork>: Return void. | |
591 | * obsd-nat.c (obsd_nat_target::follow_fork): Likewise. | |
592 | * remote.c (class remote_target) <follow_fork>: Likewise. | |
593 | (remote_target::follow_fork): Likewise. | |
594 | * target-delegates.c: Re-generate. | |
595 | ||
dc2b480f WP |
596 | 2021-04-07 Weimin Pan <weimin.pan@oracle.com> |
597 | ||
598 | * ctfread.c (fetch_tid_type): New function, use throughout file. | |
599 | (read_forward_type): New function. | |
600 | (read_type_record): Call read_forward_type. | |
601 | ||
0a703a4c AB |
602 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> |
603 | ||
604 | * f-exp.h (class fortran_structop_operation): New class. | |
605 | * f-exp.y (exp): Create fortran_structop_operation instead of the | |
606 | generic structop_operation. | |
607 | * f-lang.c (fortran_undetermined::evaluate): Re-evaluate | |
608 | expression as EVAL_NORMAL if the result type was dynamic so we can | |
609 | extract the actual array bounds. | |
610 | (fortran_structop_operation::evaluate): New function. | |
611 | ||
612 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> | |
613 | ||
614 | * eval.c (evaluate_subexp_standard): Remove | |
615 | EVAL_AVOID_SIDE_EFFECTS handling from STRUCTOP_STRUCT and | |
616 | STRUCTOP_PTR. | |
617 | ||
30ab3586 AB |
618 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> |
619 | ||
620 | * valops.c (value_cast): Call value_deeply_equal before performing | |
621 | any cast. | |
622 | ||
5e18990f AB |
623 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> |
624 | ||
625 | * gdbtypes.c (types_equal): Move pointer equality check earlier in | |
626 | the function. | |
627 | ||
56d467f4 CT |
628 | 2021-04-07 Caroline Tice <cmtice@google.com> |
629 | ||
630 | * dwarf2/read.c (try_open_dwop_file): Add path for the binary to | |
631 | the search paths used resolve relative location of .dwo file. | |
632 | ||
1fd999d9 AB |
633 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> |
634 | ||
635 | * dwarf2/section.c (dwarf2_section_info::get_bfd_owner): Add an | |
636 | assert. | |
637 | (dwarf2_section_info::get_file_name): Add an assert. | |
638 | (dwarf2_section_info::read_string): Display a minimal, sane error | |
639 | when the dwarf2_section_info is not associated with a bfd section. | |
640 | ||
79c02443 AB |
641 | 2021-04-07 Andrew Burgess <andrew.burgess@embecosm.com> |
642 | ||
643 | * top.c (staged_gdb_datadir): Update comment. | |
644 | (set_gdb_datadir): Copy the value of gdb_datadir back into | |
645 | staged_datadir. | |
646 | (init_main): Initialise staged_gdb_datadir. | |
647 | ||
340d00fb TV |
648 | 2021-04-06 Tom de Vries <tdevries@suse.de> |
649 | ||
650 | PR breakpoints/25884 | |
651 | * infcmd.c (prepare_one_step): Using inline frame info to narrow | |
652 | stepping range. | |
653 | ||
d811a7cf TV |
654 | 2021-04-06 Tom de Vries <tdevries@suse.de> |
655 | ||
656 | PR tui/27680 | |
657 | * tui/tui-disasm.c (len_without_escapes): Pass ptr pointing at escape | |
658 | to style.parse. | |
659 | ||
306b445a SM |
660 | 2021-04-04 Simon Marchi <simon.marchi@polymtl.ca> |
661 | ||
662 | * avr-tdep.c (avr_frame_unwind_cache): Use | |
663 | trad_frame_saved_reg::is_addr. | |
664 | ||
9161c89a SM |
665 | 2021-04-02 Simon Marchi <simon.marchi@polymtl.ca> |
666 | ||
667 | * objfiles.c (get_objfile_bfd_data): Remove objfile parameter, | |
668 | adjust callers. | |
669 | ||
0072c873 SM |
670 | 2021-04-02 Simon Marchi <simon.marchi@polymtl.ca> |
671 | ||
672 | * psympriv.h (struct partial_symtab) <partial_symtab>: Change | |
673 | objfile parameter for objfile_per_bfd_storage, adjust callers. | |
674 | (struct standard_psymtab) <standard_psymtab>: Likewise. | |
675 | (struct legacy_psymtab) <legacy_psymtab>: Likewise. | |
676 | * psymtab.c (partial_symtab::partial_symtab): Likewise. | |
677 | * ctfread.c (struct ctf_psymtab): Likewise. | |
678 | * dwarf2/read.h (struct dwarf2_psymtab): Likewise. | |
679 | * dwarf2/read.c (struct dwarf2_include_psymtab): Likewise. | |
680 | (dwarf2_create_include_psymtab): Likewise. | |
681 | * objfiles.h (struct objfile_per_bfd_storage) | |
682 | <objfile_per_bfd_storage>: Add bfd parameter, adjust callers. | |
683 | <get_bfd>: New method. | |
684 | <m_bfd>: New field. | |
685 | * objfiles.c (get_objfile_bfd_data): Adjust. | |
686 | ||
9984dd99 SM |
687 | 2021-04-02 Simon Marchi <simon.marchi@polymtl.ca> |
688 | ||
689 | * psymtab.c (partial_symtab::partial_symtab): Change | |
690 | last_objfile_name to be an std::string. | |
691 | * symfile.c (allocate_symtab): Likewise. | |
692 | ||
4a4f97c1 SM |
693 | 2021-04-02 Simon Marchi <simon.marchi@polymtl.ca> |
694 | ||
695 | * objfiles.h (struct objfile_per_bfd_storage) <intern>: New | |
696 | methods. | |
697 | (struct objfile) <intern>: Use | |
698 | objfile::objfile_per_bfd_storage::intern. | |
699 | ||
0672875f SM |
700 | 2021-04-01 Simon Marchi <simon.marchi@efficios.com> |
701 | ||
702 | * gdbtypes.h (TYPE_FLAG_ENUM): Remove, replace all uses | |
703 | with type::is_flag_enum. | |
704 | ||
9902b327 SM |
705 | 2021-04-01 Simon Marchi <simon.marchi@efficios.com> |
706 | ||
707 | * gdbtypes.h (struct type) <is_flag_enum, | |
708 | set_is_flag_enum>: New methods. | |
709 | (TYPE_FLAG_ENUM): Use type::is_flag_enum, change all | |
710 | write call sites to use type::set_is_flag_enum. | |
711 | ||
3bc440a2 SM |
712 | 2021-04-01 Simon Marchi <simon.marchi@efficios.com> |
713 | ||
714 | * gdbtypes.h (TYPE_DECLARED_CLASS): Remove, replace all uses | |
715 | with type::is_declared_class. | |
716 | ||
aa70e35c SM |
717 | 2021-04-01 Simon Marchi <simon.marchi@efficios.com> |
718 | ||
719 | * gdbtypes.h (struct type) <is_declared_class, | |
720 | set_is_declared_class>: New methods. | |
721 | (TYPE_DECLARED_CLASS): Use type::is_declared_class, change all | |
722 | write call sites to use type::set_is_declared_class. | |
723 | ||
bfb9f5dc BS |
724 | 2021-02-28 Boris Staletic <boris.staletic@gmail.com> |
725 | ||
726 | * gdb/python/lib/gdb/__init__.py: Use importlib on python 3.4+ | |
727 | to avoid deprecation warnings. | |
728 | ||
733f5eea ML |
729 | 2021-04-01 Martin Liska <mliska@suse.cz> |
730 | ||
731 | * cp-name-parser.y: Use startswith instead of strncmp. | |
732 | * m2-exp.y: Likewise. | |
733 | * macroexp.c (substitute_args): Likewise. | |
734 | * mi/mi-main.c (command_notifies_uscc_observer): Likewise. | |
735 | * rust-exp.y: Likewise. | |
736 | ||
af82f89d TT |
737 | 2021-03-31 Tom Tromey <tom@tromey.com> |
738 | ||
739 | * dwarf2/read.c (dwarf2_gdb_index::map_matching_symbols): Merge | |
740 | with dw2_map_matching_symbols. | |
741 | (dwarf2_gdb_index::expand_symtabs_matching): Merge with | |
742 | dw2_expand_symtabs_matching. | |
743 | ||
3570682a TT |
744 | 2021-03-31 Tom Tromey <tromey@adacore.com> |
745 | ||
746 | * dwarf2/stringify.h: Fix typo. | |
747 | ||
8a91fbdf SM |
748 | 2021-03-30 Simon Marchi <simon.marchi@polymtl.ca> |
749 | ||
750 | PR gdb/27541 | |
751 | * dwarf2/read.c (dwarf2_has_info): Don't share dwarf2_per_bfd | |
752 | with objfiles using READNOW. | |
753 | ||
9f67fc59 TT |
754 | 2021-03-29 Tom Tromey <tromey@adacore.com> |
755 | ||
756 | * top.c (check_frame_language_change): Update. | |
757 | * language.c (language_info): Remove parameter. | |
758 | * language.h (language_info): Remove parameter. | |
759 | ||
9b8ffbf4 LM |
760 | 2021-03-29 Luis Machado <luis.machado@linaro.org> |
761 | ||
762 | * compile/compile.c (get_args): Don't add empty argv entries. | |
763 | ||
25b48839 RO |
764 | 2021-03-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
765 | ||
766 | gdb: | |
767 | * procfs.c (procfs_target::attach): Define inf. | |
768 | Use it. | |
769 | (procfs_target::create_inferior): Likewise. | |
770 | ||
edc02ceb TT |
771 | 2021-03-28 Tom Tromey <tom@tromey.com> |
772 | ||
773 | * elfread.c (can_lazily_read_symbols): Move to dwarf2/read.c. | |
774 | (elf_symfile_read): Simplify. | |
775 | * dwarf2/read.c (struct lazy_dwarf_reader): Move from elfread.c. | |
776 | (make_lazy_dwarf_reader): New function. | |
777 | (make_dwarf_gdb_index, make_dwarf_debug_names): Now static. | |
778 | (dwarf2_initialize_objfile): Return void. Remove index_kind | |
779 | parameter. Push on 'qf' list. | |
780 | * dwarf2/public.h (dwarf2_initialize_objfile): Change return | |
781 | type. Remove 'index_kind' parameter. | |
782 | (make_dwarf_gdb_index, make_dwarf_debug_names): Don't declare. | |
783 | ||
6e23d91a TT |
784 | 2021-03-27 Tom Tromey <tom@tromey.com> |
785 | ||
786 | * elfread.c (elf_sym_fns_lazy_psyms): Don't declare. | |
787 | ||
594b8948 TT |
788 | 2021-03-27 Tom Tromey <tom@tromey.com> |
789 | ||
790 | * elfread.c (elf_symfile_read): Don't clear 'qf'. | |
791 | ||
efe1ecd8 LS |
792 | 2021-03-26 Lancelot Six <lsix@lancelotsix.com> |
793 | ||
794 | * contrib/gdb-add-index.sh: Avoid variable shadowing and get | |
795 | rid of 'local'. | |
796 | ||
f4655dee TT |
797 | 2021-03-26 Tom Tromey <tom@tromey.com> |
798 | ||
799 | * symtab.c (struct output_source_filename_data): Add 'output' | |
800 | method and operator(). | |
801 | (output_source_filename_data::output): Rename from | |
802 | output_source_filename. | |
803 | (output_partial_symbol_filename): Remove. | |
804 | (info_sources_command): Update. | |
805 | (struct add_partial_filename_data): Add operator(). | |
806 | (add_partial_filename_data::operator()): Rename from | |
807 | maybe_add_partial_symtab_filename. | |
808 | (make_source_files_completion_list): Update. | |
809 | * symfile.c (quick_symbol_functions): Update. | |
810 | * symfile-debug.c (objfile::map_symbol_filenames): Update. | |
811 | * quick-symbol.h (symbol_filename_ftype): Change type of 'fun' and | |
812 | 'need_fullname'. Remove 'data' parameter. | |
813 | (struct quick_symbol_functions) <map_symbol_filenames>: Likewise. | |
814 | * psymtab.c (psymbol_functions::map_symbol_filenames): Update. | |
815 | * psympriv.h (struct psymbol_functions) <map_symbol_filenames>: | |
816 | Change type of 'fun' and 'need_fullname'. Remove 'data' | |
817 | parameter. | |
818 | * objfiles.h (struct objfile) <map_symbol_filenames>: Change type | |
819 | of 'fun' and 'need_fullname'. Remove 'data' parameter. | |
820 | * mi/mi-cmd-file.c (print_partial_file_name): Remove 'ignore' | |
821 | parameter. | |
822 | (mi_cmd_file_list_exec_source_files): Update. | |
823 | * dwarf2/read.c | |
824 | (dwarf2_base_index_functions::map_symbol_filenames): Update. | |
825 | ||
2315bb2d TT |
826 | 2021-03-26 Tom Tromey <tom@tromey.com> |
827 | ||
828 | * ada-lang.c (struct match_data): Add operator(). | |
829 | (match_data::operator()): Rename from aux_add_nonlocal_symbols. | |
830 | (callback): Remove 'callback'. | |
831 | ||
e2cd5ca4 TT |
832 | 2021-03-26 Tom Tromey <tom@tromey.com> |
833 | ||
834 | * psymtab.c (psymbol_functions::expand_symtabs_matching): Only | |
835 | call make_ignore_params once. | |
836 | ||
cd43f63e TT |
837 | 2021-03-26 Tom Tromey <tom@tromey.com> |
838 | ||
839 | * psymtab.c (psymbol_functions::expand_symtabs_matching): Remove | |
840 | "user" check. | |
841 | ||
b4b1a226 SM |
842 | 2021-03-26 Simon Marchi <simon.marchi@efficios.com> |
843 | Pedro Alves <pedro@palves.net> | |
844 | ||
845 | * async-event.c: Include "infrun.h". | |
846 | (async_event_handler_marked): New. | |
847 | * async-event.h (async_event_handler_marked): Declare. | |
848 | * infrun.c (maybe_set_commit_resumed_all_targets): Switch to | |
849 | inferior before calling target method. Don't commit-resumed if | |
850 | target_has_pending_events is true. | |
851 | * remote.c (remote_target::has_pending_events): New. | |
852 | * target-delegates.c: Regenerate. | |
853 | * target.c (target_has_pending_events): New. | |
854 | * target.h (target_ops::has_pending_events): New target method. | |
855 | (target_has_pending_events): New. | |
856 | ||
1192f124 SM |
857 | 2021-03-26 Simon Marchi <simon.marchi@efficios.com> |
858 | Pedro Alves <pedro@palves.net> | |
859 | ||
860 | * infcmd.c (run_command_1, attach_command, detach_command) | |
861 | (interrupt_target_1): Use scoped_disable_commit_resumed. | |
862 | * infrun.c (do_target_resume): Remove | |
863 | target_commit_resume call. | |
864 | (commit_resume_all_targets): Remove. | |
865 | (maybe_set_commit_resumed_all_targets): New. | |
866 | (maybe_call_commit_resumed_all_targets): New. | |
867 | (enable_commit_resumed): New. | |
868 | (scoped_disable_commit_resumed::scoped_disable_commit_resumed) | |
869 | (scoped_disable_commit_resumed::~scoped_disable_commit_resumed) | |
870 | (scoped_disable_commit_resumed::reset) | |
871 | (scoped_disable_commit_resumed::reset_and_commit) | |
872 | (scoped_enable_commit_resumed::scoped_enable_commit_resumed) | |
873 | (scoped_enable_commit_resumed::~scoped_enable_commit_resumed): | |
874 | New. | |
875 | (proceed): Use scoped_disable_commit_resumed and | |
876 | maybe_call_commit_resumed_all_targets. | |
877 | (fetch_inferior_event): Use scoped_disable_commit_resumed. | |
878 | * infrun.h (struct scoped_disable_commit_resumed): New. | |
879 | (maybe_call_commit_resumed_all_process_targets): New. | |
880 | (struct scoped_enable_commit_resumed): New. | |
881 | * mi/mi-main.c (exec_continue): Use scoped_disable_commit_resumed. | |
882 | * process-stratum-target.h (class process_stratum_target): | |
883 | <commit_resumed_state>: New. | |
884 | * record-full.c (record_full_wait_1): Change commit_resumed_state | |
885 | around calling commit_resumed. | |
886 | * remote.c (class remote_target) <commit_resume>: Rename to... | |
887 | <commit_resumed>: ... this. | |
888 | (struct stop_reply): Move up. | |
889 | (remote_target::commit_resume): Rename to... | |
890 | (remote_target::commit_resumed): ... this. Check if there is any | |
891 | thread pending vCont resume. | |
892 | (remote_target::remote_stop_ns): Generate stop replies for resumed | |
893 | but pending vCont threads. | |
894 | (remote_target::wait_ns): Add gdb_assert. | |
895 | * target-delegates.c: Regenerate. | |
896 | * target.c (target_wait, target_resume): Assert that the current | |
897 | process_stratum target isn't in commit-resumed state. | |
898 | (defer_target_commit_resume): Remove. | |
899 | (target_commit_resume): Remove. | |
900 | (target_commit_resumed): New. | |
901 | (make_scoped_defer_target_commit_resume): Remove. | |
902 | (target_stop): Assert that the current process_stratum target | |
903 | isn't in commit-resumed state. | |
904 | * target.h (struct target_ops) <commit_resume>: Rename to ... | |
905 | <commit_resumed>: ... this. | |
906 | (target_commit_resume): Remove. | |
907 | (target_commit_resumed): New. | |
908 | (make_scoped_defer_target_commit_resume): Remove. | |
909 | * top.c (wait_sync_command_done): Use | |
910 | scoped_enable_commit_resumed. | |
911 | ||
e5b9b39f PA |
912 | 2021-03-26 Pedro Alves <pedro@palves.net> |
913 | ||
914 | * target.c (target_always_non_stop_p): Also check whether the | |
915 | target can async. | |
916 | ||
bab287cd TT |
917 | 2021-03-26 Tom Tromey <tom@tromey.com> |
918 | ||
919 | * dwarf2/read.c (dwarf2_read_debug_names) | |
920 | (dwarf2_build_psymtabs_hard, create_addrmap_from_aranges) | |
921 | (dw2_debug_names_iterator::next, create_type_unit_group): | |
922 | Simplify. | |
923 | ||
eff4f69d PA |
924 | 2021-03-25 Pedro Alves <pedro@palves.net> |
925 | ||
926 | * gdb.server/bkpt-other-inferior.exp: Only enable remote output | |
927 | around setting the breakpoint. | |
928 | ||
323fd5b9 PA |
929 | 2021-03-25 Pedro Alves <pedro@palves.net> |
930 | ||
931 | * remote.c | |
932 | (remote_target::check_pending_events_prevent_wildcard_vcont): | |
933 | Check whether the event's ptid is not null_ptid before looking up | |
934 | the corresponding inferior. | |
935 | ||
d3cbca38 CD |
936 | 2021-03-24 Changbin Du <changbin.du@gmail.com> |
937 | ||
938 | * riscv-tdep.c (riscv_breakpoint_kind_from_pc): Remove call to | |
939 | read_code. | |
940 | ||
328d42d8 SM |
941 | 2021-03-24 Simon Marchi <simon.marchi@polymtl.ca> |
942 | ||
943 | * target.h (current_top_target): Remove, make callers use the | |
944 | current inferior instead. | |
945 | * target.c (current_top_target): Remove. | |
946 | ||
d777bf0d SM |
947 | 2021-03-24 Simon Marchi <simon.marchi@polymtl.ca> |
948 | ||
949 | * target.h (target_shortname): Change to function declaration. | |
950 | (target_longname): Likewise. | |
951 | (target_attach_no_wait): Likewise. | |
952 | (target_post_attach): Likewise. | |
953 | (target_prepare_to_store): Likewise. | |
954 | (target_supports_enable_disable_tracepoint): Likewise. | |
955 | (target_supports_string_tracing): Likewise. | |
956 | (target_supports_evaluation_of_breakpoint_conditions): Likewise. | |
957 | (target_supports_dumpcore): Likewise. | |
958 | (target_dumpcore): Likewise. | |
959 | (target_can_run_breakpoint_commands): Likewise. | |
960 | (target_files_info): Likewise. | |
961 | (target_post_startup_inferior): Likewise. | |
962 | (target_insert_fork_catchpoint): Likewise. | |
963 | (target_remove_fork_catchpoint): Likewise. | |
964 | (target_insert_vfork_catchpoint): Likewise. | |
965 | (target_remove_vfork_catchpoint): Likewise. | |
966 | (target_insert_exec_catchpoint): Likewise. | |
967 | (target_remove_exec_catchpoint): Likewise. | |
968 | (target_set_syscall_catchpoint): Likewise. | |
969 | (target_rcmd): Likewise. | |
970 | (target_can_lock_scheduler): Likewise. | |
971 | (target_can_async_p): Likewise. | |
972 | (target_is_async_p): Likewise. | |
973 | (target_execution_direction): Likewise. | |
974 | (target_extra_thread_info): Likewise. | |
975 | (target_pid_to_exec_file): Likewise. | |
976 | (target_thread_architecture): Likewise. | |
977 | (target_find_memory_regions): Likewise. | |
978 | (target_make_corefile_notes): Likewise. | |
979 | (target_get_bookmark): Likewise. | |
980 | (target_goto_bookmark): Likewise. | |
981 | (target_stopped_by_watchpoint): Likewise. | |
982 | (target_stopped_by_sw_breakpoint): Likewise. | |
983 | (target_supports_stopped_by_sw_breakpoint): Likewise. | |
984 | (target_stopped_by_hw_breakpoint): Likewise. | |
985 | (target_supports_stopped_by_hw_breakpoint): Likewise. | |
986 | (target_have_steppable_watchpoint): Likewise. | |
987 | (target_can_use_hardware_watchpoint): Likewise. | |
988 | (target_region_ok_for_hw_watchpoint): Likewise. | |
989 | (target_can_do_single_step): Likewise. | |
990 | (target_insert_watchpoint): Likewise. | |
991 | (target_remove_watchpoint): Likewise. | |
992 | (target_insert_hw_breakpoint): Likewise. | |
993 | (target_remove_hw_breakpoint): Likewise. | |
994 | (target_can_accel_watchpoint_condition): Likewise. | |
995 | (target_can_execute_reverse): Likewise. | |
996 | (target_get_ada_task_ptid): Likewise. | |
997 | (target_filesystem_is_local): Likewise. | |
998 | (target_trace_init): Likewise. | |
999 | (target_download_tracepoint): Likewise. | |
1000 | (target_can_download_tracepoint): Likewise. | |
1001 | (target_download_trace_state_variable): Likewise. | |
1002 | (target_enable_tracepoint): Likewise. | |
1003 | (target_disable_tracepoint): Likewise. | |
1004 | (target_trace_start): Likewise. | |
1005 | (target_trace_set_readonly_regions): Likewise. | |
1006 | (target_get_trace_status): Likewise. | |
1007 | (target_get_tracepoint_status): Likewise. | |
1008 | (target_trace_stop): Likewise. | |
1009 | (target_trace_find): Likewise. | |
1010 | (target_get_trace_state_variable_value): Likewise. | |
1011 | (target_save_trace_data): Likewise. | |
1012 | (target_upload_tracepoints): Likewise. | |
1013 | (target_upload_trace_state_variables): Likewise. | |
1014 | (target_get_raw_trace_data): Likewise. | |
1015 | (target_get_min_fast_tracepoint_insn_len): Likewise. | |
1016 | (target_set_disconnected_tracing): Likewise. | |
1017 | (target_set_circular_trace_buffer): Likewise. | |
1018 | (target_set_trace_buffer_size): Likewise. | |
1019 | (target_set_trace_notes): Likewise. | |
1020 | (target_get_tib_address): Likewise. | |
1021 | (target_set_permissions): Likewise. | |
1022 | (target_static_tracepoint_marker_at): Likewise. | |
1023 | (target_static_tracepoint_markers_by_strid): Likewise. | |
1024 | (target_traceframe_info): Likewise. | |
1025 | (target_use_agent): Likewise. | |
1026 | (target_can_use_agent): Likewise. | |
1027 | (target_augmented_libraries_svr4_read): Likewise. | |
1028 | (target_log_command): Likewise. | |
1029 | * target.c (target_shortname): New. | |
1030 | (target_longname): New. | |
1031 | (target_attach_no_wait): New. | |
1032 | (target_post_attach): New. | |
1033 | (target_prepare_to_store): New. | |
1034 | (target_supports_enable_disable_tracepoint): New. | |
1035 | (target_supports_string_tracing): New. | |
1036 | (target_supports_evaluation_of_breakpoint_conditions): New. | |
1037 | (target_supports_dumpcore): New. | |
1038 | (target_dumpcore): New. | |
1039 | (target_can_run_breakpoint_commands): New. | |
1040 | (target_files_info): New. | |
1041 | (target_post_startup_inferior): New. | |
1042 | (target_insert_fork_catchpoint): New. | |
1043 | (target_remove_fork_catchpoint): New. | |
1044 | (target_insert_vfork_catchpoint): New. | |
1045 | (target_remove_vfork_catchpoint): New. | |
1046 | (target_insert_exec_catchpoint): New. | |
1047 | (target_remove_exec_catchpoint): New. | |
1048 | (target_set_syscall_catchpoint): New. | |
1049 | (target_rcmd): New. | |
1050 | (target_can_lock_scheduler): New. | |
1051 | (target_can_async_p): New. | |
1052 | (target_is_async_p): New. | |
1053 | (target_execution_direction): New. | |
1054 | (target_extra_thread_info): New. | |
1055 | (target_pid_to_exec_file): New. | |
1056 | (target_thread_architecture): New. | |
1057 | (target_find_memory_regions): New. | |
1058 | (target_make_corefile_notes): New. | |
1059 | (target_get_bookmark): New. | |
1060 | (target_goto_bookmark): New. | |
1061 | (target_stopped_by_watchpoint): New. | |
1062 | (target_stopped_by_sw_breakpoint): New. | |
1063 | (target_supports_stopped_by_sw_breakpoint): New. | |
1064 | (target_stopped_by_hw_breakpoint): New. | |
1065 | (target_supports_stopped_by_hw_breakpoint): New. | |
1066 | (target_have_steppable_watchpoint): New. | |
1067 | (target_can_use_hardware_watchpoint): New. | |
1068 | (target_region_ok_for_hw_watchpoint): New. | |
1069 | (target_can_do_single_step): New. | |
1070 | (target_insert_watchpoint): New. | |
1071 | (target_remove_watchpoint): New. | |
1072 | (target_insert_hw_breakpoint): New. | |
1073 | (target_remove_hw_breakpoint): New. | |
1074 | (target_can_accel_watchpoint_condition): New. | |
1075 | (target_can_execute_reverse): New. | |
1076 | (target_get_ada_task_ptid): New. | |
1077 | (target_filesystem_is_local): New. | |
1078 | (target_trace_init): New. | |
1079 | (target_download_tracepoint): New. | |
1080 | (target_can_download_tracepoint): New. | |
1081 | (target_download_trace_state_variable): New. | |
1082 | (target_enable_tracepoint): New. | |
1083 | (target_disable_tracepoint): New. | |
1084 | (target_trace_start): New. | |
1085 | (target_trace_set_readonly_regions): New. | |
1086 | (target_get_trace_status): New. | |
1087 | (target_get_tracepoint_status): New. | |
1088 | (target_trace_stop): New. | |
1089 | (target_trace_find): New. | |
1090 | (target_get_trace_state_variable_value): New. | |
1091 | (target_save_trace_data): New. | |
1092 | (target_upload_tracepoints): New. | |
1093 | (target_upload_trace_state_variables): New. | |
1094 | (target_get_raw_trace_data): New. | |
1095 | (target_get_min_fast_tracepoint_insn_len): New. | |
1096 | (target_set_disconnected_tracing): New. | |
1097 | (target_set_circular_trace_buffer): New. | |
1098 | (target_set_trace_buffer_size): New. | |
1099 | (target_set_trace_notes): New. | |
1100 | (target_get_tib_address): New. | |
1101 | (target_set_permissions): New. | |
1102 | (target_static_tracepoint_marker_at): New. | |
1103 | (target_static_tracepoint_markers_by_strid): New. | |
1104 | (target_traceframe_info): New. | |
1105 | (target_use_agent): New. | |
1106 | (target_can_use_agent): New. | |
1107 | (target_augmented_libraries_svr4_read): New. | |
1108 | (target_log_command): New. | |
1109 | * bfin-tdep.c (bfin_sw_breakpoint_from_kind): Adjust. | |
1110 | * infrun.c (set_schedlock_func): Adjust. | |
1111 | * mi/mi-main.c (exec_reverse_continue): Adjust. | |
1112 | * reverse.c (exec_reverse_once): Adjust. | |
1113 | * sh-tdep.c (sh_sw_breakpoint_from_kind): Adjust. | |
1114 | * tui/tui-stack.c (tui_locator_window::make_status_line): Adjust. | |
1115 | * remote-sim.c (gdbsim_target::detach): Adjust. | |
1116 | (gdbsim_target::files_info): Adjust. | |
1117 | ||
b64f703b TT |
1118 | 2021-03-24 Tom Tromey <tom@tromey.com> |
1119 | ||
1120 | * dwarf2/read.c (dw2_map_matching_symbols): Update. | |
1121 | (dw2_expand_symtabs_matching_symbol): Remove 'kind' parameter. | |
1122 | (check_match, dw2_expand_symtabs_matching) | |
1123 | (dwarf2_debug_names_index::map_matching_symbols) | |
1124 | (dwarf2_debug_names_index::expand_symtabs_matching): Update. | |
1125 | ||
68f115f8 KS |
1126 | 2021-03-24 Keith Seitz <keiths@redhat.com> |
1127 | ||
1128 | * compile/compile-cplus-types.c | |
1129 | (compile_cplus_convert_struct_or_union): Fix TYPE_DECLARED_CLASS | |
1130 | thinko. | |
1131 | ||
41c0087b SM |
1132 | 2021-03-24 Simon Marchi <simon.marchi@polymtl.ca> |
1133 | ||
1134 | * gdbarch.sh (gdbarch_data_registry): Make static. | |
1135 | * gdbarch.c: Re-generate. | |
1136 | ||
ce192338 LM |
1137 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1138 | ||
1139 | * NEWS: Mention memory tagging changes. | |
1140 | ||
bef382e6 LM |
1141 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1142 | ||
1143 | * printcmd.c (decode_format): Handle the 'm' modifier. | |
1144 | (do_examine): Display allocation tags when required/supported. | |
1145 | (should_validate_memtags): New function. | |
1146 | (print_command_1): Display memory tag mismatches. | |
1147 | * valprint.c (show_memory_tag_violations): New function. | |
1148 | (value_print_option_defs): Add new option "memory-tag-violations". | |
1149 | (user_print_options) <memory_tag_violations>: Initialize to 1. | |
1150 | * valprint.h (struct format_data) <print_tags>: New field. | |
1151 | (value_print_options) <memory_tag_violations>: New field. | |
1152 | ||
48136e00 LM |
1153 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1154 | ||
1155 | * printcmd.c: Include gdbsupport/rsp-low.h. | |
1156 | (memory_tag_list): New static global. | |
1157 | (process_print_command_args): Factored out of | |
1158 | print_command_1. | |
1159 | (print_command_1): Use process_print_command_args. | |
1160 | (show_addr_not_tagged, show_memory_tagging_unsupported) | |
1161 | (memory_tag_command, memory_tag_print_tag_command) | |
1162 | (memory_tag_print_logical_tag_command) | |
1163 | (memory_tag_print_allocation_tag_command, parse_with_logical_tag_input) | |
1164 | (memory_tag_with_logical_tag_command, parse_set_allocation_tag_input) | |
1165 | (memory_tag_set_allocation_tag_command, memory_tag_check_command): New | |
1166 | functions. | |
1167 | (_initialize_printcmd): Add "memory-tag" prefix and subcommands. | |
1168 | ||
ffcc2a15 LM |
1169 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1170 | ||
1171 | * aarch64-linux-tdep.c | |
1172 | (aarch64_linux_iterate_over_regset_sections): Handle MTE register set. | |
1173 | * aarch64-linux-tdep.h (AARCH64_LINUX_SIZEOF_MTE_REGSET): Define. | |
1174 | ||
cf44c9fa LM |
1175 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1176 | ||
1177 | * aarch64-linux-tdep.c | |
1178 | (aarch64_linux_report_signal_info): New function. | |
1179 | (aarch64_linux_init_abi): Register | |
1180 | aarch64_linux_report_signal_info as the report_signal_info hook. | |
1181 | * arch/aarch64-linux.h (SEGV_MTEAERR): Define. | |
1182 | (SEGV_MTESERR): Define. | |
1183 | ||
b4a7d4fc LM |
1184 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1185 | ||
1186 | * aarch64-linux-tdep.c: Include gdbsupport/selftest.h. | |
1187 | (aarch64_linux_ltag_tests): New function. | |
1188 | (_initialize_aarch64_linux_tdep): Register aarch64_linux_ltag_tests. | |
1189 | ||
c7782e50 LM |
1190 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1191 | ||
1192 | * aarch64-linux-tdep.c: Include target.h, arch-utils.h, value.h. | |
1193 | (aarch64_mte_get_atag, aarch64_linux_tagged_address_p) | |
1194 | (aarch64_linux_memtag_mismatch_p, aarch64_linux_set_memtags) | |
1195 | (aarch64_linux_get_memtag, aarch64_linux_memtag_to_string): New | |
1196 | functions. | |
1197 | (aarch64_linux_init_abi): Initialize MTE-related gdbarch hooks. | |
1198 | * arch/aarch64-mte-linux.c (aarch64_mte_make_ltag_bits) | |
1199 | (aarch64_mte_make_ltag, aarch64_linux_set_ltag) | |
1200 | (aarch64_linux_get_ltag): New functions. | |
1201 | * arch/aarch64-mte-linux.h (AARCH64_MTE_LOGICAL_TAG_START_BIT) | |
1202 | (AARCH64_MTE_LOGICAL_MAX_VALUE): Define. | |
1203 | (aarch64_mte_make_ltag_bits, aarch64_mte_make_ltag) | |
1204 | (aarch64_mte_set_ltag, aarch64_mte_get_ltag): New prototypes. | |
1205 | ||
1e735120 LM |
1206 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1207 | ||
1208 | * linux-tdep.c (struct smaps_vmflags) <memory_tagging>: New flag | |
1209 | bit. | |
1210 | (struct smaps_data): New struct. | |
1211 | (decode_vmflags): Handle the 'mt' flag. | |
1212 | (parse_smaps_data): New function, refactored from | |
1213 | linux_find_memory_regions_full. | |
1214 | (linux_address_in_memtag_page): New function. | |
1215 | (linux_find_memory_regions_full): Refactor into parse_smaps_data. | |
1216 | * linux-tdep.h (linux_address_in_memtag_page): New prototype. | |
1217 | ||
93e447c6 LM |
1218 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1219 | ||
1220 | * linux-tdep.c (linux_find_memory_regions_full): Use std::string | |
1221 | instead of char arrays. | |
1222 | ||
4601818e LM |
1223 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1224 | ||
1225 | * Makefile.in (ALL_64_TARGET_OBS): Add arch/aarch64-mte-linux.o. | |
1226 | (HFILES_NO_SRCDIR): Add arch/aarch64-mte-linux.h and | |
1227 | nat/aarch64-mte-linux-ptrace.h. | |
1228 | * aarch64-linux-nat.c: Include nat/aarch64-mte-linux-ptrace.h. | |
1229 | (aarch64_linux_nat_target) <supports_memory_tagging>: New method | |
1230 | override. | |
1231 | <fetch_memtags>: New method override. | |
1232 | <store_memtags>: New method override. | |
1233 | (aarch64_linux_nat_target::supports_memory_tagging): New method. | |
1234 | (aarch64_linux_nat_target::fetch_memtags): New method. | |
1235 | (aarch64_linux_nat_target::store_memtags): New method. | |
1236 | * arch/aarch64-mte-linux.c: New file. | |
1237 | * arch/aarch64-mte-linux.h: Include gdbsupport/common-defs.h. | |
1238 | (AARCH64_MTE_GRANULE_SIZE): Define. | |
1239 | (aarch64_memtag_type): New enum. | |
1240 | (aarch64_mte_get_tag_granules): New prototype. | |
1241 | * configure.nat (NATDEPFILES): Add nat/aarch64-mte-linux-ptrace.o. | |
1242 | * configure.tgt (aarch64*-*-linux*): Add arch/aarch64-mte-linux.o. | |
1243 | * nat/aarch64-mte-linux-ptrace.c: New file. | |
1244 | * nat/aarch64-mte-linux-ptrace.h: New file. | |
1245 | ||
3f3bd8b8 LM |
1246 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1247 | ||
1248 | * Makefile.in (HFILES_NO_SRCDIR): Add nat/aarch64-mte-linux-ptrace.h. | |
1249 | * nat/aarch64-mte-linux-ptrace.h: New file. | |
1250 | ||
5e984dbf LM |
1251 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1252 | ||
1253 | * aarch64-linux-nat.c (fetch_mteregs_from_thread): New function. | |
1254 | (store_mteregs_to_thread): New function. | |
1255 | (aarch64_linux_nat_target::fetch_registers): Update to call | |
1256 | fetch_mteregs_from_thread. | |
1257 | (aarch64_linux_nat_target::store_registers): Update to call | |
1258 | store_mteregs_to_thread. | |
1259 | * aarch64-tdep.c (aarch64_mte_register_names): New struct. | |
1260 | (aarch64_cannot_store_register): Handle MTE registers. | |
1261 | (aarch64_gdbarch_init): Initialize and setup MTE registers. | |
1262 | * aarch64-tdep.h (gdbarch_tdep) <mte_reg_base>: New field. | |
1263 | <has_mte>: New method. | |
1264 | * arch/aarch64-linux.h (AARCH64_LINUX_SIZEOF_MTE): Define. | |
1265 | ||
c1bd443b LM |
1266 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1267 | ||
1268 | * aarch64-linux-nat.c | |
1269 | (aarch64_linux_nat_target::read_description): Take MTE flag into | |
1270 | account. | |
1271 | Slight refactor to hwcap flag checking. | |
1272 | * aarch64-linux-tdep.c | |
1273 | (aarch64_linux_core_read_description): Likewise. | |
1274 | * aarch64-tdep.c (tdesc_aarch64_list): Add one more dimension for | |
1275 | MTE. | |
1276 | (aarch64_read_description): Add mte_p parameter and update to use it. | |
1277 | Update the documentation. | |
1278 | (aarch64_gdbarch_init): Update call to aarch64_read_description. | |
1279 | * aarch64-tdep.h (aarch64_read_description): Add mte_p parameter. | |
1280 | * arch/aarch64.c: Include ../features/aarch64-mte.c. | |
1281 | (aarch64_create_target_description): Add mte_p parameter and update | |
1282 | the code to use it. | |
1283 | * arch/aarch64.h (aarch64_create_target_description): Add mte_p | |
1284 | parameter. | |
1285 | * features/Makefile (FEATURE_XMLFILES): Add aarch64-mte.xml. | |
1286 | * features/aarch64-mte.c: New file, generated. | |
1287 | * features/aarch64-mte.xml: New file. | |
1288 | ||
04245125 LM |
1289 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1290 | ||
1291 | * Makefile.in (HFILES_NO_SRCDIR): Add arch/aarch64-mte-linux.h. | |
1292 | * aarch64-linux-nat.c: Include arch/aarch64-mte-linux.h. | |
1293 | * aarch64-linux-tdep.c: Likewise | |
1294 | * arch/aarch64-mte-linux.h: New file. | |
1295 | ||
754487e2 LM |
1296 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1297 | ||
1298 | * remote: Include gdbsupport/selftest.h. | |
1299 | (test_memory_tagging_functions): New function. | |
1300 | (_initialize_remote): Register test_memory_tagging_functions. | |
1301 | ||
2c2e7f87 LM |
1302 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1303 | ||
1304 | * remote.c (PACKET_memory_tagging_feature): New enum. | |
1305 | (remote_memory_tagging_p): New function. | |
1306 | (remote_protocol_features): New "memory-tagging" entry. | |
1307 | (remote_target::remote_query_supported): Handle memory tagging | |
1308 | support. | |
1309 | (remote_target::supports_memory_tagging): Implement. | |
1310 | (create_fetch_memtags_request, parse_fetch_memtags_reply) | |
1311 | (create_store_memtags_request): New functions. | |
1312 | (remote_target::fetch_memtags): Implement. | |
1313 | (remote_target::store_memtags): Implement. | |
1314 | (_initialize_remote): Add new "memory-tagging-feature" | |
1315 | config command. | |
1316 | ||
c193949e LM |
1317 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1318 | ||
1319 | * arch-utils.c (default_memtag_to_string, default_tagged_address_p) | |
1320 | (default_memtag_matches_p, default_set_memtags) | |
1321 | (default_get_memtag): New functions. | |
1322 | * arch-utils.h (default_memtag_to_string, default_tagged_address_p) | |
1323 | (default_memtag_matches_p, default_set_memtags) | |
1324 | (default_get_memtag): New prototypes. | |
1325 | * gdbarch.c: Regenerate. | |
1326 | * gdbarch.h: Regenerate. | |
1327 | * gdbarch.sh (memtag_to_string, tagged_address_p, memtag_matches_p) | |
1328 | (set_memtags, get_memtag, memtag_granule_size): New gdbarch hooks. | |
1329 | (enum memtag_type): New enum. | |
1330 | ||
dbe692af LM |
1331 | 2021-03-24 Luis Machado <luis.machado@linaro.org> |
1332 | ||
1333 | * remote.c (remote_target) <supports_memory_tagging>: New method | |
1334 | override. | |
1335 | <fetch_memtags>: New method override. | |
1336 | <store_memtags>: New method override. | |
1337 | (remote_target::supports_memory_tagging): New method. | |
1338 | (remote_target::fetch_memtags): New method. | |
1339 | (remote_target::store_memtags): New method. | |
1340 | * target-delegates.c: Regenerate. | |
1341 | * target.h (struct target_ops) <supports_memory_tagging>: New virtual | |
1342 | method. | |
1343 | <fetch_memtags>: New virtual method. | |
1344 | <store_memtags>: New virtual method. | |
1345 | (target_supports_memory_tagging): Define. | |
1346 | (target_fetch_memtags): Define. | |
1347 | (target_store_memtags): Define. | |
1348 | * target-debug.h (target_debug_print_size_t) | |
1349 | (target_debug_print_const_gdb_byte_vector_r) | |
1350 | (target_debug_print_gdb_byte_vector_r): New functions. | |
1351 | ||
66848ebc SM |
1352 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> |
1353 | ||
1354 | * target.h (target_longname): Remove. | |
1355 | ||
c8fbd44a SM |
1356 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> |
1357 | ||
1358 | * target.h (target_is_pushed): Remove, update callers to use | |
1359 | inferior::target_is_pushed instead. | |
1360 | * target.c (target_is_pushed): Remove. | |
1361 | ||
02980c56 SM |
1362 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> |
1363 | ||
1364 | * target.h (push_target): Remove, update callers to use | |
1365 | inferior::push_target. | |
1366 | * target.c (push_target): Remove. | |
1367 | * inferior.h (class inferior) <push_target>: New overload. | |
1368 | ||
fadf6add SM |
1369 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> |
1370 | ||
1371 | * target.h (unpush_target): Remove, update all callers | |
1372 | to use `inferior::unpush_target` instead. | |
1373 | (struct target_unpusher) <operator()>: Just declare. | |
1374 | * target.c (unpush_target): Remove. | |
1375 | (target_unpusher::operator()): New. | |
1376 | ||
702cf3f5 AB |
1377 | 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com> |
1378 | ||
1379 | * dwarf2/read.c (process_psymtab_comp_unit): Replace abort with an | |
1380 | error. | |
1381 | (process_full_comp_unit): Validate the top-level tag before | |
1382 | processing the first DIE. | |
1383 | (read_func_scope): Ensure we have a valid builder. | |
1384 | ||
46fec642 AB |
1385 | 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com> |
1386 | ||
1387 | * objc-lang.c (objc_demangle): Renamed to | |
1388 | objc_language::demangle_symbol, and moved later in the file. | |
1389 | (objc_language::sniff_from_mangled_name): Call demangle_symbol | |
1390 | member function. | |
1391 | (objc_language::demangle_symbol): Defined outside of class | |
1392 | declaration. The definition is the old objc_demangle with NULL | |
1393 | changed to nullptr, and if conditions relating to nullptr pointers | |
1394 | or null character checks made explicit. | |
1395 | * objc-lang.h (objc_demangle): Delete declaration. | |
1396 | ||
08dedd66 ML |
1397 | 2021-03-22 Martin Liska <mliska@suse.cz> |
1398 | ||
1399 | * arm-tdep.c (show_disassembly_style_sfunc): Replace usage of CONST_STRNEQ with startswith. | |
1400 | (_initialize_arm_tdep): Likewise. | |
1401 | ||
eb36a3eb TT |
1402 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1403 | ||
1404 | * xcoffread.c (xcoff_initial_scan): Create partial symtabs. | |
1405 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. | |
1406 | * psymtab.h (make_psymbol_functions): Don't declare. | |
1407 | * psymtab.c (make_psymbol_functions): Remove. | |
1408 | (maintenance_print_psymbols): Update. | |
1409 | * psympriv.h (struct psymbol_functions): Add no-argument | |
1410 | constructor. | |
1411 | * objfiles.h (struct objfile) <reset_psymtabs>: Remove. | |
1412 | <partial_symtabs>: Remove. | |
1413 | * mdebugread.c (mdebug_build_psymtabs): Create partial symtabs. | |
1414 | * elfread.c (read_partial_symbols): Update. | |
1415 | (elf_symfile_read): Remove check for existing partial symbols. | |
1416 | Don't clear "qf". | |
1417 | * dwarf2/read.c (dwarf2_has_info): Remove check for existing | |
1418 | partial symbols. | |
1419 | (dwarf2_build_psymtabs): Add psymbol_functions parameter. Create | |
1420 | partial symtabs. | |
1421 | * dwarf2/public.h (dwarf2_build_psymtabs): Add psymbol_functions | |
1422 | parameter. | |
1423 | * dbxread.c (dbx_symfile_read): Create partial symtabs. | |
1424 | * ctfread.c (elfctf_build_psymtabs): Create partial symtabs. | |
1425 | ||
e1114590 TT |
1426 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1427 | ||
1428 | * dwarf2/read.c (dwarf2_build_psymtabs): Update. | |
1429 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. | |
1430 | * symfile-debug.c (objfile::has_partial_symbols) | |
1431 | (objfile::find_last_source_symtab) | |
1432 | (objfile::forget_cached_source_info) | |
1433 | (objfile::map_symtabs_matching_filename, objfile::lookup_symbol) | |
1434 | (objfile::print_stats, objfile::dump) | |
1435 | (objfile::expand_symtabs_for_function) | |
1436 | (objfile::expand_all_symtabs) | |
1437 | (objfile::expand_symtabs_with_fullname) | |
1438 | (objfile::map_matching_symbols) | |
1439 | (objfile::expand_symtabs_matching) | |
1440 | (objfile::find_pc_sect_compunit_symtab) | |
1441 | (objfile::map_symbol_filenames) | |
1442 | (objfile::find_compunit_symtab_by_address) | |
1443 | (objfile::lookup_global_symbol_language) | |
1444 | (objfile::require_partial_symbols): Update. | |
1445 | * psymtab.c (maintenance_print_psymbols) | |
1446 | (maintenance_info_psymtabs, maintenance_check_psymtabs): Update. | |
1447 | * objfiles.h (struct objfile) <qf>: Now a forward_list. | |
1448 | * objfiles.c (objfile_relocate1): Update. | |
1449 | * elfread.c (elf_symfile_read): Update. | |
1450 | ||
de909f0b TT |
1451 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1452 | ||
1453 | * objfiles.h (struct objfile) <psymtabs>: Remove method. | |
1454 | ||
caf8c1e5 TT |
1455 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1456 | ||
1457 | * psymtab.c (psymbol_functions::count_psyms): Rename. | |
1458 | (psymbol_functions::print_stats): Update. | |
1459 | * psympriv.h (struct psymbol_functions) <count_psyms>: Declare | |
1460 | method. | |
1461 | ||
3aa31ce7 TT |
1462 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1463 | ||
1464 | * psymtab.c (psymbol_functions::require_partial_symbols): Rename. | |
1465 | (psymbol_functions::find_pc_sect_psymtab): Rename. | |
1466 | (psymbol_functions::find_pc_sect_compunit_symtab) | |
1467 | (maintenance_print_psymbols, maintenance_check_psymtabs): Update. | |
1468 | * psympriv.h (struct psymbol_functions) <require_partial_symbols>: | |
1469 | Declare new method. | |
1470 | <get_partial_symtabs, find_pc_sect_psymtab>: Likewise. | |
1471 | ||
7b249e47 TT |
1472 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1473 | ||
1474 | * xcoffread.c (xcoff_start_psymtab): Add partial_symtabs parameter. | |
1475 | (xcoff_end_psymtab, scan_xcoff_symtab): Update. | |
1476 | * psymtab.c (partial_symtab::partial_symtab): Add partial_symtabs | |
1477 | parameter. | |
1478 | (add_psymbol_to_bcache): Remove. | |
1479 | (partial_symtab::add_psymbol): Add partial_symtabs parameter. | |
1480 | (partial_symtab::add_psymbol, partial_symtab::partial_symtab): | |
1481 | Likewise. | |
1482 | * psympriv.h (partial_symtab): Add partial_symtabs parameter. | |
1483 | <add_psymbol>: Likewise. | |
1484 | (standard_psymtab, legacy_psymtab): Likewise. | |
1485 | * mdebugread.c (parse_partial_symbols): Update. | |
1486 | (handle_psymbol_enumerators): Add partial_symtabs parameter. | |
1487 | (handle_psymbol_enumerators): Update. | |
1488 | (new_psymtab): Add partial_symtabs parameter. | |
1489 | * dwarf2/read.h (dwarf2_psymtab): Add partial_symtabs parameter. | |
1490 | * dwarf2/read.c (dwarf2_include_psymtab): Add partial_symtabs | |
1491 | parameter. | |
1492 | (dwarf2_create_include_psymtab): Add partial_symtabs parameter. | |
1493 | (create_partial_symtab, add_partial_symbol, dwarf_decode_lines): | |
1494 | Update. | |
1495 | * dbxread.c (read_dbx_symtab): Update. | |
1496 | (start_psymtab): Add partial_symtabs parameter. | |
1497 | (dbx_end_psymtab): Update. | |
1498 | * ctfread.c (struct ctf_context) <partial_symtabs>: New member. | |
1499 | (ctf_psymtab): Add partial_symtabs parameter. | |
1500 | (create_partial_symtab, ctf_psymtab_type_cb, ctf_psymtab_var_cb): | |
1501 | Update. | |
1502 | (scan_partial_symbols): Add partial_symtabs parameter. | |
1503 | (scan_partial_symbols, elfctf_build_psymtabs) | |
1504 | (ctf_psymtab_add_enums): Update. | |
1505 | ||
d1eef86d TT |
1506 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1507 | ||
1508 | * symfile.c (read_symbols): Use objfile method. | |
1509 | * symfile-debug.c (objfile::require_partial_symbols): New method. | |
1510 | * psymtab.h (require_partial_symbols): Don't declare. | |
1511 | * psymtab.c (require_partial_symbols): Use objfile method. Now | |
1512 | static. | |
1513 | (psymbol_functions::map_symtabs_matching_filename, OBJFILE) | |
1514 | (psymbol_functions::lookup_symbol) | |
1515 | (psymbol_functions::lookup_global_symbol_language) | |
1516 | (psymbol_functions::find_last_source_symtab) | |
1517 | (psymbol_functions::forget_cached_source_info) | |
1518 | (psymbol_functions::print_stats) | |
1519 | (psymbol_functions::expand_symtabs_for_function) | |
1520 | (psymbol_functions::expand_all_symtabs) | |
1521 | (psymbol_functions::expand_symtabs_with_fullname) | |
1522 | (psymbol_functions::map_symbol_filenames) | |
1523 | (psymbol_functions::map_matching_symbols) | |
1524 | (psymbol_functions::expand_symtabs_matching) | |
1525 | (psymbol_functions::find_compunit_symtab_by_address) | |
1526 | (maintenance_print_psymbols, maintenance_info_psymtabs) | |
1527 | (maintenance_check_psymtabs): Update. | |
1528 | * objfiles.h (struct objfile) <require_partial_symbols>: Declare | |
1529 | new method. | |
1530 | ||
eb00e468 TT |
1531 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1532 | ||
1533 | * xcoffread.c (xcoff_sym_fns): Update. | |
1534 | * symfile.h (struct sym_fns) <sym_read_psymbols>: Remove. | |
1535 | * symfile-debug.c (objfile::has_partial_symbols): Use | |
1536 | can_lazily_read_symbols. | |
1537 | (debug_sym_read_psymbols): Remove. | |
1538 | (debug_sym_fns, install_symfile_debug_logging): Update. | |
1539 | * quick-symbol.h (struct quick_symbol_functions) | |
1540 | <can_lazily_read_symbols, read_partial_symbols>: New methods. | |
1541 | * psymtab.c (require_partial_symbols): Use new 'qf' methods. | |
1542 | * mipsread.c (ecoff_sym_fns): Update. | |
1543 | * machoread.c (macho_sym_fns): Update. | |
1544 | * elfread.c (struct lazy_dwarf_reader): New. | |
1545 | (elf_symfile_read): Update. | |
1546 | (read_psyms): Now a method of lazy_dwarf_reader. | |
1547 | (elf_sym_fns): Update. | |
1548 | (elf_sym_fns_lazy_psyms): Remove. | |
1549 | * dbxread.c (aout_sym_fns): Update. | |
1550 | * coffread.c (coff_sym_fns): Update. | |
1551 | ||
b29b98cf TT |
1552 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1553 | ||
1554 | * symfile.c (syms_from_objfile_1): Call reset_psymtabs. | |
1555 | (reread_symbols): Move reset_psymtabs call later. | |
1556 | * objfiles.c (objfile::objfile): Don't initialize | |
1557 | partial_symtabs. | |
1558 | ||
17d66340 TT |
1559 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1560 | ||
1561 | * dwarf2/read.c (dwarf2_build_psymtabs): Call | |
1562 | set_partial_symtabs. | |
1563 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. | |
1564 | * psymtab.h (make_psymbol_functions): Add partial_symtabs | |
1565 | parameter. | |
1566 | * psymtab.c (find_pc_sect_psymtab): Add partial_symtabs | |
1567 | parameter. | |
1568 | (psymbol_functions::find_pc_sect_compunit_symtab) | |
1569 | (psymbol_functions::print_stats, psymbol_functions::dump) | |
1570 | (psymbol_functions::has_symbols): Update. | |
1571 | (make_psymbol_functions, dump_psymtab_addrmap): Add | |
1572 | partial_symtabs parameter. | |
1573 | (maintenance_print_psymbols): Update. | |
1574 | (psymbol_functions::expand_symtabs_matching): Update. | |
1575 | * psympriv.h (struct psymbol_functions): Add constructor. | |
1576 | <m_partial_symtabs>: New member. | |
1577 | <set_partial_symtabs>: New method. | |
1578 | ||
84685904 TT |
1579 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1580 | ||
1581 | * dwarf2/read.c (dwarf2_create_include_psymtab): Add per_bfd | |
1582 | parameter. | |
1583 | (process_psymtab_comp_unit_reader) | |
1584 | (build_type_psymtab_dependencies, dwarf2_build_psymtabs_hard) | |
1585 | (add_partial_subprogram, dwarf2_ranges_read, dwarf_decode_lines): | |
1586 | Reference psymtabs via per_bfd. | |
1587 | ||
79cc99f6 TT |
1588 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1589 | ||
1590 | * dwarf2/index-write.c (struct addrmap_index_data) <objfile>: | |
1591 | Remove. | |
1592 | (add_address_entry): Remove objfile parameter. | |
1593 | (add_address_entry_worker): Update. | |
1594 | (write_address_map): Replace objfile parameter with per_bfd. | |
1595 | (write_gdbindex, write_psymtabs_to_index): Update. | |
1596 | ||
4829711b TT |
1597 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1598 | ||
1599 | * dwarf2/read.c (dwarf2_base_index_functions::print_stats): Add | |
1600 | print_bcache parameter. | |
1601 | * symfile-debug.c (objfile::print_stats): Add print_bcache | |
1602 | parameter. | |
1603 | * quick-symbol.h (struct quick_symbol_functions) | |
1604 | <print_stats>: Add print_bcache parameter. | |
1605 | * symmisc.c (print_symbol_bcache_statistics, count_psyms): Move | |
1606 | code to psymtab.c. | |
1607 | (print_objfile_statistics): Move psymtab code to psymtab.c. | |
1608 | * psymtab.c (count_psyms): Move from symmisc.c. | |
1609 | (psymbol_functions::print_stats): Print partial symbol and bcache | |
1610 | statistics. Add print_bcache parameter. | |
1611 | * objfiles.h (print_symbol_bcache_statistics): Don't declare. | |
1612 | (struct objfile) <print_stats>: Add print_bcache parameter. | |
1613 | * maint.c (maintenance_print_statistics): Update. | |
1614 | ||
efd7398e TT |
1615 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1616 | ||
1617 | * dwarf2/read.h (struct dwarf2_per_bfd) <psymtabs_addrmap>: New | |
1618 | member. | |
1619 | * dwarf2/read.c (create_addrmap_from_index) | |
1620 | (create_addrmap_from_aranges): Set per_bfd addrmap. | |
1621 | (dwarf2_read_gdb_index): Don't set partial_symtabs. | |
1622 | (dwarf2_base_index_functions::find_pc_sect_compunit_symtab): Use | |
1623 | per_bfd addrmap. | |
1624 | (dwarf2_read_debug_names): Don't set partial_symtabs. | |
1625 | (dwarf2_initialize_objfile): Likewise. | |
1626 | ||
51962708 TT |
1627 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1628 | ||
1629 | * dwarf2/read.c (dwarf2_build_psymtabs): Set partial_symtabs | |
1630 | earlier. | |
1631 | ||
484b1090 TT |
1632 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1633 | ||
1634 | * psympriv.h (psymtab_discarder): Take psymtab_storage parameter. | |
1635 | (~psymtab_discarder, keep): Update. | |
1636 | <m_objfile>: Remove. | |
1637 | <m_partial_symtabs>: New member. | |
1638 | * dwarf2/read.c (dwarf2_build_psymtabs): Update. | |
1639 | ||
7e9c0476 TT |
1640 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1641 | ||
1642 | * xcoffread.c (xcoff_end_psymtab): Add partial_symtabs parameter. | |
1643 | (xcoff_end_psymtab): Update. | |
1644 | (scan_xcoff_symtab): Add partial_symtabs parameter. | |
1645 | (xcoff_initial_scan): Update. | |
1646 | * stabsread.h (dbx_end_psymtab): Add partial_symtabs parameter. | |
1647 | * mdebugread.c (mdebug_build_psymtabs): Update. | |
1648 | (parse_partial_symbols): Add partial_symtabs parameter. | |
1649 | * dbxread.c (dbx_symfile_read): Update. | |
1650 | (read_dbx_symtab): Add partial_symtabs parameter. | |
1651 | (read_dbx_symtab): Update. | |
1652 | (dbx_end_psymtab): Add partial_symtabs parameter. | |
1653 | ||
75336a5a TT |
1654 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1655 | ||
1656 | * quick-symbol.h (struct quick_symbol_functions) | |
1657 | <relocated>: New method. | |
1658 | * psymtab.h (struct psymbol_functions) <relocated>: New | |
1659 | method. | |
1660 | <fill_psymbol_map>: Declare method. | |
1661 | <m_psymbol_map>: New member. | |
1662 | * psymtab.c (psymbol_functions::fill_psymbol_map): Rename. | |
1663 | (psymbol_functions::find_compunit_symtab_by_address): Update. | |
1664 | * objfiles.h (reset_psymtabs): Don't clear psymbol_map. | |
1665 | (struct objfile) <psymbol_map>: Remove. | |
1666 | * objfiles.c (objfile_relocate1): Update. | |
1667 | ||
39298a5d TT |
1668 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1669 | ||
1670 | * psympriv.h (struct psymbol_functions): New. | |
1671 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. | |
1672 | * symfile-debug.c (objfile::find_compunit_symtab_by_address) | |
1673 | (objfile::lookup_global_symbol_language): Update. | |
1674 | * quick-symbol.h (struct quick_symbol_functions): Convert function | |
1675 | pointers to methods. Add virtual destructor. | |
1676 | (quick_symbol_functions_up): New typedef. | |
1677 | * psymtab.h (psym_functions, dwarf2_gdb_index_functions) | |
1678 | (dwarf2_debug_names_functions): Don't declare. | |
1679 | (make_psymbol_functions): Declare. | |
1680 | * psymtab.c (psymbol_functions::map_symtabs_matching_filename) | |
1681 | (psymbol_functions::find_pc_sect_compunit_symtab) | |
1682 | (psymbol_functions::lookup_symbol) | |
1683 | (psymbol_functions::lookup_global_symbol_language) | |
1684 | (psymbol_functions::find_last_source_symtab) | |
1685 | (psymbol_functions::forget_cached_source_info) | |
1686 | (psymbol_functions::print_stats, psymbol_functions::dump) | |
1687 | (psymbol_functions::expand_symtabs_for_function) | |
1688 | (psymbol_functions::expand_all_symtabs) | |
1689 | (psymbol_functions::expand_symtabs_with_fullname) | |
1690 | (psymbol_functions::map_symbol_filenames) | |
1691 | (psymbol_functions::map_matching_symbols) | |
1692 | (psymbol_functions::expand_symtabs_matching) | |
1693 | (psymbol_functions::has_symbols) | |
1694 | (psymbol_functions::find_compunit_symtab_by_address): Rename. | |
1695 | (psym_functions): Remove. | |
1696 | (make_psymbol_functions): New function. | |
1697 | * objfiles.h (struct objfile) <qf>: Change type. | |
1698 | * elfread.c (elf_symfile_read): Update. | |
1699 | * dwarf2/read.c (struct dwarf2_base_index_functions) | |
1700 | (struct dwarf2_gdb_index, struct dwarf2_debug_names_index): New. | |
1701 | (make_dwarf_gdb_index, make_dwarf_debug_names): New functions. | |
1702 | (dwarf2_base_index_functions::find_last_source_symtab) | |
1703 | (dwarf2_base_index_functions::forget_cached_source_info) | |
1704 | (dwarf2_base_index_functions::map_symtabs_matching_filename) | |
1705 | (dwarf2_gdb_index::lookup_symbol) | |
1706 | (dwarf2_base_index_functions::print_stats) | |
1707 | (dwarf2_gdb_index::dump) | |
1708 | (dwarf2_gdb_index::expand_symtabs_for_function) | |
1709 | (dwarf2_base_index_functions::expand_all_symtabs) | |
1710 | (dwarf2_base_index_functions::expand_symtabs_with_fullname): | |
1711 | Rename. | |
1712 | (dwarf2_gdb_index::map_matching_symbols): New method. | |
1713 | (dwarf2_gdb_index::expand_symtabs_matching): New method. | |
1714 | (dwarf2_base_index_functions::find_pc_sect_compunit_symtab) | |
1715 | (dwarf2_base_index_functions::map_symbol_filenames) | |
1716 | (dwarf2_base_index_functions::has_symbols): Rename. | |
1717 | (dwarf2_gdb_index_functions): Remove. | |
1718 | (dwarf2_debug_names_index::lookup_symbol) | |
1719 | (dwarf2_debug_names_index::dump) | |
1720 | (dwarf2_debug_names_index::expand_symtabs_for_function) | |
1721 | (dwarf2_debug_names_index::map_matching_symbols) | |
1722 | (dwarf2_debug_names_index::expand_symtabs_matching): Rename. | |
1723 | (dwarf2_debug_names_functions): Remove. | |
1724 | * dwarf2/public.h (make_dwarf_gdb_index, make_dwarf_debug_names): | |
1725 | Declare. | |
1726 | ||
5c3f1e5b TT |
1727 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1728 | ||
1729 | * psymtab.c (require_partial_symbols): Check that 'sf' is not | |
1730 | null. | |
1731 | * xcoffread.c (xcoff_sym_fns): Update. | |
1732 | * symfile.h (struct sym_fns) <qf>: Remove. | |
1733 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. | |
1734 | * symfile-debug.c (objfile::has_partial_symbols) | |
1735 | (objfile::find_last_source_symtab) | |
1736 | (objfile::forget_cached_source_info) | |
1737 | (objfile::map_symtabs_matching_filename, objfile::lookup_symbol) | |
1738 | (objfile::print_stats, objfile::dump) | |
1739 | (objfile::expand_symtabs_for_function) | |
1740 | (objfile::expand_all_symtabs) | |
1741 | (objfile::expand_symtabs_with_fullname) | |
1742 | (objfile::map_matching_symbols) | |
1743 | (objfile::expand_symtabs_matching) | |
1744 | (objfile::find_pc_sect_compunit_symtab) | |
1745 | (objfile::map_symbol_filenames) | |
1746 | (objfile::find_compunit_symtab_by_address) | |
1747 | (objfile::lookup_global_symbol_language, debug_sym_fns) | |
1748 | (install_symfile_debug_logging): Update. | |
1749 | * objfiles.h (struct objfile) <qf>: New member. | |
1750 | * mipsread.c (ecoff_sym_fns): Update. | |
1751 | * machoread.c (macho_sym_fns): Update. | |
1752 | * elfread.c (elf_sym_fns_gdb_index, elf_sym_fns_debug_names): | |
1753 | Don't declare. | |
1754 | (elf_symfile_read, elf_sym_fns, elf_sym_fns_lazy_psyms): Update. | |
1755 | * dbxread.c (aout_sym_fns): Update. | |
1756 | * coffread.c (coff_sym_fns): Update. | |
1757 | ||
9b99dcc8 TT |
1758 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1759 | ||
1760 | * symfile.h (symbol_compare_ftype, symbol_filename_ftype) | |
1761 | (expand_symtabs_file_matcher_ftype) | |
1762 | (expand_symtabs_symbol_matcher_ftype) | |
1763 | (expand_symtabs_exp_notify_ftype, struct quick_symbol_functions): | |
1764 | Move to quick-symbol.h. | |
1765 | * quick-symbol.h: New file. | |
1766 | ||
4d080b46 TT |
1767 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1768 | ||
1769 | * symtab.c (iterate_over_symtabs, expand_symtab_containing_pc) | |
1770 | (lookup_symbol_via_quick_fns, find_quick_global_symbol_language) | |
1771 | (basic_lookup_transparent_type_quick) | |
1772 | (find_pc_sect_compunit_symtab, find_symbol_at_address) | |
1773 | (find_line_symtab, global_symbol_searcher::expand_symtabs): | |
1774 | Update. | |
1775 | * symmisc.c (print_objfile_statistics, dump_objfile) | |
1776 | (maintenance_expand_symtabs): Update. | |
1777 | * symfile.c (symbol_file_add_with_addrs) | |
1778 | (expand_symtabs_matching, map_symbol_filenames): Update. | |
1779 | * symfile-debug.c (objfile::has_partial_symbols) | |
1780 | (objfile::find_last_source_symtab) | |
1781 | (objfile::forget_cached_source_info) | |
1782 | (objfile::map_symtabs_matching_filename, objfile::lookup_symbol) | |
1783 | (objfile::print_stats, objfile::dump) | |
1784 | (objfile::expand_symtabs_for_function) | |
1785 | (objfile::expand_all_symtabs) | |
1786 | (objfile::expand_symtabs_with_fullname) | |
1787 | (objfile::map_matching_symbols) | |
1788 | (objfile::expand_symtabs_matching) | |
1789 | (objfile::find_pc_sect_compunit_symtab) | |
1790 | (objfile::map_symbol_filenames) | |
1791 | (objfile::find_compunit_symtab_by_address) | |
1792 | (objfile::lookup_global_symbol_language): New methods. | |
1793 | (debug_sym_quick_functions): Remove. | |
1794 | (debug_sym_fns, install_symfile_debug_logging): Update. | |
1795 | * source.c (forget_cached_source_info_for_objfile) | |
1796 | (select_source_symtab): Update. | |
1797 | * objfiles.h (struct objfile): Add methods corresponding to | |
1798 | quick_symbol_functions. | |
1799 | * objfiles.c (objfile::has_partial_symbols): Move to | |
1800 | symfile-debug.c. | |
1801 | * linespec.c (iterate_over_all_matching_symtabs): Update. | |
1802 | * cp-support.c (add_symbol_overload_list_qualified): Update. | |
1803 | * ada-lang.c (add_nonlocal_symbols): Update. | |
1804 | ||
fae2120b TT |
1805 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1806 | ||
1807 | * objfiles.h (struct objfile) <has_partial_symbols>: Return bool. | |
1808 | * symfile.h (struct quick_symbol_functions) <has_symbols>: Return | |
1809 | bool. | |
1810 | * symfile-debug.c (debug_qf_has_symbols): Return bool. | |
1811 | * psymtab.c (psym_has_symbols): Return bool. | |
1812 | * objfiles.c (objfile::has_partial_symbols): Return bool. | |
1813 | * dwarf2/read.c (dw2_has_symbols): Return bool. | |
1814 | ||
a8ad4f3c TT |
1815 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1816 | ||
1817 | * symfile.c (read_symbols): Update. | |
1818 | * objfiles.h (struct objfile) <has_partial_symbols>: New method. | |
1819 | (objfile_has_partial_symbols): Don't declare. | |
1820 | * objfiles.c (objfile::has_partial_symbols): Rename from | |
1821 | objfile_has_partial_symbols. | |
1822 | (objfile_has_symbols, have_partial_symbols): Update. | |
1823 | * elfread.c (elf_symfile_read): Update. | |
1824 | * dwarf2/read.c (dwarf2_has_info): Update. | |
1825 | * coffread.c (coff_symfile_read): Update. | |
1826 | ||
70182375 TT |
1827 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1828 | ||
1829 | * coffread.c: Include dwarf2/public.h. | |
1830 | * dwarf2/frame.c: Include dwarf2/public.h. | |
1831 | * dwarf2/index-write.h: Include dwarf2/public.h, not symfile.h. | |
1832 | * dwarf2/public.h: New file. | |
1833 | * dwarf2/read.c: Include dwarf2/public.h. | |
1834 | * elfread.c: Include dwarf2/public.h. | |
1835 | * machoread.c: Include dwarf2/public.h. | |
1836 | * symfile.h (dwarf2_has_info, enum dw_index_kind) | |
1837 | (dwarf2_initialize_objfile, dwarf2_build_psymtabs) | |
1838 | (dwarf2_build_frame_info): Move to dwarf2/public.h. | |
1839 | * xcoffread.c: Include dwarf2/public.h. | |
1840 | ||
18038e63 TT |
1841 | 2021-03-20 Tom Tromey <tom@tromey.com> |
1842 | ||
1843 | * symfile.h (enum dwarf2_section_enum) | |
1844 | (dwarf2_get_section_info): Move to dwarf2/read.h. | |
1845 | * dwarf2/read.h (enum dwarf2_section_enum) | |
1846 | (dwarf2_get_section_info): Move from symfile.h. | |
1847 | ||
219f56b4 PA |
1848 | 2021-03-19 Pedro Alves <pedro@palves.net> |
1849 | ||
1850 | * thread.c (any_thread_of_inferior): Check if there's a selected | |
1851 | thread before calling inferior_thread(). | |
1852 | ||
15310fd4 TT |
1853 | 2021-03-18 Tom Tromey <tromey@adacore.com> |
1854 | ||
1855 | * dwarf2/stringify.c (dwarf_unit_type_name): New function. Use | |
1856 | get_DW_UT_name. | |
1857 | * dwarf2/stringify.h (dwarf_unit_type_name): Declare. | |
1858 | * dwarf2/comp-unit.c (dwarf_unit_type_name): Remove. | |
1859 | ||
763b8efd AB |
1860 | 2021-03-18 Andrew Burgess <andrew.burgess@embecosm.com> |
1861 | ||
1862 | * python/py-param.c (get_set_value): Update header comment. | |
1863 | ||
f058c521 SM |
1864 | 2021-03-17 Simon Marchi <simon.marchi@polymtl.ca> |
1865 | ||
1866 | * infrun.c (check_multi_target_resumption): Remove argument to | |
1867 | all_non_exited_inferiors. | |
1868 | ||
383228bc CB |
1869 | 2021-03-16 Christian Biesinger <cbiesinger@google.com> |
1870 | ||
1871 | * windows-nat.c (windows_init_thread_list): Add message to | |
1872 | debug log. | |
1873 | ||
7807d76a AB |
1874 | 2021-03-16 Andrew Burgess <andrew.burgess@embecosm.com> |
1875 | ||
1876 | * python/py-framefilter.c (py_print_frame): Use PyInt_Check as | |
1877 | well as PyLong_Check for Python 2. | |
1878 | ||
675da9a5 TT |
1879 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
1880 | ||
1881 | PR build/27579: | |
1882 | * rust-exp.y (maker_map): Use gdb::hash_enum. | |
1883 | * stap-probe.c (stap_maker_map): Use gdb::hash_enum. | |
1884 | ||
4800761a SM |
1885 | 2021-03-15 Simon Marchi <simon.marchi@polymtl.ca> |
1886 | ||
1887 | * dwarf2/read.c (create_debug_type_hash_table): Remove colon at | |
1888 | end of debug print. | |
1889 | ||
eb5dd737 SM |
1890 | 2021-03-15 Simon Marchi <simon.marchi@polymtl.ca> |
1891 | ||
1892 | * dwarf2/read.c (dw2_get_file_names_reader): Remove info_ptr | |
1893 | parameter, adjust caller. | |
1894 | ||
6813ceb0 TT |
1895 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
1896 | ||
1897 | * ada-exp.y (simple_exp): Always push a result for unary '+'. | |
1898 | ||
3b5c4de0 TT |
1899 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
1900 | ||
1901 | * ada-lang.c (ada_unop_ind_operation::evaluate): Call | |
1902 | ada_ensure_varsize_limit. | |
1903 | ||
c04da66c TT |
1904 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
1905 | ||
1906 | * ada-lang.c (numeric_type_p, integer_type_p): Return true for | |
1907 | fixed-point. | |
1908 | * ada-exp.y (maybe_overload): New function. | |
1909 | (ada_wrap_overload): New function. | |
1910 | (ada_un_wrap2, ada_wrap2, ada_wrap_op): Use maybe_overload. | |
1911 | (exp1, simple_exp, relation, and_exp, and_then_exp, or_exp) | |
1912 | (or_else_exp, xor_exp, primary): Update. | |
1913 | ||
9863c3b5 TT |
1914 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
1915 | ||
1916 | PR ada/27545: | |
1917 | * ada-lang.c (ada_var_value_operation::evaluate): Use recursive | |
1918 | call for tagged type. | |
1919 | ||
1ac74522 TT |
1920 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
1921 | ||
1922 | * ada-exp.y (exp1): Handle resolution of the right hand side of an | |
1923 | assignment. | |
1924 | ||
207582c0 TT |
1925 | 2021-03-15 Tom Tromey <tromey@adacore.com> |
1926 | ||
1927 | * ada-lang.c (ada_aggregate_operation::assign_aggregate): Return | |
1928 | container. | |
1929 | (ada_assign_operation::evaluate): Update. | |
1930 | * ada-exp.h (class ada_aggregate_operation) <assign_aggregate>: | |
1931 | Change return type. | |
1932 | ||
8d624a9d FW |
1933 | 2021-03-15 Felix Willgerodt <felix.willgerodt@intel.com> |
1934 | ||
1935 | * i386-tdep.c (i386_floatformat_for_type): Add COMPLEX*32 and REAL*16. | |
1936 | ||
ba6a0ef3 AB |
1937 | 2021-03-15 Andrew Burgess <andrew.burgess@embecosm.com> |
1938 | ||
1939 | * python/python.c (gdbpy_source_objfile_script): Use | |
1940 | make_scoped_restore to restore gdbpy_current_objfile. | |
1941 | (gdbpy_execute_objfile_script): Likewise. | |
1942 | ||
7c290a04 TT |
1943 | 2021-03-14 Tom Tromey <tom@tromey.com> |
1944 | ||
1945 | * dwarf2/read.c (read_attribute_value): Use cu_header | |
1946 | consistently. | |
1947 | ||
0280fdcc TT |
1948 | 2021-03-14 Tom Tromey <tom@tromey.com> |
1949 | ||
1950 | * dwarf2/read.c (struct die_reader_specs) <abfd>: Fix formatting. | |
1951 | (peek_die_abbrev): Use reader.abfd. | |
1952 | ||
a9f172c6 TT |
1953 | 2021-03-14 Tom Tromey <tom@tromey.com> |
1954 | ||
1955 | * dwarf2/read.c (dwarf2_per_cu_data::get_header): Set | |
1956 | m_header_read_in. | |
1957 | ||
7c32eebb TT |
1958 | 2021-03-13 Tom Tromey <tom@tromey.com> |
1959 | ||
1960 | * dwarf2/read.c (struct partial_die_info): Update. | |
1961 | (peek_die_abbrev, skip_children, skip_one_die, read_full_die_1) | |
1962 | (load_partial_dies, partial_die_info::partial_die_info): Update. | |
1963 | * dwarf2/abbrev.h (lookup_abbrev): Constify. | |
1964 | ||
27012aba TT |
1965 | 2021-03-13 Tom Tromey <tom@tromey.com> |
1966 | ||
1967 | * dwarf2/abbrev.c (abbrev_table::read): Remove Irix 6 workaround. | |
1968 | ||
fece451c CB |
1969 | 2021-03-12 Christian Biesinger <cbiesinger@google.com> |
1970 | ||
1971 | PR threads/27239 | |
1972 | * cp-support.c: Use scoped_segv_handler_restore. | |
1973 | * event-top.c (thread_local_segv_handler): Made static. | |
1974 | (scoped_segv_handler_restore::scoped_segv_handler_restore): | |
1975 | New function. | |
1976 | (scoped_segv_handler_restore::~scoped_segv_handler_restore): New | |
1977 | function. | |
1978 | * event-top.h (class scoped_segv_handler_restore): New class. | |
1979 | (thread_local_segv_handler): Removed. | |
1980 | ||
7056f312 TT |
1981 | 2021-03-10 Tom Tromey <tromey@adacore.com> |
1982 | ||
1983 | * parser-defs.h (parser_state): Change completion to bool. | |
1984 | <parse_completion>: Likewise. | |
1985 | * ada-lang.h (ada_find_operator_symbol, ada_resolve_funcall) | |
1986 | (ada_resolve_variable, ada_resolve_function): Update. | |
1987 | * ada-lang.c (ada_find_operator_symbol): Change | |
1988 | parse_completion to bool. | |
1989 | (ada_resolve_funcall, ada_resolve_variable) | |
1990 | (ada_resolve_function): Likewise. | |
1991 | ||
ccdc02ed TT |
1992 | 2021-03-09 Tom Tromey <tromey@adacore.com> |
1993 | ||
1994 | * eval.c (operation::evaluate_funcall): Use function formal | |
1995 | parameter types when evaluating. | |
1996 | ||
fbb1aace AB |
1997 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
1998 | ||
1999 | * gdb-gdb.py.in (StructMainTypePrettyPrinter) <owner_to_string>: | |
2000 | Updated fields names flag_objfile_owned to m_flag_objfile_owned, | |
2001 | and owner to m_owner. | |
2002 | ||
611aa09d FW |
2003 | 2021-03-09 Felix Willgerodt <felix.willgerodt@intel.com> |
2004 | ||
2005 | * f-exp.h (eval_op_f_loc): Declare. | |
2006 | (expr::fortran_loc_operation): New typedef. | |
2007 | * f-exp.y (exp): Handle UNOP_FORTRAN_LOC after parsing an | |
2008 | UNOP_INTRINSIC. | |
2009 | (f77_keywords): Add LOC keyword. | |
2010 | * f-lang.c (eval_op_f_loc): New function. | |
2011 | * std-operator.def (UNOP_FORTRAN_LOC): New operator. | |
2012 | ||
eef32f59 AB |
2013 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
2014 | ||
2015 | * f-exp.h (eval_op_f_array_shape): Declare. | |
2016 | (fortran_array_shape_operation): New type. | |
2017 | * f-exp.y (exp): Handle UNOP_FORTRAN_SHAPE after parsing | |
2018 | UNOP_INTRINSIC. | |
2019 | (f77_keywords): Add "shape" keyword. | |
2020 | * f-lang.c (fortran_array_shape): New function. | |
2021 | (eval_op_f_array_shape): New function. | |
2022 | * std-operator.def (UNOP_FORTRAN_SHAPE): New operator. | |
2023 | ||
7ba155b3 AB |
2024 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
2025 | ||
2026 | * f-exp.y (eval_op_f_array_size): Declare 1 and 2 argument forms | |
2027 | of this function. | |
2028 | (expr::fortran_array_size_1arg): New type. | |
2029 | (expr::fortran_array_size_2arg): Likewise. | |
2030 | * f-exp.y (exp): Handle FORTRAN_ARRAY_SIZE after parsing | |
2031 | UNOP_OR_BINOP_INTRINSIC. | |
2032 | (f77_keywords): Add "size" keyword. | |
2033 | * f-lang.c (fortran_array_size): New function. | |
2034 | (eval_op_f_array_size): New function, has a 1 arg and 2 arg form. | |
2035 | * std-operator.def (FORTRAN_ARRAY_SIZE): New operator. | |
2036 | ||
e14816a8 AB |
2037 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
2038 | ||
2039 | * f-exp.h (eval_op_f_rank): Declare. | |
2040 | (expr::fortran_rank_operation): New typedef. | |
2041 | * f-exp.y (exp): Handle UNOP_FORTRAN_RANK after parsing an | |
2042 | UNOP_INTRINSIC. | |
2043 | (f77_keywords): Add "rank" keyword. | |
2044 | * f-lang.c (eval_op_f_rank): New function. | |
2045 | * std-operator.def (UNOP_FORTRAN_RANK): New operator. | |
2046 | ||
3dd93bf8 TT |
2047 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2048 | ||
2049 | * printcmd.c (set_command): Remove null check. | |
2050 | * value.c (init_if_undefined_command): Remove null check. | |
2051 | ||
9c79936b TT |
2052 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2053 | ||
2054 | * parse.c (parser_state::push_symbol, parser_state::push_dollar): | |
2055 | Update. | |
2056 | * p-exp.y (variable): Update. | |
2057 | * go-exp.y (variable): Update. | |
2058 | * expprint.c (dump_for_expression): Use bound_minimal_symbol. | |
2059 | Remove overload for objfile. | |
2060 | * expop.h (eval_op_var_msym_value): Use bound_minimal_symbol | |
2061 | parameter. | |
2062 | (check_objfile): Likewise. | |
2063 | (dump_for_expression): Likewise. Remove overload for objfile. | |
2064 | (class var_msym_value_operation): Use bound_minimal_symbol. | |
2065 | * eval.c (eval_op_var_msym_value): Use bound_minimal_symbol | |
2066 | parameter. | |
2067 | (var_msym_value_operation::evaluate_for_address) | |
2068 | (var_msym_value_operation::evaluate_for_sizeof) | |
2069 | (var_msym_value_operation::evaluate_for_cast): Update. | |
2070 | * d-exp.y (PrimaryExpression): Update. | |
2071 | * c-exp.y (variable): Update. | |
2072 | * ax-gdb.c (var_msym_value_operation::do_generate_ax): Update. | |
2073 | * ada-lang.c (ada_var_msym_value_operation::evaluate_for_cast): | |
2074 | Update. | |
2075 | * ada-exp.y (write_var_or_type): Update. | |
2076 | ||
40d07d07 TT |
2077 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2078 | ||
2079 | * parser-defs.h (exp_uses_objfile): Return bool. | |
2080 | * parse.c (exp_uses_objfile): Return bool. | |
2081 | ||
0b2b0b82 TT |
2082 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2083 | ||
2084 | * value.h (eval_skip_value): Don't declare. | |
2085 | * opencl-lang.c (eval_opencl_assign): Update. | |
2086 | * m2-lang.c (eval_op_m2_high, eval_op_m2_subscript): Update. | |
2087 | * f-lang.c (eval_op_f_abs, eval_op_f_mod, eval_op_f_ceil) | |
2088 | (eval_op_f_floor, eval_op_f_modulo, eval_op_f_cmplx): Remove. | |
2089 | * expression.h (enum noside) <EVAL_SKIP>: Remove. | |
2090 | * expop.h (typeof_operation::evaluate) | |
2091 | (decltype_operation::evaluate, unop_addr_operation::evaluate) | |
2092 | (unop_sizeof_operation::evaluate, assign_operation::evaluate) | |
2093 | (cxx_cast_operation::evaluate): Update. | |
2094 | * eval.c (eval_skip_value): Remove. | |
2095 | (eval_op_scope, eval_op_var_entry_value) | |
2096 | (eval_op_func_static_var, eval_op_string, eval_op_objc_selector) | |
2097 | (eval_op_concat, eval_op_ternop, eval_op_structop_struct) | |
2098 | (eval_op_structop_ptr, eval_op_member, eval_op_add, eval_op_sub) | |
2099 | (eval_op_binary, eval_op_subscript, eval_op_equal) | |
2100 | (eval_op_notequal, eval_op_less, eval_op_gtr, eval_op_geq) | |
2101 | (eval_op_leq, eval_op_repeat, eval_op_plus, eval_op_neg) | |
2102 | (eval_op_complement, eval_op_lognot, eval_op_ind) | |
2103 | (eval_op_memval, eval_op_preinc, eval_op_predec) | |
2104 | (eval_op_postinc, eval_op_postdec, eval_op_type) | |
2105 | (eval_binop_assign_modify, eval_op_objc_msgcall) | |
2106 | (eval_multi_subscript, logical_and_operation::evaluate) | |
2107 | (logical_or_operation::evaluate, array_operation::evaluate) | |
2108 | (operation::evaluate_for_cast) | |
2109 | (var_msym_value_operation::evaluate_for_cast) | |
2110 | (var_value_operation::evaluate_for_cast): Update. | |
2111 | * c-lang.c (c_string_operation::evaluate): Update. | |
2112 | * c-exp.h (objc_nsstring_operation::evaluate) | |
2113 | (objc_selector_operation::evaluate): Update. | |
2114 | * ada-lang.c (ada_assign_operation::evaluate) | |
2115 | (eval_ternop_in_range, ada_unop_neg, ada_unop_in_range) | |
2116 | (ada_atr_size): Update. | |
2117 | ||
96db551d TT |
2118 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2119 | ||
2120 | * eval.c: Merge "namespace" scopes. | |
2121 | ||
ce284361 TT |
2122 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2123 | ||
2124 | * parser-defs.h (struct expr_builder) <expr_builder>: Inline. | |
2125 | <release>: Inline. | |
2126 | * parse.c (expr_builder::expr_builder, expr_builder::release): | |
2127 | Remove. | |
2128 | ||
b9d06571 TT |
2129 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2130 | ||
2131 | * parse.c (expression::expression, expression::~expression): | |
2132 | Remove. | |
2133 | * expression.h (struct expression): Inline constructor. Remove | |
2134 | destructor. | |
2135 | ||
79ab486e TT |
2136 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2137 | ||
2138 | * std-operator.def (BINOP_END): Remove. | |
2139 | * p-exp.y (tokentab3, tokentab2): Use OP_NULL, not BINOP_END. | |
2140 | * go-exp.y (tokentab2): Use OP_NULL, not BINOP_END. | |
2141 | * f-exp.y (dot_ops, f77_keywords): Use OP_NULL, not BINOP_END. | |
2142 | * d-exp.y (tokentab2, ident_tokens): Use OP_NULL, not BINOP_END. | |
2143 | * c-exp.y (tokentab3, tokentab2, ident_tokens): Use OP_NULL, not | |
2144 | BINOP_END. | |
2145 | ||
48fa6f23 TT |
2146 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2147 | ||
2148 | * expression.h (enum exp_opcode) <OP_UNUSED_LAST>: Remove. | |
2149 | ||
43f542e3 TT |
2150 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2151 | ||
2152 | * std-operator.def (OP_EXTENDED0): Remove. | |
2153 | ||
5d9ba982 TT |
2154 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2155 | ||
2156 | * std-operator.def (OP_NAME, OP_ATR_IMAGE, OP_ATR_MODULUS) | |
2157 | (OP_OTHERS, OP_CHOICES, OP_POSITIONAL, OP_DISCRETE_RANGE): | |
2158 | Remove. | |
2159 | ||
d357570d TT |
2160 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2161 | ||
2162 | * std-operator.def (UNOP_CAP, UNOP_CHR, UNOP_ORD, UNOP_FLOAT) | |
2163 | (UNOP_MAX, UNOP_MIN, UNOP_ODD, UNOP_TRUNC, OP_M2_STRING): Remove. | |
2164 | ||
0922dc84 TT |
2165 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2166 | ||
2167 | * std-operator.def (OP_ATR_MIN, OP_ATR_MAX): Remove. | |
2168 | * ada-lang.c (ada_binop_minmax): Update. | |
2169 | * ada-exp.h (ada_binop_min_operation, ada_binop_max_operation): | |
2170 | Use BINOP_MIN and BINOP_MAX. | |
2171 | ||
1eaebe02 TT |
2172 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2173 | ||
2174 | * value.h (evaluate_subexp_with_coercion): Don't declare. | |
2175 | * parse.c (exp_descriptor_standard): Remove. | |
2176 | (expr_builder::expr_builder, expr_builder::release): Update. | |
2177 | (expression::expression): Remove size_t parameter. | |
2178 | (expression::~expression): Simplify. | |
2179 | (expression::resize): Remove. | |
2180 | (write_exp_elt, write_exp_elt_opcode, write_exp_elt_sym) | |
2181 | (write_exp_elt_msym, write_exp_elt_block, write_exp_elt_objfile) | |
2182 | (write_exp_elt_longcst, write_exp_elt_floatcst) | |
2183 | (write_exp_elt_type, write_exp_elt_intern, write_exp_string) | |
2184 | (write_exp_string_vector, write_exp_bitstring): Remove. | |
2185 | * p-lang.h (class pascal_language) <opcode_print_table, | |
2186 | op_print_tab>: Remove. | |
2187 | * p-lang.c (pascal_language::op_print_tab): Remove. | |
2188 | * opencl-lang.c (class opencl_language) <opcode_print_table>: | |
2189 | Remove. | |
2190 | * objc-lang.c (objc_op_print_tab): Remove. | |
2191 | (class objc_language) <opcode_print_table>: Remove. | |
2192 | * m2-lang.h (class m2_language) <opcode_print_table, | |
2193 | op_print_tab>: Remove. | |
2194 | * m2-lang.c (m2_language::op_print_tab): Remove. | |
2195 | * language.h (struct language_defn) <post_parser, expression_ops, | |
2196 | opcode_print_table>: Remove. | |
2197 | * language.c (language_defn::expression_ops) | |
2198 | (auto_or_unknown_language::opcode_print_table): Remove. | |
2199 | * go-lang.h (class go_language) <opcode_print_table, | |
2200 | op_print_tab>: Remove. | |
2201 | * go-lang.c (go_language::op_print_tab): Remove. | |
2202 | * f-lang.h (class f_language) <opcode_print_table>: Remove | |
2203 | <op_print_tab>: Remove. | |
2204 | * f-lang.c (f_language::op_print_tab): Remove. | |
2205 | * expression.h (union exp_element): Remove. | |
2206 | (struct expression): Remove size_t parameter from constructor. | |
2207 | <resize>: Remove. | |
2208 | <first_opcode>: Update. | |
2209 | <nelts, elts>: Remove. | |
2210 | (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM): Remove. | |
2211 | (evaluate_subexp_standard, print_expression, op_string) | |
2212 | (dump_raw_expression): Don't declare. | |
2213 | * expprint.c (print_expression, print_subexp) | |
2214 | (print_subexp_funcall, print_subexp_standard, op_string) | |
2215 | (dump_raw_expression, dump_subexp, dump_subexp_body) | |
2216 | (dump_subexp_body_funcall, dump_subexp_body_standard): Remove. | |
2217 | (dump_prefix_expression): Update. | |
2218 | * eval.c (evaluate_subexp): Remove. | |
2219 | (evaluate_expression, evaluate_type): Update. | |
2220 | (evaluate_subexpression_type): Remove. | |
2221 | (fetch_subexp_value): Remove "pc" parameter. Update. | |
2222 | (extract_field_op, evaluate_struct_tuple, evaluate_funcall) | |
2223 | (evaluate_subexp_standard, evaluate_subexp_for_address) | |
2224 | (evaluate_subexp_with_coercion, evaluate_subexp_for_sizeof) | |
2225 | (evaluate_subexp_for_cast): Remove. | |
2226 | (parse_and_eval_type): Update. | |
2227 | * dtrace-probe.c (dtrace_probe::compile_to_ax): Update. | |
2228 | * d-lang.c (d_op_print_tab): Remove. | |
2229 | (class d_language) <opcode_print_table>: Remove. | |
2230 | * c-lang.h (c_op_print_tab): Don't declare. | |
2231 | * c-lang.c (c_op_print_tab): Remove. | |
2232 | (class c_language, class cplus_language, class asm_language, class | |
2233 | minimal_language) <opcode_print_table>: Remove. | |
2234 | * breakpoint.c (update_watchpoint, watchpoint_check) | |
2235 | (watchpoint_exp_is_const, watch_command_1): Update. | |
2236 | * ax-gdb.h (union exp_element): Don't declare. | |
2237 | * ax-gdb.c (const_var_ref, const_expr, maybe_const_expr) | |
2238 | (gen_repeat, gen_sizeof, gen_expr_for_cast, gen_expr) | |
2239 | (gen_expr_binop_rest): Remove. | |
2240 | (gen_trace_for_expr, gen_eval_for_expr, gen_printf): Update. | |
2241 | * ada-lang.c (ada_op_print_tab): Remove. | |
2242 | (class ada_language) <post_parser, opcode_print_table>: Remove. | |
2243 | ||
f2a98603 TT |
2244 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2245 | ||
2246 | * go-lang.c (go_language::expression_ops): Don't declare. | |
2247 | * go-lang.h (class go_language) <expression_ops>: Remove. | |
2248 | * opencl-lang.c (evaluate_subexp_opencl, exp_descriptor_opencl): | |
2249 | Remove. | |
2250 | (class opencl_language) <expression_ops>: Remove. | |
2251 | * d-lang.c (class d_language) <expression_ops>: Remove. | |
2252 | * c-lang.h (evaluate_subexp_c, exp_descriptor_c): Don't declare. | |
2253 | * c-lang.c (evaluate_subexp_c, exp_descriptor_c): Remove. | |
2254 | (class c_language, class cplus_language, class asm_language) | |
2255 | (class minimal_language) <expression_ops>: Remove. | |
2256 | ||
d3c54a1c TT |
2257 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2258 | ||
2259 | * ada-lang.c (resolve_subexp, replace_operator_with_call) | |
2260 | (evaluate_subexp_type, assign_aggregate) | |
2261 | (aggregate_assign_positional, aggregate_assign_from_choices) | |
2262 | (aggregate_assign_others, ada_evaluate_subexp_for_cast) | |
2263 | (ada_evaluate_subexp, ADA_OPERATORS, ada_operator_length) | |
2264 | (ada_operator_check, ada_forward_operator_length) | |
2265 | (ada_dump_subexp_body, ada_print_subexp, ada_exp_descriptor): | |
2266 | Remove. | |
2267 | (post_parser): Update. | |
2268 | (class ada_language) <expresssion_ops>: Remove. | |
2269 | ||
5871f0a3 TT |
2270 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2271 | ||
2272 | * m2-lang.h (class m2_language) <expresssion_ops, | |
2273 | exp_descriptor_modula2>: Remove. | |
2274 | * m2-lang.c (evaluate_subexp_modula2) | |
2275 | (m2_language::exp_descriptor_modula2): Remove. | |
2276 | ||
a99be8c1 TT |
2277 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2278 | ||
2279 | * f-lang.h (class f_language) <expresssion_ops>: Remove. | |
2280 | <exp_descriptor_tab>: Remove. | |
2281 | * f-lang.c (fortran_value_subarray, evaluate_subexp_f) | |
2282 | (operator_length_f, print_unop_subexp_f, print_binop_subexp_f) | |
2283 | (print_subexp_f, dump_subexp_body_f, operator_check_f) | |
2284 | (f_language::exp_descriptor_tab, fortran_prepare_argument): | |
2285 | Remove. | |
2286 | ||
aa1da9ed TT |
2287 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2288 | ||
2289 | * rust-lang.h (class rust_language) <expression_ops, | |
2290 | exp_descriptor_tab>: Remove. | |
2291 | * rust-lang.c (rust_evaluate_funcall): Remove. | |
2292 | (rust_range, rust_subscript, eval_op_rust_complement): Don't use | |
2293 | EVAL_SKIP. | |
2294 | (rust_evaluate_subexp): Remove. | |
2295 | (rust_aggregate_operation::evaluate): Don't use EVAL_SKIP. | |
2296 | (rust_operator_length, rust_dump_subexp_body, rust_print_subexp) | |
2297 | (rust_operator_check, rust_language::exp_descriptor_tab): Remove. | |
2298 | ||
08a057e6 TT |
2299 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2300 | ||
2301 | * ada-exp.y: Create operations. | |
2302 | (empty_stoken): Remove. | |
2303 | (ada_pop, ada_wrap, ada_addrof, ada_un_wrap2, ada_wrap2) | |
2304 | (ada_wrap_op, ada_wrap3, ada_funcall): New functions. | |
2305 | (components): New global. | |
2306 | (push_component, choice_component, pop_component, pop_components): | |
2307 | New functions. | |
2308 | (associations): New global | |
2309 | (push_association, pop_association, pop_associations): New | |
2310 | functions. | |
2311 | (ada_parse): Update. | |
2312 | (write_var_from_sym, write_int): Create operations. | |
2313 | (write_exp_op_with_string): Remove. | |
2314 | (write_object_renaming, write_selectors, write_ambiguous_var) | |
2315 | (write_var_or_type, write_name_assoc): Create operations. | |
2316 | * ada-lang.h (ada_index_type): Declare. | |
2317 | * ada-lang.c (ada_index_type): No longer static. | |
2318 | ||
d308ba78 TT |
2319 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2320 | ||
2321 | * f-exp.y: Create operations. | |
2322 | (f_language::parser): Update. | |
2323 | ||
f1b8ceef TT |
2324 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2325 | ||
2326 | * m2-exp.y: Create operations. | |
2327 | (m2_language::parser): Update. | |
2328 | ||
3163898e TT |
2329 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2330 | ||
2331 | * p-exp.y: Create operations. | |
2332 | (pascal_language::parser): Update. | |
2333 | ||
9412fdcc TT |
2334 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2335 | ||
2336 | * d-exp.y: Create operations. | |
2337 | (d_parse): Update. | |
2338 | ||
bb4e0574 TT |
2339 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2340 | ||
2341 | * go-exp.y: Create operations. | |
2342 | (go_language::parser): Update. | |
2343 | ||
d182f279 TT |
2344 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2345 | ||
2346 | * objc-lang.c (end_msglist): Create operations. | |
2347 | * c-exp.y: Change parser to create operations. | |
2348 | (write_destructor_name): Remove. | |
2349 | (c_parse): Update. | |
2350 | ||
c1299a23 TT |
2351 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2352 | ||
2353 | * rust-exp.y: Create operations. | |
2354 | (rust_parser::convert_params_to_expression): Change return type. | |
2355 | (binop_maker_ftype): New typedef. | |
2356 | (maker_map): New global. | |
2357 | (rust_parser::convert_ast_to_expression): Change return type. | |
2358 | (rust_language::parser): Update. | |
2359 | (_initialize_rust_exp): Initialize maker_map. | |
2360 | ||
4c5e7a93 TT |
2361 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2362 | ||
2363 | * stap-probe.c (binop_maker_ftype): New typedef. | |
2364 | (stap_maker_map): New global. | |
2365 | (stap_make_binop): New function. | |
2366 | (stap_parse_register_operand): Return operation_up. | |
2367 | (stap_parse_single_operand, stap_parse_argument_conditionally) | |
2368 | (stap_parse_argument_1): Likewise. | |
2369 | (stap_parse_argument): Create operations. | |
2370 | (stap_probe::parse_arguments): Update. | |
2371 | (_initialize_stap_probe): Initialize stap_maker_map. | |
2372 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Change return | |
2373 | type. | |
2374 | * i386-tdep.h (i386_stap_parse_special_token): Change return | |
2375 | type. | |
2376 | * i386-tdep.c (i386_stap_parse_special_token_triplet) | |
2377 | (i386_stap_parse_special_token_three_arg_disp) | |
2378 | (i386_stap_parse_special_token): Change return type. | |
2379 | * gdbarch.sh (stap_parse_special_token): Change return type. | |
2380 | * gdbarch.c: Rebuild. | |
2381 | * gdbarch.h: Rebuild. | |
2382 | * arm-linux-tdep.c (arm_stap_parse_special_token): Change return | |
2383 | type. | |
2384 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): Change | |
2385 | return type. | |
2386 | ||
482ddd69 TT |
2387 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2388 | ||
2389 | * gdbarch.sh (dtrace_parse_probe_argument): Change return type. | |
2390 | * gdbarch.h: Rebuild. | |
2391 | * gdbarch.c: Rebuild. | |
2392 | * dtrace-probe.c (dtrace_probe::build_arg_exprs): Update. | |
2393 | * amd64-linux-tdep.c (amd64_dtrace_parse_probe_argument): Change | |
2394 | return type. | |
2395 | (amd64_dtrace_parse_probe_argument): Update. | |
2396 | ||
8227d9e2 TT |
2397 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2398 | ||
2399 | * parser-defs.h (struct parser_state) <push, push_new, | |
2400 | push_c_string, push_symbol, push_dollar, pop, pop_vector, wrap, | |
2401 | wrap2>: New methods. | |
2402 | <m_operations>: New member. | |
2403 | * parse.c (parser_state::push_c_string) | |
2404 | (parser_state::push_symbol, parser_state::push_dollar): New | |
2405 | methods. | |
2406 | ||
4933522d TT |
2407 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2408 | ||
2409 | * parser-defs.h (struct expr_completion_state) <expout_last_op>: | |
2410 | New member. | |
2411 | (struct parser_state) <mark_struct_expression>: New method. | |
2412 | * parse.c (parser_state::mark_struct_expression): Update assert. | |
2413 | (parser_state::mark_struct_expression): New method. | |
2414 | (parser_state::mark_completion_tag): Update assert. | |
2415 | (parse_expression_for_completion): Handle expout_last_op. | |
2416 | ||
413403fc TT |
2417 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2418 | ||
2419 | * ada-exp.h (class ada_var_value_operation) <get_symbol>: Remove; | |
2420 | now in superclass. | |
2421 | * value.h (fetch_subexp_value): Add "op" parameter. | |
2422 | * value.c (init_if_undefined_command): Update. | |
2423 | * tracepoint.c (validate_actionline, encode_actions_1): Update. | |
2424 | * stap-probe.c (stap_probe::compile_to_ax): Update. | |
2425 | * printcmd.c (set_command): Update. | |
2426 | * ppc-linux-nat.c (ppc_linux_nat_target::check_condition): | |
2427 | Update. | |
2428 | * parser-defs.h (struct expr_builder) <set_operation>: New | |
2429 | method. | |
2430 | * parse.c (parse_exp_in_context, exp_uses_objfile): Update. | |
2431 | * expression.h (struct expression) <first_opcode>: Update. | |
2432 | <op>: New member. | |
2433 | * expprint.c (dump_raw_expression, dump_prefix_expression): | |
2434 | Update. | |
2435 | * expop.h (class var_value_operation) <get_symbol>: New method. | |
2436 | (class register_operation) <get_name>: New method. | |
2437 | (class equal_operation): No longer a typedef, now a subclass. | |
2438 | (class unop_memval_operation) <get_type>: New method. | |
2439 | (class assign_operation) <get_lhs>: New method. | |
2440 | (class unop_cast_operation) <get_type>: New method. | |
2441 | * eval.c (evaluate_expression, evaluate_type) | |
2442 | (evaluate_subexpression_type): Update. | |
2443 | (fetch_subexp_value): Add "op" parameter. | |
2444 | (parse_and_eval_type): Update. | |
2445 | * dtrace-probe.c (dtrace_probe::compile_to_ax): Update. | |
2446 | * breakpoint.c (update_watchpoint, watchpoint_check) | |
2447 | (watchpoint_exp_is_const, watch_command_1): Update. | |
2448 | * ax-gdb.c (gen_trace_for_expr, gen_eval_for_expr, gen_printf): | |
2449 | Update. | |
2450 | ||
b0f9164c TT |
2451 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2452 | ||
2453 | * ada-lang.c (ada_value_binop): Do not use op_string. | |
2454 | ||
a88c4354 TT |
2455 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2456 | ||
2457 | * expprint.c (dump_for_expression): New overload. | |
2458 | * expop.h (check_objfile, dump_for_expression): Declare new | |
2459 | overloads. | |
2460 | * ada-lang.c (check_objfile): New overload. | |
2461 | (assign_component, ada_aggregate_component::uses_objfile) | |
2462 | (ada_aggregate_component::dump, ada_aggregate_component::assign) | |
2463 | (ada_aggregate_component::assign_aggregate) | |
2464 | (ada_positional_component::uses_objfile) | |
2465 | (ada_positional_component::dump, ada_positional_component::assign) | |
2466 | (ada_discrete_range_association::uses_objfile) | |
2467 | (ada_discrete_range_association::dump) | |
2468 | (ada_discrete_range_association::assign) | |
2469 | (ada_name_association::uses_objfile, ada_name_association::dump) | |
2470 | (ada_name_association::assign) | |
2471 | (ada_choices_component::uses_objfile, ada_choices_component::dump) | |
2472 | (ada_choices_component::assign) | |
2473 | (ada_others_component::uses_objfile, ada_others_component::dump) | |
2474 | (ada_others_component::assign, ada_assign_operation::evaluate): | |
2475 | New methods. | |
2476 | * ada-exp.h (ada_string_operation) <get_name>: New method. | |
2477 | (class ada_assign_operation): New. | |
2478 | (class ada_component): New. | |
2479 | (ada_component_up): New typedef. | |
2480 | (class ada_aggregate_operation, class ada_aggregate_component) | |
2481 | (class ada_positional_component, class ada_others_component) | |
2482 | (class ada_association): New. | |
2483 | (ada_association_up): New typedef. | |
2484 | (class ada_choices_component) | |
2485 | (class ada_discrete_range_association) | |
2486 | (class ada_name_association): New. | |
2487 | ||
d8a4ed8a TT |
2488 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2489 | ||
2490 | * ada-lang.c (ada_var_value_operation::resolve) | |
2491 | (ada_funcall_operation::resolve) | |
2492 | (ada_ternop_slice_operation::resolve): New methods. | |
2493 | * ada-exp.h (struct ada_resolvable): New. | |
2494 | (class ada_var_value_operation): Derive from ada_resolvable. | |
2495 | <get_block, resolve>: New methods. | |
2496 | (class ada_funcall_operation): Derive from ada_resolvable. | |
2497 | <resolve>: New method. | |
2498 | (class ada_ternop_slice_operation): Derive from ada_resolvable. | |
2499 | <resolve>: New method. | |
2500 | ||
efe3af2f TT |
2501 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2502 | ||
2503 | * ada-lang.c (ada_funcall_operation::evaluate): New method. | |
2504 | * ada-exp.h (class ada_var_msym_value_operation) <get_symbol>: New | |
2505 | method. | |
2506 | (class ada_funcall_operation): New. | |
2507 | ||
ebc06ad8 TT |
2508 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2509 | ||
2510 | * ada-lang.c (ada_structop_operation::evaluate): New method. | |
2511 | * ada-exp.h (class ada_structop_operation): New. | |
2512 | ||
e8c33fa1 TT |
2513 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2514 | ||
2515 | * ada-lang.c (ada_unop_ind_operation::evaluate): New method. | |
2516 | * ada-exp.h (class ada_unop_ind_operation): New. | |
2517 | ||
065ec826 TT |
2518 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2519 | ||
2520 | * ada-lang.c (ada_binop_exp): No longer static. | |
2521 | * ada-exp.h (ada_binop_exp_operation): New typedef. | |
2522 | ||
9e99f48f TT |
2523 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2524 | ||
2525 | * ada-lang.c (ada_val_atr): No longer static. | |
2526 | (ada_atr_val_operation::evaluate): New method. | |
2527 | * ada-exp.h (class ada_atr_val_operation): New. | |
2528 | ||
7631cf6c TT |
2529 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2530 | ||
2531 | * ada-lang.c (ada_pos_atr): No longer static. | |
2532 | * ada-exp.h (ada_pos_operation): New typedef. | |
2533 | ||
7992accc TT |
2534 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2535 | ||
2536 | * ada-lang.c (ada_pos_atr): Rename from value_pos_atr. Change | |
2537 | parameters. | |
2538 | (ada_evaluate_subexp): Use it. | |
2539 | ||
6ad3b8bf TT |
2540 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2541 | ||
2542 | * ada-lang.c (ada_binop_minmax): No longer static. | |
2543 | * ada-exp.h (ada_binop_min_operation, ada_binop_max_operation): | |
2544 | New typedefs. | |
2545 | ||
3f4a0053 TT |
2546 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2547 | ||
2548 | * ada-lang.c (ada_var_msym_value_operation::evaluate_for_cast): | |
2549 | New method. | |
2550 | * ada-exp.h (class ada_var_msym_value_operation): New. | |
2551 | ||
99a3b1e7 TT |
2552 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2553 | ||
2554 | * ada-lang.c (ada_var_value_operation::evaluate_for_cast) | |
2555 | (ada_var_value_operation::evaluate): New methods. | |
2556 | * ada-exp.h (class ada_var_value_operation): New. | |
2557 | ||
60fa02ca TT |
2558 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2559 | ||
2560 | * ada-lang.c (ada_unop_atr_operation::evaluate): New method. | |
2561 | * ada-exp.h (class ada_unop_atr_operation): New. | |
2562 | ||
82c3886e TT |
2563 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2564 | ||
2565 | * ada-lang.c (ada_binop_in_bounds): No longer static. | |
2566 | * ada-exp.h (class ada_binop_in_bounds_operation): New. | |
2567 | ||
1b1ebfab TT |
2568 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2569 | ||
2570 | * ada-lang.c (ada_ternop_slice): No longer static. | |
2571 | * ada-exp.h (class ada_ternop_slice_operation): New. | |
2572 | ||
039e4b76 TT |
2573 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2574 | ||
2575 | * ada-exp.h (ada_bitwise_operation): New template class. | |
2576 | (ada_bitwise_and_operation, ada_bitwise_ior_operation) | |
2577 | (ada_bitwise_xor_operation): New typedefs. | |
2578 | ||
6e8fb7b7 TT |
2579 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2580 | ||
2581 | * ada-lang.c (ada_equal_binop): No longer static. | |
2582 | * ada-exp.h (class ada_binop_equal_operation): New. | |
2583 | ||
d9e7db06 TT |
2584 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2585 | ||
2586 | * ada-lang.c (ada_mult_binop): No longer static. | |
2587 | * ada-exp.h (ada_binop_mul_operation ada_binop_div_operation) | |
2588 | (ada_binop_rem_operation, ada_binop_mod_operation): New typedefs. | |
2589 | ||
73796c73 TT |
2590 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2591 | ||
2592 | * ada-lang.c (ada_binop_addsub_operation::evaluate): New method. | |
2593 | * ada-exp.h (class ada_binop_addsub_operation): New. | |
2594 | ||
cd9a3148 TT |
2595 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2596 | ||
2597 | * ada-lang.h (ada_find_operator_symbol, ada_resolve_funcall) | |
2598 | (ada_resolve_variable): Declare. | |
2599 | * ada-lang.c (ada_find_operator_symbol, ada_resolve_funcall) | |
2600 | (ada_resolve_variable): New functions. | |
2601 | (resolve_subexp): Update. | |
2602 | ||
cf12b17f TT |
2603 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2604 | ||
2605 | * opencl-lang.c (opencl_ternop_cond_operation::evaluate): New | |
2606 | method. | |
2607 | * c-exp.h (class opencl_ternop_cond_operation): New. | |
2608 | ||
944fd3b8 TT |
2609 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2610 | ||
2611 | * opencl-lang.c (opencl_logical_binop_operation::evaluate): New | |
2612 | method. | |
2613 | * c-exp.h (class opencl_logical_binop_operation): New. | |
2614 | ||
33b79214 TT |
2615 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2616 | ||
2617 | * opencl-lang.c (opencl_structop_operation::evaluate): New | |
2618 | method. | |
2619 | * c-exp.h (class opencl_structop_operation): New. | |
2620 | ||
2492ba36 TT |
2621 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2622 | ||
2623 | * opencl-lang.c (opencl_logical_not): No longer static. Change | |
2624 | parameters. | |
2625 | (evaluate_subexp_opencl): Update. | |
2626 | * c-exp.h (opencl_notequal_operation): New typedef. | |
2627 | ||
a88c3c8d TT |
2628 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2629 | ||
2630 | * opencl-lang.c (opencl_relop, eval_opencl_assign): No longer | |
2631 | static. Change parameters. | |
2632 | (eval_opencl_assign): No longer static. Add "op" parameter. | |
2633 | (evaluate_subexp_opencl): Update. | |
2634 | * c-exp.h (opencl_binop_operation): New template class. | |
2635 | (opencl_assign_operation, opencl_equal_operation) | |
2636 | (opencl_notequal_operation, opencl_less_operation) | |
2637 | (opencl_gtr_operation, opencl_geq_operation) | |
2638 | (opencl_leq_operation): New typedefs. | |
2639 | ||
e9677704 TT |
2640 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2641 | ||
2642 | * opencl-lang.c (opencl_value_cast): No longer static. | |
2643 | * c-exp.h (opencl_cast_type_operation): New typedef. | |
2644 | ||
f403a4e4 TT |
2645 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2646 | ||
2647 | * f-exp.h (eval_op_f_allocated): Declare. | |
2648 | (fortran_allocated_operation): New typedef. | |
2649 | * f-lang.c (eval_op_f_allocated): No longer static. | |
2650 | ||
eb4c9271 TT |
2651 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2652 | ||
2653 | * f-lang.c (eval_op_f_associated): New functions. | |
2654 | * f-exp.h (fortran_associated_1arg, fortran_associated_2arg): New | |
2655 | typedefs. | |
2656 | ||
58a76c72 TT |
2657 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2658 | ||
2659 | * f-lang.c (fortran_bound_1arg::evaluate) | |
2660 | (fortran_bound_2arg::evaluate): New methods. | |
2661 | * f-exp.h (class fortran_bound_1arg, class fortran_bound_2arg): | |
2662 | New. | |
2663 | ||
2f98abe1 TT |
2664 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2665 | ||
2666 | * expop.h (class unop_addr_operation) <get_expression>: New | |
2667 | method. | |
2668 | * f-lang.c (fortran_undetermined::value_subarray) | |
2669 | (fortran_undetermined::evaluate): New methods. | |
2670 | (fortran_prepare_argument): New overload. | |
2671 | * f-exp.h (class fortran_range_operation) | |
2672 | (class fortran_undetermined): New classes. | |
2673 | ||
638fd74a TT |
2674 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2675 | ||
2676 | * rust-lang.c (rust_structop::evaluate_funcall): New method. | |
2677 | * rust-exp.h (class rust_structop) <evaluate_funcall>: Declare | |
2678 | method. | |
2679 | ||
a00b7254 TT |
2680 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2681 | ||
2682 | * expression.h (class operation) <evaluate_funcall>: New methods. | |
2683 | * expop.h (class scope_operation) <evaluate_funcall>: New method. | |
2684 | (class var_value_operation) <evaluate_funcall>: New method. | |
2685 | (class structop_base_operation) <evaluate_funcall>: New method. | |
2686 | (class var_msym_value_operation) <evaluate_funcall>: New method. | |
2687 | (class structop_member_base): New class. | |
2688 | (class structop_member_operation): Derive from | |
2689 | structop_member_base. | |
2690 | (class structop_mptr_operation): Derive from | |
2691 | structop_member_base. | |
2692 | (class funcall_operation): New class. | |
2693 | * eval.c (operation::evaluate_funcall) | |
2694 | (var_value_operation::evaluate_funcall) | |
2695 | (scope_operation::evaluate_funcall) | |
2696 | (structop_member_base::evaluate_funcall) | |
2697 | (structop_base_operation::evaluate_funcall): New methods. | |
2698 | ||
1c02eb30 TT |
2699 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2700 | ||
2701 | * expop.h (class array_operation): New. | |
2702 | * eval.c (array_operation::evaluate_struct_tuple) | |
2703 | (array_operation::evaluate): New methods. | |
2704 | ||
e4479080 TT |
2705 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2706 | ||
2707 | * expop.h (class adl_func_operation): New. | |
2708 | * eval.c (adl_func_operation::evaluate): New method. | |
2709 | ||
95d49dfb TT |
2710 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2711 | ||
2712 | * ada-lang.c (ada_unop_in_range): No longer static. | |
2713 | * ada-exp.h (class ada_unop_range_operation): New. | |
2714 | ||
7c15d377 TT |
2715 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2716 | ||
2717 | * ada-lang.c (ada_unop_neg, ada_atr_tag, ada_atr_size, ada_abs): | |
2718 | No longer static. | |
2719 | * ada-exp.h (ada_neg_operation, ada_atr_tag_operation) | |
2720 | (ada_atr_size_operation, ada_abs_operation): New typedefs. | |
2721 | ||
5019124b TT |
2722 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2723 | ||
2724 | * expop.h (class logical_and_operation) | |
2725 | (class logical_or_operation): New. | |
2726 | * eval.c (logical_and_operation::evaluate) | |
2727 | (logical_or_operation::evaluate): New methods. | |
2728 | * ax-gdb.c (logical_and_operation::do_generate_ax) | |
2729 | (logical_or_operation::do_generate_ax): New methods. | |
2730 | ||
2bc9b40c TT |
2731 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2732 | ||
2733 | * m2-lang.c (eval_op_m2_high, eval_op_m2_subscript): No longer | |
2734 | static. | |
2735 | * m2-exp.h: New file. | |
2736 | ||
5947d337 TT |
2737 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2738 | ||
2739 | * rust-lang.c (rust_aggregate_operation::evaluate): New method. | |
2740 | * rust-exp.h (class rust_aggregate_operation): New. | |
2741 | ||
e4407a20 TT |
2742 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2743 | ||
2744 | * rust-lang.c (eval_op_rust_struct_anon, eval_op_rust_structop): | |
2745 | No longer static. | |
2746 | * rust-exp.h (class rust_struct_anon): New. | |
2747 | (class rust_structop): New. | |
2748 | ||
9db6b6dd TT |
2749 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2750 | ||
2751 | * rust-lang.c (rust_range): No longer static. | |
2752 | * rust-exp.h (class rust_range_operation): New. | |
2753 | ||
6ce1ad67 TT |
2754 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2755 | ||
2756 | * rust-lang.c (rust_subscript): No longer static. | |
2757 | * rust-exp.h (class rust_subscript_operation): New. | |
2758 | ||
11dd3dce TT |
2759 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2760 | ||
2761 | * rust-lang.c (eval_op_rust_ind): No longer static. Add "opcode" | |
2762 | parameter. | |
2763 | (rust_evaluate_subexp): Update. | |
2764 | * rust-exp.h (class rust_unop_ind_operation): New. | |
2765 | ||
6fab4359 TT |
2766 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2767 | ||
2768 | * rust-lang.c (eval_op_rust_complement, eval_op_rust_array): No | |
2769 | longer static. Add "opcode" parameter. | |
2770 | (rust_evaluate_subexp): Update. | |
2771 | * rust-exp.h: New file. | |
2772 | ||
9dcd3e29 TT |
2773 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2774 | ||
2775 | * f-lang.c (eval_op_f_abs, eval_op_f_mod, eval_op_f_ceil) | |
2776 | (eval_op_f_floor, eval_op_f_modulo, eval_op_f_cmplx) | |
2777 | (eval_op_f_kind): No longer static. Add "opcode" parameter. | |
2778 | (evaluate_subexp_f): Update. | |
2779 | * f-exp.h: New file. | |
2780 | ||
fc715eb2 TT |
2781 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2782 | ||
2783 | * ada-lang.c (ada_ternop_range_operation::evaluate): New method. | |
2784 | * ada-exp.h (class ada_ternop_range_operation): New. | |
2785 | ||
cc6bd32e TT |
2786 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2787 | ||
2788 | * ada-lang.c (ada_qual_operation::evaluate): New method. | |
2789 | * ada-exp.h (class ada_qual_operation): New. | |
2790 | ||
42fecb61 TT |
2791 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2792 | ||
2793 | * ada-lang.c (ada_string_operation::evaluate): New method. | |
2794 | * ada-exp.h (class ada_string_operation): New. | |
2795 | ||
03070ee9 TT |
2796 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2797 | ||
2798 | * ada-lang.c (ada_wrapped_operation::evaluate): New method. | |
2799 | * ada-exp.h: New file. | |
2800 | ||
821e72d7 TT |
2801 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2802 | ||
2803 | * expop.h (class multi_subscript_operation): New. | |
2804 | * eval.c (multi_subscript_operation::evaluate): New method. | |
2805 | ||
085734dd TT |
2806 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2807 | ||
2808 | * eval.c (objc_msgcall_operation::evaluate): New method. | |
2809 | * c-exp.h (class objc_msgcall_operation): New. | |
2810 | ||
e82a5afc TT |
2811 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2812 | ||
2813 | * expop.h (class var_value_operation): New. | |
2814 | * eval.c (var_value_operation::evaluate) | |
2815 | (var_value_operation::evaluate_for_address) | |
2816 | (var_value_operation::evaluate_with_coercion) | |
2817 | (var_value_operation::evaluate_for_sizeof) | |
2818 | (var_value_operation::evaluate_for_cast): New methods. | |
2819 | * ax-gdb.c (var_value_operation::do_generate_ax): New method. | |
2820 | ||
d9ad79d8 TT |
2821 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2822 | ||
2823 | * expop.h (cxx_cast_ftype): New typedef. | |
2824 | (cxx_cast_operation): New template. | |
2825 | (dynamic_cast_operation, reinterpret_cast_operation): New | |
2826 | typedefs. | |
2827 | ||
292382f4 TT |
2828 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2829 | ||
2830 | * expop.h (class unop_cast_type_operation): New. | |
2831 | * ax-gdb.c (unop_cast_type_operation::do_generate_ax): New | |
2832 | method. | |
2833 | ||
165a813a TT |
2834 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2835 | ||
2836 | * expop.h (class unop_cast_operation): New. | |
2837 | * ax-gdb.c (unop_cast_operation::do_generate_ax): New method. | |
2838 | ||
e5946e16 TT |
2839 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2840 | ||
2841 | * expop.h (class assign_modify_operation): New. | |
2842 | * eval.c (eval_binop_assign_modify): No longer static. | |
2843 | * ax-gdb.c (assign_modify_operation::do_generate_ax): New method. | |
2844 | ||
40786782 TT |
2845 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2846 | ||
2847 | * expop.h (class assign_operation): New. | |
2848 | * ax-gdb.c (assign_operation::do_generate_ax): New method. | |
2849 | ||
44b675c8 TT |
2850 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2851 | ||
2852 | * expop.h (class type_instance_operation): New. | |
2853 | * eval.c (type_instance_operation::evaluate): New method. | |
2854 | ||
f6b42326 TT |
2855 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2856 | ||
2857 | * expop.h (class op_this_operation): New. | |
2858 | * ax-gdb.c (op_this_operation::do_generate_ax): New method. | |
2859 | ||
cbc18219 TT |
2860 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2861 | ||
2862 | * expop.h (class unop_memval_operation) | |
2863 | (class unop_memval_type_operation): New. | |
2864 | * eval.c (eval_op_memval): No longer static. | |
2865 | (unop_memval_operation::evaluate_for_address) | |
2866 | (unop_memval_type_operation::evaluate_for_address) | |
2867 | (unop_memval_operation::evaluate_for_sizeof) | |
2868 | (unop_memval_type_operation::evaluate_for_sizeof): New methods. | |
2869 | * ax-gdb.c (unop_memval_operation::do_generate_ax) | |
2870 | (unop_memval_type_operation::do_generate_ax): New methods. | |
2871 | ||
ae4bb61e TT |
2872 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2873 | ||
2874 | * expop.h (class unop_alignof_operation): New. | |
2875 | * eval.c (eval_op_alignof): No longer static. | |
2876 | ||
85d23bda TT |
2877 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2878 | ||
2879 | * expop.h (class unop_sizeof_operation): New. | |
2880 | * ax-gdb.c (unop_sizeof_operation::do_generate_ax): New method. | |
2881 | ||
14aff815 TT |
2882 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2883 | ||
2884 | * expop.h (class unop_addr_operation): New. | |
2885 | * ax-gdb.c (gen_expr_unop) <case UNOP_ADDR>: New. | |
2886 | ||
929f3aa7 TT |
2887 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2888 | ||
2889 | * expop.h (class typeid_operation): New. | |
2890 | ||
0af8829e TT |
2891 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2892 | ||
2893 | * expop.h (class decltype_operation): New. | |
2894 | ||
4efc574c TT |
2895 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2896 | ||
2897 | * expop.h (class typeof_operation): New. | |
2898 | ||
5b5f5140 TT |
2899 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2900 | ||
2901 | * expop.h (class type_operation): New. | |
2902 | * eval.c (eval_op_type): No longer static. | |
2903 | ||
876469ff TT |
2904 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2905 | ||
2906 | * expop.h (class unop_ind_base_operation) | |
2907 | (class unop_ind_operation): New. | |
2908 | * eval.c (eval_op_ind): No longer static. Remove "op" parameter. | |
2909 | (unop_ind_base_operation::evaluate_for_address) | |
2910 | (unop_ind_base_operation::evaluate_for_sizeof): New method. | |
2911 | * ax-gdb.c (gen_expr_unop) <case UNOP_IND>: New. | |
2912 | ||
6d89e296 TT |
2913 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2914 | ||
2915 | * expop.h (unop_incr_operation): New template. | |
2916 | (preinc_operation, predec_operation, postinc_operation) | |
2917 | (postdec_operation): New typedefs. | |
2918 | * eval.c (eval_op_preinc, eval_op_predec, eval_op_postinc) | |
2919 | (eval_op_postdec): No longer static. | |
2920 | ||
9307d17b TT |
2921 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2922 | ||
2923 | * expop.h (unary_ftype): New typedef. | |
2924 | (unop_operation, usual_ax_binop_operation): New templates. | |
2925 | (unary_plus_operation, unary_neg_operation) | |
2926 | (unary_complement_operation, unary_logical_not_operation): New | |
2927 | typedefs. | |
2928 | * eval.c (eval_op_plus, eval_op_neg, eval_op_complement) | |
2929 | (eval_op_lognot): No longer static. | |
2930 | * ax-gdb.c (gen_expr_unop): New function. | |
2931 | ||
ae64ba58 TT |
2932 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2933 | ||
2934 | * ax-gdb.c (comma_operation::do_generate_ax): New method. | |
2935 | ||
d4eff4c1 TT |
2936 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2937 | ||
2938 | * expop.h (class repeat_operation): New. | |
2939 | * eval.c (eval_op_repeat): No longer static. Remove "op" | |
2940 | parameter. | |
2941 | (evaluate_subexp_standard): Update. | |
2942 | * ax-gdb.c (repeat_operation::do_generate_ax): New method. | |
2943 | ||
46916f2b TT |
2944 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2945 | ||
2946 | * expop.h (class comparison_operation): New. | |
2947 | (equal_operation, notequal_operation, less_operation) | |
2948 | (gtr_operation, geq_operation, leq_operation): New typedefs. | |
2949 | * eval.c (eval_op_equal, eval_op_notequal, eval_op_less) | |
2950 | (eval_op_gtr, eval_op_geq, eval_op_leq): No longer static. | |
2951 | ||
224d6424 TT |
2952 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2953 | ||
2954 | * expop.h (class subscript_operation): New. | |
2955 | * eval.c (eval_op_subscript): No longer static. | |
2956 | ||
373907ff TT |
2957 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2958 | ||
2959 | * expop.h (class binop_operation, class usual_ax_binop_operation): | |
2960 | New. | |
2961 | (exp_operation, intdiv_operation, mod_operation, mul_operation) | |
2962 | (div_operation, rem_operation, lsh_operation, rsh_operation) | |
2963 | (bitwise_and_operation, bitwise_ior_operation) | |
2964 | (bitwise_xor_operation): New typedefs. | |
2965 | * eval.c (eval_op_binary): No longer static. | |
2966 | ||
5133d78b TT |
2967 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2968 | ||
2969 | * expop.h (class sub_operation): New. | |
2970 | * eval.c (eval_op_sub): No longer static. Remove "op" parameter. | |
2971 | (evaluate_subexp_standard): Update. | |
2972 | ||
a94323b6 TT |
2973 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2974 | ||
2975 | * expop.h (class add_operation): New. | |
2976 | * eval.c (eval_op_add): No longer static. Remove "op" parameter. | |
2977 | (evaluate_subexp_standard): Update. | |
2978 | ||
e51e26a0 TT |
2979 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2980 | ||
2981 | * expop.h (class concat_operation): New. | |
2982 | * eval.c (eval_op_concat): No longer static. Remove "op" | |
2983 | parameter. | |
2984 | (evaluate_subexp_standard): Update. | |
2985 | ||
07f724a8 TT |
2986 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2987 | ||
2988 | * expop.h (class structop_member_operation) | |
2989 | (class structop_mptr_operation): New. | |
2990 | * eval.c (eval_op_member): No longer static. | |
2991 | ||
ab0609be TT |
2992 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2993 | ||
2994 | * expop.h (class structop_ptr_operation): New. | |
2995 | * eval.c (eval_op_structop_ptr): No longer static. Remove "op" | |
2996 | parameter. | |
2997 | ||
808b22cf TT |
2998 | 2021-03-08 Tom Tromey <tom@tromey.com> |
2999 | ||
3000 | * expop.h (class structop_base_operation) | |
3001 | (class structop_operation): New. | |
3002 | * eval.c (eval_op_structop_struct): No longer static. | |
3003 | ||
8cfd3e95 TT |
3004 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3005 | ||
3006 | * expop.h (class complex_operation): New. | |
3007 | ||
09db3700 TT |
3008 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3009 | ||
3010 | * eval.c (eval_op_objc_selector): No longer static. | |
3011 | * c-exp.h (class objc_selector_operation): New. | |
3012 | ||
06dc61b9 TT |
3013 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3014 | ||
3015 | * eval.c: Include c-exp.h. | |
3016 | * c-exp.h (class objc_nsstring_operation): New. | |
3017 | ||
72d0a711 TT |
3018 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3019 | ||
3020 | * c-lang.c (c_string_operation::evaluate): New method. | |
3021 | * c-exp.h: New file. | |
3022 | ||
9186293f TT |
3023 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3024 | ||
3025 | * expop.h (class ternop_cond_operation): New. | |
3026 | * ax-gdb.c (ternop_cond_operation::do_generate_ax): New method. | |
3027 | ||
1594e0bb TT |
3028 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3029 | ||
3030 | * expop.h (class ternop_slice_operation): New. | |
3031 | * eval.c (eval_op_ternop): No longer static. | |
3032 | ||
b50db09f TT |
3033 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3034 | ||
3035 | * expop.h (class string_operation): New. | |
3036 | * eval.c (eval_op_string): No longer static. | |
3037 | ||
e6e01e16 TT |
3038 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3039 | ||
3040 | * expop.h (class internalvar_operation): New. | |
3041 | * ax-gdb.c (internalvar_operation::do_generate_ax): New method. | |
3042 | ||
e6985c5e TT |
3043 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3044 | ||
3045 | * expop.h (class bool_operation): New. | |
3046 | ||
55bdbff8 TT |
3047 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3048 | ||
3049 | * expop.h (class register_operation): New. | |
3050 | * eval.c (eval_op_register): No longer static. | |
3051 | * ax-gdb.c (register_operation::do_generate_ax): New method. | |
3052 | ||
247d935b TT |
3053 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3054 | ||
3055 | * expop.h (class last_operation): New. | |
3056 | ||
17679395 TT |
3057 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3058 | ||
3059 | * expop.h (class func_static_var_operation): New. | |
3060 | * eval.c (eval_op_func_static_var): No longer static. | |
3061 | ||
b5cc3923 TT |
3062 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3063 | ||
3064 | * expop.h (class var_entry_value_operation): New. | |
3065 | * eval.c (eval_op_var_entry_value): No longer static. | |
3066 | ||
0c8effa3 TT |
3067 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3068 | ||
3069 | * expression.h (class operation) <set_outermost>: New method. | |
3070 | * expop.h (class var_msym_value_operation): New. | |
3071 | * eval.c (eval_op_var_msym_value): No longer static. | |
3072 | (var_msym_value_operation::evaluate_for_address) | |
3073 | (var_msym_value_operation::evaluate_for_sizeof) | |
3074 | (var_msym_value_operation::evaluate_for_cast): New methods. | |
3075 | * ax-gdb.c (var_msym_value_operation::do_generate_ax): New | |
3076 | method. | |
3077 | ||
d336c29e TT |
3078 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3079 | ||
3080 | * expop.h (class long_const_operation): New. | |
3081 | * ax-gdb.c (long_const_operation::do_generate_ax): New method. | |
3082 | ||
d5ab122c TT |
3083 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3084 | ||
3085 | * expop.h (class scope_operation): New. | |
3086 | * eval.c (eval_op_scope): No longer static. | |
3087 | (scope_operation::evaluate_for_address): New method. | |
3088 | * ax-gdb.c (scope_operation::do_generate_ax): New method. | |
3089 | ||
cae26a0c TT |
3090 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3091 | ||
3092 | * expprint.c (float_const_operation::dump): New method. | |
3093 | * expop.h (float_data): New typedef. | |
3094 | (class float_const_operation): New. | |
3095 | ||
75f9892d TT |
3096 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3097 | ||
3098 | * expop.h (gen_expr_binop, gen_expr_structop): Declare. | |
3099 | * ax-gdb.c (gen_expr_binop): New function. | |
3100 | (gen_expr_structop): Likewise. | |
3101 | ||
de401988 TT |
3102 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3103 | ||
3104 | * expprint.c (expr::dump_for_expression): New functions. | |
3105 | * expop.h (dump_for_expression): New overloads. | |
3106 | (tuple_holding_operation::dump, tuple_holding_operation::do_dump): | |
3107 | Update. | |
3108 | ||
e2803273 TT |
3109 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3110 | ||
3111 | * expression.h (expr::operation): New class. | |
3112 | (expr::make_operation): New function. | |
3113 | (expr::operation_up): New typedef. | |
3114 | * expop.h: New file. | |
3115 | * eval.c (operation::evaluate_for_cast) | |
3116 | (operation::evaluate_for_address, operation::evaluate_for_sizeof): | |
3117 | New methods. | |
3118 | * ax-gdb.c (operation::generate_ax): New method. | |
3119 | ||
e18c58f2 TT |
3120 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3121 | ||
3122 | * ax-gdb.c (gen_expr_binop_rest): Remove "pc" parameter. | |
3123 | (gen_expr_binop_rest): New overload. | |
3124 | ||
c0d7ed8c TT |
3125 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3126 | ||
3127 | * eval.c (eval_multi_subscript): New function. | |
3128 | (evaluate_subexp_standard): Use it. | |
3129 | ||
dd5fd283 TT |
3130 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3131 | ||
3132 | * ada-lang.c (ada_binop_exp): New function. | |
3133 | (ada_evaluate_subexp): Use it. | |
3134 | ||
3848abd6 TT |
3135 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3136 | ||
3137 | * ada-lang.c (ada_val_atr): Rename from value_val_atr. Change | |
3138 | parameters. | |
3139 | (ada_evaluate_subexp): Use it. | |
3140 | ||
38dc70cf TT |
3141 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3142 | ||
3143 | * ada-lang.c (ada_binop_minmax): New function. | |
3144 | (ada_evaluate_subexp): Use it. | |
3145 | ||
b84564fc TT |
3146 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3147 | ||
3148 | * ada-lang.c (ada_unop_atr): New function. | |
3149 | (ada_evaluate_subexp): Use it. | |
3150 | ||
b467efaa TT |
3151 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3152 | ||
3153 | * ada-lang.c (ada_binop_in_bounds): New function. | |
3154 | (ada_evaluate_subexp): Use it. | |
3155 | ||
5ce19db8 TT |
3156 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3157 | ||
3158 | * ada-lang.c (ada_ternop_slice): New function. | |
3159 | (ada_evaluate_subexp): Use it. | |
3160 | ||
214b13ac TT |
3161 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3162 | ||
3163 | * ada-lang.c (ada_equal_binop): New function. | |
3164 | (ada_evaluate_subexp): Use it. | |
3165 | ||
faa1dfd7 TT |
3166 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3167 | ||
3168 | * ada-lang.c (ada_mult_binop): New function. | |
3169 | (ada_evaluate_subexp): Use it. | |
3170 | ||
d05e24e6 TT |
3171 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3172 | ||
3173 | * ada-lang.c (ada_abs): New function. | |
3174 | (ada_evaluate_subexp): Use it. | |
3175 | ||
68c75735 TT |
3176 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3177 | ||
3178 | * ada-lang.c (ada_atr_size): New function. | |
3179 | (ada_evaluate_subexp): Use it. | |
3180 | ||
020dbabe TT |
3181 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3182 | ||
3183 | * ada-lang.c (ada_atr_tag): New function. | |
3184 | (ada_evaluate_subexp): Use it. | |
3185 | ||
7efc87ff TT |
3186 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3187 | ||
3188 | * ada-lang.c (ada_unop_in_range): New function. | |
3189 | (ada_evaluate_subexp): Use it. | |
3190 | ||
82390ab8 TT |
3191 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3192 | ||
3193 | * ada-lang.c (ada_unop_neg): New function. | |
3194 | (ada_evaluate_subexp): Use it. | |
3195 | ||
62d4bd94 TT |
3196 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3197 | ||
3198 | * ada-lang.c (eval_ternop_in_range): New function. | |
3199 | (ada_evaluate_subexp): Use it. | |
3200 | ||
3634f669 TT |
3201 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3202 | ||
3203 | * opencl-lang.c (eval_opencl_assign): New function. | |
3204 | (evaluate_subexp_opencl): Use it. | |
3205 | ||
5e80600e TT |
3206 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3207 | ||
3208 | * eval.c (eval_op_objc_msgcall): New function. | |
3209 | (evaluate_subexp_standard): Use it. | |
3210 | ||
fb5ba2ab TT |
3211 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3212 | ||
3213 | * eval.c (eval_binop_assign_modify): New function. | |
3214 | (evaluate_subexp_standard): Use it. | |
3215 | ||
a49881f7 TT |
3216 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3217 | ||
3218 | * m2-lang.c (eval_op_m2_subscript): New function. | |
3219 | (evaluate_subexp_modula2): Use it. | |
3220 | ||
41bdced5 TT |
3221 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3222 | ||
3223 | * m2-lang.c (eval_op_m2_high): New function. | |
3224 | (evaluate_subexp_modula2): Use it. | |
3225 | ||
13ea014a TT |
3226 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3227 | ||
3228 | * eval.c (evaluate_subexp_for_address_base): New function. | |
3229 | (evaluate_subexp_for_address): Use it. | |
3230 | (evaluate_subexp_for_sizeof_base): New function. | |
3231 | (evaluate_subexp_for_sizeof): Use it. | |
3232 | ||
1fa41fc7 TT |
3233 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3234 | ||
3235 | * rust-lang.c (eval_op_rust_structop): New function. | |
3236 | (rust_evaluate_subexp): Use it. | |
3237 | ||
575cae23 TT |
3238 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3239 | ||
3240 | * rust-lang.c (eval_op_rust_struct_anon): New function. | |
3241 | (rust_evaluate_subexp): Use it. | |
3242 | ||
05104233 TT |
3243 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3244 | ||
3245 | * rust-lang.c (eval_op_rust_array): New function. | |
3246 | (rust_evaluate_subexp): Use it. | |
3247 | ||
6fa9831f TT |
3248 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3249 | ||
3250 | * rust-lang.c (eval_op_rust_complement): New function. | |
3251 | (rust_evaluate_subexp): Use it. | |
3252 | ||
d123f9e4 TT |
3253 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3254 | ||
3255 | * rust-lang.c (eval_op_rust_ind): New function. | |
3256 | (rust_evaluate_subexp): Use it. | |
3257 | ||
984af2cb TT |
3258 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3259 | ||
3260 | * rust-lang.c (rust_subscript): Change parameters. | |
3261 | (rust_evaluate_subexp): Update. | |
3262 | ||
d148f803 TT |
3263 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3264 | ||
3265 | * rust-lang.c (rust_range): Change parameters. | |
3266 | (rust_evaluate_subexp): Update. | |
3267 | ||
9cbd1c20 TT |
3268 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3269 | ||
3270 | * f-lang.c (eval_op_f_allocated): New function. | |
3271 | (evaluate_subexp_f): Use it. | |
3272 | ||
3c18c49c TT |
3273 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3274 | ||
3275 | * f-lang.c (fortran_require_array): New function. | |
3276 | (evaluate_subexp_f): Use it. | |
3277 | ||
216f6fcb TT |
3278 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3279 | ||
3280 | * f-lang.c (eval_op_f_kind): New function. | |
3281 | (evaluate_subexp_f): Use it. | |
3282 | ||
00f2db6f TT |
3283 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3284 | ||
3285 | * f-lang.c (eval_op_f_cmplx): New function. | |
3286 | (evaluate_subexp_f): Use it. | |
3287 | ||
93b2b5fa TT |
3288 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3289 | ||
3290 | * f-lang.c (eval_op_f_modulo): New function. | |
3291 | (evaluate_subexp_f): Use it. | |
3292 | ||
9f1a1f3c TT |
3293 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3294 | ||
3295 | * f-lang.c (eval_op_f_floor): New function. | |
3296 | (evaluate_subexp_f): Use it. | |
3297 | ||
3dc41f3c TT |
3298 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3299 | ||
3300 | * f-lang.c (eval_op_f_ceil): New function. | |
3301 | (evaluate_subexp_f): Use it. | |
3302 | ||
e08109f2 TT |
3303 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3304 | ||
3305 | * f-lang.c (eval_op_f_mod): New function. | |
3306 | (evaluate_subexp_f): Use it. | |
3307 | ||
cc05c68e TT |
3308 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3309 | ||
3310 | * f-lang.c (eval_op_f_abs): New function. | |
3311 | (evaluate_subexp_f): Use it. | |
3312 | ||
aec95807 TT |
3313 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3314 | ||
3315 | * eval.c (eval_op_type): New function. | |
3316 | (evaluate_subexp_standard): Use it. | |
3317 | ||
a220ead5 TT |
3318 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3319 | ||
3320 | * eval.c (eval_op_postdec): New function. | |
3321 | (evaluate_subexp_standard): Use it. | |
3322 | ||
abffe116 TT |
3323 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3324 | ||
3325 | * eval.c (eval_op_postinc): New function. | |
3326 | (evaluate_subexp_standard): Use it. | |
3327 | ||
9e1361b7 TT |
3328 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3329 | ||
3330 | * eval.c (eval_op_predec): New file. | |
3331 | (evaluate_subexp_standard): Use it. | |
3332 | ||
00f50884 TT |
3333 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3334 | ||
3335 | * eval.c (eval_op_preinc): New function. | |
3336 | (evaluate_subexp_standard): Use it. | |
3337 | ||
3aef2a07 TT |
3338 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3339 | ||
3340 | * eval.c (eval_op_memval): New function. | |
3341 | (evaluate_subexp_standard): Use it. | |
3342 | ||
acee9468 TT |
3343 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3344 | ||
3345 | * eval.c (eval_op_alignof): New function. | |
3346 | (evaluate_subexp_standard): Use it. | |
3347 | ||
786f70ee TT |
3348 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3349 | ||
3350 | * eval.c (eval_op_ind): New function. | |
3351 | (evaluate_subexp_standard): Use it. | |
3352 | ||
24338fb9 TT |
3353 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3354 | ||
3355 | * eval.c (eval_op_lognot): New function. | |
3356 | (evaluate_subexp_standard): Use it. | |
3357 | ||
1f09ec81 TT |
3358 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3359 | ||
3360 | * eval.c (eval_op_complement): New function. | |
3361 | (evaluate_subexp_standard): Use it. | |
3362 | ||
606d105f TT |
3363 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3364 | ||
3365 | * eval.c (eval_op_neg): New function. | |
3366 | (evaluate_subexp_standard): Use it. | |
3367 | ||
39f288be TT |
3368 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3369 | ||
3370 | * eval.c (eval_op_plus): New function. | |
3371 | (evaluate_subexp_standard): Use it. | |
3372 | ||
eed70b1c TT |
3373 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3374 | ||
3375 | * eval.c (eval_op_repeat): New function. | |
3376 | (evaluate_subexp_standard): Use it. | |
3377 | ||
60cdd487 TT |
3378 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3379 | ||
3380 | * eval.c (eval_op_leq): New function. | |
3381 | (evaluate_subexp_standard): Use it. | |
3382 | ||
96e3efd9 TT |
3383 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3384 | ||
3385 | * eval.c (eval_op_geq): New function. | |
3386 | (evaluate_subexp_standard): Use it. | |
3387 | ||
1f78d732 TT |
3388 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3389 | ||
3390 | * eval.c (eval_op_gtr): New function. | |
3391 | (evaluate_subexp_standard): Use it. | |
3392 | ||
6cad1349 TT |
3393 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3394 | ||
3395 | * eval.c (eval_op_less): New function. | |
3396 | (evaluate_subexp_standard): Use it. | |
3397 | ||
1fcb3559 TT |
3398 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3399 | ||
3400 | * eval.c (eval_op_notequal): New function. | |
3401 | (evaluate_subexp_standard): Use it. | |
3402 | ||
0cc96de8 TT |
3403 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3404 | ||
3405 | * eval.c (eval_op_equal): New function. | |
3406 | (evaluate_subexp_standard): Use it. | |
3407 | ||
288d26bc TT |
3408 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3409 | ||
3410 | * eval.c (eval_op_subscript): New function. | |
3411 | (evaluate_subexp_standard): Use it. | |
3412 | ||
7cdcdd02 TT |
3413 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3414 | ||
3415 | * eval.c (eval_op_binary): New function. | |
3416 | (evaluate_subexp_standard): Use it. | |
3417 | ||
d9790e22 TT |
3418 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3419 | ||
3420 | * eval.c (eval_op_sub): New function. | |
3421 | (evaluate_subexp_standard): Use it. | |
3422 | ||
aedaf9ac TT |
3423 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3424 | ||
3425 | * eval.c (eval_op_add): New function. | |
3426 | (evaluate_subexp_standard): Use it. | |
3427 | ||
b7a96ed2 TT |
3428 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3429 | ||
3430 | * eval.c (eval_op_member): New function. | |
3431 | (evaluate_subexp_standard): Use it. | |
3432 | ||
fb461aa3 TT |
3433 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3434 | ||
3435 | * eval.c (eval_op_structop_ptr): New function. | |
3436 | (evaluate_subexp_standard): Use it. | |
3437 | ||
3e96c4fc TT |
3438 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3439 | ||
3440 | * eval.c (eval_op_structop_struct): New function. | |
3441 | (evaluate_subexp_standard): Use it. | |
3442 | ||
f960a617 TT |
3443 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3444 | ||
3445 | * eval.c (eval_op_ternop): New function. | |
3446 | (evaluate_subexp_standard): Use it. | |
3447 | ||
5c2f201e TT |
3448 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3449 | ||
3450 | * eval.c (eval_op_concat): New function. | |
3451 | (evaluate_subexp_standard): Use it. | |
3452 | ||
f871bae1 TT |
3453 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3454 | ||
3455 | * eval.c (eval_op_objc_selector): New function. | |
3456 | (evaluate_subexp_standard): Use it. | |
3457 | ||
14a1c64a TT |
3458 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3459 | ||
3460 | * eval.c (eval_op_string): New function. | |
3461 | (evaluate_subexp_standard): Use it. | |
3462 | ||
ffff730b TT |
3463 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3464 | ||
3465 | * eval.c (eval_op_register): New function. | |
3466 | (evaluate_subexp_standard): Use it. | |
3467 | ||
9b1d8af6 TT |
3468 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3469 | ||
3470 | * eval.c (eval_op_func_static_var): New function. | |
3471 | (evaluate_subexp_standard): Use it. | |
3472 | ||
c0df9289 TT |
3473 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3474 | ||
3475 | * eval.c (eval_op_var_msym_value): New function. | |
3476 | (evaluate_subexp_standard): Use it. | |
3477 | ||
50b98adc TT |
3478 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3479 | ||
3480 | * eval.c (eval_op_var_entry_value): New function. | |
3481 | (evaluate_subexp_standard): Use it. | |
3482 | ||
ea2d29f7 TT |
3483 | 2021-03-08 Tom Tromey <tom@tromey.com> |
3484 | ||
3485 | * eval.c (eval_op_scope): New function. | |
3486 | (evaluate_subexp_standard): Use it. | |
3487 | ||
01573d73 TT |
3488 | 2021-03-06 Chernov Sergey <klen_s@mail.ru> |
3489 | ||
3490 | PR gdb/27528: | |
3491 | * ada-lang.c (ada_fold_name): Use gdb::to_string. | |
3492 | ||
9938d15a TT |
3493 | 2021-03-06 Tom Tromey <tom@tromey.com> |
3494 | ||
3495 | * dwarf2/sect-names.h (dwarf2_elf_names): Declare. | |
3496 | * dwarf2/read.h (dwarf2_get_dwz_file): Move to dwz.h. | |
3497 | * dwarf2/read.c (dwarf2_elf_names): No longer static. | |
3498 | (locate_dwz_sections, dwz_search_other_debugdirs) | |
3499 | (dwarf2_get_dwz_file): Move to dwz.c. | |
3500 | * dwarf2/dwz.h (dwarf2_get_dwz_file): Move declaration from | |
3501 | read.h. | |
3502 | * dwarf2/dwz.c (locate_dwz_sections, dwz_search_other_debugdirs) | |
3503 | (dwarf2_get_dwz_file): Move from read.c. | |
3504 | ||
18035655 TT |
3505 | 2021-03-06 Tom Tromey <tom@tromey.com> |
3506 | ||
3507 | * debuginfod-support.h: Include scoped_fd.h. | |
3508 | ||
a7308ce0 TT |
3509 | 2021-03-06 Tom Tromey <tom@tromey.com> |
3510 | ||
3511 | * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter. | |
3512 | * dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter. | |
3513 | (get_abbrev_section_for_cu, read_attribute_value) | |
3514 | (get_debug_line_section): Update. | |
3515 | * dwarf2/macro.c (dwarf_decode_macro_bytes): Update. | |
3516 | ||
fbedd546 TT |
3517 | 2021-03-06 Tom Tromey <tom@tromey.com> |
3518 | ||
3519 | * dwarf2/sect-names.h (struct dwarf2_section_names) <matches>: New | |
3520 | method. | |
3521 | * dwarf2/read.c (section_is_p): Remove. | |
3522 | (dwarf2_per_bfd::locate_sections) | |
3523 | (dwarf2_per_bfd::locate_sections, locate_dwz_sections) | |
3524 | (locate_v1_virtual_dwo_sections, dwarf2_locate_dwo_sections) | |
3525 | (dwarf2_locate_common_dwp_sections) | |
3526 | (dwarf2_locate_v2_dwp_sections, dwarf2_locate_v5_dwp_sections): | |
3527 | Update. | |
3528 | ||
c2a62a3d TT |
3529 | 2021-03-06 Tom Tromey <tom@tromey.com> |
3530 | ||
3531 | * xcoffread.c: Include sect-names.h. | |
3532 | * symfile.h (struct dwarf2_section_names, struct | |
3533 | dwarf2_debug_sections): Move to dwarf2/sect-names.h. | |
3534 | * dwarf2/sect-names.h: New file, from symfile.h. | |
3535 | * dwarf2/read.c: Include sect-names.h. | |
3536 | ||
4444f407 TT |
3537 | 2021-03-06 Tom Tromey <tom@tromey.com> |
3538 | ||
3539 | * dwarf2/read.c (read_attribute): Make 'abbrev' const. | |
3540 | * dwarf2/abbrev.c (abbrev_table::alloc_abbrev): Remove. | |
3541 | (abbrev_table::read): Update. | |
3542 | * dwarf2/abbrev.h (struct attr_abbrev): Move earlier. | |
3543 | (struct abbrev_info): Reformat. | |
3544 | <attrs>: Now an array. | |
3545 | (struct abbrev_table) <alloc_abbrev>: Remove. | |
3546 | ||
dd99cf0c WP |
3547 | 2021-03-06 Weimin Pan <weimin.pan@oracle.com> |
3548 | ||
3549 | * ctfread.c (ctf_psymtab_add_enums): New function. | |
3550 | (ctf_psymtab_type_cb): call ctf_psymtab_add_enums. | |
3551 | ||
844be3f2 WP |
3552 | 2021-03-06 Weimin Pan <weimin.pan@oracle.com> |
3553 | ||
3554 | * ctfread.c (read_func_kind_type): Set up function arguments. | |
3555 | ||
b2668f28 AB |
3556 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
3557 | Andrew Burgess <andrew.burgess@embecosm.com> | |
3558 | ||
3559 | * riscv-none-tdep.c: Add 'user-regs.h' and 'target-description.h' | |
3560 | includes. | |
3561 | (riscv_csrset): New static global. | |
3562 | (riscv_update_csrmap): New function. | |
3563 | (riscv_iterate_over_regset_sections): Process CSRs. | |
3564 | ||
d782d24b AB |
3565 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> |
3566 | ||
3567 | * riscv-tdep.c (riscv_feature_name_csr): Define. | |
3568 | (riscv_feature_name_cpu): Define. | |
3569 | (riscv_feature_name_fpu): Define. | |
3570 | (riscv_feature_name_virtual): Define. | |
3571 | (riscv_xreg_feature): Use riscv_feature_name_cpu. | |
3572 | (riscv_freg_feature): Use riscv_feature_name_fpu. | |
3573 | (riscv_virtual_feature): Use riscv_feature_name_virtual. | |
3574 | (riscv_csr_feature): Use riscv_feature_name_csr. | |
3575 | * riscv-tdep.h (riscv_feature_name_csr): Declare. | |
3576 | ||
fb8f3fc0 AB |
3577 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> |
3578 | Craig Blackmore <craig.blackmore@embecosm.com> | |
3579 | ||
3580 | * Makefile.in (ALL_TARGET_OBS): Add riscv-none-tdep.o. | |
3581 | (ALLDEPFILES): Add riscv-none-tdep.c. | |
3582 | * configure: Regenerate. | |
3583 | * configure.ac (CONFIG_OBS): Add elf-none-tdep.o when BFD has ELF | |
3584 | support. | |
3585 | * configure.tgt (riscv*-*-*): Include riscv-none-tdep.c. | |
3586 | * elf-none-tdep.c: New file. | |
3587 | * elf-none-tdep.h: New file. | |
3588 | * riscv-none-tdep.c: New file. | |
3589 | ||
95ce627a AB |
3590 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> |
3591 | Andrew Burgess <andrew.burgess@embecosm.com> | |
3592 | ||
3593 | * corelow.c: Add 'xml-tdesc.h' include. | |
3594 | (core_target::read_description): Load the target description from | |
3595 | the core file when possible. | |
3596 | * fbsd-tdep.c (fbsd_make_corefile_notes): Add target description | |
3597 | note. | |
3598 | * gcore-elf.c: Add 'gdbsupport/tdesc.h' include. | |
3599 | (gcore_elf_make_tdesc_note): New function. | |
3600 | * gcore-elf.h (gcore_elf_make_tdesc_note): Declare. | |
3601 | * linux-tdep.c (linux_make_corefile_notes): Add target description | |
3602 | note. | |
3603 | ||
f3a5df7b AB |
3604 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> |
3605 | ||
3606 | * Makefile.in (SFILES): Add gcore-elf.c. | |
3607 | (HFILES_NO_SRCDIR): Add gcore-elf.h | |
3608 | * configure: Regenerate. | |
3609 | * configure.ac: Add gcore-elf.o to CONFIG_OBS if we have ELF | |
3610 | support. | |
3611 | * fbsd-tdep.c: Add 'gcore-elf.h' include. | |
3612 | (struct fbsd_collect_regset_section_cb_data): Delete. | |
3613 | (fbsd_collect_regset_section_cb): Delete. | |
3614 | (fbsd_collect_thread_registers): Delete. | |
3615 | (struct fbsd_corefile_thread_data): Delete. | |
3616 | (fbsd_corefile_thread): Delete. | |
3617 | (fbsd_make_corefile_notes): Call | |
3618 | gcore_elf_build_thread_register_notes instead of the now deleted | |
3619 | FreeBSD code. | |
3620 | * gcore-elf.c: New file, the content was moved here from | |
3621 | linux-tdep.c, functions were renamed and given minor cleanup. | |
3622 | * gcore-elf.h: New file. | |
3623 | * gcore.c (gcore_find_signalled_thread): Moved here from | |
3624 | linux-tdep.c and given a new name. Minor cleanups. | |
3625 | * gcore.h (gcore_find_signalled_thread): Declare. | |
3626 | * linux-tdep.c: Add 'gcore.h' and 'gcore-elf.h' includes. | |
3627 | (struct linux_collect_regset_section_cb_data): Delete. | |
3628 | (linux_collect_regset_section_cb): Delete. | |
3629 | (linux_collect_thread_registers): Delete. | |
3630 | (linux_corefile_thread): Call | |
3631 | gcore_elf_build_thread_register_notes. | |
3632 | (find_signalled_thread): Delete. | |
3633 | (linux_make_corefile_notes): Call gcore_find_signalled_thread. | |
3634 | ||
d1e93af6 SM |
3635 | 2021-03-04 Simon Marchi <simon.marchi@polymtl.ca> |
3636 | ||
3637 | PR gdb/27147 | |
3638 | * sparc-nat.h (sparc_fetch_inferior_registers): Add | |
3639 | process_stratum_target parameter, | |
3640 | sparc_store_inferior_registers): update callers. | |
3641 | * sparc-nat.c (sparc_fetch_inferior_registers, | |
3642 | sparc_store_inferior_registers): Add process_stratum_target | |
3643 | parameter. Switch current thread before calling | |
3644 | sparc_supply_gregset / sparc_collect_rwindow. | |
3645 | (sparc_store_inferior_registers): Likewise. | |
3646 | * sparc-obsd-tdep.c (sparc32obsd_supply_uthread): Add assertion. | |
3647 | (sparc32obsd_collect_uthread): Likewise. | |
3648 | * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): | |
3649 | Add assertion. | |
3650 | * sparc64-obsd-tdep.c (sparc64obsd_collect_uthread, | |
3651 | sparc64obsd_supply_uthread): Add assertion. | |
3652 | ||
1178743e TT |
3653 | 2021-03-04 Tom Tromey <tromey@adacore.com> |
3654 | ||
3655 | * ada-lang.c (struct match_data) <found_sym>: Now bool. | |
3656 | (aux_add_nonlocal_symbols): Update. | |
3657 | (ada_add_block_symbols): Change "found_sym" to bool. | |
3658 | ||
1bfa81ac TT |
3659 | 2021-03-03 Tom Tromey <tromey@adacore.com> |
3660 | ||
3661 | * ada-lang.c (ada_resolve_function): Update comment. | |
3662 | (is_nonfunction, add_symbols_from_enclosing_procs) | |
3663 | (remove_extra_symbols): Likewise. | |
3664 | (struct match_data): Add constructor, initializers. | |
3665 | (add_nonlocal_symbols): Remove memset. | |
3666 | (aux_add_nonlocal_symbols): Update comment. | |
3667 | (ada_add_block_renamings, add_nonlocal_symbols) | |
3668 | (ada_add_all_symbols): Likewise. | |
3669 | * ada-exp.y (write_var_or_type): Clean up trailing whitespace. | |
3670 | ||
bbcdf9ab TT |
3671 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
3672 | ||
3673 | * ada-lang.c (cast_from_gnat_encoded_fixed_point_type) | |
3674 | (cast_to_gnat_encoded_fixed_point_type): Remove. | |
3675 | (ada_value_cast, ada_evaluate_subexp): Update. | |
3676 | (gnat_encoded_fixed_point_type_info) | |
3677 | (ada_is_gnat_encoded_fixed_point_type) | |
3678 | (gnat_encoded_fixed_point_delta) | |
3679 | (gnat_encoded_fixed_point_scaling_factor): Remove. | |
3680 | * ada-lang.h (ada_is_gnat_encoded_fixed_point_type) | |
3681 | (gnat_encoded_fixed_point_delta) | |
3682 | (gnat_encoded_fixed_point_scaling_factor): Don't declare. | |
3683 | * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Remove. | |
3684 | (ada_print_type): Update. | |
3685 | * ada-valprint.c (ada_value_print_num): Update. | |
3686 | * dwarf2/read.c (ada_get_gnat_encoded_number) | |
3687 | (ada_get_gnat_encoded_ratio): New functions. | |
3688 | (finish_fixed_point_type): Use them. Add parameters. | |
3689 | (GNAT_FIXED_POINT_SUFFIX): New define. | |
3690 | (gnat_encoded_fixed_point_type_info): New function. | |
3691 | (read_base_type): Handle gnat encodings. | |
3692 | ||
5f9febe0 TT |
3693 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
3694 | ||
3695 | * ada-lang.c (ada_fold_name, ada_variant_discrim_name) | |
3696 | (ada_enum_name, scan_discrim_bound, to_fixed_range_type): Use | |
3697 | std::string. | |
3698 | (GROW_VECT): Remove. | |
3699 | (grow_vect): Remove. | |
3700 | ||
d1183b06 TT |
3701 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
3702 | ||
3703 | * ada-lang.h (ada_lookup_symbol_list): Return a vector. | |
3704 | * ada-lang.c (resolve_subexp): Update. | |
3705 | (ada_resolve_function): Accept a vector. | |
3706 | (is_nonfunction, add_defn_to_vec) | |
3707 | (add_symbols_from_enclosing_procs): Likewise. | |
3708 | (num_defns_collected, defns_collected): Remove. | |
3709 | (remove_extra_symbols): Return a vector. | |
3710 | (remove_irrelevant_renamings): Return void. | |
3711 | (ada_add_local_symbols): Accept a vector. | |
3712 | (struct match_data) <obstackp>: Remove. | |
3713 | <resultp>: New member. | |
3714 | (aux_add_nonlocal_symbols): Update. | |
3715 | (ada_add_block_renamings, add_nonlocal_symbols) | |
3716 | (ada_add_all_symbols): Accept a vector. | |
3717 | (ada_lookup_symbol_list_worker, ada_lookup_symbol_list): Return a | |
3718 | vector. | |
3719 | (ada_lookup_symbol): Update. | |
3720 | (ada_add_block_symbols): Accept a vector. | |
3721 | (get_var_value, iterate_over_symbols): Update. | |
3722 | * ada-exp.y (block_lookup, write_var_or_type, write_name_assoc): | |
3723 | Update. | |
3724 | ||
886d459f TT |
3725 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
3726 | ||
3727 | * ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom. | |
3728 | ||
bdcccc56 TT |
3729 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
3730 | ||
3731 | * ada-lang.c (struct ada_symbol_cache) <cache_space>: Now an | |
3732 | auto_obstack. | |
3733 | <root>: Initialize. | |
3734 | (ada_pspace_data): Remove destructor. | |
3735 | <sym_cache>: Now a unique_ptr. | |
3736 | (ada_init_symbol_cache, ada_free_symbol_cache): Remove. | |
3737 | (ada_get_symbol_cache): Use 'new'. | |
3738 | (ada_clear_symbol_cache): Rewrite. | |
3739 | ||
1228719f TT |
3740 | 2021-03-02 Tom Tromey <tromey@adacore.com> |
3741 | ||
3742 | * ada-lang.c (add_nonlocal_symbols): Handle case where objfile->sf | |
3743 | is null. | |
3744 | ||
bb3a4efe LS |
3745 | 2021-02-27 Lancelot Six <lsix@lancelotsix.com> |
3746 | ||
3747 | PR gdb/27393 | |
3748 | * source.c (add_path): Skip empty dirnames. | |
3749 | ||
26b43ca6 | 3750 | 2021-02-25 Kevin Buettner <kevinb@redhat.com> |
0f977b77 KB |
3751 | |
3752 | * nat/aarch64-sve-linux-ptrace.h: Add comment regarding | |
3753 | include order for <sys/ptrace.h> and <asm/ptrace.h>. | |
3754 | ||
dffdd8b5 SM |
3755 | 2021-02-25 Simon Marchi <simon.marchi@polymtl.ca> |
3756 | ||
3757 | PR gdb/26861 | |
3758 | * target.c (target_mourn_inferior): Only compare pids in | |
3759 | target_mourn_inferior. | |
3760 | ||
64d38fdd JM |
3761 | 2021-02-25 Jan Matyas <jmatyas@codasip.com> |
3762 | ||
3763 | PR gdb/26819 | |
3764 | * remote.c (remote_target::start_remote): Ensure the single | |
3765 | thread, automatically added for remote targets without the | |
3766 | concept of threading, is initially in set to the "resumed" | |
3767 | state. | |
3768 | * remote.c (remote_target::add_current_inferior_and_thread): | |
3769 | Add return value - return the main thread. | |
3770 | ||
2450ad54 JV |
3771 | 2021-02-25 Jan Vrany <jan.vrany@labware.com> |
3772 | ||
3773 | * gdb/mi/mi-interp.c (mi_traceframe_changed): Remove trailing \n from output. | |
3774 | (mi_tsv_created): Likewise. | |
3775 | (mi_tsv_deleted): Likewise. | |
3776 | ||
30c80d88 TV |
3777 | 2021-02-25 Tom de Vries <tdevries@suse.de> |
3778 | ||
3779 | PR symtab/27354 | |
3780 | * dwarf2/read.c (open_and_init_dwo_file): Use rcuh_kind::COMPILE as | |
3781 | section_kind for &dwo_file->sections.info. | |
3782 | ||
68337b8b AB |
3783 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> |
3784 | ||
3785 | PR fortran/26155 | |
3786 | * f-lang.c (fortran_argument_convert): Delete declaration. | |
3787 | (fortran_prepare_argument): New function. | |
3788 | (evaluate_subexp_f): Move logic to new function | |
3789 | fortran_prepare_argument. | |
3790 | ||
faeb9f13 AB |
3791 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> |
3792 | ||
3793 | * f-exp.y (f77_keywords): Add 'associated'. | |
3794 | * f-lang.c (fortran_associated): New function. | |
3795 | (evaluate_subexp_f): Handle FORTRAN_ASSOCIATED. | |
3796 | (operator_length_f): Likewise. | |
3797 | (print_unop_or_binop_subexp_f): New function. | |
3798 | (print_subexp_f): Make use of print_unop_or_binop_subexp_f for | |
3799 | FORTRAN_ASSOCIATED, FORTRAN_LBOUND, and FORTRAN_UBOUND. | |
3800 | (dump_subexp_body_f): Handle FORTRAN_ASSOCIATED. | |
3801 | (operator_check_f): Likewise. | |
3802 | * std-operator.def: Add FORTRAN_ASSOCIATED. | |
3803 | ||
170f4b23 AB |
3804 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> |
3805 | ||
3806 | * f-exp.y (fortran_operators): Add ".xor.". | |
3807 | ||
aa659cfa TV |
3808 | 2021-02-24 Tom de Vries <tdevries@suse.de> |
3809 | ||
3810 | PR symtab/27336 | |
3811 | * dwarf2/attribute.c (attribute::form_is_signed): New function | |
3812 | factored out of ... | |
3813 | * dwarf2/attribute.h (attribute::as_signed): ... here. | |
3814 | (attribute::is_nonnegative, attribute::as_nonnegative): New function. | |
3815 | (attribute::form_is_signed): Declare. | |
3816 | * dwarf2/read.c (new_symbol): Use is_nonnegative and as_nonnegative | |
3817 | for DW_AT_decl_file. | |
3818 | ||
268c77c1 KB |
3819 | 2021-02-24 Kevin Buettner <kevinb@redhat.com> |
3820 | ||
3821 | * nat/aarch64-linux-hw-point.c: Add comment regarding include | |
3822 | order for <sys/ptrace.h> and <asm/ptrace.h>. | |
3823 | ||
665af52e KB |
3824 | 2021-02-24 Kevin Buettner <kevinb@redhat.com> |
3825 | ||
3826 | * nat/aarch64-linux-hw-point.c: Include <asm/ptrace.h> after | |
3827 | <sys/ptrace.h>. | |
3828 | ||
dd80d750 AB |
3829 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
3830 | ||
3831 | * exec.c (set_section_command): Move variable declarations into | |
3832 | the function body, and use std::string instead of a fixed size | |
3833 | buffer. | |
3834 | ||
336aa7b7 AB |
3835 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
3836 | ||
3837 | * exec.c (exec_target::get_section_table): Delete member function. | |
3838 | (section_table_read_available_memory): Use current_top_target, not | |
3839 | just the exec_ops target. | |
3840 | * target-delegates.c: Regenerate. | |
3841 | * target.c (default_get_section_table): New function. | |
3842 | * target.h (target_ops::get_section_table): Change default | |
3843 | behaviour to call default_get_section_table. | |
3844 | (default_get_section_table): Declare. | |
3845 | ||
02f7d26b AB |
3846 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
3847 | ||
3848 | * exec.c (exec_target::close): Call new clear_target_sections | |
3849 | function. | |
3850 | (program_space::add_target_sections): Update name of member | |
3851 | variable. | |
3852 | (program_space::add_target_sections): Update name of member | |
3853 | variable. | |
3854 | (program_space::remove_target_sections): Likewise. | |
3855 | (exec_one_fork): Use new target_sections member function. | |
3856 | (exec_target::get_section_table): Likewise. | |
3857 | (exec_target::files_info): Likewise. | |
3858 | (set_section_command): Likewise. | |
3859 | (exec_set_section_address): Likewise. | |
3860 | (exec_target::has_memory): Use new target_sections member | |
3861 | function. | |
3862 | * progspace.h (program_space::clear_target_sections): New member | |
3863 | function. | |
3864 | (program_space::target_sections): Rename member variable to | |
3865 | m_target_sections, replace with a new member function. | |
3866 | (program_space::m_target_sections): New member variable. | |
3867 | * solib-dsbt.c (scan_dyntag): Use new member function. | |
3868 | * solib-svr4.c (scan_dyntag): Likewise. | |
3869 | ||
19cf757a AB |
3870 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
3871 | ||
3872 | * gdb/bfd-target.c (class target_bfd) <get_section_table>: Make | |
3873 | return type const. | |
3874 | * gdb/exec.c (struct exec_target) <get_section_table>: Likewise. | |
3875 | (section_table_read_available_memory): Make local const. | |
3876 | (exec_target::xfer_partial): Make local const. | |
3877 | (print_section_info): Make parameter const. | |
3878 | * gdb/exec.h (print_section_info): Likewise. | |
3879 | * gdb/ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Make local | |
3880 | const. | |
3881 | * gdb/record-btrace.c (record_btrace_target::xfer_partial): | |
3882 | Likewise. | |
3883 | * gdb/remote.c (remote_target::remote_xfer_live_readonly_partial): | |
3884 | Likewise. | |
3885 | * gdb/s390-tdep.c (s390_load): Likewise. | |
3886 | * gdb/solib-dsbt.c (scan_dyntag): Likewise. | |
3887 | * gdb/solib-svr4.c (scan_dyntag): Likewise. | |
3888 | * gdb/target-debug.h (target_debug_print_target_section_table_p): | |
3889 | Rename to... | |
3890 | (target_debug_print_const_target_section_table_p): ...this. | |
3891 | * gdb/target-delegates.c: Regenerate. | |
3892 | * gdb/target.c (target_get_section_table): Make return type const. | |
3893 | (target_section_by_addr): Likewise. Also make some locals const. | |
3894 | (memory_xfer_partial_1): Make some locals const. | |
3895 | * gdb/target.h (struct target_ops) <get_section_table>: Make | |
3896 | return type const. | |
3897 | (target_section_by_addr): Likewise. | |
3898 | (target_get_section_table): Likewise. | |
3899 | ||
02a79309 AB |
3900 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
3901 | ||
3902 | * NEWS: Mention new 'maint info target-sections' command. | |
3903 | * maint.c (maintenance_info_target_sections): New function. | |
3904 | (_initialize_maint_cmds): Register new command. | |
3905 | ||
895b7b4e AB |
3906 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
3907 | ||
3908 | * riscv-tdep.c (riscv_features_from_gdbarch_info): Rename to... | |
3909 | (riscv_features_from_bfd): ...this. Change parameter type to | |
3910 | 'bfd*', and update as required. | |
3911 | (riscv_find_default_target_description): Update call to | |
3912 | riscv_features_from_bfd. Select a default xlen based on | |
3913 | info.bfd_arch_info. | |
3914 | (riscv_gdbarch_init): Update call to riscv_features_from_bfd. | |
3915 | ||
bc3c0632 AB |
3916 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> |
3917 | ||
3918 | * eval.c (evaluate_subexp_standard): Call value_ind for points to | |
3919 | dynamic types in UNOP_IND. | |
3920 | ||
08ac5771 SM |
3921 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> |
3922 | ||
3923 | PR gdb/26828 | |
3924 | * dwarf2/read.c (dwarf2_queue_guard) <dwarf2_queue_guard>: | |
3925 | Instantiate queue. | |
3926 | (~dwarf2_queue_guard): Clear queue. | |
3927 | (queue_comp_unit): Assert that queue is | |
3928 | instantiated. | |
3929 | (process_queue): Adjust. | |
3930 | * dwarf2/read.h (struct dwarf2_per_bfd) <queue>: Make optional. | |
3931 | ||
616c069a SM |
3932 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> |
3933 | ||
3934 | PR gdb/26828 | |
3935 | * dwarf2/read.c (maybe_queue_comp_unit): Check if CU is expanded | |
3936 | to decide whether or not to enqueue it for expansion. | |
3937 | (follow_die_offset, follow_die_sig_1): Ensure we load the DIEs | |
3938 | after calling maybe_queue_comp_unit. | |
3939 | ||
897608ed SM |
3940 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> |
3941 | ||
3942 | * linux-nat.c (linux_nat_filter_event): Return void. | |
3943 | ||
15908a11 TT |
3944 | 2021-02-22 Tom Tromey <tromey@adacore.com> |
3945 | ||
3946 | * solib-svr4.c (enable_break): Update. | |
3947 | * bfd-target.c (class target_bfd) <target_bfd>: Change parameter | |
3948 | type. | |
3949 | (target_bfd_reopen): Change parameter type. | |
3950 | * bfd-target.h (target_bfd_reopen): Change parameter type. | |
3951 | ||
f53fc427 SM |
3952 | 2021-02-22 Simon Marchi <simon.marchi@polymtl.ca> |
3953 | ||
3954 | * thread.c (add_thread_silent): Add assert. | |
3955 | (find_thread_ptid): Add assert. | |
3956 | ||
de146e19 SM |
3957 | 2021-02-22 Simon Marchi <simon.marchi@polymtl.ca> |
3958 | ||
3959 | PR gdb/27435 | |
3960 | * inf-ptrace.c (struct target_unpusher): Move to target.h. | |
3961 | (target_unpush_up): Likewise. | |
3962 | * procfs.c (procfs_target::attach): Push target early. Use | |
3963 | target_unpush_up to unpush target in case of error. | |
3964 | * target.h (struct target_unpusher): Move here. | |
3965 | (target_unpush_up): Likewise. | |
3966 | ||
8488c357 KB |
3967 | 2021-02-19 Kevin Buettner <kevinb@redhat.com> |
3968 | ||
3969 | * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h" | |
3970 | (which in turn includes <gnulib/config.h>) before include | |
3971 | of <signal.h>. | |
3972 | ||
5a9f5403 NC |
3973 | 2021-02-19 Nelson Chu <nelson.chu@sifive.com> |
3974 | ||
3975 | PR 27158 | |
3976 | * riscv-tdep.c (decode_ci_type_insn): Updated encoding macros. | |
3977 | (decode_j_type_insn): Likewise. | |
3978 | (decode_cj_type_insn): Likewise. | |
3979 | (decode_b_type_insn): Likewise. | |
3980 | (decode): Likewise. | |
3981 | ||
26f53cd3 TT |
3982 | 2021-02-18 Tom Tromey <tom@tromey.com> |
3983 | ||
3984 | * expression.h (struct expression) <evaluate>: Declare method. | |
3985 | * eval.c (evaluate_subexp): Simplify. | |
3986 | (expression::evaluate): New method. | |
3987 | (evaluate_expression, evaluate_type): Use expression::evaluate. | |
3988 | ||
6a780b67 KB |
3989 | 2021-02-17 Kevin Buettner <kevinb@redhat.com> |
3990 | ||
3991 | * ada-lang.c (ada_fold_name): Check for non-empty string prior | |
3992 | to accessing it. | |
3993 | (ada_lookup_name_info): Likewise. | |
3994 | ||
adeab0c5 MF |
3995 | 2021-02-13 Mike Frysinger <vapier@gentoo.org> |
3996 | ||
3997 | * aclocal.m4: Regenerate. | |
3998 | ||
089436f7 TV |
3999 | 2021-02-12 Tom de Vries <tdevries@suse.de> |
4000 | ||
4001 | PR threads/26228 | |
4002 | * linux-nat.c (lin_thread_get_thread_signals): Remove. | |
4003 | (lin_thread_signals): New static var. | |
4004 | (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal): | |
4005 | New function. | |
4006 | * linux-nat.h (lin_thread_get_thread_signals): Remove. | |
4007 | (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal): | |
4008 | Declare. | |
4009 | * linux-thread-db.c (check_thread_signals): Use | |
4010 | lin_thread_get_thread_signal_num and lin_thread_get_thread_signal. | |
4011 | ||
96df3e28 AB |
4012 | 2021-02-12 Andrew Burgess <andrew.burgess@embecosm.com> |
4013 | ||
4014 | * f-exp.y (f77_keywords): Add allocated. | |
4015 | * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED. | |
4016 | (operator_length_f): Likewise. | |
4017 | (print_subexp_f): Likewise. | |
4018 | (dump_subexp_body_f): Likewise. | |
4019 | (operator_check_f): Likewise. | |
4020 | * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator. | |
4021 | ||
05f68f52 TV |
4022 | 2021-02-11 Tom de Vries <tdevries@suse.de> |
4023 | ||
4024 | PR symtab/27353 | |
4025 | * dwarf2/attribute.c (attribute::form_requires_reprocessing): | |
4026 | Return true for DW_FORM_strx. | |
4027 | ||
b260f8d6 TT |
4028 | 2021-02-11 Tom Tromey <tromey@adacore.com> |
4029 | ||
4030 | PR gdb/27383: | |
4031 | * parse.c (write_exp_symbol_reference): Write sym.block. | |
4032 | ||
bf3386f0 AB |
4033 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> |
4034 | ||
4035 | * NEWS: Mention changes to 'maint info sections'. | |
4036 | * maint.c (match_substring): Return a bool, fix whitespace issue. | |
4037 | (struct single_bfd_flag_info): New struct. | |
4038 | (bfd_flag_info): New static global. | |
4039 | (match_bfd_flags): Return a bool, use bfd_flag_info. | |
4040 | (print_bfd_flags): Use bfd_flag_info. | |
4041 | (maint_print_section_info): Delete trailing whitespace. | |
4042 | (struct maint_info_sections_opts): New struct. | |
4043 | (maint_info_sections_option_defs): New static global. | |
4044 | (maint_info_sections_completer): New function. | |
4045 | (maintenance_info_sections): Use option parsing mechanism. | |
4046 | (_initialize_maint_cmds): Update command help text for 'maint info | |
4047 | sections' and register a command completer. | |
4048 | ||
4790db14 AB |
4049 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> |
4050 | ||
4051 | * maint.c (print_bfd_section_info_maybe_relocated): Delete, | |
4052 | functionality merged into... | |
4053 | (maint_print_all_sections): ...this new function. | |
4054 | (maintenance_info_sections): Make use of maint_print_all_sections, | |
4055 | allow all objects to be printed even where there's no executable. | |
4056 | ||
1db66e34 AB |
4057 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> |
4058 | ||
4059 | * breakpoint.c (resolve_sal_pc): Make use of | |
4060 | bound_minimal_symbol::obj_section. | |
4061 | * maint.c (maintenance_translate_address): Likewise. | |
4062 | * minsyms.c (minimal_symbol_upper_bound): Likewise. | |
4063 | * minsyms.h (struct bound_minimal_symbol) <obj_section>: New | |
4064 | member function. | |
4065 | * printcmd.c (info_address_command): Make use of | |
4066 | bound_minimal_symbol::obj_section. | |
4067 | ||
18b8df43 AM |
4068 | 2021-02-11 Alan Modra <amodra@gmail.com> |
4069 | ||
4070 | * arm-symbian-tdep.c: Delete. | |
4071 | * NEWS: Mention arm-symbian removal. | |
4072 | * Makefile.in: Remove arm-symbian-tdep entries. | |
4073 | * configure.tgt: Remove arm*-*-symbianelf*. | |
4074 | * doc/gdb.texinfo: Remove mention of SymbianOS. | |
4075 | * osabi.c (gdb_osabi_names): Remove "Symbian". | |
4076 | * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN. | |
4077 | * testsuite/gdb.base/ending-run.exp: Remove E32Main handling. | |
4078 | * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf* | |
4079 | handling. | |
4080 | * testsuite/gdb.base/dup-sect.exp: Likewise. | |
4081 | * testsuite/gdb.base/long_long.exp: Likewise. | |
4082 | * testsuite/gdb.base/solib-weak.exp: Likewise. | |
4083 | * testsuite/gdb.guile/scm-section-script.exp: Likewise. | |
4084 | * testsuite/gdb.python/py-section-script.exp: Likewise. | |
4085 | * testsuite/lib/dwarf.exp: Likewise. | |
4086 | * testsuite/lib/gdb.exp: Likewise. | |
4087 | ||
e92c8eb8 AB |
4088 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> |
4089 | ||
4090 | * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token. | |
4091 | (exp): New pattern using UNOP_OR_BINOP_INTRINSIC. | |
4092 | (one_or_two_args): New pattern. | |
4093 | (f77_keywords): Add lbound and ubound. | |
4094 | * f-lang.c (fortran_bounds_all_dims): New function. | |
4095 | (fortran_bounds_for_dimension): New function. | |
4096 | (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND. | |
4097 | (operator_length_f): Likewise. | |
4098 | (print_subexp_f): Likewise. | |
4099 | (dump_subexp_body_f): Likewise. | |
4100 | (operator_check_f): Likewise. | |
4101 | * std-operator.def (FORTRAN_LBOUND): Define. | |
4102 | (FORTRAN_UBOUND): Define. | |
4103 | ||
a52d653e AB |
4104 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> |
4105 | ||
4106 | * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index | |
4107 | and set_section_index member functions where appropriate. | |
4108 | * coffread.c (coff_symtab_read): Likewise. | |
4109 | (process_coff_symbol): Likewise. | |
4110 | * ctfread.c (set_symbol_address): Likewise. | |
4111 | * dwarf2/read.c (add_partial_symbol): Likewise. | |
4112 | (var_decode_location): Likewise. | |
4113 | * language.c: Likewise. | |
4114 | * minsyms.c (minimal_symbol_reader::record_full): Likewise. | |
4115 | (compact_minimal_symbols): Likewise. | |
4116 | (minimal_symbol_upper_bound): Likewise. | |
4117 | * objfiles.c (relocate_one_symbol): Likewise. | |
4118 | * psympriv.h (partial_symbol::obj_section): Likewise. | |
4119 | (partial_symbol::address): Likewise. | |
4120 | * psymtab.c (partial_symtab::add_psymbol): Likewise. | |
4121 | * stabsread.c (scan_file_globals): Likewise. | |
4122 | * symmisc.c (dump_msymbols): Likewise. | |
4123 | * symtab.c (general_symbol_info::obj_section): Likewise. | |
4124 | (fixup_section): Likewise. | |
4125 | (get_msymbol_address): Likewise. | |
4126 | * symtab.h (general_symbol_info::section): Rename to... | |
4127 | (general_symbol_info::m_section): ...this. | |
4128 | (general_symbol_info::set_section_index): New member function. | |
4129 | (general_symbol_info::section_index): Likewise. | |
4130 | (SYMBOL_SECTION): Delete. | |
4131 | (MSYMBOL_VALUE_ADDRESS): Make use of section_index and | |
4132 | set_section_index member functions where appropriate. | |
4133 | (MSYMBOL_SECTION): Delete. | |
4134 | (symbol::symbol): Update to initialize 'm_section'. | |
4135 | * xcoffread.c (read_xcoff_symtab): Make use of set_section_index. | |
4136 | (process_xcoff_symbol): Likewise. | |
4137 | ||
ebbc3a7d AB |
4138 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> |
4139 | ||
4140 | * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and | |
4141 | MSYMBOL_OBJ_SECTION. | |
4142 | * findvar.c (language_defn::read_var_value): Likewise. | |
4143 | * infcmd.c (jump_command): Likewise. | |
4144 | * linespec.c (minsym_found): Likewise. | |
4145 | * maint.c (maintenance_translate_address): Likewise. | |
4146 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise. | |
4147 | (minimal_symbol_upper_bound): Likewise. | |
4148 | * parse.c (find_minsym_type_and_address): Likewise. | |
4149 | (operator_check_standard): Likewise. | |
4150 | * printcmd.c (info_address_command): Likewise. | |
4151 | * symmisc.c (dump_msymbols): Likewise. | |
4152 | (print_symbol): Likewise. | |
4153 | * symtab.c (general_symbol_info::obj_section): Define new | |
4154 | function. | |
4155 | (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION. | |
4156 | (find_pc_sect_compunit_symtab): Likewise. | |
4157 | (find_function_start_sal): Likewise. | |
4158 | (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and | |
4159 | MSYMBOL_OBJ_SECTION. | |
4160 | * symtab.h (struct general_symbol_info) <obj_section>: Declare new | |
4161 | function. | |
4162 | (SYMBOL_OBJ_SECTION): Delete. | |
4163 | (MSYMBOL_OBJ_SECTION): Delete. | |
4164 | ||
9bb305b3 TT |
4165 | 2021-02-09 Tom Tromey <tom@tromey.com> |
4166 | ||
4167 | * stap-probe.c (stap_parse_argument_conditionally): Fix typo. | |
4168 | ||
cf2b2075 TV |
4169 | 2021-02-09 Tom de Vries <tdevries@suse.de> |
4170 | ||
4171 | PR symtab/27341 | |
4172 | * dwarf2/read.c (read_array_type): Return NULL when not being able to | |
4173 | construct an array type. Add assert to ensure that element_type is | |
4174 | not being modified. | |
4175 | ||
03642b71 AB |
4176 | 2021-02-09 Andrew Burgess <andrew.burgess@embecosm.com> |
4177 | ||
4178 | * gcore.c (struct gcore_collect_regset_section_cb_data): Delete. | |
4179 | (gcore_collect_regset_section_cb): Delete. | |
4180 | (gcore_collect_thread_registers): Delete. | |
4181 | (gcore_build_thread_register_notes): Delete. | |
4182 | (gcore_find_signalled_thread): Delete. | |
4183 | * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete | |
4184 | 'gdbarch' and 'thread_info' declarations. | |
4185 | (gcore_build_thread_register_notes): Delete declaration. | |
4186 | (gcore_find_signalled_thread): Likewise. | |
4187 | * fbsd-tdep.c: Remove 'gcore.h' include. | |
4188 | (struct fbsd_collect_regset_section_cb_data): New struct. | |
4189 | (fbsd_collect_regset_section_cb): New function. | |
4190 | (fbsd_collect_thread_registers): New function. | |
4191 | (struct fbsd_corefile_thread_data): New struct. | |
4192 | (fbsd_corefile_thread): New function. | |
4193 | (fbsd_make_corefile_notes): Call FreeBSD specific code. | |
4194 | * linux-tdep.c: Remove 'gcore.h' include. | |
4195 | (struct linux_collect_regset_section_cb_data): New struct. | |
4196 | (linux_collect_regset_section_cb): New function. | |
4197 | (linux_collect_thread_registers): New function. | |
4198 | (linux_corefile_thread): Call Linux specific code. | |
4199 | (find_signalled_thread): New function. | |
4200 | (linux_make_corefile_notes): Call find_signalled_thread. | |
4201 | ||
f73e424f TT |
4202 | 2021-02-09 Tom Tromey <tromey@adacore.com> |
4203 | ||
4204 | * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy | |
4205 | not_lval value. | |
4206 | * value.c (value_contents_copy_raw): Now static. | |
4207 | * value.h (value_contents_copy_raw): Don't declare. | |
4208 | ||
a4f0544b TT |
4209 | 2021-02-09 Tom Tromey <tromey@adacore.com> |
4210 | ||
4211 | * gdbtypes.c (resolve_dynamic_struct): Handle structure with no | |
4212 | fields. | |
4213 | ||
9b3e4b5d SV |
4214 | 2021-02-08 Shahab Vahedi <shahab@synopsys.com> |
4215 | ||
4216 | PR tdep/27369 | |
4217 | * arc-linux-tdep.c (handle_atomic_sequence): New. | |
4218 | (arc_linux_software_single_step): Call handle_atomic_sequence(). | |
4219 | ||
29db1eb3 AB |
4220 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
4221 | ||
4222 | * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member | |
4223 | function. | |
4224 | (REQUIRE_WINDOW): Call is_valid member function. | |
4225 | (REQUIRE_WINDOW_FOR_SETTER): New define. | |
4226 | (gdbpy_tui_is_valid): Call is_valid member function. | |
4227 | (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead. | |
4228 | * tui/tui-data.h (struct tui_win_info) <is_visible>: Check | |
4229 | tui_active too. | |
4230 | * tui/tui-layout.c (tui_apply_current_layout): Add an assert. | |
4231 | * tui/tui.c (tui_enable): Move setting of tui_active earlier in | |
4232 | the function. | |
4233 | ||
e0c23e11 AB |
4234 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
4235 | ||
4236 | * python/py-tui.c (gdbpy_tui_set_title): Check that the new value | |
4237 | for the title is not nullptr. | |
4238 | ||
1cf23996 AB |
4239 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
4240 | ||
4241 | * tui-layout.c (saved_tui_windows): Delete. | |
4242 | (tui_apply_current_layout): Don't make use of saved_tui_windows, | |
4243 | call new get_windows member function instead. | |
4244 | (tui_get_window_by_name): Check in tui_windows. | |
4245 | (tui_layout_window::apply): Don't add to tui_windows. | |
4246 | * tui-layout.h (tui_layout_base::get_windows): New member function. | |
4247 | (tui_layout_window::get_windows): Likewise. | |
4248 | (tui_layout_split::get_windows): Likewise. | |
4249 | ||
a53a2657 AB |
4250 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
4251 | ||
4252 | * tui/tui-layout.c (tui_apply_current_layout): Restore the delete | |
4253 | of the window objects. | |
4254 | ||
2708dbbd AB |
4255 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
4256 | ||
4257 | * python/python.c (gdbpy_print_stack): Reformat an error message. | |
4258 | ||
cd074e04 AB |
4259 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
4260 | ||
4261 | * tui/tui-interp.c (tui_command_line_handler): New function. | |
4262 | (tui_interp::resume): Register tui_command_line_handler as the | |
4263 | input_handler. | |
4264 | * tui/tui-io.c (tui_inject_newline_into_command_window): New | |
4265 | function. | |
4266 | (tui_getc_1): Delete handling of '\n' and '\r'. | |
4267 | * tui-io.h (tui_inject_newline_into_command_window): Declare. | |
4268 | ||
4cf28e91 HD |
4269 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> |
4270 | ||
4271 | * tui/tui-regs.c (tui_data_window::display_registers_from): | |
4272 | Mark invisible register sub windows. | |
4273 | (tui_data_window::check_register_values): Ignore invisible | |
4274 | register sub windows. | |
4275 | ||
3537bc23 HD |
4276 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> |
4277 | ||
4278 | * tui/tui-regs.c (tui_data_item_window::rerender): Don't call | |
4279 | n_spaces with a negative value. | |
4280 | ||
5fc2d6aa HD |
4281 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> |
4282 | ||
4283 | * tui/tui-regs.c (tui_data_window::display_registers_from): | |
4284 | Add refresh_window call. | |
4285 | ||
83962f83 HD |
4286 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> |
4287 | ||
4288 | * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next. | |
4289 | ||
0110ec82 SM |
4290 | 2021-02-05 Simon Marchi <simon.marchi@polymtl.ca> |
4291 | ||
4292 | * symmisc.c (std_in, std_out, std_err): Remove. | |
4293 | (_initialize_symmisc): Don't set std_in, std_out and std_err. | |
4294 | ||
7c6944ab TV |
4295 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
4296 | ||
4297 | PR breakpoints/27330 | |
4298 | * breakpoint.c (create_exception_master_breakpoint): Handle case that | |
4299 | glibc object file has debug info. | |
4300 | ||
e77b0004 TV |
4301 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
4302 | ||
4303 | PR symtab/27333 | |
4304 | * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit. | |
4305 | ||
0e857c82 TV |
4306 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
4307 | ||
4308 | PR breakpoints/27313 | |
4309 | * break-catch-syscall.c (catch_syscall_split_args): Reject negative | |
4310 | syscall numbers. | |
4311 | ||
bdfea17e TT |
4312 | 2021-02-05 Tom Tromey <tom@tromey.com> |
4313 | ||
4314 | * compile/compile-c-support.c (get_compile_context) | |
4315 | (c_get_compile_context, cplus_get_compile_context): Change return | |
4316 | type. | |
4317 | * language.c (language_defn::get_compile_instance): New method. | |
4318 | * language.h (language_defn::get_compile_instance): Change return | |
4319 | type. No longer inline. | |
4320 | * c-lang.c (c_language::get_compile_instance): Change return type. | |
4321 | (cplus_language::get_compile_instance): Change return type. | |
4322 | * c-lang.h (c_get_compile_context, cplus_get_compile_context): | |
4323 | Change return type. | |
4324 | * compile/compile.c (compile_to_object): Update. | |
4325 | ||
1b30f421 TT |
4326 | 2021-02-05 Tom Tromey <tom@tromey.com> |
4327 | ||
4328 | * parser-defs.h (write_exp_symbol_reference): Declare. | |
4329 | * parse.c (write_exp_symbol_reference): New function. | |
4330 | * p-exp.y (variable): Use write_exp_symbol_reference. | |
4331 | * m2-exp.y (variable): Use write_exp_symbol_reference. | |
4332 | * f-exp.y (variable): Use write_exp_symbol_reference. | |
4333 | * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference. | |
4334 | * c-exp.y (variable): Use write_exp_symbol_reference. | |
4335 | ||
ae710496 TV |
4336 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
4337 | ||
4338 | PR exp/27265 | |
4339 | * valarith.c (complex_binop): Throw an error if complex type can't | |
4340 | be created. | |
4341 | ||
d3b54e63 TV |
4342 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
4343 | ||
4344 | PR symtab/27307 | |
4345 | * dwarf2/read.c (create_cus_from_debug_names_list): Add missing | |
4346 | return. | |
4347 | ||
fc9a13fb TV |
4348 | 2021-02-05 Tom de Vries <tdevries@suse.de> |
4349 | ||
4350 | * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation. | |
4351 | ||
04b4939b MF |
4352 | 2021-02-04 Mike Frysinger <vapier@gentoo.org> |
4353 | ||
4354 | * configure.tgt (riscv*-*-*): Set gdb_sim. | |
4355 | ||
6ff267e1 SM |
4356 | 2021-02-04 Simon Marchi <simon.marchi@polymtl.ca> |
4357 | ||
4358 | * target.c (target_is_non_stop_p): Return bool. | |
4359 | * target.h (target_is_non_stop_p): Return bool. | |
4360 | ||
fdbc5215 SM |
4361 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> |
4362 | ||
4363 | * record-full.c (record_full_async_inferior_event_handler): | |
4364 | Don't clear async event handler. | |
4365 | (record_full_base_target::wait): Clear async event handler at | |
4366 | beginning. | |
4367 | ||
85d3ad8e SM |
4368 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> |
4369 | ||
4370 | * record-btrace.c (record_btrace_handle_async_inferior_event): | |
4371 | Don't clear async event handler. | |
4372 | (record_btrace_target::wait): Clear async event handler at | |
4373 | beginning. | |
4374 | ||
baa8575b SM |
4375 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> |
4376 | ||
4377 | * remote.c (remote_target::wait): Clear async event handler at | |
4378 | beginning, mark if needed at the end. | |
4379 | (remote_async_inferior_event_handler): Don't set or clear async | |
4380 | event handler. | |
4381 | ||
6b36ddeb SM |
4382 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> |
4383 | ||
4384 | * async-event.h (async_event_handler_func): Add documentation. | |
4385 | * async-event.c (check_async_event_handlers): Don't clear | |
4386 | async_event_handler ready flag. | |
4387 | * infrun.c (infrun_async_inferior_event_handler): Clear ready | |
4388 | flag. | |
4389 | * record-btrace.c (record_btrace_handle_async_inferior_event): | |
4390 | Likewise. | |
4391 | * record-full.c (record_full_async_inferior_event_handler): | |
4392 | Likewise. | |
4393 | * remote-notif.c (remote_async_get_pending_events_handler): | |
4394 | Likewise. | |
4395 | * remote.c (remote_async_inferior_event_handler): Likewise. | |
4396 | ||
72d383bb SM |
4397 | 2021-02-03 Simon Marchi <simon.marchi@polymtl.ca> |
4398 | ||
4399 | * infrun.c (handle_inferior_event): Move stop_soon variable to | |
4400 | inner scope. | |
4401 | ||
408f6686 PA |
4402 | 2021-02-03 Pedro Alves <pedro@palves.net> |
4403 | ||
4404 | * infcmd.c (detach_command): Hold strong reference to target, and | |
4405 | if all-stop on entry, restart threads on exit. | |
4406 | * infrun.c (switch_back_to_stepped_thread): Factor out bits to ... | |
4407 | (restart_stepped_thread): ... this new function. Also handle | |
4408 | trap_expected. | |
4409 | (restart_after_all_stop_detach): New function. | |
4410 | * infrun.h (restart_after_all_stop_detach): Declare. | |
4411 | ||
ac7d717c PA |
4412 | 2021-02-03 Pedro Alves <pedro@palves.net> |
4413 | ||
4414 | * infrun.c (struct step_over_info): Initialize fields. | |
4415 | (prepare_for_detach): Handle ongoing in-line step over. | |
4416 | ||
e87f0fe8 PA |
4417 | 2021-02-03 Pedro Alves <pedro@palves.net> |
4418 | ||
4419 | * linux-nat.c (linux_nat_target::detach): Remove breakpoints | |
4420 | here... | |
4421 | * remote.c (remote_target::remote_detach_1): ... and here ... | |
4422 | * target.c (target_detach): ... instead of here. | |
4423 | * target.h (target_ops::detach): Add comment. | |
4424 | ||
8ff53139 PA |
4425 | 2021-02-03 Pedro Alves <pedro@palves.net> |
4426 | ||
4427 | * infrun.c (struct wait_one_event): Move higher up. | |
4428 | (prepare_for_detach): Abort in-progress displaced steps instead of | |
4429 | letting them complete. | |
4430 | (handle_one): If the inferior is detaching, don't add the thread | |
4431 | back to the global step-over chain. | |
4432 | (restart_threads): Don't restart threads if detaching. | |
4433 | (handle_signal_stop): Remove inferior::detaching reference. | |
4434 | ||
91475068 PA |
4435 | 2021-02-03 Pedro Alves <pedro@palves.net> |
4436 | ||
4437 | * infrun.c (prepare_for_detach): Don't release scoped_restore | |
4438 | before returning. | |
4439 | ||
d758e62c PA |
4440 | 2021-02-03 Pedro Alves <pedro@palves.net> |
4441 | ||
4442 | * infrun.c (handle_one): New function, factored out from ... | |
4443 | (stop_all_threads): ... here. | |
4444 | ||
b0083dd7 PA |
4445 | 2021-02-03 Pedro Alves <pedro@palves.net> |
4446 | ||
4447 | * remote.c (remote_notif_stop_ack): Don't error out on | |
4448 | TARGET_WAITKIND_IGNORE; instead, just ignore the notification. | |
4449 | (remote_target::discard_pending_stop_replies): Don't delete | |
4450 | in-flight notification; instead, clear its contents. | |
4451 | ||
621cc310 PA |
4452 | 2021-02-03 Pedro Alves <pedro@palves.net> |
4453 | ||
4454 | * remote.c (extended_remote_target::attach): Set target async in | |
4455 | the target-non-stop path too. | |
4456 | ||
2ab76a18 PA |
4457 | 2021-02-03 Pedro Alves <pedro@palves.net> |
4458 | ||
4459 | PR gdb/27055 | |
4460 | * infrun.c (handle_signal_stop): Move main context_switch call | |
4461 | earlier, before STOP_QUIETLY_NO_SIGSTOP. | |
4462 | ||
2e3773ff LS |
4463 | 2021-02-02 Lancelot SIX <lsix@lancelotsix.com> |
4464 | ||
4465 | * NEWS (Changed commands): Add entry for the behavior change of | |
4466 | the inferior command. | |
4467 | * inferior.c (inferior_command): When no argument is given to the | |
4468 | inferior command, display info about the currently selected | |
4469 | inferior. | |
4470 | ||
e57933dc SM |
4471 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
4472 | ||
4473 | * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return | |
4474 | a sect_offset. | |
4475 | (read_attribute_reprocess): Adjust. | |
4476 | ||
2b0c7f41 SM |
4477 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
4478 | ||
4479 | * dwarf2/die.h (struct die_info) <ranges_base>: Split in... | |
4480 | <gnu_ranges_base>: ... this... | |
4481 | <rnglists_base>: ... and this. | |
4482 | * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in... | |
4483 | <gnu_ranges_base>: ... this... | |
4484 | <rnglists_base>: ... and this. | |
4485 | (read_cutu_die_from_dwo): Adjust | |
4486 | (dwarf2_get_pc_bounds): Adjust | |
4487 | (dwarf2_record_block_ranges): Adjust. | |
4488 | (read_full_die_1): Adjust | |
4489 | (partial_die_info::read): Adjust. | |
4490 | (read_rnglist_index): Adjust. | |
4491 | ||
a1c40103 SM |
4492 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
4493 | ||
4494 | PR gdb/26813 | |
4495 | * dwarf2/read.c (read_loclists_rnglists_header): Add | |
4496 | header_offset parameter and use it. | |
4497 | (read_loclist_index): Read header of the current contribution, | |
4498 | not the one at the beginning of the section. | |
4499 | (read_rnglist_index): Likewise. | |
4500 | ||
b1829e1b SM |
4501 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
4502 | ||
4503 | PR gdb/26813 | |
4504 | * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear | |
4505 | requires_reprocessing flag. | |
4506 | * dwarf2/attribute.c (attribute::form_is_unsigned): Handle | |
4507 | DW_FORM_loclistx. | |
4508 | (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx | |
4509 | and DW_FORM_loclistx. | |
4510 | * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned | |
4511 | instead of set_address for DW_FORM_loclistx and | |
4512 | DW_FORM_rnglistx. | |
4513 | ||
0c800c6e SM |
4514 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
4515 | ||
4516 | * dwarf2/read.c (read_loclist_index): Remove bound check for | |
4517 | start of offset. | |
4518 | (read_rnglist_index): Likewise. | |
4519 | ||
05787bad SM |
4520 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
4521 | ||
4522 | * dwarf2/read.c (read_loclist_index): Add bound check for the end | |
4523 | of the offset. | |
4524 | ||
5e4d9bbc SM |
4525 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
4526 | ||
4527 | * dwarf2/read.c (read_rnglist_index): Fix bound check. | |
4528 | ||
a0c1eeba SM |
4529 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> |
4530 | ||
4531 | * dwarf2/read.c (read_loclist_index): Change complaints into | |
4532 | errors. | |
4533 | ||
2bd3e4b8 TV |
4534 | 2021-02-02 Tom de Vries <tdevries@suse.de> |
4535 | ||
4536 | PR symtab/24620 | |
4537 | * dwarf2/index-write.c (write_one_signatured_type): Skip if | |
4538 | psymtab == nullptr. | |
4539 | ||
82a1fd3a AB |
4540 | 2021-02-01 Andrew Burgess <andrew.burgess@embecosm.com> |
4541 | ||
4542 | * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h. | |
4543 | * gcore.c (struct gcore_collect_regset_section_cb_data): Moved | |
4544 | here from linux-tdep.c and given a new name. Minor cleanups. | |
4545 | (gcore_collect_regset_section_cb): Likewise. | |
4546 | (gcore_collect_thread_registers): Likewise. | |
4547 | (gcore_build_thread_register_notes): Likewise. | |
4548 | (gcore_find_signalled_thread): Likewise. | |
4549 | * gcore.h (gcore_build_thread_register_notes): Declare. | |
4550 | (gcore_find_signalled_thread): Declare. | |
4551 | * fbsd-tdep.c: Add 'gcore.h' include. | |
4552 | (struct fbsd_collect_regset_section_cb_data): Delete. | |
4553 | (fbsd_collect_regset_section_cb): Delete. | |
4554 | (fbsd_collect_thread_registers): Delete. | |
4555 | (struct fbsd_corefile_thread_data): Delete. | |
4556 | (fbsd_corefile_thread): Delete. | |
4557 | (fbsd_make_corefile_notes): Call | |
4558 | gcore_build_thread_register_notes instead of the now deleted | |
4559 | FreeBSD code. | |
4560 | * linux-tdep.c: Add 'gcore.h' include. | |
4561 | (struct linux_collect_regset_section_cb_data): Delete. | |
4562 | (linux_collect_regset_section_cb): Delete. | |
4563 | (linux_collect_thread_registers): Delete. | |
4564 | (linux_corefile_thread): Call | |
4565 | gcore_build_thread_register_notes. | |
4566 | (find_signalled_thread): Delete. | |
4567 | (linux_make_corefile_notes): Call gcore_find_signalled_thread. | |
4568 | ||
ebde6f2d TV |
4569 | 2021-01-29 Tom de Vries <tdevries@suse.de> |
4570 | ||
4571 | PR breakpoints/26063 | |
4572 | * infrun.c (process_event_stop_test): Reset | |
4573 | ecs->event_thread->current_line to 0 if is-stmt=n and frame has | |
4574 | changed. | |
4575 | ||
0f93c3a2 AB |
4576 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> |
4577 | ||
4578 | * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an | |
4579 | assert. Extend the header comment. | |
4580 | ||
f237f998 AB |
4581 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> |
4582 | ||
4583 | * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c. | |
4584 | (HFILES_NO_SRCDIR): Add tui/tui-location.h. | |
4585 | * tui/tui-data.h (TUI_STATUS_WIN): Define. | |
4586 | (tui_locator_win_info_ptr): Delete declaration. | |
4587 | * tui/tui-disasm.c: Add 'tui/tui-location.h' include. | |
4588 | (tui_disasm_window::set_contents): Fetch state from tui_location | |
4589 | global. | |
4590 | (tui_get_begin_asm_address): Likewise. | |
4591 | * tui/tui-layout.c (tui_apply_current_layout): Remove special case | |
4592 | for locator window. | |
4593 | (get_locator_window): Delete. | |
4594 | (initialize_known_windows): Treat locator window just like all the | |
4595 | rest. | |
4596 | * tui/tui-source.c: Add 'tui/tui-location.h' include. | |
4597 | (tui_source_window::set_contents): Fetch state from tui_location | |
4598 | global. | |
4599 | (tui_source_window::showing_source_p): Likewise. | |
4600 | * tui/tui-stack.c: Add 'tui/tui-location.h' include. | |
4601 | (_locator): Delete. | |
4602 | (tui_locator_win_info_ptr): Delete. | |
4603 | (tui_locator_window::make_status_line): Fetch state from | |
4604 | tui_location global. | |
4605 | (tui_locator_window::rerender): Remove check of 'handle', | |
4606 | reindent function body. | |
4607 | (tui_locator_window::set_locator_fullname): Delete. | |
4608 | (tui_locator_window::set_locator_info): Delete. | |
4609 | (tui_update_locator_fullname): Delete. | |
4610 | (tui_show_frame_info): Likewise. | |
4611 | (tui_show_locator_content): Access window through TUI_STATUS_WIN. | |
4612 | * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to | |
4613 | tui/tui-location.h and renamed to | |
4614 | tui_location_tracker::set_location. | |
4615 | (tui_locator_window::set_locator_fullname): Moved to | |
4616 | tui/tui-location.h and renamed to | |
4617 | tui_location_tracker::set_fullname. | |
4618 | (tui_locator_window::full_name): Delete. | |
4619 | (tui_locator_window::proc_name): Delete. | |
4620 | (tui_locator_window::line_no): Delete. | |
4621 | (tui_locator_window::addr): Delete. | |
4622 | (tui_locator_window::gdbarch): Delete. | |
4623 | (tui_update_locator_fullname): Delete declaration. | |
4624 | * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling | |
4625 | for locator window. | |
4626 | * tui/tui-winsource.c: Add 'tui/tui-location.h' include. | |
4627 | (tui_display_main): Call function on tui_location directly. | |
4628 | * tui/tui.h (enum tui_win_type): Add STATUS_WIN. | |
4629 | * tui/tui-location.c: New file. | |
4630 | * tui/tui-location.h: New file. | |
4631 | ||
8ee511af SM |
4632 | 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca> |
4633 | ||
4634 | * gdbtypes.h (get_type_arch): Rename to... | |
4635 | (struct type) <arch>: ... this, update all users. | |
4636 | ||
6ac37371 SM |
4637 | 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca> |
4638 | ||
4639 | * gdbtypes.h (struct type) <arch>: Rename to... | |
4640 | <arch_owner>: ... this, update all users. | |
4641 | <objfile>: Rename to... | |
4642 | <objfile_owner>: ... this, update all users. | |
4643 | ||
24cf6389 AB |
4644 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> |
4645 | ||
4646 | * gdbcmd.h (execute_command_to_string): Update comment. | |
4647 | * top.c (execute_command_to_string): Update header comment. | |
4648 | ||
2a7f6487 TV |
4649 | 2021-01-28 Tom de Vries <tdevries@suse.de> |
4650 | ||
4651 | PR breakpoints/27205 | |
4652 | * breakpoint.c (create_longjmp_master_breakpoint_probe) | |
4653 | (create_longjmp_master_breakpoint_names): New function, factored out | |
4654 | of ... | |
4655 | (create_longjmp_master_breakpoint): ... here. Only try to install | |
4656 | longjmp_names breakpoints in libc.so/libc.so.debug if installing probe | |
4657 | breakpoint in libc.so failed. | |
4658 | ||
59b59f08 LS |
4659 | 2021-01-27 Lancelot SIX <lsix@lancelotsix.com> |
4660 | ||
4661 | PR gdb/27133 | |
4662 | * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the | |
4663 | unique_ptr is released when the wrapped pointer is kept for later | |
4664 | use. | |
4665 | ||
807f647c MM |
4666 | 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com> |
4667 | ||
4668 | * aarch64-tdep.c (aarch64_displaced_step_others): Account for | |
4669 | BLR and BR instructions. | |
4670 | * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode. | |
4671 | (enum aarch64_masks): New. | |
4672 | ||
4ef367bf TT |
4673 | 2021-01-26 Tom Tromey <tromey@adacore.com> |
4674 | ||
4675 | * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM) | |
4676 | (DEBUG_EXCEPT): Use debug_prefixed_printf_cond. | |
4677 | (windows_init_thread_list, windows_nat::handle_load_dll) | |
4678 | (windows_nat::handle_unload_dll, windows_nat_target::resume) | |
4679 | (windows_nat_target::resume) | |
4680 | (windows_nat_target::get_windows_debug_event) | |
4681 | (windows_nat_target::interrupt, windows_xfer_memory) | |
4682 | (windows_nat_target::close): Update. | |
4683 | * nat/windows-nat.c (DEBUG_EVENTS): Use | |
4684 | debug_prefixed_printf_cond. | |
4685 | (matching_pending_stop, fetch_pending_stop) | |
4686 | (continue_last_debug_event): Update. | |
4687 | ||
4cb1265b MS |
4688 | 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com> |
4689 | ||
4690 | * linux-tdep.c (linux_make_mappings_corefile_notes): Start using | |
4691 | elfcore_write_file_note. | |
4692 | ||
d0cc52bd SV |
4693 | 2021-01-26 Shahab Vahedi <shahab@synopsys.com> |
4694 | ||
4695 | * arc-tdep.c (arc_add_reggroups): New function. | |
4696 | (arc_gdbarch_init): Call arc_add_reggroups. | |
4697 | ||
ac3571d9 | 4698 | 2021-01-26 Anton Kolesov <anton.kolesov@synopsys.com> |
d56834cb AK |
4699 | |
4700 | * arc-tdep.c (arc_skip_prologue): Log "pc" address. | |
4701 | ||
9f6c202e TV |
4702 | 2021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de> |
4703 | Simon Marchi <simon.marchi@polymtl.ca> | |
4704 | Tom de Vries <tdevries@suse.de> | |
4705 | ||
4706 | * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for | |
4707 | DW_AT_ranges. | |
4708 | ||
a625a8c9 TT |
4709 | 2021-01-25 Tom Tromey <tromey@adacore.com> |
4710 | ||
4711 | * dwarf2/read.c (get_mpz): New function. | |
4712 | (get_dwarf2_rational_constant): Use it. | |
4713 | ||
19184910 TT |
4714 | 2021-01-25 Tom Tromey <tromey@adacore.com> |
4715 | ||
4716 | * ada-lang.c (resolve_subexp): Handle array context. | |
4717 | ||
b10bae18 TT |
4718 | 2021-01-23 Tom Tromey <tom@tromey.com> |
4719 | ||
4720 | PR compile/25575 | |
4721 | * compile/compile-loc2c.c (note_register): New function. | |
4722 | (pushf_register_address, pushf_register): Use it. | |
4723 | ||
3637a558 TT |
4724 | 2021-01-23 Tom Tromey <tom@tromey.com> |
4725 | ||
4726 | * symtab.h (struct symbol_computed_ops) <generate_c_location>: | |
4727 | Change type of "registers_used". | |
4728 | * dwarf2/loc.h (dwarf2_compile_property_to_c): Update. | |
4729 | * dwarf2/loc.c (dwarf2_compile_property_to_c) | |
4730 | (locexpr_generate_c_location, loclist_generate_c_location): Change | |
4731 | type of "registers_used". | |
4732 | * compile/compile.h (compile_dwarf_expr_to_c) | |
4733 | (compile_dwarf_bounds_to_c): Update. | |
4734 | * compile/compile-loc2c.c (pushf_register_address) | |
4735 | (pushf_register, do_compile_dwarf_expr_to_c) | |
4736 | (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type | |
4737 | of "registers_used". | |
4738 | * compile/compile-c.h (generate_c_for_variable_locations): | |
4739 | Update. | |
4740 | * compile/compile-c-symbols.c (generate_vla_size) | |
4741 | (generate_c_for_for_one_variable): Change type of | |
4742 | "registers_used". | |
4743 | (generate_c_for_variable_locations): Return std::vector. | |
4744 | * compile/compile-c-support.c (generate_register_struct): Change | |
4745 | type of "registers_used". | |
4746 | (compute): Update. | |
4747 | ||
9f7f6cb8 TT |
4748 | 2021-01-23 Tom Tromey <tom@tromey.com> |
4749 | ||
4750 | * compile/compile-internal.h (class compile_instance) | |
4751 | <set_arguments>: Change return type. | |
4752 | * compile/compile.c (compile_to_object): Remove call to reset. | |
4753 | (compile_instance::set_arguments): Change return type. | |
4754 | ||
dd5ca05f SM |
4755 | 2021-01-23 Simon Marchi <simon.marchi@polymtl.ca> |
4756 | ||
4757 | * gdbtypes.c (copy_type_recursive): Use get_type_arch. | |
4758 | * gdbtypes.h (struct type) <set_owner>: Add asserts. | |
4759 | ||
d3ee35db LS |
4760 | 2021-01-23 Lancelot SIX <lsix@lancelotsix.com> |
4761 | ||
4762 | * Makefile.in (SELFTESTS_SRCS): Add | |
4763 | unittests/gdb_tilde_expand-selftests.c. | |
4764 | * unittests/gdb_tilde_expand-selftests.c: New file. | |
4765 | ||
9d2d8a16 AB |
4766 | 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com> |
4767 | ||
4768 | PR cli/25956 | |
4769 | * NEWS: Mention new command. | |
4770 | * cli/cli-style.c: Add 'cli/cli-setshow.h' include. | |
4771 | (version_style): Define. | |
4772 | (cli_style_option::cli_style_option): Add intensity parameter, and | |
4773 | use as appropriate. | |
4774 | (_initialize_cli_style): Register version style set/show commands. | |
4775 | * cli/cli-style.h (cli_style_option): Add intensity parameter. | |
4776 | (version_style): Declare. | |
4777 | * top.c (print_gdb_version): Use version_stype, and styled_string | |
4778 | to print the GDB version string. | |
4779 | ||
e7b43072 AB |
4780 | 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com> |
4781 | ||
4782 | * utils.c (emit_style_escape): Only emit an escape sequence if the | |
4783 | requested style is different than the current applied style. | |
4784 | (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and | |
4785 | current applied_style. | |
4786 | (fputs_styled): Remove is_default check. | |
4787 | (fputs_styled_unfiltered): Likewise. | |
4788 | (vfprintf_styled_no_gdbfmt): Likewise. | |
4789 | ||
2189c312 SM |
4790 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
4791 | ||
4792 | * remote.h (remote_debug_printf): New. | |
4793 | (remote_debug_printf_nofunc): New. | |
4794 | (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New. | |
4795 | * remote.c: Use above macros throughout file. | |
4796 | ||
02349803 SM |
4797 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
4798 | ||
4799 | * remote.h (remote_debug): Change to bool. | |
4800 | * remote.c (remote_debug): Change to bool. | |
4801 | (_initialize_remote): Adjust. | |
4802 | ||
cda09ec9 SM |
4803 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
4804 | ||
4805 | * target.h (remote_debug): Move to... | |
4806 | * remote.h (remote_debug): ... here. | |
4807 | * top.c (remote_debug): Move to... | |
4808 | * remote.c (remote_debug): ... here. | |
4809 | * remote-sim.c: Include remote.h. | |
4810 | ||
baf2b57f SM |
4811 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
4812 | ||
4813 | * cli/cli-cmds.c (show_remote_debug): Remove. | |
4814 | (show_remote_timeout): Remove. | |
4815 | (_initialize_cli_cmds): Don't register commands. | |
4816 | * remote.c (show_remote_debug): Move here. | |
4817 | (show_remote_timeout): Move here. | |
4818 | (_initialize_remote): Register commands. | |
4819 | ||
344e9841 SM |
4820 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
4821 | ||
4822 | * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the | |
4823 | type::objfile method instead. | |
4824 | ||
30625020 SM |
4825 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> |
4826 | ||
4827 | * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to | |
4828 | use the type::is_objfile_owned method. | |
4829 | ||
5b7d941b SM |
4830 | 2021-01-22 Simon Marchi <simon.marchi@efficios.com> |
4831 | ||
4832 | * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust. | |
4833 | (TYPE_OWNER): Remove. | |
4834 | (TYPE_OBJFILE): Adjust. | |
4835 | (struct main_type) <flag_objfile_owned>: Rename to... | |
4836 | <m_flag_objfile_owned>: ... this. | |
4837 | <owner>: Rename to... | |
4838 | <m_owner>: ... this. | |
4839 | (struct type) <is_objfile_owned, set_owner, objfile, arch>: New | |
4840 | methods. | |
4841 | (TYPE_ALLOC): Adjust. | |
4842 | * gdbtypes.c (alloc_type): Adjust. | |
4843 | (alloc_type_arch): Adjust. | |
4844 | (alloc_type_copy): Adjust. | |
4845 | (get_type_arch): Adjust. | |
4846 | (smash_type): Adjust. | |
4847 | (lookup_array_range_type): Adjust. | |
4848 | (recursive_dump_type): Adjust. | |
4849 | (copy_type_recursive): Adjust. | |
4850 | * compile/compile-c-types.c (convert_func): Adjust. | |
4851 | (convert_type_basic): Adjust. | |
4852 | * compile/compile-cplus-types.c (compile_cplus_convert_func): | |
4853 | Adjust. | |
4854 | * language.c | |
4855 | (language_arch_info::type_and_symbol::alloc_type_symbol): | |
4856 | Adjust. | |
4857 | ||
d5d24e12 LM |
4858 | 2021-01-21 Luis Machado <luis.machado@linaro.org> |
4859 | ||
4860 | * coffread.c (enter_linenos): Passing string to complaint. | |
4861 | * valops.c (value_assign): Make array view. | |
4862 | ||
a59902a7 SM |
4863 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> |
4864 | ||
4865 | * auto-load.h (debug_auto_load): Move here. | |
4866 | (auto_load_debug_printf): New. | |
4867 | * auto-load.c: Use auto_load_debug_printf. | |
4868 | (debug_auto_load): Move to header. | |
4869 | * linux-thread-db.c (try_thread_db_load): Use | |
4870 | auto_load_debug_printf. | |
4871 | * main.c (captured_main_1): Likewise. | |
4872 | ||
d3abc0ce SM |
4873 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> |
4874 | ||
4875 | * f-valprint.c (f77_array_offset_tbl): Remove. | |
4876 | ||
1e15fcac SM |
4877 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> |
4878 | ||
4879 | * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file. | |
4880 | ||
439706e6 SM |
4881 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> |
4882 | ||
4883 | * ser-tcp.c (wait_for_connect): Use interruptible_select instead | |
4884 | of gdb_select. | |
4885 | ||
325d39e4 HD |
4886 | 2021-01-21 Hannes Domani <ssbssa@yahoo.de> |
4887 | ||
4888 | PR python/19151 | |
4889 | * python/py-breakpoint.c (bppy_get_location): Handle | |
4890 | bp_hardware_breakpoint. | |
4891 | (bppy_init): Likewise. | |
4892 | (gdbpy_breakpoint_created): Likewise. | |
4893 | ||
7cb6d92a SM |
4894 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> |
4895 | ||
4896 | * arm-tdep.c (arm_debug_printf): Add and use throughout file. | |
4897 | ||
d4dd4fca SM |
4898 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
4899 | ||
4900 | * gdb_bfd.c (debug_bfd_cache): Change type to bool. | |
4901 | (_initialize_gdb_bfd): Adjust. | |
4902 | ||
de53369b SM |
4903 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
4904 | ||
4905 | PR gdb/26828 | |
4906 | * dwarf2/read.c (maybe_queue_comp_unit): Add assertion. | |
4907 | ||
17e593e9 SM |
4908 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
4909 | ||
4910 | * dwarf2/read.c (follow_die_offset): Add logging. | |
4911 | (dwarf2_per_objfile::age_comp_units): Add logging. | |
4912 | ||
6bd434d6 SM |
4913 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> |
4914 | ||
4915 | * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static. | |
4916 | * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind, | |
4917 | aarch64_stub_unwind, aarch64_normal_base, ): Make static. | |
4918 | * arm-linux-tdep.c (arm_prologue_unwind): Make static. | |
4919 | * arm-tdep.c (struct frame_unwind): Make static. | |
4920 | * auto-load.c (auto_load_safe_path_vec): Make static. | |
4921 | * csky-tdep.c (csky_stub_unwind): Make static. | |
4922 | * gdbarch.c (gdbarch_data_registry): Make static. | |
4923 | * gnu-v2-abi.c (gnu_v2_abi_ops): Make static. | |
4924 | * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static. | |
4925 | * i386-tdep.c (i386_frame_setup_skip_insns, | |
4926 | i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns): | |
4927 | Make static. | |
4928 | * infrun.c (observer_mode): Make static. | |
4929 | * linux-nat.c (sigchld_action): Make static. | |
4930 | * linux-thread-db.c (thread_db_list): Make static. | |
4931 | * maint-test-options.c (maintenance_test_options_list): | |
4932 | * mep-tdep.c (mep_csr_registers): Make static. | |
4933 | * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name. | |
4934 | (stats): Make static. | |
4935 | * nat/linux-osdata.c (struct osdata_type): Make static. | |
4936 | * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static. | |
4937 | * progspace.c (last_program_space_num): Make static. | |
4938 | * python/py-param.c (struct parm_constant): Remove struct type | |
4939 | name. | |
4940 | (parm_constants): Make static. | |
4941 | * python/py-record-btrace.c (btpy_list_methods): Make static. | |
4942 | * python/py-record.c (recpy_gap_type): Make static. | |
4943 | * record.c (record_goto_cmdlist): Make static. | |
4944 | * regcache.c (regcache_descr_handle): Make static. | |
4945 | * registry.h (DEFINE_REGISTRY): Make definition static. | |
4946 | * symmisc.c (std_in, std_out, std_err): Make static. | |
4947 | * top.c (previous_saved_command_line): Make static. | |
4948 | * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make | |
4949 | static. | |
4950 | * unittests/command-def-selftests.c (nr_duplicates, | |
4951 | nr_invalid_prefixcmd, lists): Make static. | |
4952 | * unittests/observable-selftests.c (test_notification): Make | |
4953 | static. | |
4954 | * unittests/optional/assignment/1.cc (counter): Make static. | |
4955 | * unittests/optional/assignment/2.cc (counter): Make static. | |
4956 | * unittests/optional/assignment/3.cc (counter): Make static. | |
4957 | * unittests/optional/assignment/4.cc (counter): Make static. | |
4958 | * unittests/optional/assignment/5.cc (counter): Make static. | |
4959 | * unittests/optional/assignment/6.cc (counter): Make static. | |
4960 | ||
a6c11cbb JS |
4961 | 2021-01-20 Joel Sherrill <joel@rtems.org> |
4962 | ||
4963 | PR gdb/27219 | |
4964 | * remote.c (struct remote_thread_info) <resume_state>: Rename | |
4965 | to... | |
4966 | <get_resume_state>: ... this. | |
4967 | (remote_target::resume): Adjust. | |
4968 | (remote_target::commit_resume): Adjust. | |
4969 | (remote_target::select_thread_for_ambiguous_stop_reply): Adjust. | |
4970 | ||
6f52fdf4 SDJ |
4971 | 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net> |
4972 | Tom Tromey <tom@tromey.com> | |
4973 | ||
4974 | * stap-probe.c (stap_parse_single_operand): Handle '!' | |
4975 | operator. | |
4976 | (stap_parse_argument_conditionally): Likewise. | |
4977 | Skip spaces after processing open-parenthesis sub-expression. | |
4978 | (stap_parse_argument_1): Skip spaces after call to | |
4979 | stap_parse_argument_conditionally. | |
4980 | Handle case when right-side expression is a parenthesized | |
4981 | sub-expression. | |
4982 | Skip spaces after call to stap_parse_argument_1. | |
4983 | ||
1c3b85ad LS |
4984 | 2021-01-19 Lancelot SIX <lsix@lancelotsix.com> |
4985 | ||
4986 | * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN. | |
4987 | ||
a9a87d35 LM |
4988 | 2021-01-19 Luis Machado <luis.machado@linaro.org> |
4989 | ||
4990 | * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate | |
4991 | memory and save data. | |
4992 | (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr) | |
4993 | (trad_frame_set_unknown, trad_frame_set_value_bytes) | |
4994 | (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p) | |
4995 | (trad_frame_value_bytes_p): Remove. | |
4996 | (trad_frame_reset_saved_regs): Adjust documentation. | |
4997 | * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a | |
4998 | constructor and reset the state of the registers. | |
4999 | (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p) | |
5000 | (trad_frame_value_bytes_p, trad_frame_set_value) | |
5001 | (trad_frame_set_realreg, trad_frame_set_addr) | |
5002 | (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove. | |
5003 | (trad_frame_set_reg_realreg): Update to call member function. | |
5004 | (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise. | |
5005 | (trad_frame_get_prev_register): Likewise. | |
5006 | ||
5007 | * aarch64-tdep.c (aarch64_analyze_prologue) | |
5008 | (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1) | |
5009 | (aarch64_prologue_prev_register): Update to use member functions. | |
5010 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise. | |
5011 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise. | |
5012 | * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise. | |
5013 | * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache) | |
5014 | (arm_make_epilogue_frame_cache): Likewise. | |
5015 | * avr-tdep.c (avr_frame_unwind_cache) | |
5016 | (avr_frame_prev_register): Likewise. | |
5017 | * cris-tdep.c (cris_scan_prologue): Likewise. | |
5018 | * csky-tdep.c (csky_frame_unwind_cache): Likewise. | |
5019 | * frv-tdep.c (frv_analyze_prologue): Likewise. | |
5020 | * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise. | |
5021 | * lm32-tdep.c (lm32_frame_cache): Likewise. | |
5022 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. | |
5023 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
5024 | * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache) | |
5025 | (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise. | |
5026 | (reset_saved_regs): Adjust to set realreg. | |
5027 | * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to | |
5028 | call member functions. | |
5029 | * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache) | |
5030 | * s390-tdep.c (s390_prologue_frame_unwind_cache) | |
5031 | (s390_backchain_frame_unwind_cache): Likewise. | |
5032 | * score-tdep.c (score7_analyze_prologue) | |
5033 | (score3_analyze_prologue, score_make_prologue_cache): Likewise. | |
5034 | * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise. | |
5035 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise. | |
5036 | * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise. | |
5037 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise. | |
5038 | * tilegx-tdep.c (tilegx_analyze_prologue) | |
5039 | (tilegx_frame_cache): Likewise. | |
5040 | * v850-tdep.c (v850_frame_cache): Likewise. | |
5041 | * vax-tdep.c (vax_frame_cache): Likewise. | |
5042 | ||
bdec2917 LM |
5043 | 2021-01-19 Luis Machado <luis.machado@linaro.org> |
5044 | ||
5045 | * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead | |
5046 | of buffer + length. | |
5047 | (put_frame_register_bytes): Likewise. | |
5048 | Adjust documentation. | |
5049 | (get_frame_memory): Pass a gdb::array_view instead of buffer + length. | |
5050 | (safe_frame_unwind_memory): Likewise. | |
5051 | * frame.c (get_frame_register_bytes, put_frame_register_bytes) | |
5052 | (get_frame_memory, safe_frame_unwind_memory): Adjust to use | |
5053 | gdb::array_view. | |
5054 | * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise. | |
5055 | * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise. | |
5056 | * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise. | |
5057 | * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise. | |
5058 | * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise. | |
5059 | * dwarf2/loc.c (rw_pieced_value): Likewise. | |
5060 | * hppa-tdep.c (hppa_frame_cache): Likewise. | |
5061 | * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise. | |
5062 | * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise. | |
5063 | * i386-linux-tdep.c (i386_linux_sigtramp_start) | |
5064 | (i386_linux_rt_sigtramp_start): Likewise. | |
5065 | * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise. | |
5066 | * i386-tdep.c (i386_register_to_value): Likewise. | |
5067 | * i387-tdep.c (i387_register_to_value): Likewise. | |
5068 | * ia64-tdep.c (ia64_register_to_value): Likewise. | |
5069 | * m32r-linux-tdep.c (m32r_linux_sigtramp_start) | |
5070 | (m32r_linux_rt_sigtramp_start): Likewise. | |
5071 | * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise. | |
5072 | * m68k-tdep.c (m68k_register_to_value): Likewise. | |
5073 | * mips-tdep.c (mips_register_to_value) | |
5074 | (mips_value_to_register): Likewise. | |
5075 | * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer) | |
5076 | (ppcfbsd_sigtramp_frame_cache): Likewise. | |
5077 | * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer) | |
5078 | (ppcobsd_sigtramp_frame_cache): Likewise. | |
5079 | * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p) | |
5080 | (rs6000_register_to_value): Likewise. | |
5081 | * tilegx-tdep.c (tilegx_analyze_prologue): Likewise. | |
5082 | * tramp-frame.c (tramp_frame_start): Likewise. | |
5083 | * valops.c (value_assign): Likewise. | |
5084 | ||
ccbe4c82 LM |
5085 | 2021-01-19 Luis Machado <luis.machado@linaro.org> |
5086 | ||
5087 | * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an | |
5088 | array_view. | |
5089 | * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view | |
5090 | instead of buffer and size. | |
5091 | (trad_frame_set_reg_value_bytes): Likewise. | |
5092 | * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise. | |
5093 | (trad_frame_set_value_bytes): Likewise. | |
5094 | ||
0e7620dc MF |
5095 | 2021-01-18 Mike Frysinger <vapier@gentoo.org> |
5096 | ||
5097 | * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s. | |
5098 | ||
6a9ad81c AB |
5099 | 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com> |
5100 | ||
5101 | * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete. | |
5102 | (riscv_fbsd_gregset): Use riscv_supply_regset. | |
5103 | (riscv_fbsd_fpregset): Likewise. | |
5104 | * riscv-linux-tdep.c (riscv_linux_gregset): Likewise. | |
5105 | (riscv_linux_fregset): Likewise. | |
5106 | * riscv-tdep.c (riscv_supply_regset): Define new function. | |
5107 | * riscv-tdep.h (riscv_supply_regset): Declare new function. | |
5108 | ||
d3d7d1ba TV |
5109 | 2021-01-18 Tom de Vries <tdevries@suse.de> |
5110 | ||
5111 | PR tdep/27172 | |
5112 | * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR): | |
5113 | New macro. | |
5114 | (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper | |
5115 | for SEGV_BNDERR. | |
5116 | ||
aa2838cc SM |
5117 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> |
5118 | ||
5119 | * remote.c (class remote_target) <remote_hostio_send_command, | |
5120 | remote_hostio_parse_result>: Constify parameter. | |
5121 | (remote_hostio_parse_result): Likewise. | |
5122 | (remote_target::remote_hostio_send_command): Adjust. | |
5123 | (remote_target::remote_hostio_pread_vFile): Adjust. | |
5124 | (remote_target::fileio_readlink): Adjust. | |
5125 | (remote_target::fileio_fstat): Adjust. | |
5126 | ||
b5c8f22d SM |
5127 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> |
5128 | ||
5129 | * remote.c (remote_target::start_remote): Move wait_status to | |
5130 | narrower scope. | |
5131 | ||
e3b2741b SM |
5132 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> |
5133 | ||
5134 | * remote.c (class remote_target): | |
5135 | <add_current_inferior_and_thread>: Constify parameter. | |
5136 | (stop_reply_extract_thread): Likewise. | |
5137 | (remote_target::get_current_thread): Likewise. | |
5138 | (remote_target::add_current_inferior_and_thread): Likewise. | |
5139 | ||
cecb1912 SM |
5140 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> |
5141 | ||
5142 | * remote.c (class remote_target) | |
5143 | <remote_unpack_thread_info_response, | |
5144 | parse_threadlist_response>: Constify parameter and/or return | |
5145 | value and or local variable. | |
5146 | (stub_unpack_int): Likewise. | |
5147 | (unpack_nibble): Likewise. | |
5148 | (unpack_byte): Likewise. | |
5149 | (unpack_int): Likewise. | |
5150 | (unpack_string): Likewise. | |
5151 | (unpack_threadid): Likewise. | |
5152 | (remote_target::remote_unpack_thread_info_response): Likewise. | |
5153 | (remote_target::parse_threadlist_response): Likewise. | |
5154 | ||
5a11fff0 AB |
5155 | 2021-01-15 Andrew Burgess <andrew.burgess@embecosm.com> |
5156 | ||
5157 | * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0. | |
5158 | ||
17e89137 LS |
5159 | 2021-01-14 Lancelot Six <lsix@lancelotsix.com> |
5160 | ||
5161 | * MAINTAINERS (Write After Approval): Add myself. | |
5162 | ||
58eadc4b BE |
5163 | 2021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de> |
5164 | ||
5165 | * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error | |
5166 | because is_trivially_default_constructible was first implemented with | |
5167 | gcc-5. | |
5168 | ||
5fae2a2c TV |
5169 | 2021-01-14 Tom de Vries <tdevries@suse.de> |
5170 | ||
5171 | PR breakpoints/27151 | |
5172 | * objfiles.h (in_plt_section): Handle .plt.sec. | |
5173 | ||
8f66807b AB |
5174 | 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com> |
5175 | ||
5176 | PR gdb/26819 | |
5177 | * remote.c | |
5178 | (remote_target::select_thread_for_ambiguous_stop_reply): New | |
5179 | member function. | |
5180 | (remote_target::process_stop_reply): Call | |
5181 | select_thread_for_ambiguous_stop_reply. | |
5182 | ||
bd497355 SM |
5183 | 2021-01-13 Simon Marchi <simon.marchi@efficios.com> |
5184 | ||
5185 | * record-btrace.c (class record_btrace_target): Remove. | |
5186 | (record_btrace_target::commit_resume): Remove. | |
5187 | * record-full.c (class record_full_target): Remove. | |
5188 | (record_full_target::commit_resume): Remove. | |
5189 | ||
c9d22089 SM |
5190 | 2021-01-13 Simon Marchi <simon.marchi@efficios.com> |
5191 | ||
5192 | * remote.c (enum class resume_state): New. | |
5193 | (struct resumed_pending_vcont_info): New. | |
5194 | (struct remote_thread_info) <resume_state, set_not_resumed, | |
5195 | set_resumed_pending_vcont, resumed_pending_vcont_info, | |
5196 | set_resumed, m_resume_state, m_resumed_pending_vcont_info>: | |
5197 | New. | |
5198 | <last_resume_step, last_resume_sig, vcont_resumed>: Remove. | |
5199 | (remote_target::remote_add_thread): Adjust. | |
5200 | (remote_target::process_initial_stop_replies): Adjust. | |
5201 | (remote_target::resume): Adjust. | |
5202 | (remote_target::commit_resume): Rely on state in | |
5203 | remote_thread_info and not on tp->executing. | |
5204 | (remote_target::process_stop_reply): Adjust. | |
5205 | ||
d8d1feb4 SM |
5206 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
5207 | ||
5208 | * arc-tdep.h (arc_debug_printf): New. | |
5209 | * arc-tdep.c: Use arc_debug_printf. | |
5210 | * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use. | |
5211 | * arc-linux-tdep.c (arc_linux_debug_printf): Add and use. | |
5212 | * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use. | |
5213 | ||
fb0f5031 SM |
5214 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
5215 | ||
5216 | * arc-tdep.h (arc_debug): Change type to bool. | |
5217 | * arc-tdep.c (arc_debug): Change type to bool. | |
5218 | (arc_analyze_prologue): Adjust. | |
5219 | (_initialize_arc_tdep): Use add_setshow_boolean_cmd. | |
5220 | * arc-linux-nat.c (ps_get_thread_area): Adjust. | |
5221 | ||
5bf7e91b SM |
5222 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
5223 | ||
5224 | * auto-load.c (auto_load_objfile_script_1): Use bool. | |
5225 | (execute_script_contents): Use bool. | |
5226 | ||
db972fce SM |
5227 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
5228 | ||
5229 | * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move | |
5230 | comment here. | |
5231 | * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move | |
5232 | comment to header. | |
5233 | * extension-priv.h (struct extension_language_script_ops) | |
5234 | <auto_load_enabled>: Return bool. | |
5235 | * extension.h (ext_lang_auto_load_enabled): Return bool, move | |
5236 | comment here. | |
5237 | * extension.c (ext_lang_auto_load_enabled): Return bool, move | |
5238 | comment to header. | |
5239 | * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool, | |
5240 | move comment here. | |
5241 | * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool, | |
5242 | move comment to header. | |
5243 | * python/python-header.h (gdbpy_auto_load_enabled): Return bool, | |
5244 | move comment here. | |
5245 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool, | |
5246 | move comment to header. | |
5247 | ||
5e12f48f SM |
5248 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
5249 | ||
5250 | * auto-load.h (file_is_auto_load_safe): Change return type to | |
5251 | bool, move comment here. | |
5252 | * auto-load.c (file_is_auto_load_safe): Change return type and | |
5253 | advice_printed to bool. Move comment to header. | |
5254 | ||
54ca9002 SM |
5255 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> |
5256 | ||
5257 | * jit.c (jit_debug_printf): New, use throughout file. | |
5258 | ||
24a7f1b5 SM |
5259 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> |
5260 | ||
5261 | * infrun.c (normal_stop): Fix indentation. | |
5262 | ||
fe7a351a SM |
5263 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> |
5264 | ||
5265 | * top.h (readnow_symbol_files, readnever_symbol_files): Move | |
5266 | declarations to ... | |
5267 | * symfile.h: ... here. | |
5268 | * symfile.c: Update doc. | |
5269 | ||
16e9019e SM |
5270 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> |
5271 | ||
5272 | * target.h (baud_rate, serial_parity): Move declarations... | |
5273 | * serial.h: ... here. | |
5274 | * main.c: Include serial.h. | |
5275 | * serial.c (baud_rate, serial_parity): Update doc. | |
5276 | ||
b2f2ae0d SM |
5277 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> |
5278 | ||
5279 | * top.c (pre_init_ui_hook): Remove. | |
5280 | ||
5291fe3c SP |
5281 | 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com> |
5282 | ||
5283 | * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers. | |
5284 | (aarch64_vnv_type): Add "bf" type in h field of v registers. | |
5285 | * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated. | |
5286 | * features/aarch64-fpu.xml: Add bfloat16 type. | |
5287 | ||
ce38f5ed AB |
5288 | 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com> |
5289 | ||
5290 | * expprint.c (dump_subexp_body_standard): Handle OP_BOOL. | |
5291 | ||
7c654b71 AB |
5292 | 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com> |
5293 | ||
5294 | * f-exp.y (dot_ops): Rename to... | |
5295 | (fortran_operators): ...this. Add a header comment. Add symbol | |
5296 | based operators. | |
5297 | (yylex): Update to use fortran_operators not dot_ops. Remove | |
5298 | special handling for '**', this is now included in | |
5299 | fortran_operators. | |
5300 | ||
c6185dce SM |
5301 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> |
5302 | ||
5303 | * arch/aarch64-insn.h (aarch64_debug_printf): New. | |
5304 | * arch/aarch64-insn.c: Use aarch64_debug_printf. | |
5305 | * aarch64-tdep.c: Use aarch64_debug_printf. | |
5306 | ||
eef401dc SM |
5307 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> |
5308 | ||
5309 | * solib-aix.c (solib_aix_debug_printf): New, use throughout | |
5310 | file. | |
5311 | ||
062eaacb SM |
5312 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> |
5313 | ||
5314 | * jit.c (jit_debug): Change type to bool. | |
5315 | (_initialize_jit): Adjust. | |
5316 | ||
54585eee TT |
5317 | 2021-01-09 Tom Tromey <tom@tromey.com> |
5318 | ||
5319 | PR compile/23672 | |
5320 | * compile/compile.c (compile_to_object): Avoid crash when | |
5321 | osabi_triplet_regexp returns NULL. | |
5322 | ||
bc167b6b TT |
5323 | 2021-01-09 Tom Tromey <tom@tromey.com> |
5324 | ||
5325 | * tracepoint.h (class collection_list) <append_exp>: Take a | |
5326 | std::string. | |
5327 | * tracepoint.c (collection_list::append_exp): Take a std::string. | |
5328 | (encode_actions_1): Update. | |
5329 | ||
8fc48b79 TT |
5330 | 2021-01-08 Tom Tromey <tromey@adacore.com> |
5331 | ||
5332 | * parse.c (parse_expression): Add void_context_p parameter. Use | |
5333 | parse_exp_in_context. | |
5334 | * printcmd.c (print_command_1): Change voidprint to bool. Pass to | |
5335 | parse_expression. | |
5336 | (print_command, call_command): Update. | |
5337 | * expression.h (parse_expression): Add void_context_p parameter. | |
5338 | ||
3c8c6de2 AB |
5339 | 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
5340 | ||
5341 | * value.c (set_value_component_location): Adjust the VALUE_LVAL | |
5342 | for internalvar components that have a dynamic location. | |
5343 | ||
1940319c TV |
5344 | 2021-01-08 Tom de Vries <tdevries@suse.de> |
5345 | ||
5346 | PR gdb/26881 | |
5347 | * breakpoint.c (create_exception_master_breakpoint_probe) | |
5348 | (create_exception_master_breakpoint_hook): Factor out | |
5349 | of ... | |
5350 | (create_exception_master_breakpoint): ... here. Only try to install | |
5351 | the master exception breakpoint in objfile.debug using the | |
5352 | _Unwind_DebugHook method, if the install using probes in objfile | |
5353 | failed. | |
5354 | ||
e3436813 AB |
5355 | 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
5356 | ||
5357 | * f-lang.c (fortran_value_subarray): Call value_from_component. | |
5358 | ||
e904f56d MF |
5359 | 2021-01-07 Mike Frysinger <vapier@gentoo.org> |
5360 | ||
5361 | * remote-sim.c: Include memory-map.h. | |
5362 | (gdbsim_target): Define memory_map override. | |
5363 | (gdbsim_target::memory_map): Define. | |
5364 | ||
959d6a67 TT |
5365 | 2021-01-07 Tom Tromey <tromey@adacore.com> |
5366 | ||
5367 | * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix. | |
5368 | ||
d4813f10 TT |
5369 | 2021-01-07 Tom Tromey <tromey@adacore.com> |
5370 | ||
5371 | * ada-lang.c (add_component_interval): Start loop using vector's | |
5372 | updated size. | |
5373 | ||
b49180ac TT |
5374 | 2021-01-06 Tom Tromey <tromey@adacore.com> |
5375 | ||
5376 | * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>: | |
5377 | Do not cast result. | |
5378 | * valarith.c (fixed_point_binop): Handle multiplication | |
5379 | and division specially. | |
5380 | * valops.c (value_to_gdb_mpq): New function. | |
5381 | (value_cast_to_fixed_point): Use it. | |
5382 | ||
55195361 HD |
5383 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> |
5384 | ||
5385 | * tui/tui-winsource.c (tui_source_window_base::refresh_window): | |
5386 | Call wnoutrefresh instead of tui_win_info::refresh_window. | |
5387 | ||
1b6d4bb2 HD |
5388 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> |
5389 | ||
5390 | * tui/tui-source.c (tui_source_window::show_line_number): | |
5391 | Redraw second space after line number. | |
5392 | ||
b5ff370e HD |
5393 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> |
5394 | ||
5395 | PR tui/26927 | |
5396 | * tui/tui-winsource.c (tui_source_window_base::refresh_window): | |
5397 | Fix source pad size in prefresh. | |
5398 | (tui_source_window_base::show_source_content): Grow source pad | |
5399 | if necessary. | |
5400 | ||
c68ea49f MF |
5401 | 2021-01-04 Mike Frysinger <vapier@gentoo.org> |
5402 | ||
5403 | * bfin-tdep.c (bfin_push_dummy_call): Use align_up. | |
5404 | (bfin_frame_align): Use align_down. | |
5405 | ||
e4ad960a TV |
5406 | 2021-01-04 Tom de Vries <tdevries@suse.de> |
5407 | ||
5408 | * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq | |
5409 | terminators that do not terminate anything. | |
5410 | ||
3ec3145c SM |
5411 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> |
5412 | ||
5413 | * debug.c (debug_print_depth): New. | |
5414 | * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New. | |
5415 | (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New. | |
5416 | * infrun.c (start_step_over): Use | |
5417 | INFRUN_SCOPED_DEBUG_ENTER_EXIT. | |
5418 | (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and | |
5419 | INFRUN_SCOPED_DEBUG_START_END. | |
5420 | (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT. | |
5421 | ||
e71daf80 SM |
5422 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> |
5423 | ||
5424 | * infrun.c (print_target_wait_results): Use infrun_debug_printf. | |
5425 | ||
335709bc SM |
5426 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> |
5427 | ||
5428 | * utils.c (vfprintf_unfiltered): Print timestamp only when | |
5429 | previous debug output ended with a newline. | |
5430 | ||
098caef4 LM |
5431 | 2021-01-04 Luis Machado <luis.machado@linaro.org> |
5432 | ||
5433 | Update all users of trad_frame_saved_reg to use the new member | |
5434 | functions. | |
5435 | ||
5436 | Remote all struct keywords from declarations of trad_frame_saved_reg | |
5437 | types, except on forward declarations. | |
5438 | ||
5439 | * aarch64-tdep.c: Update. | |
5440 | * alpha-mdebug-tdep.c: Update. | |
5441 | * alpha-tdep.c: Update. | |
5442 | * arc-tdep.c: Update. | |
5443 | * arm-tdep.c: Update. | |
5444 | * avr-tdep.c: Update. | |
5445 | * cris-tdep.c: Update. | |
5446 | * csky-tdep.c: Update. | |
5447 | * frv-tdep.c: Update. | |
5448 | * hppa-linux-tdep.c: Update. | |
5449 | * hppa-tdep.c: Update. | |
5450 | * hppa-tdep.h: Update. | |
5451 | * lm32-tdep.c: Update. | |
5452 | * m32r-linux-tdep.c: Update. | |
5453 | * m32r-tdep.c: Update. | |
5454 | * m68hc11-tdep.c: Update. | |
5455 | * mips-tdep.c: Update. | |
5456 | * moxie-tdep.c: Update. | |
5457 | * riscv-tdep.c: Update. | |
5458 | * rs6000-tdep.c: Update. | |
5459 | * s390-linux-tdep.c: Update. | |
5460 | * s390-tdep.c: Update. | |
5461 | * score-tdep.c: Update. | |
5462 | * sparc-netbsd-tdep.c: Update. | |
5463 | * sparc-sol2-tdep.c: Update. | |
5464 | * sparc64-fbsd-tdep.c: Update. | |
5465 | * sparc64-netbsd-tdep.c: Update. | |
5466 | * sparc64-obsd-tdep.c: Update. | |
5467 | * sparc64-sol2-tdep.c: Update. | |
5468 | * tilegx-tdep.c: Update. | |
5469 | * v850-tdep.c: Update. | |
5470 | * vax-tdep.c: Update. | |
5471 | ||
5472 | * frame-unwind.c (frame_unwind_got_bytes): Make parameter const. | |
5473 | * frame-unwind.h (frame_unwind_got_bytes): Likewise. | |
5474 | ||
5475 | * trad-frame.c: Update. | |
5476 | Remove TF_REG_* enum. | |
5477 | (trad_frame_alloc_saved_regs): Add a static assertion to check for | |
5478 | a trivially-constructible struct. | |
5479 | (trad_frame_reset_saved_regs): Adjust to use member function. | |
5480 | (trad_frame_value_p): Likewise. | |
5481 | (trad_frame_addr_p): Likewise. | |
5482 | (trad_frame_realreg_p): Likewise. | |
5483 | (trad_frame_value_bytes_p): Likewise. | |
5484 | (trad_frame_set_value): Likewise. | |
5485 | (trad_frame_set_realreg): Likewise. | |
5486 | (trad_frame_set_addr): Likewise. | |
5487 | (trad_frame_set_unknown): Likewise. | |
5488 | (trad_frame_set_value_bytes): Likewise. | |
5489 | (trad_frame_get_prev_register): Likewise. | |
5490 | * trad-frame.h: Update. | |
5491 | (trad_frame_saved_reg_kind): New enum. | |
5492 | (struct trad_frame_saved_reg) <addr, realreg, data>: Remove. | |
5493 | <m_kind, m_reg>: New member fields. | |
5494 | <set_value, set_realreg, set_addr, set_unknown, set_value_bytes> | |
5495 | <kind, value, realreg, addr, value_bytes, is_value, is_realreg> | |
5496 | <is_addr, is_unknown, is_value_bytes>: New member functions. | |
5497 | ||
9898e882 SM |
5498 | 2021-01-02 Simon Marchi <simon.marchi@polymtl.ca> |
5499 | ||
5500 | * target-float.c: Fix typos. | |
5501 | ||
b66b4e65 HD |
5502 | 2021-01-02 Hannes Domani <ssbssa@yahoo.de> |
5503 | ||
5504 | * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer. | |
5505 | ||
b5b5650a JB |
5506 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> |
5507 | ||
5508 | * gdbarch.sh: Update copyright year range. | |
5509 | ||
3666a048 JB |
5510 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> |
5511 | ||
5512 | Update copyright year range in copyright header of all GDB files. | |
5513 | ||
ff7e39b6 JB |
5514 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> |
5515 | ||
5516 | * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport" | |
5517 | to the list of directories to update. | |
5518 | ||
2b47c078 JB |
5519 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> |
5520 | ||
5521 | * top.c (print_gdb_version): Update copyright year. | |
5522 | ||
9e5e03df | 5523 | 2021-01-01, 21 Joel Brobecker <brobecker@adacore.com> |
c8f02daa | 5524 | |
476923f1 | 5525 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020. |
c8f02daa | 5526 | |
476923f1 | 5527 | For older changes see ChangeLog-2020. |
c906108c SS |
5528 | \f |
5529 | Local Variables: | |
5530 | mode: change-log | |
5531 | left-margin: 8 | |
5532 | fill-column: 74 | |
5533 | version-control: never | |
57da7796 | 5534 | coding: utf-8 |
c906108c | 5535 | End: |