]>
Commit | Line | Data |
---|---|---|
1 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> | |
2 | ||
3 | * target.h (target_longname): Remove. | |
4 | ||
5 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> | |
6 | ||
7 | * target.h (target_is_pushed): Remove, update callers to use | |
8 | inferior::target_is_pushed instead. | |
9 | * target.c (target_is_pushed): Remove. | |
10 | ||
11 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> | |
12 | ||
13 | * target.h (push_target): Remove, update callers to use | |
14 | inferior::push_target. | |
15 | * target.c (push_target): Remove. | |
16 | * inferior.h (class inferior) <push_target>: New overload. | |
17 | ||
18 | 2021-03-23 Simon Marchi <simon.marchi@polymtl.ca> | |
19 | ||
20 | * target.h (unpush_target): Remove, update all callers | |
21 | to use `inferior::unpush_target` instead. | |
22 | (struct target_unpusher) <operator()>: Just declare. | |
23 | * target.c (unpush_target): Remove. | |
24 | (target_unpusher::operator()): New. | |
25 | ||
26 | 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com> | |
27 | ||
28 | * dwarf2/read.c (process_psymtab_comp_unit): Replace abort with an | |
29 | error. | |
30 | (process_full_comp_unit): Validate the top-level tag before | |
31 | processing the first DIE. | |
32 | (read_func_scope): Ensure we have a valid builder. | |
33 | ||
34 | 2021-03-22 Andrew Burgess <andrew.burgess@embecosm.com> | |
35 | ||
36 | * objc-lang.c (objc_demangle): Renamed to | |
37 | objc_language::demangle_symbol, and moved later in the file. | |
38 | (objc_language::sniff_from_mangled_name): Call demangle_symbol | |
39 | member function. | |
40 | (objc_language::demangle_symbol): Defined outside of class | |
41 | declaration. The definition is the old objc_demangle with NULL | |
42 | changed to nullptr, and if conditions relating to nullptr pointers | |
43 | or null character checks made explicit. | |
44 | * objc-lang.h (objc_demangle): Delete declaration. | |
45 | ||
46 | 2021-03-22 Martin Liska <mliska@suse.cz> | |
47 | ||
48 | * arm-tdep.c (show_disassembly_style_sfunc): Replace usage of CONST_STRNEQ with startswith. | |
49 | (_initialize_arm_tdep): Likewise. | |
50 | ||
51 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
52 | ||
53 | * xcoffread.c (xcoff_initial_scan): Create partial symtabs. | |
54 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. | |
55 | * psymtab.h (make_psymbol_functions): Don't declare. | |
56 | * psymtab.c (make_psymbol_functions): Remove. | |
57 | (maintenance_print_psymbols): Update. | |
58 | * psympriv.h (struct psymbol_functions): Add no-argument | |
59 | constructor. | |
60 | * objfiles.h (struct objfile) <reset_psymtabs>: Remove. | |
61 | <partial_symtabs>: Remove. | |
62 | * mdebugread.c (mdebug_build_psymtabs): Create partial symtabs. | |
63 | * elfread.c (read_partial_symbols): Update. | |
64 | (elf_symfile_read): Remove check for existing partial symbols. | |
65 | Don't clear "qf". | |
66 | * dwarf2/read.c (dwarf2_has_info): Remove check for existing | |
67 | partial symbols. | |
68 | (dwarf2_build_psymtabs): Add psymbol_functions parameter. Create | |
69 | partial symtabs. | |
70 | * dwarf2/public.h (dwarf2_build_psymtabs): Add psymbol_functions | |
71 | parameter. | |
72 | * dbxread.c (dbx_symfile_read): Create partial symtabs. | |
73 | * ctfread.c (elfctf_build_psymtabs): Create partial symtabs. | |
74 | ||
75 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
76 | ||
77 | * dwarf2/read.c (dwarf2_build_psymtabs): Update. | |
78 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. | |
79 | * symfile-debug.c (objfile::has_partial_symbols) | |
80 | (objfile::find_last_source_symtab) | |
81 | (objfile::forget_cached_source_info) | |
82 | (objfile::map_symtabs_matching_filename, objfile::lookup_symbol) | |
83 | (objfile::print_stats, objfile::dump) | |
84 | (objfile::expand_symtabs_for_function) | |
85 | (objfile::expand_all_symtabs) | |
86 | (objfile::expand_symtabs_with_fullname) | |
87 | (objfile::map_matching_symbols) | |
88 | (objfile::expand_symtabs_matching) | |
89 | (objfile::find_pc_sect_compunit_symtab) | |
90 | (objfile::map_symbol_filenames) | |
91 | (objfile::find_compunit_symtab_by_address) | |
92 | (objfile::lookup_global_symbol_language) | |
93 | (objfile::require_partial_symbols): Update. | |
94 | * psymtab.c (maintenance_print_psymbols) | |
95 | (maintenance_info_psymtabs, maintenance_check_psymtabs): Update. | |
96 | * objfiles.h (struct objfile) <qf>: Now a forward_list. | |
97 | * objfiles.c (objfile_relocate1): Update. | |
98 | * elfread.c (elf_symfile_read): Update. | |
99 | ||
100 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
101 | ||
102 | * objfiles.h (struct objfile) <psymtabs>: Remove method. | |
103 | ||
104 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
105 | ||
106 | * psymtab.c (psymbol_functions::count_psyms): Rename. | |
107 | (psymbol_functions::print_stats): Update. | |
108 | * psympriv.h (struct psymbol_functions) <count_psyms>: Declare | |
109 | method. | |
110 | ||
111 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
112 | ||
113 | * psymtab.c (psymbol_functions::require_partial_symbols): Rename. | |
114 | (psymbol_functions::find_pc_sect_psymtab): Rename. | |
115 | (psymbol_functions::find_pc_sect_compunit_symtab) | |
116 | (maintenance_print_psymbols, maintenance_check_psymtabs): Update. | |
117 | * psympriv.h (struct psymbol_functions) <require_partial_symbols>: | |
118 | Declare new method. | |
119 | <get_partial_symtabs, find_pc_sect_psymtab>: Likewise. | |
120 | ||
121 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
122 | ||
123 | * xcoffread.c (xcoff_start_psymtab): Add partial_symtabs parameter. | |
124 | (xcoff_end_psymtab, scan_xcoff_symtab): Update. | |
125 | * psymtab.c (partial_symtab::partial_symtab): Add partial_symtabs | |
126 | parameter. | |
127 | (add_psymbol_to_bcache): Remove. | |
128 | (partial_symtab::add_psymbol): Add partial_symtabs parameter. | |
129 | (partial_symtab::add_psymbol, partial_symtab::partial_symtab): | |
130 | Likewise. | |
131 | * psympriv.h (partial_symtab): Add partial_symtabs parameter. | |
132 | <add_psymbol>: Likewise. | |
133 | (standard_psymtab, legacy_psymtab): Likewise. | |
134 | * mdebugread.c (parse_partial_symbols): Update. | |
135 | (handle_psymbol_enumerators): Add partial_symtabs parameter. | |
136 | (handle_psymbol_enumerators): Update. | |
137 | (new_psymtab): Add partial_symtabs parameter. | |
138 | * dwarf2/read.h (dwarf2_psymtab): Add partial_symtabs parameter. | |
139 | * dwarf2/read.c (dwarf2_include_psymtab): Add partial_symtabs | |
140 | parameter. | |
141 | (dwarf2_create_include_psymtab): Add partial_symtabs parameter. | |
142 | (create_partial_symtab, add_partial_symbol, dwarf_decode_lines): | |
143 | Update. | |
144 | * dbxread.c (read_dbx_symtab): Update. | |
145 | (start_psymtab): Add partial_symtabs parameter. | |
146 | (dbx_end_psymtab): Update. | |
147 | * ctfread.c (struct ctf_context) <partial_symtabs>: New member. | |
148 | (ctf_psymtab): Add partial_symtabs parameter. | |
149 | (create_partial_symtab, ctf_psymtab_type_cb, ctf_psymtab_var_cb): | |
150 | Update. | |
151 | (scan_partial_symbols): Add partial_symtabs parameter. | |
152 | (scan_partial_symbols, elfctf_build_psymtabs) | |
153 | (ctf_psymtab_add_enums): Update. | |
154 | ||
155 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
156 | ||
157 | * symfile.c (read_symbols): Use objfile method. | |
158 | * symfile-debug.c (objfile::require_partial_symbols): New method. | |
159 | * psymtab.h (require_partial_symbols): Don't declare. | |
160 | * psymtab.c (require_partial_symbols): Use objfile method. Now | |
161 | static. | |
162 | (psymbol_functions::map_symtabs_matching_filename, OBJFILE) | |
163 | (psymbol_functions::lookup_symbol) | |
164 | (psymbol_functions::lookup_global_symbol_language) | |
165 | (psymbol_functions::find_last_source_symtab) | |
166 | (psymbol_functions::forget_cached_source_info) | |
167 | (psymbol_functions::print_stats) | |
168 | (psymbol_functions::expand_symtabs_for_function) | |
169 | (psymbol_functions::expand_all_symtabs) | |
170 | (psymbol_functions::expand_symtabs_with_fullname) | |
171 | (psymbol_functions::map_symbol_filenames) | |
172 | (psymbol_functions::map_matching_symbols) | |
173 | (psymbol_functions::expand_symtabs_matching) | |
174 | (psymbol_functions::find_compunit_symtab_by_address) | |
175 | (maintenance_print_psymbols, maintenance_info_psymtabs) | |
176 | (maintenance_check_psymtabs): Update. | |
177 | * objfiles.h (struct objfile) <require_partial_symbols>: Declare | |
178 | new method. | |
179 | ||
180 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
181 | ||
182 | * xcoffread.c (xcoff_sym_fns): Update. | |
183 | * symfile.h (struct sym_fns) <sym_read_psymbols>: Remove. | |
184 | * symfile-debug.c (objfile::has_partial_symbols): Use | |
185 | can_lazily_read_symbols. | |
186 | (debug_sym_read_psymbols): Remove. | |
187 | (debug_sym_fns, install_symfile_debug_logging): Update. | |
188 | * quick-symbol.h (struct quick_symbol_functions) | |
189 | <can_lazily_read_symbols, read_partial_symbols>: New methods. | |
190 | * psymtab.c (require_partial_symbols): Use new 'qf' methods. | |
191 | * mipsread.c (ecoff_sym_fns): Update. | |
192 | * machoread.c (macho_sym_fns): Update. | |
193 | * elfread.c (struct lazy_dwarf_reader): New. | |
194 | (elf_symfile_read): Update. | |
195 | (read_psyms): Now a method of lazy_dwarf_reader. | |
196 | (elf_sym_fns): Update. | |
197 | (elf_sym_fns_lazy_psyms): Remove. | |
198 | * dbxread.c (aout_sym_fns): Update. | |
199 | * coffread.c (coff_sym_fns): Update. | |
200 | ||
201 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
202 | ||
203 | * symfile.c (syms_from_objfile_1): Call reset_psymtabs. | |
204 | (reread_symbols): Move reset_psymtabs call later. | |
205 | * objfiles.c (objfile::objfile): Don't initialize | |
206 | partial_symtabs. | |
207 | ||
208 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
209 | ||
210 | * dwarf2/read.c (dwarf2_build_psymtabs): Call | |
211 | set_partial_symtabs. | |
212 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. | |
213 | * psymtab.h (make_psymbol_functions): Add partial_symtabs | |
214 | parameter. | |
215 | * psymtab.c (find_pc_sect_psymtab): Add partial_symtabs | |
216 | parameter. | |
217 | (psymbol_functions::find_pc_sect_compunit_symtab) | |
218 | (psymbol_functions::print_stats, psymbol_functions::dump) | |
219 | (psymbol_functions::has_symbols): Update. | |
220 | (make_psymbol_functions, dump_psymtab_addrmap): Add | |
221 | partial_symtabs parameter. | |
222 | (maintenance_print_psymbols): Update. | |
223 | (psymbol_functions::expand_symtabs_matching): Update. | |
224 | * psympriv.h (struct psymbol_functions): Add constructor. | |
225 | <m_partial_symtabs>: New member. | |
226 | <set_partial_symtabs>: New method. | |
227 | ||
228 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
229 | ||
230 | * dwarf2/read.c (dwarf2_create_include_psymtab): Add per_bfd | |
231 | parameter. | |
232 | (process_psymtab_comp_unit_reader) | |
233 | (build_type_psymtab_dependencies, dwarf2_build_psymtabs_hard) | |
234 | (add_partial_subprogram, dwarf2_ranges_read, dwarf_decode_lines): | |
235 | Reference psymtabs via per_bfd. | |
236 | ||
237 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
238 | ||
239 | * dwarf2/index-write.c (struct addrmap_index_data) <objfile>: | |
240 | Remove. | |
241 | (add_address_entry): Remove objfile parameter. | |
242 | (add_address_entry_worker): Update. | |
243 | (write_address_map): Replace objfile parameter with per_bfd. | |
244 | (write_gdbindex, write_psymtabs_to_index): Update. | |
245 | ||
246 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
247 | ||
248 | * dwarf2/read.c (dwarf2_base_index_functions::print_stats): Add | |
249 | print_bcache parameter. | |
250 | * symfile-debug.c (objfile::print_stats): Add print_bcache | |
251 | parameter. | |
252 | * quick-symbol.h (struct quick_symbol_functions) | |
253 | <print_stats>: Add print_bcache parameter. | |
254 | * symmisc.c (print_symbol_bcache_statistics, count_psyms): Move | |
255 | code to psymtab.c. | |
256 | (print_objfile_statistics): Move psymtab code to psymtab.c. | |
257 | * psymtab.c (count_psyms): Move from symmisc.c. | |
258 | (psymbol_functions::print_stats): Print partial symbol and bcache | |
259 | statistics. Add print_bcache parameter. | |
260 | * objfiles.h (print_symbol_bcache_statistics): Don't declare. | |
261 | (struct objfile) <print_stats>: Add print_bcache parameter. | |
262 | * maint.c (maintenance_print_statistics): Update. | |
263 | ||
264 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
265 | ||
266 | * dwarf2/read.h (struct dwarf2_per_bfd) <psymtabs_addrmap>: New | |
267 | member. | |
268 | * dwarf2/read.c (create_addrmap_from_index) | |
269 | (create_addrmap_from_aranges): Set per_bfd addrmap. | |
270 | (dwarf2_read_gdb_index): Don't set partial_symtabs. | |
271 | (dwarf2_base_index_functions::find_pc_sect_compunit_symtab): Use | |
272 | per_bfd addrmap. | |
273 | (dwarf2_read_debug_names): Don't set partial_symtabs. | |
274 | (dwarf2_initialize_objfile): Likewise. | |
275 | ||
276 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
277 | ||
278 | * dwarf2/read.c (dwarf2_build_psymtabs): Set partial_symtabs | |
279 | earlier. | |
280 | ||
281 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
282 | ||
283 | * psympriv.h (psymtab_discarder): Take psymtab_storage parameter. | |
284 | (~psymtab_discarder, keep): Update. | |
285 | <m_objfile>: Remove. | |
286 | <m_partial_symtabs>: New member. | |
287 | * dwarf2/read.c (dwarf2_build_psymtabs): Update. | |
288 | ||
289 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
290 | ||
291 | * xcoffread.c (xcoff_end_psymtab): Add partial_symtabs parameter. | |
292 | (xcoff_end_psymtab): Update. | |
293 | (scan_xcoff_symtab): Add partial_symtabs parameter. | |
294 | (xcoff_initial_scan): Update. | |
295 | * stabsread.h (dbx_end_psymtab): Add partial_symtabs parameter. | |
296 | * mdebugread.c (mdebug_build_psymtabs): Update. | |
297 | (parse_partial_symbols): Add partial_symtabs parameter. | |
298 | * dbxread.c (dbx_symfile_read): Update. | |
299 | (read_dbx_symtab): Add partial_symtabs parameter. | |
300 | (read_dbx_symtab): Update. | |
301 | (dbx_end_psymtab): Add partial_symtabs parameter. | |
302 | ||
303 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
304 | ||
305 | * quick-symbol.h (struct quick_symbol_functions) | |
306 | <relocated>: New method. | |
307 | * psymtab.h (struct psymbol_functions) <relocated>: New | |
308 | method. | |
309 | <fill_psymbol_map>: Declare method. | |
310 | <m_psymbol_map>: New member. | |
311 | * psymtab.c (psymbol_functions::fill_psymbol_map): Rename. | |
312 | (psymbol_functions::find_compunit_symtab_by_address): Update. | |
313 | * objfiles.h (reset_psymtabs): Don't clear psymbol_map. | |
314 | (struct objfile) <psymbol_map>: Remove. | |
315 | * objfiles.c (objfile_relocate1): Update. | |
316 | ||
317 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
318 | ||
319 | * psympriv.h (struct psymbol_functions): New. | |
320 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. | |
321 | * symfile-debug.c (objfile::find_compunit_symtab_by_address) | |
322 | (objfile::lookup_global_symbol_language): Update. | |
323 | * quick-symbol.h (struct quick_symbol_functions): Convert function | |
324 | pointers to methods. Add virtual destructor. | |
325 | (quick_symbol_functions_up): New typedef. | |
326 | * psymtab.h (psym_functions, dwarf2_gdb_index_functions) | |
327 | (dwarf2_debug_names_functions): Don't declare. | |
328 | (make_psymbol_functions): Declare. | |
329 | * psymtab.c (psymbol_functions::map_symtabs_matching_filename) | |
330 | (psymbol_functions::find_pc_sect_compunit_symtab) | |
331 | (psymbol_functions::lookup_symbol) | |
332 | (psymbol_functions::lookup_global_symbol_language) | |
333 | (psymbol_functions::find_last_source_symtab) | |
334 | (psymbol_functions::forget_cached_source_info) | |
335 | (psymbol_functions::print_stats, psymbol_functions::dump) | |
336 | (psymbol_functions::expand_symtabs_for_function) | |
337 | (psymbol_functions::expand_all_symtabs) | |
338 | (psymbol_functions::expand_symtabs_with_fullname) | |
339 | (psymbol_functions::map_symbol_filenames) | |
340 | (psymbol_functions::map_matching_symbols) | |
341 | (psymbol_functions::expand_symtabs_matching) | |
342 | (psymbol_functions::has_symbols) | |
343 | (psymbol_functions::find_compunit_symtab_by_address): Rename. | |
344 | (psym_functions): Remove. | |
345 | (make_psymbol_functions): New function. | |
346 | * objfiles.h (struct objfile) <qf>: Change type. | |
347 | * elfread.c (elf_symfile_read): Update. | |
348 | * dwarf2/read.c (struct dwarf2_base_index_functions) | |
349 | (struct dwarf2_gdb_index, struct dwarf2_debug_names_index): New. | |
350 | (make_dwarf_gdb_index, make_dwarf_debug_names): New functions. | |
351 | (dwarf2_base_index_functions::find_last_source_symtab) | |
352 | (dwarf2_base_index_functions::forget_cached_source_info) | |
353 | (dwarf2_base_index_functions::map_symtabs_matching_filename) | |
354 | (dwarf2_gdb_index::lookup_symbol) | |
355 | (dwarf2_base_index_functions::print_stats) | |
356 | (dwarf2_gdb_index::dump) | |
357 | (dwarf2_gdb_index::expand_symtabs_for_function) | |
358 | (dwarf2_base_index_functions::expand_all_symtabs) | |
359 | (dwarf2_base_index_functions::expand_symtabs_with_fullname): | |
360 | Rename. | |
361 | (dwarf2_gdb_index::map_matching_symbols): New method. | |
362 | (dwarf2_gdb_index::expand_symtabs_matching): New method. | |
363 | (dwarf2_base_index_functions::find_pc_sect_compunit_symtab) | |
364 | (dwarf2_base_index_functions::map_symbol_filenames) | |
365 | (dwarf2_base_index_functions::has_symbols): Rename. | |
366 | (dwarf2_gdb_index_functions): Remove. | |
367 | (dwarf2_debug_names_index::lookup_symbol) | |
368 | (dwarf2_debug_names_index::dump) | |
369 | (dwarf2_debug_names_index::expand_symtabs_for_function) | |
370 | (dwarf2_debug_names_index::map_matching_symbols) | |
371 | (dwarf2_debug_names_index::expand_symtabs_matching): Rename. | |
372 | (dwarf2_debug_names_functions): Remove. | |
373 | * dwarf2/public.h (make_dwarf_gdb_index, make_dwarf_debug_names): | |
374 | Declare. | |
375 | ||
376 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
377 | ||
378 | * psymtab.c (require_partial_symbols): Check that 'sf' is not | |
379 | null. | |
380 | * xcoffread.c (xcoff_sym_fns): Update. | |
381 | * symfile.h (struct sym_fns) <qf>: Remove. | |
382 | * symfile.c (syms_from_objfile_1, reread_symbols): Update. | |
383 | * symfile-debug.c (objfile::has_partial_symbols) | |
384 | (objfile::find_last_source_symtab) | |
385 | (objfile::forget_cached_source_info) | |
386 | (objfile::map_symtabs_matching_filename, objfile::lookup_symbol) | |
387 | (objfile::print_stats, objfile::dump) | |
388 | (objfile::expand_symtabs_for_function) | |
389 | (objfile::expand_all_symtabs) | |
390 | (objfile::expand_symtabs_with_fullname) | |
391 | (objfile::map_matching_symbols) | |
392 | (objfile::expand_symtabs_matching) | |
393 | (objfile::find_pc_sect_compunit_symtab) | |
394 | (objfile::map_symbol_filenames) | |
395 | (objfile::find_compunit_symtab_by_address) | |
396 | (objfile::lookup_global_symbol_language, debug_sym_fns) | |
397 | (install_symfile_debug_logging): Update. | |
398 | * objfiles.h (struct objfile) <qf>: New member. | |
399 | * mipsread.c (ecoff_sym_fns): Update. | |
400 | * machoread.c (macho_sym_fns): Update. | |
401 | * elfread.c (elf_sym_fns_gdb_index, elf_sym_fns_debug_names): | |
402 | Don't declare. | |
403 | (elf_symfile_read, elf_sym_fns, elf_sym_fns_lazy_psyms): Update. | |
404 | * dbxread.c (aout_sym_fns): Update. | |
405 | * coffread.c (coff_sym_fns): Update. | |
406 | ||
407 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
408 | ||
409 | * symfile.h (symbol_compare_ftype, symbol_filename_ftype) | |
410 | (expand_symtabs_file_matcher_ftype) | |
411 | (expand_symtabs_symbol_matcher_ftype) | |
412 | (expand_symtabs_exp_notify_ftype, struct quick_symbol_functions): | |
413 | Move to quick-symbol.h. | |
414 | * quick-symbol.h: New file. | |
415 | ||
416 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
417 | ||
418 | * symtab.c (iterate_over_symtabs, expand_symtab_containing_pc) | |
419 | (lookup_symbol_via_quick_fns, find_quick_global_symbol_language) | |
420 | (basic_lookup_transparent_type_quick) | |
421 | (find_pc_sect_compunit_symtab, find_symbol_at_address) | |
422 | (find_line_symtab, global_symbol_searcher::expand_symtabs): | |
423 | Update. | |
424 | * symmisc.c (print_objfile_statistics, dump_objfile) | |
425 | (maintenance_expand_symtabs): Update. | |
426 | * symfile.c (symbol_file_add_with_addrs) | |
427 | (expand_symtabs_matching, map_symbol_filenames): Update. | |
428 | * symfile-debug.c (objfile::has_partial_symbols) | |
429 | (objfile::find_last_source_symtab) | |
430 | (objfile::forget_cached_source_info) | |
431 | (objfile::map_symtabs_matching_filename, objfile::lookup_symbol) | |
432 | (objfile::print_stats, objfile::dump) | |
433 | (objfile::expand_symtabs_for_function) | |
434 | (objfile::expand_all_symtabs) | |
435 | (objfile::expand_symtabs_with_fullname) | |
436 | (objfile::map_matching_symbols) | |
437 | (objfile::expand_symtabs_matching) | |
438 | (objfile::find_pc_sect_compunit_symtab) | |
439 | (objfile::map_symbol_filenames) | |
440 | (objfile::find_compunit_symtab_by_address) | |
441 | (objfile::lookup_global_symbol_language): New methods. | |
442 | (debug_sym_quick_functions): Remove. | |
443 | (debug_sym_fns, install_symfile_debug_logging): Update. | |
444 | * source.c (forget_cached_source_info_for_objfile) | |
445 | (select_source_symtab): Update. | |
446 | * objfiles.h (struct objfile): Add methods corresponding to | |
447 | quick_symbol_functions. | |
448 | * objfiles.c (objfile::has_partial_symbols): Move to | |
449 | symfile-debug.c. | |
450 | * linespec.c (iterate_over_all_matching_symtabs): Update. | |
451 | * cp-support.c (add_symbol_overload_list_qualified): Update. | |
452 | * ada-lang.c (add_nonlocal_symbols): Update. | |
453 | ||
454 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
455 | ||
456 | * objfiles.h (struct objfile) <has_partial_symbols>: Return bool. | |
457 | * symfile.h (struct quick_symbol_functions) <has_symbols>: Return | |
458 | bool. | |
459 | * symfile-debug.c (debug_qf_has_symbols): Return bool. | |
460 | * psymtab.c (psym_has_symbols): Return bool. | |
461 | * objfiles.c (objfile::has_partial_symbols): Return bool. | |
462 | * dwarf2/read.c (dw2_has_symbols): Return bool. | |
463 | ||
464 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
465 | ||
466 | * symfile.c (read_symbols): Update. | |
467 | * objfiles.h (struct objfile) <has_partial_symbols>: New method. | |
468 | (objfile_has_partial_symbols): Don't declare. | |
469 | * objfiles.c (objfile::has_partial_symbols): Rename from | |
470 | objfile_has_partial_symbols. | |
471 | (objfile_has_symbols, have_partial_symbols): Update. | |
472 | * elfread.c (elf_symfile_read): Update. | |
473 | * dwarf2/read.c (dwarf2_has_info): Update. | |
474 | * coffread.c (coff_symfile_read): Update. | |
475 | ||
476 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
477 | ||
478 | * coffread.c: Include dwarf2/public.h. | |
479 | * dwarf2/frame.c: Include dwarf2/public.h. | |
480 | * dwarf2/index-write.h: Include dwarf2/public.h, not symfile.h. | |
481 | * dwarf2/public.h: New file. | |
482 | * dwarf2/read.c: Include dwarf2/public.h. | |
483 | * elfread.c: Include dwarf2/public.h. | |
484 | * machoread.c: Include dwarf2/public.h. | |
485 | * symfile.h (dwarf2_has_info, enum dw_index_kind) | |
486 | (dwarf2_initialize_objfile, dwarf2_build_psymtabs) | |
487 | (dwarf2_build_frame_info): Move to dwarf2/public.h. | |
488 | * xcoffread.c: Include dwarf2/public.h. | |
489 | ||
490 | 2021-03-20 Tom Tromey <tom@tromey.com> | |
491 | ||
492 | * symfile.h (enum dwarf2_section_enum) | |
493 | (dwarf2_get_section_info): Move to dwarf2/read.h. | |
494 | * dwarf2/read.h (enum dwarf2_section_enum) | |
495 | (dwarf2_get_section_info): Move from symfile.h. | |
496 | ||
497 | 2021-03-19 Pedro Alves <pedro@palves.net> | |
498 | ||
499 | * thread.c (any_thread_of_inferior): Check if there's a selected | |
500 | thread before calling inferior_thread(). | |
501 | ||
502 | 2021-03-18 Tom Tromey <tromey@adacore.com> | |
503 | ||
504 | * dwarf2/stringify.c (dwarf_unit_type_name): New function. Use | |
505 | get_DW_UT_name. | |
506 | * dwarf2/stringify.h (dwarf_unit_type_name): Declare. | |
507 | * dwarf2/comp-unit.c (dwarf_unit_type_name): Remove. | |
508 | ||
509 | 2021-03-18 Andrew Burgess <andrew.burgess@embecosm.com> | |
510 | ||
511 | * python/py-param.c (get_set_value): Update header comment. | |
512 | ||
513 | 2021-03-17 Simon Marchi <simon.marchi@polymtl.ca> | |
514 | ||
515 | * infrun.c (check_multi_target_resumption): Remove argument to | |
516 | all_non_exited_inferiors. | |
517 | ||
518 | 2021-03-16 Christian Biesinger <cbiesinger@google.com> | |
519 | ||
520 | * windows-nat.c (windows_init_thread_list): Add message to | |
521 | debug log. | |
522 | ||
523 | 2021-03-16 Andrew Burgess <andrew.burgess@embecosm.com> | |
524 | ||
525 | * python/py-framefilter.c (py_print_frame): Use PyInt_Check as | |
526 | well as PyLong_Check for Python 2. | |
527 | ||
528 | 2021-03-15 Tom Tromey <tromey@adacore.com> | |
529 | ||
530 | PR build/27579: | |
531 | * rust-exp.y (maker_map): Use gdb::hash_enum. | |
532 | * stap-probe.c (stap_maker_map): Use gdb::hash_enum. | |
533 | ||
534 | 2021-03-15 Simon Marchi <simon.marchi@polymtl.ca> | |
535 | ||
536 | * dwarf2/read.c (create_debug_type_hash_table): Remove colon at | |
537 | end of debug print. | |
538 | ||
539 | 2021-03-15 Simon Marchi <simon.marchi@polymtl.ca> | |
540 | ||
541 | * dwarf2/read.c (dw2_get_file_names_reader): Remove info_ptr | |
542 | parameter, adjust caller. | |
543 | ||
544 | 2021-03-15 Tom Tromey <tromey@adacore.com> | |
545 | ||
546 | * ada-exp.y (simple_exp): Always push a result for unary '+'. | |
547 | ||
548 | 2021-03-15 Tom Tromey <tromey@adacore.com> | |
549 | ||
550 | * ada-lang.c (ada_unop_ind_operation::evaluate): Call | |
551 | ada_ensure_varsize_limit. | |
552 | ||
553 | 2021-03-15 Tom Tromey <tromey@adacore.com> | |
554 | ||
555 | * ada-lang.c (numeric_type_p, integer_type_p): Return true for | |
556 | fixed-point. | |
557 | * ada-exp.y (maybe_overload): New function. | |
558 | (ada_wrap_overload): New function. | |
559 | (ada_un_wrap2, ada_wrap2, ada_wrap_op): Use maybe_overload. | |
560 | (exp1, simple_exp, relation, and_exp, and_then_exp, or_exp) | |
561 | (or_else_exp, xor_exp, primary): Update. | |
562 | ||
563 | 2021-03-15 Tom Tromey <tromey@adacore.com> | |
564 | ||
565 | PR ada/27545: | |
566 | * ada-lang.c (ada_var_value_operation::evaluate): Use recursive | |
567 | call for tagged type. | |
568 | ||
569 | 2021-03-15 Tom Tromey <tromey@adacore.com> | |
570 | ||
571 | * ada-exp.y (exp1): Handle resolution of the right hand side of an | |
572 | assignment. | |
573 | ||
574 | 2021-03-15 Tom Tromey <tromey@adacore.com> | |
575 | ||
576 | * ada-lang.c (ada_aggregate_operation::assign_aggregate): Return | |
577 | container. | |
578 | (ada_assign_operation::evaluate): Update. | |
579 | * ada-exp.h (class ada_aggregate_operation) <assign_aggregate>: | |
580 | Change return type. | |
581 | ||
582 | 2021-03-15 Felix Willgerodt <felix.willgerodt@intel.com> | |
583 | ||
584 | * i386-tdep.c (i386_floatformat_for_type): Add COMPLEX*32 and REAL*16. | |
585 | ||
586 | 2021-03-15 Andrew Burgess <andrew.burgess@embecosm.com> | |
587 | ||
588 | * python/python.c (gdbpy_source_objfile_script): Use | |
589 | make_scoped_restore to restore gdbpy_current_objfile. | |
590 | (gdbpy_execute_objfile_script): Likewise. | |
591 | ||
592 | 2021-03-14 Tom Tromey <tom@tromey.com> | |
593 | ||
594 | * dwarf2/read.c (read_attribute_value): Use cu_header | |
595 | consistently. | |
596 | ||
597 | 2021-03-14 Tom Tromey <tom@tromey.com> | |
598 | ||
599 | * dwarf2/read.c (struct die_reader_specs) <abfd>: Fix formatting. | |
600 | (peek_die_abbrev): Use reader.abfd. | |
601 | ||
602 | 2021-03-14 Tom Tromey <tom@tromey.com> | |
603 | ||
604 | * dwarf2/read.c (dwarf2_per_cu_data::get_header): Set | |
605 | m_header_read_in. | |
606 | ||
607 | 2021-03-13 Tom Tromey <tom@tromey.com> | |
608 | ||
609 | * dwarf2/read.c (struct partial_die_info): Update. | |
610 | (peek_die_abbrev, skip_children, skip_one_die, read_full_die_1) | |
611 | (load_partial_dies, partial_die_info::partial_die_info): Update. | |
612 | * dwarf2/abbrev.h (lookup_abbrev): Constify. | |
613 | ||
614 | 2021-03-13 Tom Tromey <tom@tromey.com> | |
615 | ||
616 | * dwarf2/abbrev.c (abbrev_table::read): Remove Irix 6 workaround. | |
617 | ||
618 | 2021-03-12 Christian Biesinger <cbiesinger@google.com> | |
619 | ||
620 | PR threads/27239 | |
621 | * cp-support.c: Use scoped_segv_handler_restore. | |
622 | * event-top.c (thread_local_segv_handler): Made static. | |
623 | (scoped_segv_handler_restore::scoped_segv_handler_restore): | |
624 | New function. | |
625 | (scoped_segv_handler_restore::~scoped_segv_handler_restore): New | |
626 | function. | |
627 | * event-top.h (class scoped_segv_handler_restore): New class. | |
628 | (thread_local_segv_handler): Removed. | |
629 | ||
630 | 2021-03-10 Tom Tromey <tromey@adacore.com> | |
631 | ||
632 | * parser-defs.h (parser_state): Change completion to bool. | |
633 | <parse_completion>: Likewise. | |
634 | * ada-lang.h (ada_find_operator_symbol, ada_resolve_funcall) | |
635 | (ada_resolve_variable, ada_resolve_function): Update. | |
636 | * ada-lang.c (ada_find_operator_symbol): Change | |
637 | parse_completion to bool. | |
638 | (ada_resolve_funcall, ada_resolve_variable) | |
639 | (ada_resolve_function): Likewise. | |
640 | ||
641 | 2021-03-09 Tom Tromey <tromey@adacore.com> | |
642 | ||
643 | * eval.c (operation::evaluate_funcall): Use function formal | |
644 | parameter types when evaluating. | |
645 | ||
646 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> | |
647 | ||
648 | * gdb-gdb.py.in (StructMainTypePrettyPrinter) <owner_to_string>: | |
649 | Updated fields names flag_objfile_owned to m_flag_objfile_owned, | |
650 | and owner to m_owner. | |
651 | ||
652 | 2021-03-09 Felix Willgerodt <felix.willgerodt@intel.com> | |
653 | ||
654 | * f-exp.h (eval_op_f_loc): Declare. | |
655 | (expr::fortran_loc_operation): New typedef. | |
656 | * f-exp.y (exp): Handle UNOP_FORTRAN_LOC after parsing an | |
657 | UNOP_INTRINSIC. | |
658 | (f77_keywords): Add LOC keyword. | |
659 | * f-lang.c (eval_op_f_loc): New function. | |
660 | * std-operator.def (UNOP_FORTRAN_LOC): New operator. | |
661 | ||
662 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> | |
663 | ||
664 | * f-exp.h (eval_op_f_array_shape): Declare. | |
665 | (fortran_array_shape_operation): New type. | |
666 | * f-exp.y (exp): Handle UNOP_FORTRAN_SHAPE after parsing | |
667 | UNOP_INTRINSIC. | |
668 | (f77_keywords): Add "shape" keyword. | |
669 | * f-lang.c (fortran_array_shape): New function. | |
670 | (eval_op_f_array_shape): New function. | |
671 | * std-operator.def (UNOP_FORTRAN_SHAPE): New operator. | |
672 | ||
673 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> | |
674 | ||
675 | * f-exp.y (eval_op_f_array_size): Declare 1 and 2 argument forms | |
676 | of this function. | |
677 | (expr::fortran_array_size_1arg): New type. | |
678 | (expr::fortran_array_size_2arg): Likewise. | |
679 | * f-exp.y (exp): Handle FORTRAN_ARRAY_SIZE after parsing | |
680 | UNOP_OR_BINOP_INTRINSIC. | |
681 | (f77_keywords): Add "size" keyword. | |
682 | * f-lang.c (fortran_array_size): New function. | |
683 | (eval_op_f_array_size): New function, has a 1 arg and 2 arg form. | |
684 | * std-operator.def (FORTRAN_ARRAY_SIZE): New operator. | |
685 | ||
686 | 2021-03-09 Andrew Burgess <andrew.burgess@embecosm.com> | |
687 | ||
688 | * f-exp.h (eval_op_f_rank): Declare. | |
689 | (expr::fortran_rank_operation): New typedef. | |
690 | * f-exp.y (exp): Handle UNOP_FORTRAN_RANK after parsing an | |
691 | UNOP_INTRINSIC. | |
692 | (f77_keywords): Add "rank" keyword. | |
693 | * f-lang.c (eval_op_f_rank): New function. | |
694 | * std-operator.def (UNOP_FORTRAN_RANK): New operator. | |
695 | ||
696 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
697 | ||
698 | * printcmd.c (set_command): Remove null check. | |
699 | * value.c (init_if_undefined_command): Remove null check. | |
700 | ||
701 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
702 | ||
703 | * parse.c (parser_state::push_symbol, parser_state::push_dollar): | |
704 | Update. | |
705 | * p-exp.y (variable): Update. | |
706 | * go-exp.y (variable): Update. | |
707 | * expprint.c (dump_for_expression): Use bound_minimal_symbol. | |
708 | Remove overload for objfile. | |
709 | * expop.h (eval_op_var_msym_value): Use bound_minimal_symbol | |
710 | parameter. | |
711 | (check_objfile): Likewise. | |
712 | (dump_for_expression): Likewise. Remove overload for objfile. | |
713 | (class var_msym_value_operation): Use bound_minimal_symbol. | |
714 | * eval.c (eval_op_var_msym_value): Use bound_minimal_symbol | |
715 | parameter. | |
716 | (var_msym_value_operation::evaluate_for_address) | |
717 | (var_msym_value_operation::evaluate_for_sizeof) | |
718 | (var_msym_value_operation::evaluate_for_cast): Update. | |
719 | * d-exp.y (PrimaryExpression): Update. | |
720 | * c-exp.y (variable): Update. | |
721 | * ax-gdb.c (var_msym_value_operation::do_generate_ax): Update. | |
722 | * ada-lang.c (ada_var_msym_value_operation::evaluate_for_cast): | |
723 | Update. | |
724 | * ada-exp.y (write_var_or_type): Update. | |
725 | ||
726 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
727 | ||
728 | * parser-defs.h (exp_uses_objfile): Return bool. | |
729 | * parse.c (exp_uses_objfile): Return bool. | |
730 | ||
731 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
732 | ||
733 | * value.h (eval_skip_value): Don't declare. | |
734 | * opencl-lang.c (eval_opencl_assign): Update. | |
735 | * m2-lang.c (eval_op_m2_high, eval_op_m2_subscript): Update. | |
736 | * f-lang.c (eval_op_f_abs, eval_op_f_mod, eval_op_f_ceil) | |
737 | (eval_op_f_floor, eval_op_f_modulo, eval_op_f_cmplx): Remove. | |
738 | * expression.h (enum noside) <EVAL_SKIP>: Remove. | |
739 | * expop.h (typeof_operation::evaluate) | |
740 | (decltype_operation::evaluate, unop_addr_operation::evaluate) | |
741 | (unop_sizeof_operation::evaluate, assign_operation::evaluate) | |
742 | (cxx_cast_operation::evaluate): Update. | |
743 | * eval.c (eval_skip_value): Remove. | |
744 | (eval_op_scope, eval_op_var_entry_value) | |
745 | (eval_op_func_static_var, eval_op_string, eval_op_objc_selector) | |
746 | (eval_op_concat, eval_op_ternop, eval_op_structop_struct) | |
747 | (eval_op_structop_ptr, eval_op_member, eval_op_add, eval_op_sub) | |
748 | (eval_op_binary, eval_op_subscript, eval_op_equal) | |
749 | (eval_op_notequal, eval_op_less, eval_op_gtr, eval_op_geq) | |
750 | (eval_op_leq, eval_op_repeat, eval_op_plus, eval_op_neg) | |
751 | (eval_op_complement, eval_op_lognot, eval_op_ind) | |
752 | (eval_op_memval, eval_op_preinc, eval_op_predec) | |
753 | (eval_op_postinc, eval_op_postdec, eval_op_type) | |
754 | (eval_binop_assign_modify, eval_op_objc_msgcall) | |
755 | (eval_multi_subscript, logical_and_operation::evaluate) | |
756 | (logical_or_operation::evaluate, array_operation::evaluate) | |
757 | (operation::evaluate_for_cast) | |
758 | (var_msym_value_operation::evaluate_for_cast) | |
759 | (var_value_operation::evaluate_for_cast): Update. | |
760 | * c-lang.c (c_string_operation::evaluate): Update. | |
761 | * c-exp.h (objc_nsstring_operation::evaluate) | |
762 | (objc_selector_operation::evaluate): Update. | |
763 | * ada-lang.c (ada_assign_operation::evaluate) | |
764 | (eval_ternop_in_range, ada_unop_neg, ada_unop_in_range) | |
765 | (ada_atr_size): Update. | |
766 | ||
767 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
768 | ||
769 | * eval.c: Merge "namespace" scopes. | |
770 | ||
771 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
772 | ||
773 | * parser-defs.h (struct expr_builder) <expr_builder>: Inline. | |
774 | <release>: Inline. | |
775 | * parse.c (expr_builder::expr_builder, expr_builder::release): | |
776 | Remove. | |
777 | ||
778 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
779 | ||
780 | * parse.c (expression::expression, expression::~expression): | |
781 | Remove. | |
782 | * expression.h (struct expression): Inline constructor. Remove | |
783 | destructor. | |
784 | ||
785 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
786 | ||
787 | * std-operator.def (BINOP_END): Remove. | |
788 | * p-exp.y (tokentab3, tokentab2): Use OP_NULL, not BINOP_END. | |
789 | * go-exp.y (tokentab2): Use OP_NULL, not BINOP_END. | |
790 | * f-exp.y (dot_ops, f77_keywords): Use OP_NULL, not BINOP_END. | |
791 | * d-exp.y (tokentab2, ident_tokens): Use OP_NULL, not BINOP_END. | |
792 | * c-exp.y (tokentab3, tokentab2, ident_tokens): Use OP_NULL, not | |
793 | BINOP_END. | |
794 | ||
795 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
796 | ||
797 | * expression.h (enum exp_opcode) <OP_UNUSED_LAST>: Remove. | |
798 | ||
799 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
800 | ||
801 | * std-operator.def (OP_EXTENDED0): Remove. | |
802 | ||
803 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
804 | ||
805 | * std-operator.def (OP_NAME, OP_ATR_IMAGE, OP_ATR_MODULUS) | |
806 | (OP_OTHERS, OP_CHOICES, OP_POSITIONAL, OP_DISCRETE_RANGE): | |
807 | Remove. | |
808 | ||
809 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
810 | ||
811 | * std-operator.def (UNOP_CAP, UNOP_CHR, UNOP_ORD, UNOP_FLOAT) | |
812 | (UNOP_MAX, UNOP_MIN, UNOP_ODD, UNOP_TRUNC, OP_M2_STRING): Remove. | |
813 | ||
814 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
815 | ||
816 | * std-operator.def (OP_ATR_MIN, OP_ATR_MAX): Remove. | |
817 | * ada-lang.c (ada_binop_minmax): Update. | |
818 | * ada-exp.h (ada_binop_min_operation, ada_binop_max_operation): | |
819 | Use BINOP_MIN and BINOP_MAX. | |
820 | ||
821 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
822 | ||
823 | * value.h (evaluate_subexp_with_coercion): Don't declare. | |
824 | * parse.c (exp_descriptor_standard): Remove. | |
825 | (expr_builder::expr_builder, expr_builder::release): Update. | |
826 | (expression::expression): Remove size_t parameter. | |
827 | (expression::~expression): Simplify. | |
828 | (expression::resize): Remove. | |
829 | (write_exp_elt, write_exp_elt_opcode, write_exp_elt_sym) | |
830 | (write_exp_elt_msym, write_exp_elt_block, write_exp_elt_objfile) | |
831 | (write_exp_elt_longcst, write_exp_elt_floatcst) | |
832 | (write_exp_elt_type, write_exp_elt_intern, write_exp_string) | |
833 | (write_exp_string_vector, write_exp_bitstring): Remove. | |
834 | * p-lang.h (class pascal_language) <opcode_print_table, | |
835 | op_print_tab>: Remove. | |
836 | * p-lang.c (pascal_language::op_print_tab): Remove. | |
837 | * opencl-lang.c (class opencl_language) <opcode_print_table>: | |
838 | Remove. | |
839 | * objc-lang.c (objc_op_print_tab): Remove. | |
840 | (class objc_language) <opcode_print_table>: Remove. | |
841 | * m2-lang.h (class m2_language) <opcode_print_table, | |
842 | op_print_tab>: Remove. | |
843 | * m2-lang.c (m2_language::op_print_tab): Remove. | |
844 | * language.h (struct language_defn) <post_parser, expression_ops, | |
845 | opcode_print_table>: Remove. | |
846 | * language.c (language_defn::expression_ops) | |
847 | (auto_or_unknown_language::opcode_print_table): Remove. | |
848 | * go-lang.h (class go_language) <opcode_print_table, | |
849 | op_print_tab>: Remove. | |
850 | * go-lang.c (go_language::op_print_tab): Remove. | |
851 | * f-lang.h (class f_language) <opcode_print_table>: Remove | |
852 | <op_print_tab>: Remove. | |
853 | * f-lang.c (f_language::op_print_tab): Remove. | |
854 | * expression.h (union exp_element): Remove. | |
855 | (struct expression): Remove size_t parameter from constructor. | |
856 | <resize>: Remove. | |
857 | <first_opcode>: Update. | |
858 | <nelts, elts>: Remove. | |
859 | (EXP_ELEM_TO_BYTES, BYTES_TO_EXP_ELEM): Remove. | |
860 | (evaluate_subexp_standard, print_expression, op_string) | |
861 | (dump_raw_expression): Don't declare. | |
862 | * expprint.c (print_expression, print_subexp) | |
863 | (print_subexp_funcall, print_subexp_standard, op_string) | |
864 | (dump_raw_expression, dump_subexp, dump_subexp_body) | |
865 | (dump_subexp_body_funcall, dump_subexp_body_standard): Remove. | |
866 | (dump_prefix_expression): Update. | |
867 | * eval.c (evaluate_subexp): Remove. | |
868 | (evaluate_expression, evaluate_type): Update. | |
869 | (evaluate_subexpression_type): Remove. | |
870 | (fetch_subexp_value): Remove "pc" parameter. Update. | |
871 | (extract_field_op, evaluate_struct_tuple, evaluate_funcall) | |
872 | (evaluate_subexp_standard, evaluate_subexp_for_address) | |
873 | (evaluate_subexp_with_coercion, evaluate_subexp_for_sizeof) | |
874 | (evaluate_subexp_for_cast): Remove. | |
875 | (parse_and_eval_type): Update. | |
876 | * dtrace-probe.c (dtrace_probe::compile_to_ax): Update. | |
877 | * d-lang.c (d_op_print_tab): Remove. | |
878 | (class d_language) <opcode_print_table>: Remove. | |
879 | * c-lang.h (c_op_print_tab): Don't declare. | |
880 | * c-lang.c (c_op_print_tab): Remove. | |
881 | (class c_language, class cplus_language, class asm_language, class | |
882 | minimal_language) <opcode_print_table>: Remove. | |
883 | * breakpoint.c (update_watchpoint, watchpoint_check) | |
884 | (watchpoint_exp_is_const, watch_command_1): Update. | |
885 | * ax-gdb.h (union exp_element): Don't declare. | |
886 | * ax-gdb.c (const_var_ref, const_expr, maybe_const_expr) | |
887 | (gen_repeat, gen_sizeof, gen_expr_for_cast, gen_expr) | |
888 | (gen_expr_binop_rest): Remove. | |
889 | (gen_trace_for_expr, gen_eval_for_expr, gen_printf): Update. | |
890 | * ada-lang.c (ada_op_print_tab): Remove. | |
891 | (class ada_language) <post_parser, opcode_print_table>: Remove. | |
892 | ||
893 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
894 | ||
895 | * go-lang.c (go_language::expression_ops): Don't declare. | |
896 | * go-lang.h (class go_language) <expression_ops>: Remove. | |
897 | * opencl-lang.c (evaluate_subexp_opencl, exp_descriptor_opencl): | |
898 | Remove. | |
899 | (class opencl_language) <expression_ops>: Remove. | |
900 | * d-lang.c (class d_language) <expression_ops>: Remove. | |
901 | * c-lang.h (evaluate_subexp_c, exp_descriptor_c): Don't declare. | |
902 | * c-lang.c (evaluate_subexp_c, exp_descriptor_c): Remove. | |
903 | (class c_language, class cplus_language, class asm_language) | |
904 | (class minimal_language) <expression_ops>: Remove. | |
905 | ||
906 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
907 | ||
908 | * ada-lang.c (resolve_subexp, replace_operator_with_call) | |
909 | (evaluate_subexp_type, assign_aggregate) | |
910 | (aggregate_assign_positional, aggregate_assign_from_choices) | |
911 | (aggregate_assign_others, ada_evaluate_subexp_for_cast) | |
912 | (ada_evaluate_subexp, ADA_OPERATORS, ada_operator_length) | |
913 | (ada_operator_check, ada_forward_operator_length) | |
914 | (ada_dump_subexp_body, ada_print_subexp, ada_exp_descriptor): | |
915 | Remove. | |
916 | (post_parser): Update. | |
917 | (class ada_language) <expresssion_ops>: Remove. | |
918 | ||
919 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
920 | ||
921 | * m2-lang.h (class m2_language) <expresssion_ops, | |
922 | exp_descriptor_modula2>: Remove. | |
923 | * m2-lang.c (evaluate_subexp_modula2) | |
924 | (m2_language::exp_descriptor_modula2): Remove. | |
925 | ||
926 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
927 | ||
928 | * f-lang.h (class f_language) <expresssion_ops>: Remove. | |
929 | <exp_descriptor_tab>: Remove. | |
930 | * f-lang.c (fortran_value_subarray, evaluate_subexp_f) | |
931 | (operator_length_f, print_unop_subexp_f, print_binop_subexp_f) | |
932 | (print_subexp_f, dump_subexp_body_f, operator_check_f) | |
933 | (f_language::exp_descriptor_tab, fortran_prepare_argument): | |
934 | Remove. | |
935 | ||
936 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
937 | ||
938 | * rust-lang.h (class rust_language) <expression_ops, | |
939 | exp_descriptor_tab>: Remove. | |
940 | * rust-lang.c (rust_evaluate_funcall): Remove. | |
941 | (rust_range, rust_subscript, eval_op_rust_complement): Don't use | |
942 | EVAL_SKIP. | |
943 | (rust_evaluate_subexp): Remove. | |
944 | (rust_aggregate_operation::evaluate): Don't use EVAL_SKIP. | |
945 | (rust_operator_length, rust_dump_subexp_body, rust_print_subexp) | |
946 | (rust_operator_check, rust_language::exp_descriptor_tab): Remove. | |
947 | ||
948 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
949 | ||
950 | * ada-exp.y: Create operations. | |
951 | (empty_stoken): Remove. | |
952 | (ada_pop, ada_wrap, ada_addrof, ada_un_wrap2, ada_wrap2) | |
953 | (ada_wrap_op, ada_wrap3, ada_funcall): New functions. | |
954 | (components): New global. | |
955 | (push_component, choice_component, pop_component, pop_components): | |
956 | New functions. | |
957 | (associations): New global | |
958 | (push_association, pop_association, pop_associations): New | |
959 | functions. | |
960 | (ada_parse): Update. | |
961 | (write_var_from_sym, write_int): Create operations. | |
962 | (write_exp_op_with_string): Remove. | |
963 | (write_object_renaming, write_selectors, write_ambiguous_var) | |
964 | (write_var_or_type, write_name_assoc): Create operations. | |
965 | * ada-lang.h (ada_index_type): Declare. | |
966 | * ada-lang.c (ada_index_type): No longer static. | |
967 | ||
968 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
969 | ||
970 | * f-exp.y: Create operations. | |
971 | (f_language::parser): Update. | |
972 | ||
973 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
974 | ||
975 | * m2-exp.y: Create operations. | |
976 | (m2_language::parser): Update. | |
977 | ||
978 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
979 | ||
980 | * p-exp.y: Create operations. | |
981 | (pascal_language::parser): Update. | |
982 | ||
983 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
984 | ||
985 | * d-exp.y: Create operations. | |
986 | (d_parse): Update. | |
987 | ||
988 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
989 | ||
990 | * go-exp.y: Create operations. | |
991 | (go_language::parser): Update. | |
992 | ||
993 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
994 | ||
995 | * objc-lang.c (end_msglist): Create operations. | |
996 | * c-exp.y: Change parser to create operations. | |
997 | (write_destructor_name): Remove. | |
998 | (c_parse): Update. | |
999 | ||
1000 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1001 | ||
1002 | * rust-exp.y: Create operations. | |
1003 | (rust_parser::convert_params_to_expression): Change return type. | |
1004 | (binop_maker_ftype): New typedef. | |
1005 | (maker_map): New global. | |
1006 | (rust_parser::convert_ast_to_expression): Change return type. | |
1007 | (rust_language::parser): Update. | |
1008 | (_initialize_rust_exp): Initialize maker_map. | |
1009 | ||
1010 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1011 | ||
1012 | * stap-probe.c (binop_maker_ftype): New typedef. | |
1013 | (stap_maker_map): New global. | |
1014 | (stap_make_binop): New function. | |
1015 | (stap_parse_register_operand): Return operation_up. | |
1016 | (stap_parse_single_operand, stap_parse_argument_conditionally) | |
1017 | (stap_parse_argument_1): Likewise. | |
1018 | (stap_parse_argument): Create operations. | |
1019 | (stap_probe::parse_arguments): Update. | |
1020 | (_initialize_stap_probe): Initialize stap_maker_map. | |
1021 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Change return | |
1022 | type. | |
1023 | * i386-tdep.h (i386_stap_parse_special_token): Change return | |
1024 | type. | |
1025 | * i386-tdep.c (i386_stap_parse_special_token_triplet) | |
1026 | (i386_stap_parse_special_token_three_arg_disp) | |
1027 | (i386_stap_parse_special_token): Change return type. | |
1028 | * gdbarch.sh (stap_parse_special_token): Change return type. | |
1029 | * gdbarch.c: Rebuild. | |
1030 | * gdbarch.h: Rebuild. | |
1031 | * arm-linux-tdep.c (arm_stap_parse_special_token): Change return | |
1032 | type. | |
1033 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): Change | |
1034 | return type. | |
1035 | ||
1036 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1037 | ||
1038 | * gdbarch.sh (dtrace_parse_probe_argument): Change return type. | |
1039 | * gdbarch.h: Rebuild. | |
1040 | * gdbarch.c: Rebuild. | |
1041 | * dtrace-probe.c (dtrace_probe::build_arg_exprs): Update. | |
1042 | * amd64-linux-tdep.c (amd64_dtrace_parse_probe_argument): Change | |
1043 | return type. | |
1044 | (amd64_dtrace_parse_probe_argument): Update. | |
1045 | ||
1046 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1047 | ||
1048 | * parser-defs.h (struct parser_state) <push, push_new, | |
1049 | push_c_string, push_symbol, push_dollar, pop, pop_vector, wrap, | |
1050 | wrap2>: New methods. | |
1051 | <m_operations>: New member. | |
1052 | * parse.c (parser_state::push_c_string) | |
1053 | (parser_state::push_symbol, parser_state::push_dollar): New | |
1054 | methods. | |
1055 | ||
1056 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1057 | ||
1058 | * parser-defs.h (struct expr_completion_state) <expout_last_op>: | |
1059 | New member. | |
1060 | (struct parser_state) <mark_struct_expression>: New method. | |
1061 | * parse.c (parser_state::mark_struct_expression): Update assert. | |
1062 | (parser_state::mark_struct_expression): New method. | |
1063 | (parser_state::mark_completion_tag): Update assert. | |
1064 | (parse_expression_for_completion): Handle expout_last_op. | |
1065 | ||
1066 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1067 | ||
1068 | * ada-exp.h (class ada_var_value_operation) <get_symbol>: Remove; | |
1069 | now in superclass. | |
1070 | * value.h (fetch_subexp_value): Add "op" parameter. | |
1071 | * value.c (init_if_undefined_command): Update. | |
1072 | * tracepoint.c (validate_actionline, encode_actions_1): Update. | |
1073 | * stap-probe.c (stap_probe::compile_to_ax): Update. | |
1074 | * printcmd.c (set_command): Update. | |
1075 | * ppc-linux-nat.c (ppc_linux_nat_target::check_condition): | |
1076 | Update. | |
1077 | * parser-defs.h (struct expr_builder) <set_operation>: New | |
1078 | method. | |
1079 | * parse.c (parse_exp_in_context, exp_uses_objfile): Update. | |
1080 | * expression.h (struct expression) <first_opcode>: Update. | |
1081 | <op>: New member. | |
1082 | * expprint.c (dump_raw_expression, dump_prefix_expression): | |
1083 | Update. | |
1084 | * expop.h (class var_value_operation) <get_symbol>: New method. | |
1085 | (class register_operation) <get_name>: New method. | |
1086 | (class equal_operation): No longer a typedef, now a subclass. | |
1087 | (class unop_memval_operation) <get_type>: New method. | |
1088 | (class assign_operation) <get_lhs>: New method. | |
1089 | (class unop_cast_operation) <get_type>: New method. | |
1090 | * eval.c (evaluate_expression, evaluate_type) | |
1091 | (evaluate_subexpression_type): Update. | |
1092 | (fetch_subexp_value): Add "op" parameter. | |
1093 | (parse_and_eval_type): Update. | |
1094 | * dtrace-probe.c (dtrace_probe::compile_to_ax): Update. | |
1095 | * breakpoint.c (update_watchpoint, watchpoint_check) | |
1096 | (watchpoint_exp_is_const, watch_command_1): Update. | |
1097 | * ax-gdb.c (gen_trace_for_expr, gen_eval_for_expr, gen_printf): | |
1098 | Update. | |
1099 | ||
1100 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1101 | ||
1102 | * ada-lang.c (ada_value_binop): Do not use op_string. | |
1103 | ||
1104 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1105 | ||
1106 | * expprint.c (dump_for_expression): New overload. | |
1107 | * expop.h (check_objfile, dump_for_expression): Declare new | |
1108 | overloads. | |
1109 | * ada-lang.c (check_objfile): New overload. | |
1110 | (assign_component, ada_aggregate_component::uses_objfile) | |
1111 | (ada_aggregate_component::dump, ada_aggregate_component::assign) | |
1112 | (ada_aggregate_component::assign_aggregate) | |
1113 | (ada_positional_component::uses_objfile) | |
1114 | (ada_positional_component::dump, ada_positional_component::assign) | |
1115 | (ada_discrete_range_association::uses_objfile) | |
1116 | (ada_discrete_range_association::dump) | |
1117 | (ada_discrete_range_association::assign) | |
1118 | (ada_name_association::uses_objfile, ada_name_association::dump) | |
1119 | (ada_name_association::assign) | |
1120 | (ada_choices_component::uses_objfile, ada_choices_component::dump) | |
1121 | (ada_choices_component::assign) | |
1122 | (ada_others_component::uses_objfile, ada_others_component::dump) | |
1123 | (ada_others_component::assign, ada_assign_operation::evaluate): | |
1124 | New methods. | |
1125 | * ada-exp.h (ada_string_operation) <get_name>: New method. | |
1126 | (class ada_assign_operation): New. | |
1127 | (class ada_component): New. | |
1128 | (ada_component_up): New typedef. | |
1129 | (class ada_aggregate_operation, class ada_aggregate_component) | |
1130 | (class ada_positional_component, class ada_others_component) | |
1131 | (class ada_association): New. | |
1132 | (ada_association_up): New typedef. | |
1133 | (class ada_choices_component) | |
1134 | (class ada_discrete_range_association) | |
1135 | (class ada_name_association): New. | |
1136 | ||
1137 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1138 | ||
1139 | * ada-lang.c (ada_var_value_operation::resolve) | |
1140 | (ada_funcall_operation::resolve) | |
1141 | (ada_ternop_slice_operation::resolve): New methods. | |
1142 | * ada-exp.h (struct ada_resolvable): New. | |
1143 | (class ada_var_value_operation): Derive from ada_resolvable. | |
1144 | <get_block, resolve>: New methods. | |
1145 | (class ada_funcall_operation): Derive from ada_resolvable. | |
1146 | <resolve>: New method. | |
1147 | (class ada_ternop_slice_operation): Derive from ada_resolvable. | |
1148 | <resolve>: New method. | |
1149 | ||
1150 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1151 | ||
1152 | * ada-lang.c (ada_funcall_operation::evaluate): New method. | |
1153 | * ada-exp.h (class ada_var_msym_value_operation) <get_symbol>: New | |
1154 | method. | |
1155 | (class ada_funcall_operation): New. | |
1156 | ||
1157 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1158 | ||
1159 | * ada-lang.c (ada_structop_operation::evaluate): New method. | |
1160 | * ada-exp.h (class ada_structop_operation): New. | |
1161 | ||
1162 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1163 | ||
1164 | * ada-lang.c (ada_unop_ind_operation::evaluate): New method. | |
1165 | * ada-exp.h (class ada_unop_ind_operation): New. | |
1166 | ||
1167 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1168 | ||
1169 | * ada-lang.c (ada_binop_exp): No longer static. | |
1170 | * ada-exp.h (ada_binop_exp_operation): New typedef. | |
1171 | ||
1172 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1173 | ||
1174 | * ada-lang.c (ada_val_atr): No longer static. | |
1175 | (ada_atr_val_operation::evaluate): New method. | |
1176 | * ada-exp.h (class ada_atr_val_operation): New. | |
1177 | ||
1178 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1179 | ||
1180 | * ada-lang.c (ada_pos_atr): No longer static. | |
1181 | * ada-exp.h (ada_pos_operation): New typedef. | |
1182 | ||
1183 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1184 | ||
1185 | * ada-lang.c (ada_pos_atr): Rename from value_pos_atr. Change | |
1186 | parameters. | |
1187 | (ada_evaluate_subexp): Use it. | |
1188 | ||
1189 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1190 | ||
1191 | * ada-lang.c (ada_binop_minmax): No longer static. | |
1192 | * ada-exp.h (ada_binop_min_operation, ada_binop_max_operation): | |
1193 | New typedefs. | |
1194 | ||
1195 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1196 | ||
1197 | * ada-lang.c (ada_var_msym_value_operation::evaluate_for_cast): | |
1198 | New method. | |
1199 | * ada-exp.h (class ada_var_msym_value_operation): New. | |
1200 | ||
1201 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1202 | ||
1203 | * ada-lang.c (ada_var_value_operation::evaluate_for_cast) | |
1204 | (ada_var_value_operation::evaluate): New methods. | |
1205 | * ada-exp.h (class ada_var_value_operation): New. | |
1206 | ||
1207 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1208 | ||
1209 | * ada-lang.c (ada_unop_atr_operation::evaluate): New method. | |
1210 | * ada-exp.h (class ada_unop_atr_operation): New. | |
1211 | ||
1212 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1213 | ||
1214 | * ada-lang.c (ada_binop_in_bounds): No longer static. | |
1215 | * ada-exp.h (class ada_binop_in_bounds_operation): New. | |
1216 | ||
1217 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1218 | ||
1219 | * ada-lang.c (ada_ternop_slice): No longer static. | |
1220 | * ada-exp.h (class ada_ternop_slice_operation): New. | |
1221 | ||
1222 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1223 | ||
1224 | * ada-exp.h (ada_bitwise_operation): New template class. | |
1225 | (ada_bitwise_and_operation, ada_bitwise_ior_operation) | |
1226 | (ada_bitwise_xor_operation): New typedefs. | |
1227 | ||
1228 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1229 | ||
1230 | * ada-lang.c (ada_equal_binop): No longer static. | |
1231 | * ada-exp.h (class ada_binop_equal_operation): New. | |
1232 | ||
1233 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1234 | ||
1235 | * ada-lang.c (ada_mult_binop): No longer static. | |
1236 | * ada-exp.h (ada_binop_mul_operation ada_binop_div_operation) | |
1237 | (ada_binop_rem_operation, ada_binop_mod_operation): New typedefs. | |
1238 | ||
1239 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1240 | ||
1241 | * ada-lang.c (ada_binop_addsub_operation::evaluate): New method. | |
1242 | * ada-exp.h (class ada_binop_addsub_operation): New. | |
1243 | ||
1244 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1245 | ||
1246 | * ada-lang.h (ada_find_operator_symbol, ada_resolve_funcall) | |
1247 | (ada_resolve_variable): Declare. | |
1248 | * ada-lang.c (ada_find_operator_symbol, ada_resolve_funcall) | |
1249 | (ada_resolve_variable): New functions. | |
1250 | (resolve_subexp): Update. | |
1251 | ||
1252 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1253 | ||
1254 | * opencl-lang.c (opencl_ternop_cond_operation::evaluate): New | |
1255 | method. | |
1256 | * c-exp.h (class opencl_ternop_cond_operation): New. | |
1257 | ||
1258 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1259 | ||
1260 | * opencl-lang.c (opencl_logical_binop_operation::evaluate): New | |
1261 | method. | |
1262 | * c-exp.h (class opencl_logical_binop_operation): New. | |
1263 | ||
1264 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1265 | ||
1266 | * opencl-lang.c (opencl_structop_operation::evaluate): New | |
1267 | method. | |
1268 | * c-exp.h (class opencl_structop_operation): New. | |
1269 | ||
1270 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1271 | ||
1272 | * opencl-lang.c (opencl_logical_not): No longer static. Change | |
1273 | parameters. | |
1274 | (evaluate_subexp_opencl): Update. | |
1275 | * c-exp.h (opencl_notequal_operation): New typedef. | |
1276 | ||
1277 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1278 | ||
1279 | * opencl-lang.c (opencl_relop, eval_opencl_assign): No longer | |
1280 | static. Change parameters. | |
1281 | (eval_opencl_assign): No longer static. Add "op" parameter. | |
1282 | (evaluate_subexp_opencl): Update. | |
1283 | * c-exp.h (opencl_binop_operation): New template class. | |
1284 | (opencl_assign_operation, opencl_equal_operation) | |
1285 | (opencl_notequal_operation, opencl_less_operation) | |
1286 | (opencl_gtr_operation, opencl_geq_operation) | |
1287 | (opencl_leq_operation): New typedefs. | |
1288 | ||
1289 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1290 | ||
1291 | * opencl-lang.c (opencl_value_cast): No longer static. | |
1292 | * c-exp.h (opencl_cast_type_operation): New typedef. | |
1293 | ||
1294 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1295 | ||
1296 | * f-exp.h (eval_op_f_allocated): Declare. | |
1297 | (fortran_allocated_operation): New typedef. | |
1298 | * f-lang.c (eval_op_f_allocated): No longer static. | |
1299 | ||
1300 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1301 | ||
1302 | * f-lang.c (eval_op_f_associated): New functions. | |
1303 | * f-exp.h (fortran_associated_1arg, fortran_associated_2arg): New | |
1304 | typedefs. | |
1305 | ||
1306 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1307 | ||
1308 | * f-lang.c (fortran_bound_1arg::evaluate) | |
1309 | (fortran_bound_2arg::evaluate): New methods. | |
1310 | * f-exp.h (class fortran_bound_1arg, class fortran_bound_2arg): | |
1311 | New. | |
1312 | ||
1313 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1314 | ||
1315 | * expop.h (class unop_addr_operation) <get_expression>: New | |
1316 | method. | |
1317 | * f-lang.c (fortran_undetermined::value_subarray) | |
1318 | (fortran_undetermined::evaluate): New methods. | |
1319 | (fortran_prepare_argument): New overload. | |
1320 | * f-exp.h (class fortran_range_operation) | |
1321 | (class fortran_undetermined): New classes. | |
1322 | ||
1323 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1324 | ||
1325 | * rust-lang.c (rust_structop::evaluate_funcall): New method. | |
1326 | * rust-exp.h (class rust_structop) <evaluate_funcall>: Declare | |
1327 | method. | |
1328 | ||
1329 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1330 | ||
1331 | * expression.h (class operation) <evaluate_funcall>: New methods. | |
1332 | * expop.h (class scope_operation) <evaluate_funcall>: New method. | |
1333 | (class var_value_operation) <evaluate_funcall>: New method. | |
1334 | (class structop_base_operation) <evaluate_funcall>: New method. | |
1335 | (class var_msym_value_operation) <evaluate_funcall>: New method. | |
1336 | (class structop_member_base): New class. | |
1337 | (class structop_member_operation): Derive from | |
1338 | structop_member_base. | |
1339 | (class structop_mptr_operation): Derive from | |
1340 | structop_member_base. | |
1341 | (class funcall_operation): New class. | |
1342 | * eval.c (operation::evaluate_funcall) | |
1343 | (var_value_operation::evaluate_funcall) | |
1344 | (scope_operation::evaluate_funcall) | |
1345 | (structop_member_base::evaluate_funcall) | |
1346 | (structop_base_operation::evaluate_funcall): New methods. | |
1347 | ||
1348 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1349 | ||
1350 | * expop.h (class array_operation): New. | |
1351 | * eval.c (array_operation::evaluate_struct_tuple) | |
1352 | (array_operation::evaluate): New methods. | |
1353 | ||
1354 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1355 | ||
1356 | * expop.h (class adl_func_operation): New. | |
1357 | * eval.c (adl_func_operation::evaluate): New method. | |
1358 | ||
1359 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1360 | ||
1361 | * ada-lang.c (ada_unop_in_range): No longer static. | |
1362 | * ada-exp.h (class ada_unop_range_operation): New. | |
1363 | ||
1364 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1365 | ||
1366 | * ada-lang.c (ada_unop_neg, ada_atr_tag, ada_atr_size, ada_abs): | |
1367 | No longer static. | |
1368 | * ada-exp.h (ada_neg_operation, ada_atr_tag_operation) | |
1369 | (ada_atr_size_operation, ada_abs_operation): New typedefs. | |
1370 | ||
1371 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1372 | ||
1373 | * expop.h (class logical_and_operation) | |
1374 | (class logical_or_operation): New. | |
1375 | * eval.c (logical_and_operation::evaluate) | |
1376 | (logical_or_operation::evaluate): New methods. | |
1377 | * ax-gdb.c (logical_and_operation::do_generate_ax) | |
1378 | (logical_or_operation::do_generate_ax): New methods. | |
1379 | ||
1380 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1381 | ||
1382 | * m2-lang.c (eval_op_m2_high, eval_op_m2_subscript): No longer | |
1383 | static. | |
1384 | * m2-exp.h: New file. | |
1385 | ||
1386 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1387 | ||
1388 | * rust-lang.c (rust_aggregate_operation::evaluate): New method. | |
1389 | * rust-exp.h (class rust_aggregate_operation): New. | |
1390 | ||
1391 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1392 | ||
1393 | * rust-lang.c (eval_op_rust_struct_anon, eval_op_rust_structop): | |
1394 | No longer static. | |
1395 | * rust-exp.h (class rust_struct_anon): New. | |
1396 | (class rust_structop): New. | |
1397 | ||
1398 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1399 | ||
1400 | * rust-lang.c (rust_range): No longer static. | |
1401 | * rust-exp.h (class rust_range_operation): New. | |
1402 | ||
1403 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1404 | ||
1405 | * rust-lang.c (rust_subscript): No longer static. | |
1406 | * rust-exp.h (class rust_subscript_operation): New. | |
1407 | ||
1408 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1409 | ||
1410 | * rust-lang.c (eval_op_rust_ind): No longer static. Add "opcode" | |
1411 | parameter. | |
1412 | (rust_evaluate_subexp): Update. | |
1413 | * rust-exp.h (class rust_unop_ind_operation): New. | |
1414 | ||
1415 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1416 | ||
1417 | * rust-lang.c (eval_op_rust_complement, eval_op_rust_array): No | |
1418 | longer static. Add "opcode" parameter. | |
1419 | (rust_evaluate_subexp): Update. | |
1420 | * rust-exp.h: New file. | |
1421 | ||
1422 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1423 | ||
1424 | * f-lang.c (eval_op_f_abs, eval_op_f_mod, eval_op_f_ceil) | |
1425 | (eval_op_f_floor, eval_op_f_modulo, eval_op_f_cmplx) | |
1426 | (eval_op_f_kind): No longer static. Add "opcode" parameter. | |
1427 | (evaluate_subexp_f): Update. | |
1428 | * f-exp.h: New file. | |
1429 | ||
1430 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1431 | ||
1432 | * ada-lang.c (ada_ternop_range_operation::evaluate): New method. | |
1433 | * ada-exp.h (class ada_ternop_range_operation): New. | |
1434 | ||
1435 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1436 | ||
1437 | * ada-lang.c (ada_qual_operation::evaluate): New method. | |
1438 | * ada-exp.h (class ada_qual_operation): New. | |
1439 | ||
1440 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1441 | ||
1442 | * ada-lang.c (ada_string_operation::evaluate): New method. | |
1443 | * ada-exp.h (class ada_string_operation): New. | |
1444 | ||
1445 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1446 | ||
1447 | * ada-lang.c (ada_wrapped_operation::evaluate): New method. | |
1448 | * ada-exp.h: New file. | |
1449 | ||
1450 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1451 | ||
1452 | * expop.h (class multi_subscript_operation): New. | |
1453 | * eval.c (multi_subscript_operation::evaluate): New method. | |
1454 | ||
1455 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1456 | ||
1457 | * eval.c (objc_msgcall_operation::evaluate): New method. | |
1458 | * c-exp.h (class objc_msgcall_operation): New. | |
1459 | ||
1460 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1461 | ||
1462 | * expop.h (class var_value_operation): New. | |
1463 | * eval.c (var_value_operation::evaluate) | |
1464 | (var_value_operation::evaluate_for_address) | |
1465 | (var_value_operation::evaluate_with_coercion) | |
1466 | (var_value_operation::evaluate_for_sizeof) | |
1467 | (var_value_operation::evaluate_for_cast): New methods. | |
1468 | * ax-gdb.c (var_value_operation::do_generate_ax): New method. | |
1469 | ||
1470 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1471 | ||
1472 | * expop.h (cxx_cast_ftype): New typedef. | |
1473 | (cxx_cast_operation): New template. | |
1474 | (dynamic_cast_operation, reinterpret_cast_operation): New | |
1475 | typedefs. | |
1476 | ||
1477 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1478 | ||
1479 | * expop.h (class unop_cast_type_operation): New. | |
1480 | * ax-gdb.c (unop_cast_type_operation::do_generate_ax): New | |
1481 | method. | |
1482 | ||
1483 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1484 | ||
1485 | * expop.h (class unop_cast_operation): New. | |
1486 | * ax-gdb.c (unop_cast_operation::do_generate_ax): New method. | |
1487 | ||
1488 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1489 | ||
1490 | * expop.h (class assign_modify_operation): New. | |
1491 | * eval.c (eval_binop_assign_modify): No longer static. | |
1492 | * ax-gdb.c (assign_modify_operation::do_generate_ax): New method. | |
1493 | ||
1494 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1495 | ||
1496 | * expop.h (class assign_operation): New. | |
1497 | * ax-gdb.c (assign_operation::do_generate_ax): New method. | |
1498 | ||
1499 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1500 | ||
1501 | * expop.h (class type_instance_operation): New. | |
1502 | * eval.c (type_instance_operation::evaluate): New method. | |
1503 | ||
1504 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1505 | ||
1506 | * expop.h (class op_this_operation): New. | |
1507 | * ax-gdb.c (op_this_operation::do_generate_ax): New method. | |
1508 | ||
1509 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1510 | ||
1511 | * expop.h (class unop_memval_operation) | |
1512 | (class unop_memval_type_operation): New. | |
1513 | * eval.c (eval_op_memval): No longer static. | |
1514 | (unop_memval_operation::evaluate_for_address) | |
1515 | (unop_memval_type_operation::evaluate_for_address) | |
1516 | (unop_memval_operation::evaluate_for_sizeof) | |
1517 | (unop_memval_type_operation::evaluate_for_sizeof): New methods. | |
1518 | * ax-gdb.c (unop_memval_operation::do_generate_ax) | |
1519 | (unop_memval_type_operation::do_generate_ax): New methods. | |
1520 | ||
1521 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1522 | ||
1523 | * expop.h (class unop_alignof_operation): New. | |
1524 | * eval.c (eval_op_alignof): No longer static. | |
1525 | ||
1526 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1527 | ||
1528 | * expop.h (class unop_sizeof_operation): New. | |
1529 | * ax-gdb.c (unop_sizeof_operation::do_generate_ax): New method. | |
1530 | ||
1531 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1532 | ||
1533 | * expop.h (class unop_addr_operation): New. | |
1534 | * ax-gdb.c (gen_expr_unop) <case UNOP_ADDR>: New. | |
1535 | ||
1536 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1537 | ||
1538 | * expop.h (class typeid_operation): New. | |
1539 | ||
1540 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1541 | ||
1542 | * expop.h (class decltype_operation): New. | |
1543 | ||
1544 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1545 | ||
1546 | * expop.h (class typeof_operation): New. | |
1547 | ||
1548 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1549 | ||
1550 | * expop.h (class type_operation): New. | |
1551 | * eval.c (eval_op_type): No longer static. | |
1552 | ||
1553 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1554 | ||
1555 | * expop.h (class unop_ind_base_operation) | |
1556 | (class unop_ind_operation): New. | |
1557 | * eval.c (eval_op_ind): No longer static. Remove "op" parameter. | |
1558 | (unop_ind_base_operation::evaluate_for_address) | |
1559 | (unop_ind_base_operation::evaluate_for_sizeof): New method. | |
1560 | * ax-gdb.c (gen_expr_unop) <case UNOP_IND>: New. | |
1561 | ||
1562 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1563 | ||
1564 | * expop.h (unop_incr_operation): New template. | |
1565 | (preinc_operation, predec_operation, postinc_operation) | |
1566 | (postdec_operation): New typedefs. | |
1567 | * eval.c (eval_op_preinc, eval_op_predec, eval_op_postinc) | |
1568 | (eval_op_postdec): No longer static. | |
1569 | ||
1570 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1571 | ||
1572 | * expop.h (unary_ftype): New typedef. | |
1573 | (unop_operation, usual_ax_binop_operation): New templates. | |
1574 | (unary_plus_operation, unary_neg_operation) | |
1575 | (unary_complement_operation, unary_logical_not_operation): New | |
1576 | typedefs. | |
1577 | * eval.c (eval_op_plus, eval_op_neg, eval_op_complement) | |
1578 | (eval_op_lognot): No longer static. | |
1579 | * ax-gdb.c (gen_expr_unop): New function. | |
1580 | ||
1581 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1582 | ||
1583 | * ax-gdb.c (comma_operation::do_generate_ax): New method. | |
1584 | ||
1585 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1586 | ||
1587 | * expop.h (class repeat_operation): New. | |
1588 | * eval.c (eval_op_repeat): No longer static. Remove "op" | |
1589 | parameter. | |
1590 | (evaluate_subexp_standard): Update. | |
1591 | * ax-gdb.c (repeat_operation::do_generate_ax): New method. | |
1592 | ||
1593 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1594 | ||
1595 | * expop.h (class comparison_operation): New. | |
1596 | (equal_operation, notequal_operation, less_operation) | |
1597 | (gtr_operation, geq_operation, leq_operation): New typedefs. | |
1598 | * eval.c (eval_op_equal, eval_op_notequal, eval_op_less) | |
1599 | (eval_op_gtr, eval_op_geq, eval_op_leq): No longer static. | |
1600 | ||
1601 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1602 | ||
1603 | * expop.h (class subscript_operation): New. | |
1604 | * eval.c (eval_op_subscript): No longer static. | |
1605 | ||
1606 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1607 | ||
1608 | * expop.h (class binop_operation, class usual_ax_binop_operation): | |
1609 | New. | |
1610 | (exp_operation, intdiv_operation, mod_operation, mul_operation) | |
1611 | (div_operation, rem_operation, lsh_operation, rsh_operation) | |
1612 | (bitwise_and_operation, bitwise_ior_operation) | |
1613 | (bitwise_xor_operation): New typedefs. | |
1614 | * eval.c (eval_op_binary): No longer static. | |
1615 | ||
1616 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1617 | ||
1618 | * expop.h (class sub_operation): New. | |
1619 | * eval.c (eval_op_sub): No longer static. Remove "op" parameter. | |
1620 | (evaluate_subexp_standard): Update. | |
1621 | ||
1622 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1623 | ||
1624 | * expop.h (class add_operation): New. | |
1625 | * eval.c (eval_op_add): No longer static. Remove "op" parameter. | |
1626 | (evaluate_subexp_standard): Update. | |
1627 | ||
1628 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1629 | ||
1630 | * expop.h (class concat_operation): New. | |
1631 | * eval.c (eval_op_concat): No longer static. Remove "op" | |
1632 | parameter. | |
1633 | (evaluate_subexp_standard): Update. | |
1634 | ||
1635 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1636 | ||
1637 | * expop.h (class structop_member_operation) | |
1638 | (class structop_mptr_operation): New. | |
1639 | * eval.c (eval_op_member): No longer static. | |
1640 | ||
1641 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1642 | ||
1643 | * expop.h (class structop_ptr_operation): New. | |
1644 | * eval.c (eval_op_structop_ptr): No longer static. Remove "op" | |
1645 | parameter. | |
1646 | ||
1647 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1648 | ||
1649 | * expop.h (class structop_base_operation) | |
1650 | (class structop_operation): New. | |
1651 | * eval.c (eval_op_structop_struct): No longer static. | |
1652 | ||
1653 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1654 | ||
1655 | * expop.h (class complex_operation): New. | |
1656 | ||
1657 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1658 | ||
1659 | * eval.c (eval_op_objc_selector): No longer static. | |
1660 | * c-exp.h (class objc_selector_operation): New. | |
1661 | ||
1662 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1663 | ||
1664 | * eval.c: Include c-exp.h. | |
1665 | * c-exp.h (class objc_nsstring_operation): New. | |
1666 | ||
1667 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1668 | ||
1669 | * c-lang.c (c_string_operation::evaluate): New method. | |
1670 | * c-exp.h: New file. | |
1671 | ||
1672 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1673 | ||
1674 | * expop.h (class ternop_cond_operation): New. | |
1675 | * ax-gdb.c (ternop_cond_operation::do_generate_ax): New method. | |
1676 | ||
1677 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1678 | ||
1679 | * expop.h (class ternop_slice_operation): New. | |
1680 | * eval.c (eval_op_ternop): No longer static. | |
1681 | ||
1682 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1683 | ||
1684 | * expop.h (class string_operation): New. | |
1685 | * eval.c (eval_op_string): No longer static. | |
1686 | ||
1687 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1688 | ||
1689 | * expop.h (class internalvar_operation): New. | |
1690 | * ax-gdb.c (internalvar_operation::do_generate_ax): New method. | |
1691 | ||
1692 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1693 | ||
1694 | * expop.h (class bool_operation): New. | |
1695 | ||
1696 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1697 | ||
1698 | * expop.h (class register_operation): New. | |
1699 | * eval.c (eval_op_register): No longer static. | |
1700 | * ax-gdb.c (register_operation::do_generate_ax): New method. | |
1701 | ||
1702 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1703 | ||
1704 | * expop.h (class last_operation): New. | |
1705 | ||
1706 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1707 | ||
1708 | * expop.h (class func_static_var_operation): New. | |
1709 | * eval.c (eval_op_func_static_var): No longer static. | |
1710 | ||
1711 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1712 | ||
1713 | * expop.h (class var_entry_value_operation): New. | |
1714 | * eval.c (eval_op_var_entry_value): No longer static. | |
1715 | ||
1716 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1717 | ||
1718 | * expression.h (class operation) <set_outermost>: New method. | |
1719 | * expop.h (class var_msym_value_operation): New. | |
1720 | * eval.c (eval_op_var_msym_value): No longer static. | |
1721 | (var_msym_value_operation::evaluate_for_address) | |
1722 | (var_msym_value_operation::evaluate_for_sizeof) | |
1723 | (var_msym_value_operation::evaluate_for_cast): New methods. | |
1724 | * ax-gdb.c (var_msym_value_operation::do_generate_ax): New | |
1725 | method. | |
1726 | ||
1727 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1728 | ||
1729 | * expop.h (class long_const_operation): New. | |
1730 | * ax-gdb.c (long_const_operation::do_generate_ax): New method. | |
1731 | ||
1732 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1733 | ||
1734 | * expop.h (class scope_operation): New. | |
1735 | * eval.c (eval_op_scope): No longer static. | |
1736 | (scope_operation::evaluate_for_address): New method. | |
1737 | * ax-gdb.c (scope_operation::do_generate_ax): New method. | |
1738 | ||
1739 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1740 | ||
1741 | * expprint.c (float_const_operation::dump): New method. | |
1742 | * expop.h (float_data): New typedef. | |
1743 | (class float_const_operation): New. | |
1744 | ||
1745 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1746 | ||
1747 | * expop.h (gen_expr_binop, gen_expr_structop): Declare. | |
1748 | * ax-gdb.c (gen_expr_binop): New function. | |
1749 | (gen_expr_structop): Likewise. | |
1750 | ||
1751 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1752 | ||
1753 | * expprint.c (expr::dump_for_expression): New functions. | |
1754 | * expop.h (dump_for_expression): New overloads. | |
1755 | (tuple_holding_operation::dump, tuple_holding_operation::do_dump): | |
1756 | Update. | |
1757 | ||
1758 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1759 | ||
1760 | * expression.h (expr::operation): New class. | |
1761 | (expr::make_operation): New function. | |
1762 | (expr::operation_up): New typedef. | |
1763 | * expop.h: New file. | |
1764 | * eval.c (operation::evaluate_for_cast) | |
1765 | (operation::evaluate_for_address, operation::evaluate_for_sizeof): | |
1766 | New methods. | |
1767 | * ax-gdb.c (operation::generate_ax): New method. | |
1768 | ||
1769 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1770 | ||
1771 | * ax-gdb.c (gen_expr_binop_rest): Remove "pc" parameter. | |
1772 | (gen_expr_binop_rest): New overload. | |
1773 | ||
1774 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1775 | ||
1776 | * eval.c (eval_multi_subscript): New function. | |
1777 | (evaluate_subexp_standard): Use it. | |
1778 | ||
1779 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1780 | ||
1781 | * ada-lang.c (ada_binop_exp): New function. | |
1782 | (ada_evaluate_subexp): Use it. | |
1783 | ||
1784 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1785 | ||
1786 | * ada-lang.c (ada_val_atr): Rename from value_val_atr. Change | |
1787 | parameters. | |
1788 | (ada_evaluate_subexp): Use it. | |
1789 | ||
1790 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1791 | ||
1792 | * ada-lang.c (ada_binop_minmax): New function. | |
1793 | (ada_evaluate_subexp): Use it. | |
1794 | ||
1795 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1796 | ||
1797 | * ada-lang.c (ada_unop_atr): New function. | |
1798 | (ada_evaluate_subexp): Use it. | |
1799 | ||
1800 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1801 | ||
1802 | * ada-lang.c (ada_binop_in_bounds): New function. | |
1803 | (ada_evaluate_subexp): Use it. | |
1804 | ||
1805 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1806 | ||
1807 | * ada-lang.c (ada_ternop_slice): New function. | |
1808 | (ada_evaluate_subexp): Use it. | |
1809 | ||
1810 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1811 | ||
1812 | * ada-lang.c (ada_equal_binop): New function. | |
1813 | (ada_evaluate_subexp): Use it. | |
1814 | ||
1815 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1816 | ||
1817 | * ada-lang.c (ada_mult_binop): New function. | |
1818 | (ada_evaluate_subexp): Use it. | |
1819 | ||
1820 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1821 | ||
1822 | * ada-lang.c (ada_abs): New function. | |
1823 | (ada_evaluate_subexp): Use it. | |
1824 | ||
1825 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1826 | ||
1827 | * ada-lang.c (ada_atr_size): New function. | |
1828 | (ada_evaluate_subexp): Use it. | |
1829 | ||
1830 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1831 | ||
1832 | * ada-lang.c (ada_atr_tag): New function. | |
1833 | (ada_evaluate_subexp): Use it. | |
1834 | ||
1835 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1836 | ||
1837 | * ada-lang.c (ada_unop_in_range): New function. | |
1838 | (ada_evaluate_subexp): Use it. | |
1839 | ||
1840 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1841 | ||
1842 | * ada-lang.c (ada_unop_neg): New function. | |
1843 | (ada_evaluate_subexp): Use it. | |
1844 | ||
1845 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1846 | ||
1847 | * ada-lang.c (eval_ternop_in_range): New function. | |
1848 | (ada_evaluate_subexp): Use it. | |
1849 | ||
1850 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1851 | ||
1852 | * opencl-lang.c (eval_opencl_assign): New function. | |
1853 | (evaluate_subexp_opencl): Use it. | |
1854 | ||
1855 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1856 | ||
1857 | * eval.c (eval_op_objc_msgcall): New function. | |
1858 | (evaluate_subexp_standard): Use it. | |
1859 | ||
1860 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1861 | ||
1862 | * eval.c (eval_binop_assign_modify): New function. | |
1863 | (evaluate_subexp_standard): Use it. | |
1864 | ||
1865 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1866 | ||
1867 | * m2-lang.c (eval_op_m2_subscript): New function. | |
1868 | (evaluate_subexp_modula2): Use it. | |
1869 | ||
1870 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1871 | ||
1872 | * m2-lang.c (eval_op_m2_high): New function. | |
1873 | (evaluate_subexp_modula2): Use it. | |
1874 | ||
1875 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1876 | ||
1877 | * eval.c (evaluate_subexp_for_address_base): New function. | |
1878 | (evaluate_subexp_for_address): Use it. | |
1879 | (evaluate_subexp_for_sizeof_base): New function. | |
1880 | (evaluate_subexp_for_sizeof): Use it. | |
1881 | ||
1882 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1883 | ||
1884 | * rust-lang.c (eval_op_rust_structop): New function. | |
1885 | (rust_evaluate_subexp): Use it. | |
1886 | ||
1887 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1888 | ||
1889 | * rust-lang.c (eval_op_rust_struct_anon): New function. | |
1890 | (rust_evaluate_subexp): Use it. | |
1891 | ||
1892 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1893 | ||
1894 | * rust-lang.c (eval_op_rust_array): New function. | |
1895 | (rust_evaluate_subexp): Use it. | |
1896 | ||
1897 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1898 | ||
1899 | * rust-lang.c (eval_op_rust_complement): New function. | |
1900 | (rust_evaluate_subexp): Use it. | |
1901 | ||
1902 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1903 | ||
1904 | * rust-lang.c (eval_op_rust_ind): New function. | |
1905 | (rust_evaluate_subexp): Use it. | |
1906 | ||
1907 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1908 | ||
1909 | * rust-lang.c (rust_subscript): Change parameters. | |
1910 | (rust_evaluate_subexp): Update. | |
1911 | ||
1912 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1913 | ||
1914 | * rust-lang.c (rust_range): Change parameters. | |
1915 | (rust_evaluate_subexp): Update. | |
1916 | ||
1917 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1918 | ||
1919 | * f-lang.c (eval_op_f_allocated): New function. | |
1920 | (evaluate_subexp_f): Use it. | |
1921 | ||
1922 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1923 | ||
1924 | * f-lang.c (fortran_require_array): New function. | |
1925 | (evaluate_subexp_f): Use it. | |
1926 | ||
1927 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1928 | ||
1929 | * f-lang.c (eval_op_f_kind): New function. | |
1930 | (evaluate_subexp_f): Use it. | |
1931 | ||
1932 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1933 | ||
1934 | * f-lang.c (eval_op_f_cmplx): New function. | |
1935 | (evaluate_subexp_f): Use it. | |
1936 | ||
1937 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1938 | ||
1939 | * f-lang.c (eval_op_f_modulo): New function. | |
1940 | (evaluate_subexp_f): Use it. | |
1941 | ||
1942 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1943 | ||
1944 | * f-lang.c (eval_op_f_floor): New function. | |
1945 | (evaluate_subexp_f): Use it. | |
1946 | ||
1947 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1948 | ||
1949 | * f-lang.c (eval_op_f_ceil): New function. | |
1950 | (evaluate_subexp_f): Use it. | |
1951 | ||
1952 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1953 | ||
1954 | * f-lang.c (eval_op_f_mod): New function. | |
1955 | (evaluate_subexp_f): Use it. | |
1956 | ||
1957 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1958 | ||
1959 | * f-lang.c (eval_op_f_abs): New function. | |
1960 | (evaluate_subexp_f): Use it. | |
1961 | ||
1962 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1963 | ||
1964 | * eval.c (eval_op_type): New function. | |
1965 | (evaluate_subexp_standard): Use it. | |
1966 | ||
1967 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1968 | ||
1969 | * eval.c (eval_op_postdec): New function. | |
1970 | (evaluate_subexp_standard): Use it. | |
1971 | ||
1972 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1973 | ||
1974 | * eval.c (eval_op_postinc): New function. | |
1975 | (evaluate_subexp_standard): Use it. | |
1976 | ||
1977 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1978 | ||
1979 | * eval.c (eval_op_predec): New file. | |
1980 | (evaluate_subexp_standard): Use it. | |
1981 | ||
1982 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1983 | ||
1984 | * eval.c (eval_op_preinc): New function. | |
1985 | (evaluate_subexp_standard): Use it. | |
1986 | ||
1987 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1988 | ||
1989 | * eval.c (eval_op_memval): New function. | |
1990 | (evaluate_subexp_standard): Use it. | |
1991 | ||
1992 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1993 | ||
1994 | * eval.c (eval_op_alignof): New function. | |
1995 | (evaluate_subexp_standard): Use it. | |
1996 | ||
1997 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
1998 | ||
1999 | * eval.c (eval_op_ind): New function. | |
2000 | (evaluate_subexp_standard): Use it. | |
2001 | ||
2002 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2003 | ||
2004 | * eval.c (eval_op_lognot): New function. | |
2005 | (evaluate_subexp_standard): Use it. | |
2006 | ||
2007 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2008 | ||
2009 | * eval.c (eval_op_complement): New function. | |
2010 | (evaluate_subexp_standard): Use it. | |
2011 | ||
2012 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2013 | ||
2014 | * eval.c (eval_op_neg): New function. | |
2015 | (evaluate_subexp_standard): Use it. | |
2016 | ||
2017 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2018 | ||
2019 | * eval.c (eval_op_plus): New function. | |
2020 | (evaluate_subexp_standard): Use it. | |
2021 | ||
2022 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2023 | ||
2024 | * eval.c (eval_op_repeat): New function. | |
2025 | (evaluate_subexp_standard): Use it. | |
2026 | ||
2027 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2028 | ||
2029 | * eval.c (eval_op_leq): New function. | |
2030 | (evaluate_subexp_standard): Use it. | |
2031 | ||
2032 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2033 | ||
2034 | * eval.c (eval_op_geq): New function. | |
2035 | (evaluate_subexp_standard): Use it. | |
2036 | ||
2037 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2038 | ||
2039 | * eval.c (eval_op_gtr): New function. | |
2040 | (evaluate_subexp_standard): Use it. | |
2041 | ||
2042 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2043 | ||
2044 | * eval.c (eval_op_less): New function. | |
2045 | (evaluate_subexp_standard): Use it. | |
2046 | ||
2047 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2048 | ||
2049 | * eval.c (eval_op_notequal): New function. | |
2050 | (evaluate_subexp_standard): Use it. | |
2051 | ||
2052 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2053 | ||
2054 | * eval.c (eval_op_equal): New function. | |
2055 | (evaluate_subexp_standard): Use it. | |
2056 | ||
2057 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2058 | ||
2059 | * eval.c (eval_op_subscript): New function. | |
2060 | (evaluate_subexp_standard): Use it. | |
2061 | ||
2062 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2063 | ||
2064 | * eval.c (eval_op_binary): New function. | |
2065 | (evaluate_subexp_standard): Use it. | |
2066 | ||
2067 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2068 | ||
2069 | * eval.c (eval_op_sub): New function. | |
2070 | (evaluate_subexp_standard): Use it. | |
2071 | ||
2072 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2073 | ||
2074 | * eval.c (eval_op_add): New function. | |
2075 | (evaluate_subexp_standard): Use it. | |
2076 | ||
2077 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2078 | ||
2079 | * eval.c (eval_op_member): New function. | |
2080 | (evaluate_subexp_standard): Use it. | |
2081 | ||
2082 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2083 | ||
2084 | * eval.c (eval_op_structop_ptr): New function. | |
2085 | (evaluate_subexp_standard): Use it. | |
2086 | ||
2087 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2088 | ||
2089 | * eval.c (eval_op_structop_struct): New function. | |
2090 | (evaluate_subexp_standard): Use it. | |
2091 | ||
2092 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2093 | ||
2094 | * eval.c (eval_op_ternop): New function. | |
2095 | (evaluate_subexp_standard): Use it. | |
2096 | ||
2097 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2098 | ||
2099 | * eval.c (eval_op_concat): New function. | |
2100 | (evaluate_subexp_standard): Use it. | |
2101 | ||
2102 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2103 | ||
2104 | * eval.c (eval_op_objc_selector): New function. | |
2105 | (evaluate_subexp_standard): Use it. | |
2106 | ||
2107 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2108 | ||
2109 | * eval.c (eval_op_string): New function. | |
2110 | (evaluate_subexp_standard): Use it. | |
2111 | ||
2112 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2113 | ||
2114 | * eval.c (eval_op_register): New function. | |
2115 | (evaluate_subexp_standard): Use it. | |
2116 | ||
2117 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2118 | ||
2119 | * eval.c (eval_op_func_static_var): New function. | |
2120 | (evaluate_subexp_standard): Use it. | |
2121 | ||
2122 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2123 | ||
2124 | * eval.c (eval_op_var_msym_value): New function. | |
2125 | (evaluate_subexp_standard): Use it. | |
2126 | ||
2127 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2128 | ||
2129 | * eval.c (eval_op_var_entry_value): New function. | |
2130 | (evaluate_subexp_standard): Use it. | |
2131 | ||
2132 | 2021-03-08 Tom Tromey <tom@tromey.com> | |
2133 | ||
2134 | * eval.c (eval_op_scope): New function. | |
2135 | (evaluate_subexp_standard): Use it. | |
2136 | ||
2137 | 2021-03-06 Chernov Sergey <klen_s@mail.ru> | |
2138 | ||
2139 | PR gdb/27528: | |
2140 | * ada-lang.c (ada_fold_name): Use gdb::to_string. | |
2141 | ||
2142 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
2143 | ||
2144 | * dwarf2/sect-names.h (dwarf2_elf_names): Declare. | |
2145 | * dwarf2/read.h (dwarf2_get_dwz_file): Move to dwz.h. | |
2146 | * dwarf2/read.c (dwarf2_elf_names): No longer static. | |
2147 | (locate_dwz_sections, dwz_search_other_debugdirs) | |
2148 | (dwarf2_get_dwz_file): Move to dwz.c. | |
2149 | * dwarf2/dwz.h (dwarf2_get_dwz_file): Move declaration from | |
2150 | read.h. | |
2151 | * dwarf2/dwz.c (locate_dwz_sections, dwz_search_other_debugdirs) | |
2152 | (dwarf2_get_dwz_file): Move from read.c. | |
2153 | ||
2154 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
2155 | ||
2156 | * debuginfod-support.h: Include scoped_fd.h. | |
2157 | ||
2158 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
2159 | ||
2160 | * dwarf2/read.h (dwarf2_get_dwz_file): Add 'require' parameter. | |
2161 | * dwarf2/read.c (dwarf2_get_dwz_file): Add 'require' parameter. | |
2162 | (get_abbrev_section_for_cu, read_attribute_value) | |
2163 | (get_debug_line_section): Update. | |
2164 | * dwarf2/macro.c (dwarf_decode_macro_bytes): Update. | |
2165 | ||
2166 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
2167 | ||
2168 | * dwarf2/sect-names.h (struct dwarf2_section_names) <matches>: New | |
2169 | method. | |
2170 | * dwarf2/read.c (section_is_p): Remove. | |
2171 | (dwarf2_per_bfd::locate_sections) | |
2172 | (dwarf2_per_bfd::locate_sections, locate_dwz_sections) | |
2173 | (locate_v1_virtual_dwo_sections, dwarf2_locate_dwo_sections) | |
2174 | (dwarf2_locate_common_dwp_sections) | |
2175 | (dwarf2_locate_v2_dwp_sections, dwarf2_locate_v5_dwp_sections): | |
2176 | Update. | |
2177 | ||
2178 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
2179 | ||
2180 | * xcoffread.c: Include sect-names.h. | |
2181 | * symfile.h (struct dwarf2_section_names, struct | |
2182 | dwarf2_debug_sections): Move to dwarf2/sect-names.h. | |
2183 | * dwarf2/sect-names.h: New file, from symfile.h. | |
2184 | * dwarf2/read.c: Include sect-names.h. | |
2185 | ||
2186 | 2021-03-06 Tom Tromey <tom@tromey.com> | |
2187 | ||
2188 | * dwarf2/read.c (read_attribute): Make 'abbrev' const. | |
2189 | * dwarf2/abbrev.c (abbrev_table::alloc_abbrev): Remove. | |
2190 | (abbrev_table::read): Update. | |
2191 | * dwarf2/abbrev.h (struct attr_abbrev): Move earlier. | |
2192 | (struct abbrev_info): Reformat. | |
2193 | <attrs>: Now an array. | |
2194 | (struct abbrev_table) <alloc_abbrev>: Remove. | |
2195 | ||
2196 | 2021-03-06 Weimin Pan <weimin.pan@oracle.com> | |
2197 | ||
2198 | * ctfread.c (ctf_psymtab_add_enums): New function. | |
2199 | (ctf_psymtab_type_cb): call ctf_psymtab_add_enums. | |
2200 | ||
2201 | 2021-03-06 Weimin Pan <weimin.pan@oracle.com> | |
2202 | ||
2203 | * ctfread.c (read_func_kind_type): Set up function arguments. | |
2204 | ||
2205 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> | |
2206 | Andrew Burgess <andrew.burgess@embecosm.com> | |
2207 | ||
2208 | * riscv-none-tdep.c: Add 'user-regs.h' and 'target-description.h' | |
2209 | includes. | |
2210 | (riscv_csrset): New static global. | |
2211 | (riscv_update_csrmap): New function. | |
2212 | (riscv_iterate_over_regset_sections): Process CSRs. | |
2213 | ||
2214 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> | |
2215 | ||
2216 | * riscv-tdep.c (riscv_feature_name_csr): Define. | |
2217 | (riscv_feature_name_cpu): Define. | |
2218 | (riscv_feature_name_fpu): Define. | |
2219 | (riscv_feature_name_virtual): Define. | |
2220 | (riscv_xreg_feature): Use riscv_feature_name_cpu. | |
2221 | (riscv_freg_feature): Use riscv_feature_name_fpu. | |
2222 | (riscv_virtual_feature): Use riscv_feature_name_virtual. | |
2223 | (riscv_csr_feature): Use riscv_feature_name_csr. | |
2224 | * riscv-tdep.h (riscv_feature_name_csr): Declare. | |
2225 | ||
2226 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> | |
2227 | Craig Blackmore <craig.blackmore@embecosm.com> | |
2228 | ||
2229 | * Makefile.in (ALL_TARGET_OBS): Add riscv-none-tdep.o. | |
2230 | (ALLDEPFILES): Add riscv-none-tdep.c. | |
2231 | * configure: Regenerate. | |
2232 | * configure.ac (CONFIG_OBS): Add elf-none-tdep.o when BFD has ELF | |
2233 | support. | |
2234 | * configure.tgt (riscv*-*-*): Include riscv-none-tdep.c. | |
2235 | * elf-none-tdep.c: New file. | |
2236 | * elf-none-tdep.h: New file. | |
2237 | * riscv-none-tdep.c: New file. | |
2238 | ||
2239 | 2021-03-05 Craig Blackmore <craig.blackmore@embecosm.com> | |
2240 | Andrew Burgess <andrew.burgess@embecosm.com> | |
2241 | ||
2242 | * corelow.c: Add 'xml-tdesc.h' include. | |
2243 | (core_target::read_description): Load the target description from | |
2244 | the core file when possible. | |
2245 | * fbsd-tdep.c (fbsd_make_corefile_notes): Add target description | |
2246 | note. | |
2247 | * gcore-elf.c: Add 'gdbsupport/tdesc.h' include. | |
2248 | (gcore_elf_make_tdesc_note): New function. | |
2249 | * gcore-elf.h (gcore_elf_make_tdesc_note): Declare. | |
2250 | * linux-tdep.c (linux_make_corefile_notes): Add target description | |
2251 | note. | |
2252 | ||
2253 | 2021-03-05 Andrew Burgess <andrew.burgess@embecosm.com> | |
2254 | ||
2255 | * Makefile.in (SFILES): Add gcore-elf.c. | |
2256 | (HFILES_NO_SRCDIR): Add gcore-elf.h | |
2257 | * configure: Regenerate. | |
2258 | * configure.ac: Add gcore-elf.o to CONFIG_OBS if we have ELF | |
2259 | support. | |
2260 | * fbsd-tdep.c: Add 'gcore-elf.h' include. | |
2261 | (struct fbsd_collect_regset_section_cb_data): Delete. | |
2262 | (fbsd_collect_regset_section_cb): Delete. | |
2263 | (fbsd_collect_thread_registers): Delete. | |
2264 | (struct fbsd_corefile_thread_data): Delete. | |
2265 | (fbsd_corefile_thread): Delete. | |
2266 | (fbsd_make_corefile_notes): Call | |
2267 | gcore_elf_build_thread_register_notes instead of the now deleted | |
2268 | FreeBSD code. | |
2269 | * gcore-elf.c: New file, the content was moved here from | |
2270 | linux-tdep.c, functions were renamed and given minor cleanup. | |
2271 | * gcore-elf.h: New file. | |
2272 | * gcore.c (gcore_find_signalled_thread): Moved here from | |
2273 | linux-tdep.c and given a new name. Minor cleanups. | |
2274 | * gcore.h (gcore_find_signalled_thread): Declare. | |
2275 | * linux-tdep.c: Add 'gcore.h' and 'gcore-elf.h' includes. | |
2276 | (struct linux_collect_regset_section_cb_data): Delete. | |
2277 | (linux_collect_regset_section_cb): Delete. | |
2278 | (linux_collect_thread_registers): Delete. | |
2279 | (linux_corefile_thread): Call | |
2280 | gcore_elf_build_thread_register_notes. | |
2281 | (find_signalled_thread): Delete. | |
2282 | (linux_make_corefile_notes): Call gcore_find_signalled_thread. | |
2283 | ||
2284 | 2021-03-04 Simon Marchi <simon.marchi@polymtl.ca> | |
2285 | ||
2286 | PR gdb/27147 | |
2287 | * sparc-nat.h (sparc_fetch_inferior_registers): Add | |
2288 | process_stratum_target parameter, | |
2289 | sparc_store_inferior_registers): update callers. | |
2290 | * sparc-nat.c (sparc_fetch_inferior_registers, | |
2291 | sparc_store_inferior_registers): Add process_stratum_target | |
2292 | parameter. Switch current thread before calling | |
2293 | sparc_supply_gregset / sparc_collect_rwindow. | |
2294 | (sparc_store_inferior_registers): Likewise. | |
2295 | * sparc-obsd-tdep.c (sparc32obsd_supply_uthread): Add assertion. | |
2296 | (sparc32obsd_collect_uthread): Likewise. | |
2297 | * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): | |
2298 | Add assertion. | |
2299 | * sparc64-obsd-tdep.c (sparc64obsd_collect_uthread, | |
2300 | sparc64obsd_supply_uthread): Add assertion. | |
2301 | ||
2302 | 2021-03-04 Tom Tromey <tromey@adacore.com> | |
2303 | ||
2304 | * ada-lang.c (struct match_data) <found_sym>: Now bool. | |
2305 | (aux_add_nonlocal_symbols): Update. | |
2306 | (ada_add_block_symbols): Change "found_sym" to bool. | |
2307 | ||
2308 | 2021-03-03 Tom Tromey <tromey@adacore.com> | |
2309 | ||
2310 | * ada-lang.c (ada_resolve_function): Update comment. | |
2311 | (is_nonfunction, add_symbols_from_enclosing_procs) | |
2312 | (remove_extra_symbols): Likewise. | |
2313 | (struct match_data): Add constructor, initializers. | |
2314 | (add_nonlocal_symbols): Remove memset. | |
2315 | (aux_add_nonlocal_symbols): Update comment. | |
2316 | (ada_add_block_renamings, add_nonlocal_symbols) | |
2317 | (ada_add_all_symbols): Likewise. | |
2318 | * ada-exp.y (write_var_or_type): Clean up trailing whitespace. | |
2319 | ||
2320 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
2321 | ||
2322 | * ada-lang.c (cast_from_gnat_encoded_fixed_point_type) | |
2323 | (cast_to_gnat_encoded_fixed_point_type): Remove. | |
2324 | (ada_value_cast, ada_evaluate_subexp): Update. | |
2325 | (gnat_encoded_fixed_point_type_info) | |
2326 | (ada_is_gnat_encoded_fixed_point_type) | |
2327 | (gnat_encoded_fixed_point_delta) | |
2328 | (gnat_encoded_fixed_point_scaling_factor): Remove. | |
2329 | * ada-lang.h (ada_is_gnat_encoded_fixed_point_type) | |
2330 | (gnat_encoded_fixed_point_delta) | |
2331 | (gnat_encoded_fixed_point_scaling_factor): Don't declare. | |
2332 | * ada-typeprint.c (print_gnat_encoded_fixed_point_type): Remove. | |
2333 | (ada_print_type): Update. | |
2334 | * ada-valprint.c (ada_value_print_num): Update. | |
2335 | * dwarf2/read.c (ada_get_gnat_encoded_number) | |
2336 | (ada_get_gnat_encoded_ratio): New functions. | |
2337 | (finish_fixed_point_type): Use them. Add parameters. | |
2338 | (GNAT_FIXED_POINT_SUFFIX): New define. | |
2339 | (gnat_encoded_fixed_point_type_info): New function. | |
2340 | (read_base_type): Handle gnat encodings. | |
2341 | ||
2342 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
2343 | ||
2344 | * ada-lang.c (ada_fold_name, ada_variant_discrim_name) | |
2345 | (ada_enum_name, scan_discrim_bound, to_fixed_range_type): Use | |
2346 | std::string. | |
2347 | (GROW_VECT): Remove. | |
2348 | (grow_vect): Remove. | |
2349 | ||
2350 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
2351 | ||
2352 | * ada-lang.h (ada_lookup_symbol_list): Return a vector. | |
2353 | * ada-lang.c (resolve_subexp): Update. | |
2354 | (ada_resolve_function): Accept a vector. | |
2355 | (is_nonfunction, add_defn_to_vec) | |
2356 | (add_symbols_from_enclosing_procs): Likewise. | |
2357 | (num_defns_collected, defns_collected): Remove. | |
2358 | (remove_extra_symbols): Return a vector. | |
2359 | (remove_irrelevant_renamings): Return void. | |
2360 | (ada_add_local_symbols): Accept a vector. | |
2361 | (struct match_data) <obstackp>: Remove. | |
2362 | <resultp>: New member. | |
2363 | (aux_add_nonlocal_symbols): Update. | |
2364 | (ada_add_block_renamings, add_nonlocal_symbols) | |
2365 | (ada_add_all_symbols): Accept a vector. | |
2366 | (ada_lookup_symbol_list_worker, ada_lookup_symbol_list): Return a | |
2367 | vector. | |
2368 | (ada_lookup_symbol): Update. | |
2369 | (ada_add_block_symbols): Accept a vector. | |
2370 | (get_var_value, iterate_over_symbols): Update. | |
2371 | * ada-exp.y (block_lookup, write_var_or_type, write_name_assoc): | |
2372 | Update. | |
2373 | ||
2374 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
2375 | ||
2376 | * ada-lang.c (resolve_subexp): Use any_of and erase-remove idiom. | |
2377 | ||
2378 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
2379 | ||
2380 | * ada-lang.c (struct ada_symbol_cache) <cache_space>: Now an | |
2381 | auto_obstack. | |
2382 | <root>: Initialize. | |
2383 | (ada_pspace_data): Remove destructor. | |
2384 | <sym_cache>: Now a unique_ptr. | |
2385 | (ada_init_symbol_cache, ada_free_symbol_cache): Remove. | |
2386 | (ada_get_symbol_cache): Use 'new'. | |
2387 | (ada_clear_symbol_cache): Rewrite. | |
2388 | ||
2389 | 2021-03-02 Tom Tromey <tromey@adacore.com> | |
2390 | ||
2391 | * ada-lang.c (add_nonlocal_symbols): Handle case where objfile->sf | |
2392 | is null. | |
2393 | ||
2394 | 2021-02-27 Lancelot Six <lsix@lancelotsix.com> | |
2395 | ||
2396 | PR gdb/27393 | |
2397 | * source.c (add_path): Skip empty dirnames. | |
2398 | ||
2399 | 2021-02-25 Kevin Buettner <kevinb@redhat.com> | |
2400 | ||
2401 | * nat/aarch64-sve-linux-ptrace.h: Add comment regarding | |
2402 | include order for <sys/ptrace.h> and <asm/ptrace.h>. | |
2403 | ||
2404 | 2021-02-25 Simon Marchi <simon.marchi@polymtl.ca> | |
2405 | ||
2406 | PR gdb/26861 | |
2407 | * target.c (target_mourn_inferior): Only compare pids in | |
2408 | target_mourn_inferior. | |
2409 | ||
2410 | 2021-02-25 Jan Matyas <jmatyas@codasip.com> | |
2411 | ||
2412 | PR gdb/26819 | |
2413 | * remote.c (remote_target::start_remote): Ensure the single | |
2414 | thread, automatically added for remote targets without the | |
2415 | concept of threading, is initially in set to the "resumed" | |
2416 | state. | |
2417 | * remote.c (remote_target::add_current_inferior_and_thread): | |
2418 | Add return value - return the main thread. | |
2419 | ||
2420 | 2021-02-25 Jan Vrany <jan.vrany@labware.com> | |
2421 | ||
2422 | * gdb/mi/mi-interp.c (mi_traceframe_changed): Remove trailing \n from output. | |
2423 | (mi_tsv_created): Likewise. | |
2424 | (mi_tsv_deleted): Likewise. | |
2425 | ||
2426 | 2021-02-25 Tom de Vries <tdevries@suse.de> | |
2427 | ||
2428 | PR symtab/27354 | |
2429 | * dwarf2/read.c (open_and_init_dwo_file): Use rcuh_kind::COMPILE as | |
2430 | section_kind for &dwo_file->sections.info. | |
2431 | ||
2432 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> | |
2433 | ||
2434 | PR fortran/26155 | |
2435 | * f-lang.c (fortran_argument_convert): Delete declaration. | |
2436 | (fortran_prepare_argument): New function. | |
2437 | (evaluate_subexp_f): Move logic to new function | |
2438 | fortran_prepare_argument. | |
2439 | ||
2440 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> | |
2441 | ||
2442 | * f-exp.y (f77_keywords): Add 'associated'. | |
2443 | * f-lang.c (fortran_associated): New function. | |
2444 | (evaluate_subexp_f): Handle FORTRAN_ASSOCIATED. | |
2445 | (operator_length_f): Likewise. | |
2446 | (print_unop_or_binop_subexp_f): New function. | |
2447 | (print_subexp_f): Make use of print_unop_or_binop_subexp_f for | |
2448 | FORTRAN_ASSOCIATED, FORTRAN_LBOUND, and FORTRAN_UBOUND. | |
2449 | (dump_subexp_body_f): Handle FORTRAN_ASSOCIATED. | |
2450 | (operator_check_f): Likewise. | |
2451 | * std-operator.def: Add FORTRAN_ASSOCIATED. | |
2452 | ||
2453 | 2021-02-25 Andrew Burgess <andrew.burgess@embecosm.com> | |
2454 | ||
2455 | * f-exp.y (fortran_operators): Add ".xor.". | |
2456 | ||
2457 | 2021-02-24 Tom de Vries <tdevries@suse.de> | |
2458 | ||
2459 | PR symtab/27336 | |
2460 | * dwarf2/attribute.c (attribute::form_is_signed): New function | |
2461 | factored out of ... | |
2462 | * dwarf2/attribute.h (attribute::as_signed): ... here. | |
2463 | (attribute::is_nonnegative, attribute::as_nonnegative): New function. | |
2464 | (attribute::form_is_signed): Declare. | |
2465 | * dwarf2/read.c (new_symbol): Use is_nonnegative and as_nonnegative | |
2466 | for DW_AT_decl_file. | |
2467 | ||
2468 | 2021-02-24 Kevin Buettner <kevinb@redhat.com> | |
2469 | ||
2470 | * nat/aarch64-linux-hw-point.c: Add comment regarding include | |
2471 | order for <sys/ptrace.h> and <asm/ptrace.h>. | |
2472 | ||
2473 | 2021-02-24 Kevin Buettner <kevinb@redhat.com> | |
2474 | ||
2475 | * nat/aarch64-linux-hw-point.c: Include <asm/ptrace.h> after | |
2476 | <sys/ptrace.h>. | |
2477 | ||
2478 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
2479 | ||
2480 | * exec.c (set_section_command): Move variable declarations into | |
2481 | the function body, and use std::string instead of a fixed size | |
2482 | buffer. | |
2483 | ||
2484 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
2485 | ||
2486 | * exec.c (exec_target::get_section_table): Delete member function. | |
2487 | (section_table_read_available_memory): Use current_top_target, not | |
2488 | just the exec_ops target. | |
2489 | * target-delegates.c: Regenerate. | |
2490 | * target.c (default_get_section_table): New function. | |
2491 | * target.h (target_ops::get_section_table): Change default | |
2492 | behaviour to call default_get_section_table. | |
2493 | (default_get_section_table): Declare. | |
2494 | ||
2495 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
2496 | ||
2497 | * exec.c (exec_target::close): Call new clear_target_sections | |
2498 | function. | |
2499 | (program_space::add_target_sections): Update name of member | |
2500 | variable. | |
2501 | (program_space::add_target_sections): Update name of member | |
2502 | variable. | |
2503 | (program_space::remove_target_sections): Likewise. | |
2504 | (exec_one_fork): Use new target_sections member function. | |
2505 | (exec_target::get_section_table): Likewise. | |
2506 | (exec_target::files_info): Likewise. | |
2507 | (set_section_command): Likewise. | |
2508 | (exec_set_section_address): Likewise. | |
2509 | (exec_target::has_memory): Use new target_sections member | |
2510 | function. | |
2511 | * progspace.h (program_space::clear_target_sections): New member | |
2512 | function. | |
2513 | (program_space::target_sections): Rename member variable to | |
2514 | m_target_sections, replace with a new member function. | |
2515 | (program_space::m_target_sections): New member variable. | |
2516 | * solib-dsbt.c (scan_dyntag): Use new member function. | |
2517 | * solib-svr4.c (scan_dyntag): Likewise. | |
2518 | ||
2519 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
2520 | ||
2521 | * gdb/bfd-target.c (class target_bfd) <get_section_table>: Make | |
2522 | return type const. | |
2523 | * gdb/exec.c (struct exec_target) <get_section_table>: Likewise. | |
2524 | (section_table_read_available_memory): Make local const. | |
2525 | (exec_target::xfer_partial): Make local const. | |
2526 | (print_section_info): Make parameter const. | |
2527 | * gdb/exec.h (print_section_info): Likewise. | |
2528 | * gdb/ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Make local | |
2529 | const. | |
2530 | * gdb/record-btrace.c (record_btrace_target::xfer_partial): | |
2531 | Likewise. | |
2532 | * gdb/remote.c (remote_target::remote_xfer_live_readonly_partial): | |
2533 | Likewise. | |
2534 | * gdb/s390-tdep.c (s390_load): Likewise. | |
2535 | * gdb/solib-dsbt.c (scan_dyntag): Likewise. | |
2536 | * gdb/solib-svr4.c (scan_dyntag): Likewise. | |
2537 | * gdb/target-debug.h (target_debug_print_target_section_table_p): | |
2538 | Rename to... | |
2539 | (target_debug_print_const_target_section_table_p): ...this. | |
2540 | * gdb/target-delegates.c: Regenerate. | |
2541 | * gdb/target.c (target_get_section_table): Make return type const. | |
2542 | (target_section_by_addr): Likewise. Also make some locals const. | |
2543 | (memory_xfer_partial_1): Make some locals const. | |
2544 | * gdb/target.h (struct target_ops) <get_section_table>: Make | |
2545 | return type const. | |
2546 | (target_section_by_addr): Likewise. | |
2547 | (target_get_section_table): Likewise. | |
2548 | ||
2549 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
2550 | ||
2551 | * NEWS: Mention new 'maint info target-sections' command. | |
2552 | * maint.c (maintenance_info_target_sections): New function. | |
2553 | (_initialize_maint_cmds): Register new command. | |
2554 | ||
2555 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
2556 | ||
2557 | * riscv-tdep.c (riscv_features_from_gdbarch_info): Rename to... | |
2558 | (riscv_features_from_bfd): ...this. Change parameter type to | |
2559 | 'bfd*', and update as required. | |
2560 | (riscv_find_default_target_description): Update call to | |
2561 | riscv_features_from_bfd. Select a default xlen based on | |
2562 | info.bfd_arch_info. | |
2563 | (riscv_gdbarch_init): Update call to riscv_features_from_bfd. | |
2564 | ||
2565 | 2021-02-24 Andrew Burgess <andrew.burgess@embecosm.com> | |
2566 | ||
2567 | * eval.c (evaluate_subexp_standard): Call value_ind for points to | |
2568 | dynamic types in UNOP_IND. | |
2569 | ||
2570 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> | |
2571 | ||
2572 | PR gdb/26828 | |
2573 | * dwarf2/read.c (dwarf2_queue_guard) <dwarf2_queue_guard>: | |
2574 | Instantiate queue. | |
2575 | (~dwarf2_queue_guard): Clear queue. | |
2576 | (queue_comp_unit): Assert that queue is | |
2577 | instantiated. | |
2578 | (process_queue): Adjust. | |
2579 | * dwarf2/read.h (struct dwarf2_per_bfd) <queue>: Make optional. | |
2580 | ||
2581 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> | |
2582 | ||
2583 | PR gdb/26828 | |
2584 | * dwarf2/read.c (maybe_queue_comp_unit): Check if CU is expanded | |
2585 | to decide whether or not to enqueue it for expansion. | |
2586 | (follow_die_offset, follow_die_sig_1): Ensure we load the DIEs | |
2587 | after calling maybe_queue_comp_unit. | |
2588 | ||
2589 | 2021-02-23 Simon Marchi <simon.marchi@polymtl.ca> | |
2590 | ||
2591 | * linux-nat.c (linux_nat_filter_event): Return void. | |
2592 | ||
2593 | 2021-02-22 Tom Tromey <tromey@adacore.com> | |
2594 | ||
2595 | * solib-svr4.c (enable_break): Update. | |
2596 | * bfd-target.c (class target_bfd) <target_bfd>: Change parameter | |
2597 | type. | |
2598 | (target_bfd_reopen): Change parameter type. | |
2599 | * bfd-target.h (target_bfd_reopen): Change parameter type. | |
2600 | ||
2601 | 2021-02-22 Simon Marchi <simon.marchi@polymtl.ca> | |
2602 | ||
2603 | * thread.c (add_thread_silent): Add assert. | |
2604 | (find_thread_ptid): Add assert. | |
2605 | ||
2606 | 2021-02-22 Simon Marchi <simon.marchi@polymtl.ca> | |
2607 | ||
2608 | PR gdb/27435 | |
2609 | * inf-ptrace.c (struct target_unpusher): Move to target.h. | |
2610 | (target_unpush_up): Likewise. | |
2611 | * procfs.c (procfs_target::attach): Push target early. Use | |
2612 | target_unpush_up to unpush target in case of error. | |
2613 | * target.h (struct target_unpusher): Move here. | |
2614 | (target_unpush_up): Likewise. | |
2615 | ||
2616 | 2021-02-19 Kevin Buettner <kevinb@redhat.com> | |
2617 | ||
2618 | * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h" | |
2619 | (which in turn includes <gnulib/config.h>) before include | |
2620 | of <signal.h>. | |
2621 | ||
2622 | 2021-02-19 Nelson Chu <nelson.chu@sifive.com> | |
2623 | ||
2624 | PR 27158 | |
2625 | * riscv-tdep.c (decode_ci_type_insn): Updated encoding macros. | |
2626 | (decode_j_type_insn): Likewise. | |
2627 | (decode_cj_type_insn): Likewise. | |
2628 | (decode_b_type_insn): Likewise. | |
2629 | (decode): Likewise. | |
2630 | ||
2631 | 2021-02-18 Tom Tromey <tom@tromey.com> | |
2632 | ||
2633 | * expression.h (struct expression) <evaluate>: Declare method. | |
2634 | * eval.c (evaluate_subexp): Simplify. | |
2635 | (expression::evaluate): New method. | |
2636 | (evaluate_expression, evaluate_type): Use expression::evaluate. | |
2637 | ||
2638 | 2021-02-17 Kevin Buettner <kevinb@redhat.com> | |
2639 | ||
2640 | * ada-lang.c (ada_fold_name): Check for non-empty string prior | |
2641 | to accessing it. | |
2642 | (ada_lookup_name_info): Likewise. | |
2643 | ||
2644 | 2021-02-13 Mike Frysinger <vapier@gentoo.org> | |
2645 | ||
2646 | * aclocal.m4: Regenerate. | |
2647 | ||
2648 | 2021-02-12 Tom de Vries <tdevries@suse.de> | |
2649 | ||
2650 | PR threads/26228 | |
2651 | * linux-nat.c (lin_thread_get_thread_signals): Remove. | |
2652 | (lin_thread_signals): New static var. | |
2653 | (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal): | |
2654 | New function. | |
2655 | * linux-nat.h (lin_thread_get_thread_signals): Remove. | |
2656 | (lin_thread_get_thread_signal_num, lin_thread_get_thread_signal): | |
2657 | Declare. | |
2658 | * linux-thread-db.c (check_thread_signals): Use | |
2659 | lin_thread_get_thread_signal_num and lin_thread_get_thread_signal. | |
2660 | ||
2661 | 2021-02-12 Andrew Burgess <andrew.burgess@embecosm.com> | |
2662 | ||
2663 | * f-exp.y (f77_keywords): Add allocated. | |
2664 | * f-lang.c (evaluate_subexp_f): Handle UNOP_FORTRAN_ALLOCATED. | |
2665 | (operator_length_f): Likewise. | |
2666 | (print_subexp_f): Likewise. | |
2667 | (dump_subexp_body_f): Likewise. | |
2668 | (operator_check_f): Likewise. | |
2669 | * std-operator.def (UNOP_FORTRAN_ALLOCATED): New operator. | |
2670 | ||
2671 | 2021-02-11 Tom de Vries <tdevries@suse.de> | |
2672 | ||
2673 | PR symtab/27353 | |
2674 | * dwarf2/attribute.c (attribute::form_requires_reprocessing): | |
2675 | Return true for DW_FORM_strx. | |
2676 | ||
2677 | 2021-02-11 Tom Tromey <tromey@adacore.com> | |
2678 | ||
2679 | PR gdb/27383: | |
2680 | * parse.c (write_exp_symbol_reference): Write sym.block. | |
2681 | ||
2682 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> | |
2683 | ||
2684 | * NEWS: Mention changes to 'maint info sections'. | |
2685 | * maint.c (match_substring): Return a bool, fix whitespace issue. | |
2686 | (struct single_bfd_flag_info): New struct. | |
2687 | (bfd_flag_info): New static global. | |
2688 | (match_bfd_flags): Return a bool, use bfd_flag_info. | |
2689 | (print_bfd_flags): Use bfd_flag_info. | |
2690 | (maint_print_section_info): Delete trailing whitespace. | |
2691 | (struct maint_info_sections_opts): New struct. | |
2692 | (maint_info_sections_option_defs): New static global. | |
2693 | (maint_info_sections_completer): New function. | |
2694 | (maintenance_info_sections): Use option parsing mechanism. | |
2695 | (_initialize_maint_cmds): Update command help text for 'maint info | |
2696 | sections' and register a command completer. | |
2697 | ||
2698 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> | |
2699 | ||
2700 | * maint.c (print_bfd_section_info_maybe_relocated): Delete, | |
2701 | functionality merged into... | |
2702 | (maint_print_all_sections): ...this new function. | |
2703 | (maintenance_info_sections): Make use of maint_print_all_sections, | |
2704 | allow all objects to be printed even where there's no executable. | |
2705 | ||
2706 | 2021-02-11 Andrew Burgess <andrew.burgess@embecosm.com> | |
2707 | ||
2708 | * breakpoint.c (resolve_sal_pc): Make use of | |
2709 | bound_minimal_symbol::obj_section. | |
2710 | * maint.c (maintenance_translate_address): Likewise. | |
2711 | * minsyms.c (minimal_symbol_upper_bound): Likewise. | |
2712 | * minsyms.h (struct bound_minimal_symbol) <obj_section>: New | |
2713 | member function. | |
2714 | * printcmd.c (info_address_command): Make use of | |
2715 | bound_minimal_symbol::obj_section. | |
2716 | ||
2717 | 2021-02-11 Alan Modra <amodra@gmail.com> | |
2718 | ||
2719 | * arm-symbian-tdep.c: Delete. | |
2720 | * NEWS: Mention arm-symbian removal. | |
2721 | * Makefile.in: Remove arm-symbian-tdep entries. | |
2722 | * configure.tgt: Remove arm*-*-symbianelf*. | |
2723 | * doc/gdb.texinfo: Remove mention of SymbianOS. | |
2724 | * osabi.c (gdb_osabi_names): Remove "Symbian". | |
2725 | * osabi.h (enum gdb_osabi): Remove GDB_OSABI_SYMBIAN. | |
2726 | * testsuite/gdb.base/ending-run.exp: Remove E32Main handling. | |
2727 | * testsuite/gdb.ada/catch_ex_std.exp: Remove arm*-*-symbianelf* | |
2728 | handling. | |
2729 | * testsuite/gdb.base/dup-sect.exp: Likewise. | |
2730 | * testsuite/gdb.base/long_long.exp: Likewise. | |
2731 | * testsuite/gdb.base/solib-weak.exp: Likewise. | |
2732 | * testsuite/gdb.guile/scm-section-script.exp: Likewise. | |
2733 | * testsuite/gdb.python/py-section-script.exp: Likewise. | |
2734 | * testsuite/lib/dwarf.exp: Likewise. | |
2735 | * testsuite/lib/gdb.exp: Likewise. | |
2736 | ||
2737 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> | |
2738 | ||
2739 | * f-exp.y (UNOP_OR_BINOP_INTRINSIC): New token. | |
2740 | (exp): New pattern using UNOP_OR_BINOP_INTRINSIC. | |
2741 | (one_or_two_args): New pattern. | |
2742 | (f77_keywords): Add lbound and ubound. | |
2743 | * f-lang.c (fortran_bounds_all_dims): New function. | |
2744 | (fortran_bounds_for_dimension): New function. | |
2745 | (evaluate_subexp_f): Handle FORTRAN_LBOUND and FORTRAN_UBOUND. | |
2746 | (operator_length_f): Likewise. | |
2747 | (print_subexp_f): Likewise. | |
2748 | (dump_subexp_body_f): Likewise. | |
2749 | (operator_check_f): Likewise. | |
2750 | * std-operator.def (FORTRAN_LBOUND): Define. | |
2751 | (FORTRAN_UBOUND): Define. | |
2752 | ||
2753 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> | |
2754 | ||
2755 | * coff-pe-read.c (add_pe_forwarded_sym): Make use of section_index | |
2756 | and set_section_index member functions where appropriate. | |
2757 | * coffread.c (coff_symtab_read): Likewise. | |
2758 | (process_coff_symbol): Likewise. | |
2759 | * ctfread.c (set_symbol_address): Likewise. | |
2760 | * dwarf2/read.c (add_partial_symbol): Likewise. | |
2761 | (var_decode_location): Likewise. | |
2762 | * language.c: Likewise. | |
2763 | * minsyms.c (minimal_symbol_reader::record_full): Likewise. | |
2764 | (compact_minimal_symbols): Likewise. | |
2765 | (minimal_symbol_upper_bound): Likewise. | |
2766 | * objfiles.c (relocate_one_symbol): Likewise. | |
2767 | * psympriv.h (partial_symbol::obj_section): Likewise. | |
2768 | (partial_symbol::address): Likewise. | |
2769 | * psymtab.c (partial_symtab::add_psymbol): Likewise. | |
2770 | * stabsread.c (scan_file_globals): Likewise. | |
2771 | * symmisc.c (dump_msymbols): Likewise. | |
2772 | * symtab.c (general_symbol_info::obj_section): Likewise. | |
2773 | (fixup_section): Likewise. | |
2774 | (get_msymbol_address): Likewise. | |
2775 | * symtab.h (general_symbol_info::section): Rename to... | |
2776 | (general_symbol_info::m_section): ...this. | |
2777 | (general_symbol_info::set_section_index): New member function. | |
2778 | (general_symbol_info::section_index): Likewise. | |
2779 | (SYMBOL_SECTION): Delete. | |
2780 | (MSYMBOL_VALUE_ADDRESS): Make use of section_index and | |
2781 | set_section_index member functions where appropriate. | |
2782 | (MSYMBOL_SECTION): Delete. | |
2783 | (symbol::symbol): Update to initialize 'm_section'. | |
2784 | * xcoffread.c (read_xcoff_symtab): Make use of set_section_index. | |
2785 | (process_xcoff_symbol): Likewise. | |
2786 | ||
2787 | 2021-02-10 Andrew Burgess <andrew.burgess@embecosm.com> | |
2788 | ||
2789 | * breakpoint.c (resolve_sal_pc): Replace SYMBOL_OBJ_SECTION and | |
2790 | MSYMBOL_OBJ_SECTION. | |
2791 | * findvar.c (language_defn::read_var_value): Likewise. | |
2792 | * infcmd.c (jump_command): Likewise. | |
2793 | * linespec.c (minsym_found): Likewise. | |
2794 | * maint.c (maintenance_translate_address): Likewise. | |
2795 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise. | |
2796 | (minimal_symbol_upper_bound): Likewise. | |
2797 | * parse.c (find_minsym_type_and_address): Likewise. | |
2798 | (operator_check_standard): Likewise. | |
2799 | * printcmd.c (info_address_command): Likewise. | |
2800 | * symmisc.c (dump_msymbols): Likewise. | |
2801 | (print_symbol): Likewise. | |
2802 | * symtab.c (general_symbol_info::obj_section): Define new | |
2803 | function. | |
2804 | (fixup_symbol_section): Replace SYMBOL_OBJ_SECTION. | |
2805 | (find_pc_sect_compunit_symtab): Likewise. | |
2806 | (find_function_start_sal): Likewise. | |
2807 | (skip_prologue_sal): Replace SYMBOL_OBJ_SECTION and | |
2808 | MSYMBOL_OBJ_SECTION. | |
2809 | * symtab.h (struct general_symbol_info) <obj_section>: Declare new | |
2810 | function. | |
2811 | (SYMBOL_OBJ_SECTION): Delete. | |
2812 | (MSYMBOL_OBJ_SECTION): Delete. | |
2813 | ||
2814 | 2021-02-09 Tom Tromey <tom@tromey.com> | |
2815 | ||
2816 | * stap-probe.c (stap_parse_argument_conditionally): Fix typo. | |
2817 | ||
2818 | 2021-02-09 Tom de Vries <tdevries@suse.de> | |
2819 | ||
2820 | PR symtab/27341 | |
2821 | * dwarf2/read.c (read_array_type): Return NULL when not being able to | |
2822 | construct an array type. Add assert to ensure that element_type is | |
2823 | not being modified. | |
2824 | ||
2825 | 2021-02-09 Andrew Burgess <andrew.burgess@embecosm.com> | |
2826 | ||
2827 | * gcore.c (struct gcore_collect_regset_section_cb_data): Delete. | |
2828 | (gcore_collect_regset_section_cb): Delete. | |
2829 | (gcore_collect_thread_registers): Delete. | |
2830 | (gcore_build_thread_register_notes): Delete. | |
2831 | (gcore_find_signalled_thread): Delete. | |
2832 | * gcore.h: Remove 'gdbsupport/gdb_signals.h' include and delete | |
2833 | 'gdbarch' and 'thread_info' declarations. | |
2834 | (gcore_build_thread_register_notes): Delete declaration. | |
2835 | (gcore_find_signalled_thread): Likewise. | |
2836 | * fbsd-tdep.c: Remove 'gcore.h' include. | |
2837 | (struct fbsd_collect_regset_section_cb_data): New struct. | |
2838 | (fbsd_collect_regset_section_cb): New function. | |
2839 | (fbsd_collect_thread_registers): New function. | |
2840 | (struct fbsd_corefile_thread_data): New struct. | |
2841 | (fbsd_corefile_thread): New function. | |
2842 | (fbsd_make_corefile_notes): Call FreeBSD specific code. | |
2843 | * linux-tdep.c: Remove 'gcore.h' include. | |
2844 | (struct linux_collect_regset_section_cb_data): New struct. | |
2845 | (linux_collect_regset_section_cb): New function. | |
2846 | (linux_collect_thread_registers): New function. | |
2847 | (linux_corefile_thread): Call Linux specific code. | |
2848 | (find_signalled_thread): New function. | |
2849 | (linux_make_corefile_notes): Call find_signalled_thread. | |
2850 | ||
2851 | 2021-02-09 Tom Tromey <tromey@adacore.com> | |
2852 | ||
2853 | * ada-lang.c (coerce_unspec_val_to_type): Avoid making lazy | |
2854 | not_lval value. | |
2855 | * value.c (value_contents_copy_raw): Now static. | |
2856 | * value.h (value_contents_copy_raw): Don't declare. | |
2857 | ||
2858 | 2021-02-09 Tom Tromey <tromey@adacore.com> | |
2859 | ||
2860 | * gdbtypes.c (resolve_dynamic_struct): Handle structure with no | |
2861 | fields. | |
2862 | ||
2863 | 2021-02-08 Shahab Vahedi <shahab@synopsys.com> | |
2864 | ||
2865 | PR tdep/27369 | |
2866 | * arc-linux-tdep.c (handle_atomic_sequence): New. | |
2867 | (arc_linux_software_single_step): Call handle_atomic_sequence(). | |
2868 | ||
2869 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
2870 | ||
2871 | * python/py-tui.c (gdbpy_tui_window) <is_valid>: New member | |
2872 | function. | |
2873 | (REQUIRE_WINDOW): Call is_valid member function. | |
2874 | (REQUIRE_WINDOW_FOR_SETTER): New define. | |
2875 | (gdbpy_tui_is_valid): Call is_valid member function. | |
2876 | (gdbpy_tui_set_title): Call REQUIRE_WINDOW_FOR_SETTER instead. | |
2877 | * tui/tui-data.h (struct tui_win_info) <is_visible>: Check | |
2878 | tui_active too. | |
2879 | * tui/tui-layout.c (tui_apply_current_layout): Add an assert. | |
2880 | * tui/tui.c (tui_enable): Move setting of tui_active earlier in | |
2881 | the function. | |
2882 | ||
2883 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
2884 | ||
2885 | * python/py-tui.c (gdbpy_tui_set_title): Check that the new value | |
2886 | for the title is not nullptr. | |
2887 | ||
2888 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
2889 | ||
2890 | * tui-layout.c (saved_tui_windows): Delete. | |
2891 | (tui_apply_current_layout): Don't make use of saved_tui_windows, | |
2892 | call new get_windows member function instead. | |
2893 | (tui_get_window_by_name): Check in tui_windows. | |
2894 | (tui_layout_window::apply): Don't add to tui_windows. | |
2895 | * tui-layout.h (tui_layout_base::get_windows): New member function. | |
2896 | (tui_layout_window::get_windows): Likewise. | |
2897 | (tui_layout_split::get_windows): Likewise. | |
2898 | ||
2899 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
2900 | ||
2901 | * tui/tui-layout.c (tui_apply_current_layout): Restore the delete | |
2902 | of the window objects. | |
2903 | ||
2904 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
2905 | ||
2906 | * python/python.c (gdbpy_print_stack): Reformat an error message. | |
2907 | ||
2908 | 2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
2909 | ||
2910 | * tui/tui-interp.c (tui_command_line_handler): New function. | |
2911 | (tui_interp::resume): Register tui_command_line_handler as the | |
2912 | input_handler. | |
2913 | * tui/tui-io.c (tui_inject_newline_into_command_window): New | |
2914 | function. | |
2915 | (tui_getc_1): Delete handling of '\n' and '\r'. | |
2916 | * tui-io.h (tui_inject_newline_into_command_window): Declare. | |
2917 | ||
2918 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> | |
2919 | ||
2920 | * tui/tui-regs.c (tui_data_window::display_registers_from): | |
2921 | Mark invisible register sub windows. | |
2922 | (tui_data_window::check_register_values): Ignore invisible | |
2923 | register sub windows. | |
2924 | ||
2925 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> | |
2926 | ||
2927 | * tui/tui-regs.c (tui_data_item_window::rerender): Don't call | |
2928 | n_spaces with a negative value. | |
2929 | ||
2930 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> | |
2931 | ||
2932 | * tui/tui-regs.c (tui_data_window::display_registers_from): | |
2933 | Add refresh_window call. | |
2934 | ||
2935 | 2021-02-07 Hannes Domani <ssbssa@yahoo.de> | |
2936 | ||
2937 | * python/py-frame.c (frapy_richcompare): Compare frame_id_is_next. | |
2938 | ||
2939 | 2021-02-05 Simon Marchi <simon.marchi@polymtl.ca> | |
2940 | ||
2941 | * symmisc.c (std_in, std_out, std_err): Remove. | |
2942 | (_initialize_symmisc): Don't set std_in, std_out and std_err. | |
2943 | ||
2944 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
2945 | ||
2946 | PR breakpoints/27330 | |
2947 | * breakpoint.c (create_exception_master_breakpoint): Handle case that | |
2948 | glibc object file has debug info. | |
2949 | ||
2950 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
2951 | ||
2952 | PR symtab/27333 | |
2953 | * dwarf2/read.c (process_psymtab_comp_unit): Handle DW_TAG_type_unit. | |
2954 | ||
2955 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
2956 | ||
2957 | PR breakpoints/27313 | |
2958 | * break-catch-syscall.c (catch_syscall_split_args): Reject negative | |
2959 | syscall numbers. | |
2960 | ||
2961 | 2021-02-05 Tom Tromey <tom@tromey.com> | |
2962 | ||
2963 | * compile/compile-c-support.c (get_compile_context) | |
2964 | (c_get_compile_context, cplus_get_compile_context): Change return | |
2965 | type. | |
2966 | * language.c (language_defn::get_compile_instance): New method. | |
2967 | * language.h (language_defn::get_compile_instance): Change return | |
2968 | type. No longer inline. | |
2969 | * c-lang.c (c_language::get_compile_instance): Change return type. | |
2970 | (cplus_language::get_compile_instance): Change return type. | |
2971 | * c-lang.h (c_get_compile_context, cplus_get_compile_context): | |
2972 | Change return type. | |
2973 | * compile/compile.c (compile_to_object): Update. | |
2974 | ||
2975 | 2021-02-05 Tom Tromey <tom@tromey.com> | |
2976 | ||
2977 | * parser-defs.h (write_exp_symbol_reference): Declare. | |
2978 | * parse.c (write_exp_symbol_reference): New function. | |
2979 | * p-exp.y (variable): Use write_exp_symbol_reference. | |
2980 | * m2-exp.y (variable): Use write_exp_symbol_reference. | |
2981 | * f-exp.y (variable): Use write_exp_symbol_reference. | |
2982 | * d-exp.y (PrimaryExpression): Use write_exp_symbol_reference. | |
2983 | * c-exp.y (variable): Use write_exp_symbol_reference. | |
2984 | ||
2985 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
2986 | ||
2987 | PR exp/27265 | |
2988 | * valarith.c (complex_binop): Throw an error if complex type can't | |
2989 | be created. | |
2990 | ||
2991 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
2992 | ||
2993 | PR symtab/27307 | |
2994 | * dwarf2/read.c (create_cus_from_debug_names_list): Add missing | |
2995 | return. | |
2996 | ||
2997 | 2021-02-05 Tom de Vries <tdevries@suse.de> | |
2998 | ||
2999 | * dwarf2/read.c (create_cus_from_debug_names_list): Fix indentation. | |
3000 | ||
3001 | 2021-02-04 Mike Frysinger <vapier@gentoo.org> | |
3002 | ||
3003 | * configure.tgt (riscv*-*-*): Set gdb_sim. | |
3004 | ||
3005 | 2021-02-04 Simon Marchi <simon.marchi@polymtl.ca> | |
3006 | ||
3007 | * target.c (target_is_non_stop_p): Return bool. | |
3008 | * target.h (target_is_non_stop_p): Return bool. | |
3009 | ||
3010 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> | |
3011 | ||
3012 | * record-full.c (record_full_async_inferior_event_handler): | |
3013 | Don't clear async event handler. | |
3014 | (record_full_base_target::wait): Clear async event handler at | |
3015 | beginning. | |
3016 | ||
3017 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> | |
3018 | ||
3019 | * record-btrace.c (record_btrace_handle_async_inferior_event): | |
3020 | Don't clear async event handler. | |
3021 | (record_btrace_target::wait): Clear async event handler at | |
3022 | beginning. | |
3023 | ||
3024 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> | |
3025 | ||
3026 | * remote.c (remote_target::wait): Clear async event handler at | |
3027 | beginning, mark if needed at the end. | |
3028 | (remote_async_inferior_event_handler): Don't set or clear async | |
3029 | event handler. | |
3030 | ||
3031 | 2021-02-04 Simon Marchi <simon.marchi@efficios.com> | |
3032 | ||
3033 | * async-event.h (async_event_handler_func): Add documentation. | |
3034 | * async-event.c (check_async_event_handlers): Don't clear | |
3035 | async_event_handler ready flag. | |
3036 | * infrun.c (infrun_async_inferior_event_handler): Clear ready | |
3037 | flag. | |
3038 | * record-btrace.c (record_btrace_handle_async_inferior_event): | |
3039 | Likewise. | |
3040 | * record-full.c (record_full_async_inferior_event_handler): | |
3041 | Likewise. | |
3042 | * remote-notif.c (remote_async_get_pending_events_handler): | |
3043 | Likewise. | |
3044 | * remote.c (remote_async_inferior_event_handler): Likewise. | |
3045 | ||
3046 | 2021-02-03 Simon Marchi <simon.marchi@polymtl.ca> | |
3047 | ||
3048 | * infrun.c (handle_inferior_event): Move stop_soon variable to | |
3049 | inner scope. | |
3050 | ||
3051 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
3052 | ||
3053 | * infcmd.c (detach_command): Hold strong reference to target, and | |
3054 | if all-stop on entry, restart threads on exit. | |
3055 | * infrun.c (switch_back_to_stepped_thread): Factor out bits to ... | |
3056 | (restart_stepped_thread): ... this new function. Also handle | |
3057 | trap_expected. | |
3058 | (restart_after_all_stop_detach): New function. | |
3059 | * infrun.h (restart_after_all_stop_detach): Declare. | |
3060 | ||
3061 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
3062 | ||
3063 | * infrun.c (struct step_over_info): Initialize fields. | |
3064 | (prepare_for_detach): Handle ongoing in-line step over. | |
3065 | ||
3066 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
3067 | ||
3068 | * linux-nat.c (linux_nat_target::detach): Remove breakpoints | |
3069 | here... | |
3070 | * remote.c (remote_target::remote_detach_1): ... and here ... | |
3071 | * target.c (target_detach): ... instead of here. | |
3072 | * target.h (target_ops::detach): Add comment. | |
3073 | ||
3074 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
3075 | ||
3076 | * infrun.c (struct wait_one_event): Move higher up. | |
3077 | (prepare_for_detach): Abort in-progress displaced steps instead of | |
3078 | letting them complete. | |
3079 | (handle_one): If the inferior is detaching, don't add the thread | |
3080 | back to the global step-over chain. | |
3081 | (restart_threads): Don't restart threads if detaching. | |
3082 | (handle_signal_stop): Remove inferior::detaching reference. | |
3083 | ||
3084 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
3085 | ||
3086 | * infrun.c (prepare_for_detach): Don't release scoped_restore | |
3087 | before returning. | |
3088 | ||
3089 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
3090 | ||
3091 | * infrun.c (handle_one): New function, factored out from ... | |
3092 | (stop_all_threads): ... here. | |
3093 | ||
3094 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
3095 | ||
3096 | * remote.c (remote_notif_stop_ack): Don't error out on | |
3097 | TARGET_WAITKIND_IGNORE; instead, just ignore the notification. | |
3098 | (remote_target::discard_pending_stop_replies): Don't delete | |
3099 | in-flight notification; instead, clear its contents. | |
3100 | ||
3101 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
3102 | ||
3103 | * remote.c (extended_remote_target::attach): Set target async in | |
3104 | the target-non-stop path too. | |
3105 | ||
3106 | 2021-02-03 Pedro Alves <pedro@palves.net> | |
3107 | ||
3108 | PR gdb/27055 | |
3109 | * infrun.c (handle_signal_stop): Move main context_switch call | |
3110 | earlier, before STOP_QUIETLY_NO_SIGSTOP. | |
3111 | ||
3112 | 2021-02-02 Lancelot SIX <lsix@lancelotsix.com> | |
3113 | ||
3114 | * NEWS (Changed commands): Add entry for the behavior change of | |
3115 | the inferior command. | |
3116 | * inferior.c (inferior_command): When no argument is given to the | |
3117 | inferior command, display info about the currently selected | |
3118 | inferior. | |
3119 | ||
3120 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
3121 | ||
3122 | * dwarf2/read.c (read_loclist_index, read_rnglist_index): Return | |
3123 | a sect_offset. | |
3124 | (read_attribute_reprocess): Adjust. | |
3125 | ||
3126 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
3127 | ||
3128 | * dwarf2/die.h (struct die_info) <ranges_base>: Split in... | |
3129 | <gnu_ranges_base>: ... this... | |
3130 | <rnglists_base>: ... and this. | |
3131 | * dwarf2/read.c (struct dwarf2_cu) <ranges_base>: Split in... | |
3132 | <gnu_ranges_base>: ... this... | |
3133 | <rnglists_base>: ... and this. | |
3134 | (read_cutu_die_from_dwo): Adjust | |
3135 | (dwarf2_get_pc_bounds): Adjust | |
3136 | (dwarf2_record_block_ranges): Adjust. | |
3137 | (read_full_die_1): Adjust | |
3138 | (partial_die_info::read): Adjust. | |
3139 | (read_rnglist_index): Adjust. | |
3140 | ||
3141 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
3142 | ||
3143 | PR gdb/26813 | |
3144 | * dwarf2/read.c (read_loclists_rnglists_header): Add | |
3145 | header_offset parameter and use it. | |
3146 | (read_loclist_index): Read header of the current contribution, | |
3147 | not the one at the beginning of the section. | |
3148 | (read_rnglist_index): Likewise. | |
3149 | ||
3150 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
3151 | ||
3152 | PR gdb/26813 | |
3153 | * dwarf2/attribute.h (struct attribute) <set_unsigned>: Clear | |
3154 | requires_reprocessing flag. | |
3155 | * dwarf2/attribute.c (attribute::form_is_unsigned): Handle | |
3156 | DW_FORM_loclistx. | |
3157 | (attribute::form_requires_reprocessing): Handle DW_FORM_rnglistx | |
3158 | and DW_FORM_loclistx. | |
3159 | * dwarf2/read.c (read_attribute_reprocess): Use set_unsigned | |
3160 | instead of set_address for DW_FORM_loclistx and | |
3161 | DW_FORM_rnglistx. | |
3162 | ||
3163 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
3164 | ||
3165 | * dwarf2/read.c (read_loclist_index): Remove bound check for | |
3166 | start of offset. | |
3167 | (read_rnglist_index): Likewise. | |
3168 | ||
3169 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
3170 | ||
3171 | * dwarf2/read.c (read_loclist_index): Add bound check for the end | |
3172 | of the offset. | |
3173 | ||
3174 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
3175 | ||
3176 | * dwarf2/read.c (read_rnglist_index): Fix bound check. | |
3177 | ||
3178 | 2021-02-02 Simon Marchi <simon.marchi@efficios.com> | |
3179 | ||
3180 | * dwarf2/read.c (read_loclist_index): Change complaints into | |
3181 | errors. | |
3182 | ||
3183 | 2021-02-02 Tom de Vries <tdevries@suse.de> | |
3184 | ||
3185 | PR symtab/24620 | |
3186 | * dwarf2/index-write.c (write_one_signatured_type): Skip if | |
3187 | psymtab == nullptr. | |
3188 | ||
3189 | 2021-02-01 Andrew Burgess <andrew.burgess@embecosm.com> | |
3190 | ||
3191 | * Makefile.in (HFILES_NO_SRCDIR): Add corefile.h. | |
3192 | * gcore.c (struct gcore_collect_regset_section_cb_data): Moved | |
3193 | here from linux-tdep.c and given a new name. Minor cleanups. | |
3194 | (gcore_collect_regset_section_cb): Likewise. | |
3195 | (gcore_collect_thread_registers): Likewise. | |
3196 | (gcore_build_thread_register_notes): Likewise. | |
3197 | (gcore_find_signalled_thread): Likewise. | |
3198 | * gcore.h (gcore_build_thread_register_notes): Declare. | |
3199 | (gcore_find_signalled_thread): Declare. | |
3200 | * fbsd-tdep.c: Add 'gcore.h' include. | |
3201 | (struct fbsd_collect_regset_section_cb_data): Delete. | |
3202 | (fbsd_collect_regset_section_cb): Delete. | |
3203 | (fbsd_collect_thread_registers): Delete. | |
3204 | (struct fbsd_corefile_thread_data): Delete. | |
3205 | (fbsd_corefile_thread): Delete. | |
3206 | (fbsd_make_corefile_notes): Call | |
3207 | gcore_build_thread_register_notes instead of the now deleted | |
3208 | FreeBSD code. | |
3209 | * linux-tdep.c: Add 'gcore.h' include. | |
3210 | (struct linux_collect_regset_section_cb_data): Delete. | |
3211 | (linux_collect_regset_section_cb): Delete. | |
3212 | (linux_collect_thread_registers): Delete. | |
3213 | (linux_corefile_thread): Call | |
3214 | gcore_build_thread_register_notes. | |
3215 | (find_signalled_thread): Delete. | |
3216 | (linux_make_corefile_notes): Call gcore_find_signalled_thread. | |
3217 | ||
3218 | 2021-01-29 Tom de Vries <tdevries@suse.de> | |
3219 | ||
3220 | PR breakpoints/26063 | |
3221 | * infrun.c (process_event_stop_test): Reset | |
3222 | ecs->event_thread->current_line to 0 if is-stmt=n and frame has | |
3223 | changed. | |
3224 | ||
3225 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> | |
3226 | ||
3227 | * thread.c (thr_try_catch_cmd): Replace swith_to_thread with an | |
3228 | assert. Extend the header comment. | |
3229 | ||
3230 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> | |
3231 | ||
3232 | * Makefile.in (SUBDIR_TUI_SRCS): Add tui/tui-location.c. | |
3233 | (HFILES_NO_SRCDIR): Add tui/tui-location.h. | |
3234 | * tui/tui-data.h (TUI_STATUS_WIN): Define. | |
3235 | (tui_locator_win_info_ptr): Delete declaration. | |
3236 | * tui/tui-disasm.c: Add 'tui/tui-location.h' include. | |
3237 | (tui_disasm_window::set_contents): Fetch state from tui_location | |
3238 | global. | |
3239 | (tui_get_begin_asm_address): Likewise. | |
3240 | * tui/tui-layout.c (tui_apply_current_layout): Remove special case | |
3241 | for locator window. | |
3242 | (get_locator_window): Delete. | |
3243 | (initialize_known_windows): Treat locator window just like all the | |
3244 | rest. | |
3245 | * tui/tui-source.c: Add 'tui/tui-location.h' include. | |
3246 | (tui_source_window::set_contents): Fetch state from tui_location | |
3247 | global. | |
3248 | (tui_source_window::showing_source_p): Likewise. | |
3249 | * tui/tui-stack.c: Add 'tui/tui-location.h' include. | |
3250 | (_locator): Delete. | |
3251 | (tui_locator_win_info_ptr): Delete. | |
3252 | (tui_locator_window::make_status_line): Fetch state from | |
3253 | tui_location global. | |
3254 | (tui_locator_window::rerender): Remove check of 'handle', | |
3255 | reindent function body. | |
3256 | (tui_locator_window::set_locator_fullname): Delete. | |
3257 | (tui_locator_window::set_locator_info): Delete. | |
3258 | (tui_update_locator_fullname): Delete. | |
3259 | (tui_show_frame_info): Likewise. | |
3260 | (tui_show_locator_content): Access window through TUI_STATUS_WIN. | |
3261 | * tui/tui-stack.h (tui_locator_window::set_locator_info): Moved to | |
3262 | tui/tui-location.h and renamed to | |
3263 | tui_location_tracker::set_location. | |
3264 | (tui_locator_window::set_locator_fullname): Moved to | |
3265 | tui/tui-location.h and renamed to | |
3266 | tui_location_tracker::set_fullname. | |
3267 | (tui_locator_window::full_name): Delete. | |
3268 | (tui_locator_window::proc_name): Delete. | |
3269 | (tui_locator_window::line_no): Delete. | |
3270 | (tui_locator_window::addr): Delete. | |
3271 | (tui_locator_window::gdbarch): Delete. | |
3272 | (tui_update_locator_fullname): Delete declaration. | |
3273 | * tui/tui-wingeneral.c (tui_refresh_all): Removed special handling | |
3274 | for locator window. | |
3275 | * tui/tui-winsource.c: Add 'tui/tui-location.h' include. | |
3276 | (tui_display_main): Call function on tui_location directly. | |
3277 | * tui/tui.h (enum tui_win_type): Add STATUS_WIN. | |
3278 | * tui/tui-location.c: New file. | |
3279 | * tui/tui-location.h: New file. | |
3280 | ||
3281 | 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca> | |
3282 | ||
3283 | * gdbtypes.h (get_type_arch): Rename to... | |
3284 | (struct type) <arch>: ... this, update all users. | |
3285 | ||
3286 | 2021-01-28 Simon Marchi <simon.marchi@polymtl.ca> | |
3287 | ||
3288 | * gdbtypes.h (struct type) <arch>: Rename to... | |
3289 | <arch_owner>: ... this, update all users. | |
3290 | <objfile>: Rename to... | |
3291 | <objfile_owner>: ... this, update all users. | |
3292 | ||
3293 | 2021-01-28 Andrew Burgess <andrew.burgess@embecosm.com> | |
3294 | ||
3295 | * gdbcmd.h (execute_command_to_string): Update comment. | |
3296 | * top.c (execute_command_to_string): Update header comment. | |
3297 | ||
3298 | 2021-01-28 Tom de Vries <tdevries@suse.de> | |
3299 | ||
3300 | PR breakpoints/27205 | |
3301 | * breakpoint.c (create_longjmp_master_breakpoint_probe) | |
3302 | (create_longjmp_master_breakpoint_names): New function, factored out | |
3303 | of ... | |
3304 | (create_longjmp_master_breakpoint): ... here. Only try to install | |
3305 | longjmp_names breakpoints in libc.so/libc.so.debug if installing probe | |
3306 | breakpoint in libc.so failed. | |
3307 | ||
3308 | 2021-01-27 Lancelot SIX <lsix@lancelotsix.com> | |
3309 | ||
3310 | PR gdb/27133 | |
3311 | * cli/cli-interp.c (cli_interp_base::set_logging): Ensure the | |
3312 | unique_ptr is released when the wrapped pointer is kept for later | |
3313 | use. | |
3314 | ||
3315 | 2021-01-27 Matthew Malcomson <matthew.malcomson@arm.com> | |
3316 | ||
3317 | * aarch64-tdep.c (aarch64_displaced_step_others): Account for | |
3318 | BLR and BR instructions. | |
3319 | * arch/aarch64-insn.h (enum aarch64_opcodes): Add BR opcode. | |
3320 | (enum aarch64_masks): New. | |
3321 | ||
3322 | 2021-01-26 Tom Tromey <tromey@adacore.com> | |
3323 | ||
3324 | * windows-nat.c (DEBUG_EXEC, DEBUG_EVENTS, DEBUG_MEM) | |
3325 | (DEBUG_EXCEPT): Use debug_prefixed_printf_cond. | |
3326 | (windows_init_thread_list, windows_nat::handle_load_dll) | |
3327 | (windows_nat::handle_unload_dll, windows_nat_target::resume) | |
3328 | (windows_nat_target::resume) | |
3329 | (windows_nat_target::get_windows_debug_event) | |
3330 | (windows_nat_target::interrupt, windows_xfer_memory) | |
3331 | (windows_nat_target::close): Update. | |
3332 | * nat/windows-nat.c (DEBUG_EVENTS): Use | |
3333 | debug_prefixed_printf_cond. | |
3334 | (matching_pending_stop, fetch_pending_stop) | |
3335 | (continue_last_debug_event): Update. | |
3336 | ||
3337 | 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com> | |
3338 | ||
3339 | * linux-tdep.c (linux_make_mappings_corefile_notes): Start using | |
3340 | elfcore_write_file_note. | |
3341 | ||
3342 | 2021-01-26 Shahab Vahedi <shahab@synopsys.com> | |
3343 | ||
3344 | * arc-tdep.c (arc_add_reggroups): New function. | |
3345 | (arc_gdbarch_init): Call arc_add_reggroups. | |
3346 | ||
3347 | 2021-01-26 Anton Kolesov <anton.kolesov@synopsys.com> | |
3348 | ||
3349 | * arc-tdep.c (arc_skip_prologue): Log "pc" address. | |
3350 | ||
3351 | 2021-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de> | |
3352 | Simon Marchi <simon.marchi@polymtl.ca> | |
3353 | Tom de Vries <tdevries@suse.de> | |
3354 | ||
3355 | * dwarf2/read.c (partial_die_info::read): Use as_unsigned () for | |
3356 | DW_AT_ranges. | |
3357 | ||
3358 | 2021-01-25 Tom Tromey <tromey@adacore.com> | |
3359 | ||
3360 | * dwarf2/read.c (get_mpz): New function. | |
3361 | (get_dwarf2_rational_constant): Use it. | |
3362 | ||
3363 | 2021-01-25 Tom Tromey <tromey@adacore.com> | |
3364 | ||
3365 | * ada-lang.c (resolve_subexp): Handle array context. | |
3366 | ||
3367 | 2021-01-23 Tom Tromey <tom@tromey.com> | |
3368 | ||
3369 | PR compile/25575 | |
3370 | * compile/compile-loc2c.c (note_register): New function. | |
3371 | (pushf_register_address, pushf_register): Use it. | |
3372 | ||
3373 | 2021-01-23 Tom Tromey <tom@tromey.com> | |
3374 | ||
3375 | * symtab.h (struct symbol_computed_ops) <generate_c_location>: | |
3376 | Change type of "registers_used". | |
3377 | * dwarf2/loc.h (dwarf2_compile_property_to_c): Update. | |
3378 | * dwarf2/loc.c (dwarf2_compile_property_to_c) | |
3379 | (locexpr_generate_c_location, loclist_generate_c_location): Change | |
3380 | type of "registers_used". | |
3381 | * compile/compile.h (compile_dwarf_expr_to_c) | |
3382 | (compile_dwarf_bounds_to_c): Update. | |
3383 | * compile/compile-loc2c.c (pushf_register_address) | |
3384 | (pushf_register, do_compile_dwarf_expr_to_c) | |
3385 | (compile_dwarf_expr_to_c, compile_dwarf_bounds_to_c): Change type | |
3386 | of "registers_used". | |
3387 | * compile/compile-c.h (generate_c_for_variable_locations): | |
3388 | Update. | |
3389 | * compile/compile-c-symbols.c (generate_vla_size) | |
3390 | (generate_c_for_for_one_variable): Change type of | |
3391 | "registers_used". | |
3392 | (generate_c_for_variable_locations): Return std::vector. | |
3393 | * compile/compile-c-support.c (generate_register_struct): Change | |
3394 | type of "registers_used". | |
3395 | (compute): Update. | |
3396 | ||
3397 | 2021-01-23 Tom Tromey <tom@tromey.com> | |
3398 | ||
3399 | * compile/compile-internal.h (class compile_instance) | |
3400 | <set_arguments>: Change return type. | |
3401 | * compile/compile.c (compile_to_object): Remove call to reset. | |
3402 | (compile_instance::set_arguments): Change return type. | |
3403 | ||
3404 | 2021-01-23 Simon Marchi <simon.marchi@polymtl.ca> | |
3405 | ||
3406 | * gdbtypes.c (copy_type_recursive): Use get_type_arch. | |
3407 | * gdbtypes.h (struct type) <set_owner>: Add asserts. | |
3408 | ||
3409 | 2021-01-23 Lancelot SIX <lsix@lancelotsix.com> | |
3410 | ||
3411 | * Makefile.in (SELFTESTS_SRCS): Add | |
3412 | unittests/gdb_tilde_expand-selftests.c. | |
3413 | * unittests/gdb_tilde_expand-selftests.c: New file. | |
3414 | ||
3415 | 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com> | |
3416 | ||
3417 | PR cli/25956 | |
3418 | * NEWS: Mention new command. | |
3419 | * cli/cli-style.c: Add 'cli/cli-setshow.h' include. | |
3420 | (version_style): Define. | |
3421 | (cli_style_option::cli_style_option): Add intensity parameter, and | |
3422 | use as appropriate. | |
3423 | (_initialize_cli_style): Register version style set/show commands. | |
3424 | * cli/cli-style.h (cli_style_option): Add intensity parameter. | |
3425 | (version_style): Declare. | |
3426 | * top.c (print_gdb_version): Use version_stype, and styled_string | |
3427 | to print the GDB version string. | |
3428 | ||
3429 | 2021-01-22 Andrew Burgess <andrew.burgess@embecosm.com> | |
3430 | ||
3431 | * utils.c (emit_style_escape): Only emit an escape sequence if the | |
3432 | requested style is different than the current applied style. | |
3433 | (fputs_maybe_filtered): Adjust the juggling of the wrap_style, and | |
3434 | current applied_style. | |
3435 | (fputs_styled): Remove is_default check. | |
3436 | (fputs_styled_unfiltered): Likewise. | |
3437 | (vfprintf_styled_no_gdbfmt): Likewise. | |
3438 | ||
3439 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
3440 | ||
3441 | * remote.h (remote_debug_printf): New. | |
3442 | (remote_debug_printf_nofunc): New. | |
3443 | (REMOTE_SCOPED_DEBUG_ENTER_EXIT): New. | |
3444 | * remote.c: Use above macros throughout file. | |
3445 | ||
3446 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
3447 | ||
3448 | * remote.h (remote_debug): Change to bool. | |
3449 | * remote.c (remote_debug): Change to bool. | |
3450 | (_initialize_remote): Adjust. | |
3451 | ||
3452 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
3453 | ||
3454 | * target.h (remote_debug): Move to... | |
3455 | * remote.h (remote_debug): ... here. | |
3456 | * top.c (remote_debug): Move to... | |
3457 | * remote.c (remote_debug): ... here. | |
3458 | * remote-sim.c: Include remote.h. | |
3459 | ||
3460 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
3461 | ||
3462 | * cli/cli-cmds.c (show_remote_debug): Remove. | |
3463 | (show_remote_timeout): Remove. | |
3464 | (_initialize_cli_cmds): Don't register commands. | |
3465 | * remote.c (show_remote_debug): Move here. | |
3466 | (show_remote_timeout): Move here. | |
3467 | (_initialize_remote): Register commands. | |
3468 | ||
3469 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
3470 | ||
3471 | * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the | |
3472 | type::objfile method instead. | |
3473 | ||
3474 | 2021-01-22 Simon Marchi <simon.marchi@polymtl.ca> | |
3475 | ||
3476 | * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to | |
3477 | use the type::is_objfile_owned method. | |
3478 | ||
3479 | 2021-01-22 Simon Marchi <simon.marchi@efficios.com> | |
3480 | ||
3481 | * gdbtypes.h (TYPE_OBJFILE_OWNED): Adjust. | |
3482 | (TYPE_OWNER): Remove. | |
3483 | (TYPE_OBJFILE): Adjust. | |
3484 | (struct main_type) <flag_objfile_owned>: Rename to... | |
3485 | <m_flag_objfile_owned>: ... this. | |
3486 | <owner>: Rename to... | |
3487 | <m_owner>: ... this. | |
3488 | (struct type) <is_objfile_owned, set_owner, objfile, arch>: New | |
3489 | methods. | |
3490 | (TYPE_ALLOC): Adjust. | |
3491 | * gdbtypes.c (alloc_type): Adjust. | |
3492 | (alloc_type_arch): Adjust. | |
3493 | (alloc_type_copy): Adjust. | |
3494 | (get_type_arch): Adjust. | |
3495 | (smash_type): Adjust. | |
3496 | (lookup_array_range_type): Adjust. | |
3497 | (recursive_dump_type): Adjust. | |
3498 | (copy_type_recursive): Adjust. | |
3499 | * compile/compile-c-types.c (convert_func): Adjust. | |
3500 | (convert_type_basic): Adjust. | |
3501 | * compile/compile-cplus-types.c (compile_cplus_convert_func): | |
3502 | Adjust. | |
3503 | * language.c | |
3504 | (language_arch_info::type_and_symbol::alloc_type_symbol): | |
3505 | Adjust. | |
3506 | ||
3507 | 2021-01-21 Luis Machado <luis.machado@linaro.org> | |
3508 | ||
3509 | * coffread.c (enter_linenos): Passing string to complaint. | |
3510 | * valops.c (value_assign): Make array view. | |
3511 | ||
3512 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> | |
3513 | ||
3514 | * auto-load.h (debug_auto_load): Move here. | |
3515 | (auto_load_debug_printf): New. | |
3516 | * auto-load.c: Use auto_load_debug_printf. | |
3517 | (debug_auto_load): Move to header. | |
3518 | * linux-thread-db.c (try_thread_db_load): Use | |
3519 | auto_load_debug_printf. | |
3520 | * main.c (captured_main_1): Likewise. | |
3521 | ||
3522 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> | |
3523 | ||
3524 | * f-valprint.c (f77_array_offset_tbl): Remove. | |
3525 | ||
3526 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> | |
3527 | ||
3528 | * gdb_bfd.c (bfd_cache_debug_printf): New, use throughout file. | |
3529 | ||
3530 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> | |
3531 | ||
3532 | * ser-tcp.c (wait_for_connect): Use interruptible_select instead | |
3533 | of gdb_select. | |
3534 | ||
3535 | 2021-01-21 Hannes Domani <ssbssa@yahoo.de> | |
3536 | ||
3537 | PR python/19151 | |
3538 | * python/py-breakpoint.c (bppy_get_location): Handle | |
3539 | bp_hardware_breakpoint. | |
3540 | (bppy_init): Likewise. | |
3541 | (gdbpy_breakpoint_created): Likewise. | |
3542 | ||
3543 | 2021-01-21 Simon Marchi <simon.marchi@polymtl.ca> | |
3544 | ||
3545 | * arm-tdep.c (arm_debug_printf): Add and use throughout file. | |
3546 | ||
3547 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> | |
3548 | ||
3549 | * gdb_bfd.c (debug_bfd_cache): Change type to bool. | |
3550 | (_initialize_gdb_bfd): Adjust. | |
3551 | ||
3552 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> | |
3553 | ||
3554 | PR gdb/26828 | |
3555 | * dwarf2/read.c (maybe_queue_comp_unit): Add assertion. | |
3556 | ||
3557 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> | |
3558 | ||
3559 | * dwarf2/read.c (follow_die_offset): Add logging. | |
3560 | (dwarf2_per_objfile::age_comp_units): Add logging. | |
3561 | ||
3562 | 2021-01-20 Simon Marchi <simon.marchi@polymtl.ca> | |
3563 | ||
3564 | * aarch64-linux-tdep.c (aarch64_linux_record_tdep): Make static. | |
3565 | * aarch64-tdep.c (tdesc_aarch64_list, aarch64_prologue_unwind, | |
3566 | aarch64_stub_unwind, aarch64_normal_base, ): Make static. | |
3567 | * arm-linux-tdep.c (arm_prologue_unwind): Make static. | |
3568 | * arm-tdep.c (struct frame_unwind): Make static. | |
3569 | * auto-load.c (auto_load_safe_path_vec): Make static. | |
3570 | * csky-tdep.c (csky_stub_unwind): Make static. | |
3571 | * gdbarch.c (gdbarch_data_registry): Make static. | |
3572 | * gnu-v2-abi.c (gnu_v2_abi_ops): Make static. | |
3573 | * i386-netbsd-tdep.c (i386nbsd_mc_reg_offset): Make static. | |
3574 | * i386-tdep.c (i386_frame_setup_skip_insns, | |
3575 | i386_tramp_chain_in_reg_insns, i386_tramp_chain_on_stack_insns): | |
3576 | Make static. | |
3577 | * infrun.c (observer_mode): Make static. | |
3578 | * linux-nat.c (sigchld_action): Make static. | |
3579 | * linux-thread-db.c (thread_db_list): Make static. | |
3580 | * maint-test-options.c (maintenance_test_options_list): | |
3581 | * mep-tdep.c (mep_csr_registers): Make static. | |
3582 | * mi/mi-cmds.c (struct mi_cmd_stats): Remove struct type name. | |
3583 | (stats): Make static. | |
3584 | * nat/linux-osdata.c (struct osdata_type): Make static. | |
3585 | * ppc-netbsd-tdep.c (ppcnbsd_reg_offsets): Make static. | |
3586 | * progspace.c (last_program_space_num): Make static. | |
3587 | * python/py-param.c (struct parm_constant): Remove struct type | |
3588 | name. | |
3589 | (parm_constants): Make static. | |
3590 | * python/py-record-btrace.c (btpy_list_methods): Make static. | |
3591 | * python/py-record.c (recpy_gap_type): Make static. | |
3592 | * record.c (record_goto_cmdlist): Make static. | |
3593 | * regcache.c (regcache_descr_handle): Make static. | |
3594 | * registry.h (DEFINE_REGISTRY): Make definition static. | |
3595 | * symmisc.c (std_in, std_out, std_err): Make static. | |
3596 | * top.c (previous_saved_command_line): Make static. | |
3597 | * tracepoint.c (trace_user, trace_notes, trace_stop_notes): Make | |
3598 | static. | |
3599 | * unittests/command-def-selftests.c (nr_duplicates, | |
3600 | nr_invalid_prefixcmd, lists): Make static. | |
3601 | * unittests/observable-selftests.c (test_notification): Make | |
3602 | static. | |
3603 | * unittests/optional/assignment/1.cc (counter): Make static. | |
3604 | * unittests/optional/assignment/2.cc (counter): Make static. | |
3605 | * unittests/optional/assignment/3.cc (counter): Make static. | |
3606 | * unittests/optional/assignment/4.cc (counter): Make static. | |
3607 | * unittests/optional/assignment/5.cc (counter): Make static. | |
3608 | * unittests/optional/assignment/6.cc (counter): Make static. | |
3609 | ||
3610 | 2021-01-20 Joel Sherrill <joel@rtems.org> | |
3611 | ||
3612 | PR gdb/27219 | |
3613 | * remote.c (struct remote_thread_info) <resume_state>: Rename | |
3614 | to... | |
3615 | <get_resume_state>: ... this. | |
3616 | (remote_target::resume): Adjust. | |
3617 | (remote_target::commit_resume): Adjust. | |
3618 | (remote_target::select_thread_for_ambiguous_stop_reply): Adjust. | |
3619 | ||
3620 | 2021-01-20 Sergio Durigan Junior <sergiodj@sergiodj.net> | |
3621 | Tom Tromey <tom@tromey.com> | |
3622 | ||
3623 | * stap-probe.c (stap_parse_single_operand): Handle '!' | |
3624 | operator. | |
3625 | (stap_parse_argument_conditionally): Likewise. | |
3626 | Skip spaces after processing open-parenthesis sub-expression. | |
3627 | (stap_parse_argument_1): Skip spaces after call to | |
3628 | stap_parse_argument_conditionally. | |
3629 | Handle case when right-side expression is a parenthesized | |
3630 | sub-expression. | |
3631 | Skip spaces after call to stap_parse_argument_1. | |
3632 | ||
3633 | 2021-01-19 Lancelot SIX <lsix@lancelotsix.com> | |
3634 | ||
3635 | * top.h (switch_thru_all_uis): Use DISABLE_COPY_AND_ASSIGN. | |
3636 | ||
3637 | 2021-01-19 Luis Machado <luis.machado@linaro.org> | |
3638 | ||
3639 | * trad-frame.h (trad_frame_saved_reg) <set_value_bytes>: Allocate | |
3640 | memory and save data. | |
3641 | (trad_frame_set_value, trad_frame_set_realreg, trad_frame_set_addr) | |
3642 | (trad_frame_set_unknown, trad_frame_set_value_bytes) | |
3643 | (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p) | |
3644 | (trad_frame_value_bytes_p): Remove. | |
3645 | (trad_frame_reset_saved_regs): Adjust documentation. | |
3646 | * trad-frame.c (trad_frame_alloc_saved_regs): Initialize via a | |
3647 | constructor and reset the state of the registers. | |
3648 | (trad_frame_value_p, trad_frame_addr_p, trad_frame_realreg_p) | |
3649 | (trad_frame_value_bytes_p, trad_frame_set_value) | |
3650 | (trad_frame_set_realreg, trad_frame_set_addr) | |
3651 | (trad_frame_set_unknown, trad_frame_set_value_bytes): Remove. | |
3652 | (trad_frame_set_reg_realreg): Update to call member function. | |
3653 | (trad_frame_set_reg_addr, trad_frame_set_reg_value_bytes): Likewise. | |
3654 | (trad_frame_get_prev_register): Likewise. | |
3655 | ||
3656 | * aarch64-tdep.c (aarch64_analyze_prologue) | |
3657 | (aarch64_analyze_prologue_test, aarch64_make_prologue_cache_1) | |
3658 | (aarch64_prologue_prev_register): Update to use member functions. | |
3659 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Likewise. | |
3660 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Likewise. | |
3661 | * arc-tdep.c (arc_print_frame_cache, arc_make_frame_cache): Likewise. | |
3662 | * arm-tdep.c (arm_make_prologue_cache, arm_exidx_fill_cache) | |
3663 | (arm_make_epilogue_frame_cache): Likewise. | |
3664 | * avr-tdep.c (avr_frame_unwind_cache) | |
3665 | (avr_frame_prev_register): Likewise. | |
3666 | * cris-tdep.c (cris_scan_prologue): Likewise. | |
3667 | * csky-tdep.c (csky_frame_unwind_cache): Likewise. | |
3668 | * frv-tdep.c (frv_analyze_prologue): Likewise. | |
3669 | * hppa-tdep.c (hppa_frame_cache, hppa_fallback_frame_cache): Likewise. | |
3670 | * lm32-tdep.c (lm32_frame_cache): Likewise. | |
3671 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. | |
3672 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
3673 | * mips-tdep.c (set_reg_offset, mips_insn16_frame_cache) | |
3674 | (mips_micro_frame_cache, mips_insn32_frame_cache): Likewise. | |
3675 | (reset_saved_regs): Adjust to set realreg. | |
3676 | * riscv-tdep.c (riscv_scan_prologue, riscv_frame_cache): Adjust to | |
3677 | call member functions. | |
3678 | * rs6000-tdep.c (rs6000_frame_cache, rs6000_epilogue_frame_cache) | |
3679 | * s390-tdep.c (s390_prologue_frame_unwind_cache) | |
3680 | (s390_backchain_frame_unwind_cache): Likewise. | |
3681 | * score-tdep.c (score7_analyze_prologue) | |
3682 | (score3_analyze_prologue, score_make_prologue_cache): Likewise. | |
3683 | * sparc-netbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): Likewise. | |
3684 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise. | |
3685 | * sparc64-netbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Likewise. | |
3686 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise. | |
3687 | * tilegx-tdep.c (tilegx_analyze_prologue) | |
3688 | (tilegx_frame_cache): Likewise. | |
3689 | * v850-tdep.c (v850_frame_cache): Likewise. | |
3690 | * vax-tdep.c (vax_frame_cache): Likewise. | |
3691 | ||
3692 | 2021-01-19 Luis Machado <luis.machado@linaro.org> | |
3693 | ||
3694 | * frame.h (get_frame_register_bytes): Pass a gdb::array_view instead | |
3695 | of buffer + length. | |
3696 | (put_frame_register_bytes): Likewise. | |
3697 | Adjust documentation. | |
3698 | (get_frame_memory): Pass a gdb::array_view instead of buffer + length. | |
3699 | (safe_frame_unwind_memory): Likewise. | |
3700 | * frame.c (get_frame_register_bytes, put_frame_register_bytes) | |
3701 | (get_frame_memory, safe_frame_unwind_memory): Adjust to use | |
3702 | gdb::array_view. | |
3703 | * amd64-fbsd-tdep.c (amd64fbsd_sigtramp_p): Likewise. | |
3704 | * amd64-linux-tdep.c (amd64_linux_sigtramp_start): Likewise. | |
3705 | * amd64-obsd-tdep.c (amd64obsd_sigtramp_p): Likewise. | |
3706 | * arc-linux-tdep.c (arc_linux_is_sigtramp): Likewise. | |
3707 | * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start): Likewise. | |
3708 | * dwarf2/loc.c (rw_pieced_value): Likewise. | |
3709 | * hppa-tdep.c (hppa_frame_cache): Likewise. | |
3710 | * i386-fbsd-tdep.c (i386fbsd_sigtramp_p): Likewise. | |
3711 | * i386-gnu-tdep.c (i386_gnu_sigtramp_start): Likewise. | |
3712 | * i386-linux-tdep.c (i386_linux_sigtramp_start) | |
3713 | (i386_linux_rt_sigtramp_start): Likewise. | |
3714 | * i386-obsd-tdep.c (i386obsd_sigtramp_p): Likewise. | |
3715 | * i386-tdep.c (i386_register_to_value): Likewise. | |
3716 | * i387-tdep.c (i387_register_to_value): Likewise. | |
3717 | * ia64-tdep.c (ia64_register_to_value): Likewise. | |
3718 | * m32r-linux-tdep.c (m32r_linux_sigtramp_start) | |
3719 | (m32r_linux_rt_sigtramp_start): Likewise. | |
3720 | * m68k-linux-tdep.c (m68k_linux_pc_in_sigtramp): Likewise. | |
3721 | * m68k-tdep.c (m68k_register_to_value): Likewise. | |
3722 | * mips-tdep.c (mips_register_to_value) | |
3723 | (mips_value_to_register): Likewise. | |
3724 | * ppc-fbsd-tdep.c (ppcfbsd_sigtramp_frame_sniffer) | |
3725 | (ppcfbsd_sigtramp_frame_cache): Likewise. | |
3726 | * ppc-obsd-tdep.c (ppcobsd_sigtramp_frame_sniffer) | |
3727 | (ppcobsd_sigtramp_frame_cache): Likewise. | |
3728 | * rs6000-tdep.c (rs6000_in_function_epilogue_frame_p) | |
3729 | (rs6000_register_to_value): Likewise. | |
3730 | * tilegx-tdep.c (tilegx_analyze_prologue): Likewise. | |
3731 | * tramp-frame.c (tramp_frame_start): Likewise. | |
3732 | * valops.c (value_assign): Likewise. | |
3733 | ||
3734 | 2021-01-19 Luis Machado <luis.machado@linaro.org> | |
3735 | ||
3736 | * aarch64-linux-tdep.c (aarch64_linux_restore_vreg): Pass in an | |
3737 | array_view. | |
3738 | * trad-frame.c (trad_frame_set_value_bytes): Use gdb::array_view | |
3739 | instead of buffer and size. | |
3740 | (trad_frame_set_reg_value_bytes): Likewise. | |
3741 | * trad-frame.h (trad_frame_set_reg_value_bytes): Likewise. | |
3742 | (trad_frame_set_value_bytes): Likewise. | |
3743 | ||
3744 | 2021-01-18 Mike Frysinger <vapier@gentoo.org> | |
3745 | ||
3746 | * copyright.py (NOT_FSF_LIST): Delete sim/testsuite/sim/bfin/s21.s. | |
3747 | ||
3748 | 2021-01-18 Andrew Burgess <andrew.burgess@embecosm.com> | |
3749 | ||
3750 | * riscv-fbsd-tdep.c (riscv_fbsd_supply_gregset): Delete. | |
3751 | (riscv_fbsd_gregset): Use riscv_supply_regset. | |
3752 | (riscv_fbsd_fpregset): Likewise. | |
3753 | * riscv-linux-tdep.c (riscv_linux_gregset): Likewise. | |
3754 | (riscv_linux_fregset): Likewise. | |
3755 | * riscv-tdep.c (riscv_supply_regset): Define new function. | |
3756 | * riscv-tdep.h (riscv_supply_regset): Declare new function. | |
3757 | ||
3758 | 2021-01-18 Tom de Vries <tdevries@suse.de> | |
3759 | ||
3760 | PR tdep/27172 | |
3761 | * nat/amd64-linux-siginfo.c (cpt_si_lower, cpt_si_upper, SEGV_BNDERR): | |
3762 | New macro. | |
3763 | (compat_siginfo_from_siginfo): Copy cpt_si_lower and cpt_si_upper | |
3764 | for SEGV_BNDERR. | |
3765 | ||
3766 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> | |
3767 | ||
3768 | * remote.c (class remote_target) <remote_hostio_send_command, | |
3769 | remote_hostio_parse_result>: Constify parameter. | |
3770 | (remote_hostio_parse_result): Likewise. | |
3771 | (remote_target::remote_hostio_send_command): Adjust. | |
3772 | (remote_target::remote_hostio_pread_vFile): Adjust. | |
3773 | (remote_target::fileio_readlink): Adjust. | |
3774 | (remote_target::fileio_fstat): Adjust. | |
3775 | ||
3776 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> | |
3777 | ||
3778 | * remote.c (remote_target::start_remote): Move wait_status to | |
3779 | narrower scope. | |
3780 | ||
3781 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> | |
3782 | ||
3783 | * remote.c (class remote_target): | |
3784 | <add_current_inferior_and_thread>: Constify parameter. | |
3785 | (stop_reply_extract_thread): Likewise. | |
3786 | (remote_target::get_current_thread): Likewise. | |
3787 | (remote_target::add_current_inferior_and_thread): Likewise. | |
3788 | ||
3789 | 2021-01-18 Simon Marchi <simon.marchi@polymtl.ca> | |
3790 | ||
3791 | * remote.c (class remote_target) | |
3792 | <remote_unpack_thread_info_response, | |
3793 | parse_threadlist_response>: Constify parameter and/or return | |
3794 | value and or local variable. | |
3795 | (stub_unpack_int): Likewise. | |
3796 | (unpack_nibble): Likewise. | |
3797 | (unpack_byte): Likewise. | |
3798 | (unpack_int): Likewise. | |
3799 | (unpack_string): Likewise. | |
3800 | (unpack_threadid): Likewise. | |
3801 | (remote_target::remote_unpack_thread_info_response): Likewise. | |
3802 | (remote_target::parse_threadlist_response): Likewise. | |
3803 | ||
3804 | 2021-01-15 Andrew Burgess <andrew.burgess@embecosm.com> | |
3805 | ||
3806 | * tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0. | |
3807 | ||
3808 | 2021-01-14 Lancelot Six <lsix@lancelotsix.com> | |
3809 | ||
3810 | * MAINTAINERS (Write After Approval): Add myself. | |
3811 | ||
3812 | 2021-01-14 Bernd Edlinger <bernd.edlinger@hotmail.de> | |
3813 | ||
3814 | * trad-frame.c (trad_frame_alloc_saved_regs): Avoid compile-error | |
3815 | because is_trivially_default_constructible was first implemented with | |
3816 | gcc-5. | |
3817 | ||
3818 | 2021-01-14 Tom de Vries <tdevries@suse.de> | |
3819 | ||
3820 | PR breakpoints/27151 | |
3821 | * objfiles.h (in_plt_section): Handle .plt.sec. | |
3822 | ||
3823 | 2021-01-13 Andrew Burgess <andrew.burgess@embecosm.com> | |
3824 | ||
3825 | PR gdb/26819 | |
3826 | * remote.c | |
3827 | (remote_target::select_thread_for_ambiguous_stop_reply): New | |
3828 | member function. | |
3829 | (remote_target::process_stop_reply): Call | |
3830 | select_thread_for_ambiguous_stop_reply. | |
3831 | ||
3832 | 2021-01-13 Simon Marchi <simon.marchi@efficios.com> | |
3833 | ||
3834 | * record-btrace.c (class record_btrace_target): Remove. | |
3835 | (record_btrace_target::commit_resume): Remove. | |
3836 | * record-full.c (class record_full_target): Remove. | |
3837 | (record_full_target::commit_resume): Remove. | |
3838 | ||
3839 | 2021-01-13 Simon Marchi <simon.marchi@efficios.com> | |
3840 | ||
3841 | * remote.c (enum class resume_state): New. | |
3842 | (struct resumed_pending_vcont_info): New. | |
3843 | (struct remote_thread_info) <resume_state, set_not_resumed, | |
3844 | set_resumed_pending_vcont, resumed_pending_vcont_info, | |
3845 | set_resumed, m_resume_state, m_resumed_pending_vcont_info>: | |
3846 | New. | |
3847 | <last_resume_step, last_resume_sig, vcont_resumed>: Remove. | |
3848 | (remote_target::remote_add_thread): Adjust. | |
3849 | (remote_target::process_initial_stop_replies): Adjust. | |
3850 | (remote_target::resume): Adjust. | |
3851 | (remote_target::commit_resume): Rely on state in | |
3852 | remote_thread_info and not on tp->executing. | |
3853 | (remote_target::process_stop_reply): Adjust. | |
3854 | ||
3855 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
3856 | ||
3857 | * arc-tdep.h (arc_debug_printf): New. | |
3858 | * arc-tdep.c: Use arc_debug_printf. | |
3859 | * arc-linux-nat.c (arc_linux_nat_debug_printf): Add and use. | |
3860 | * arc-linux-tdep.c (arc_linux_debug_printf): Add and use. | |
3861 | * arc-newlib-tdep.c (arc_newlib_debug_printf): Add and use. | |
3862 | ||
3863 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
3864 | ||
3865 | * arc-tdep.h (arc_debug): Change type to bool. | |
3866 | * arc-tdep.c (arc_debug): Change type to bool. | |
3867 | (arc_analyze_prologue): Adjust. | |
3868 | (_initialize_arc_tdep): Use add_setshow_boolean_cmd. | |
3869 | * arc-linux-nat.c (ps_get_thread_area): Adjust. | |
3870 | ||
3871 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
3872 | ||
3873 | * auto-load.c (auto_load_objfile_script_1): Use bool. | |
3874 | (execute_script_contents): Use bool. | |
3875 | ||
3876 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
3877 | ||
3878 | * auto-load.h (auto_load_gdb_scripts_enabled): Return bool, move | |
3879 | comment here. | |
3880 | * auto-load.c (auto_load_gdb_scripts_enabled): Return bool, move | |
3881 | comment to header. | |
3882 | * extension-priv.h (struct extension_language_script_ops) | |
3883 | <auto_load_enabled>: Return bool. | |
3884 | * extension.h (ext_lang_auto_load_enabled): Return bool, move | |
3885 | comment here. | |
3886 | * extension.c (ext_lang_auto_load_enabled): Return bool, move | |
3887 | comment to header. | |
3888 | * guile/guile-header.h (gdbscm_auto_load_enabled): Return bool, | |
3889 | move comment here. | |
3890 | * guile/scm-auto-load.c (gdbscm_auto_load_enabled): Return bool, | |
3891 | move comment to header. | |
3892 | * python/python-header.h (gdbpy_auto_load_enabled): Return bool, | |
3893 | move comment here. | |
3894 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Return bool, | |
3895 | move comment to header. | |
3896 | ||
3897 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
3898 | ||
3899 | * auto-load.h (file_is_auto_load_safe): Change return type to | |
3900 | bool, move comment here. | |
3901 | * auto-load.c (file_is_auto_load_safe): Change return type and | |
3902 | advice_printed to bool. Move comment to header. | |
3903 | ||
3904 | 2021-01-13 Simon Marchi <simon.marchi@polymtl.ca> | |
3905 | ||
3906 | * jit.c (jit_debug_printf): New, use throughout file. | |
3907 | ||
3908 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> | |
3909 | ||
3910 | * infrun.c (normal_stop): Fix indentation. | |
3911 | ||
3912 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> | |
3913 | ||
3914 | * top.h (readnow_symbol_files, readnever_symbol_files): Move | |
3915 | declarations to ... | |
3916 | * symfile.h: ... here. | |
3917 | * symfile.c: Update doc. | |
3918 | ||
3919 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> | |
3920 | ||
3921 | * target.h (baud_rate, serial_parity): Move declarations... | |
3922 | * serial.h: ... here. | |
3923 | * main.c: Include serial.h. | |
3924 | * serial.c (baud_rate, serial_parity): Update doc. | |
3925 | ||
3926 | 2021-01-12 Simon Marchi <simon.marchi@polymtl.ca> | |
3927 | ||
3928 | * top.c (pre_init_ui_hook): Remove. | |
3929 | ||
3930 | 2021-01-12 Srinath Parvathaneni <srinath.parvathaneni@arm.com> | |
3931 | ||
3932 | * aarch64-tdep.c (aarch64_vnh_type): Add "bf" field in h registers. | |
3933 | (aarch64_vnv_type): Add "bf" type in h field of v registers. | |
3934 | * features/aarch64-fpu.c (create_feature_aarch64_fpu): Regenerated. | |
3935 | * features/aarch64-fpu.xml: Add bfloat16 type. | |
3936 | ||
3937 | 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com> | |
3938 | ||
3939 | * expprint.c (dump_subexp_body_standard): Handle OP_BOOL. | |
3940 | ||
3941 | 2021-01-12 Andrew Burgess <andrew.burgess@embecosm.com> | |
3942 | ||
3943 | * f-exp.y (dot_ops): Rename to... | |
3944 | (fortran_operators): ...this. Add a header comment. Add symbol | |
3945 | based operators. | |
3946 | (yylex): Update to use fortran_operators not dot_ops. Remove | |
3947 | special handling for '**', this is now included in | |
3948 | fortran_operators. | |
3949 | ||
3950 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> | |
3951 | ||
3952 | * arch/aarch64-insn.h (aarch64_debug_printf): New. | |
3953 | * arch/aarch64-insn.c: Use aarch64_debug_printf. | |
3954 | * aarch64-tdep.c: Use aarch64_debug_printf. | |
3955 | ||
3956 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> | |
3957 | ||
3958 | * solib-aix.c (solib_aix_debug_printf): New, use throughout | |
3959 | file. | |
3960 | ||
3961 | 2021-01-11 Simon Marchi <simon.marchi@polymtl.ca> | |
3962 | ||
3963 | * jit.c (jit_debug): Change type to bool. | |
3964 | (_initialize_jit): Adjust. | |
3965 | ||
3966 | 2021-01-09 Tom Tromey <tom@tromey.com> | |
3967 | ||
3968 | PR compile/23672 | |
3969 | * compile/compile.c (compile_to_object): Avoid crash when | |
3970 | osabi_triplet_regexp returns NULL. | |
3971 | ||
3972 | 2021-01-09 Tom Tromey <tom@tromey.com> | |
3973 | ||
3974 | * tracepoint.h (class collection_list) <append_exp>: Take a | |
3975 | std::string. | |
3976 | * tracepoint.c (collection_list::append_exp): Take a std::string. | |
3977 | (encode_actions_1): Update. | |
3978 | ||
3979 | 2021-01-08 Tom Tromey <tromey@adacore.com> | |
3980 | ||
3981 | * parse.c (parse_expression): Add void_context_p parameter. Use | |
3982 | parse_exp_in_context. | |
3983 | * printcmd.c (print_command_1): Change voidprint to bool. Pass to | |
3984 | parse_expression. | |
3985 | (print_command, call_command): Update. | |
3986 | * expression.h (parse_expression): Add void_context_p parameter. | |
3987 | ||
3988 | 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
3989 | ||
3990 | * value.c (set_value_component_location): Adjust the VALUE_LVAL | |
3991 | for internalvar components that have a dynamic location. | |
3992 | ||
3993 | 2021-01-08 Tom de Vries <tdevries@suse.de> | |
3994 | ||
3995 | PR gdb/26881 | |
3996 | * breakpoint.c (create_exception_master_breakpoint_probe) | |
3997 | (create_exception_master_breakpoint_hook): Factor out | |
3998 | of ... | |
3999 | (create_exception_master_breakpoint): ... here. Only try to install | |
4000 | the master exception breakpoint in objfile.debug using the | |
4001 | _Unwind_DebugHook method, if the install using probes in objfile | |
4002 | failed. | |
4003 | ||
4004 | 2021-01-08 Andrew Burgess <andrew.burgess@embecosm.com> | |
4005 | ||
4006 | * f-lang.c (fortran_value_subarray): Call value_from_component. | |
4007 | ||
4008 | 2021-01-07 Mike Frysinger <vapier@gentoo.org> | |
4009 | ||
4010 | * remote-sim.c: Include memory-map.h. | |
4011 | (gdbsim_target): Define memory_map override. | |
4012 | (gdbsim_target::memory_map): Define. | |
4013 | ||
4014 | 2021-01-07 Tom Tromey <tromey@adacore.com> | |
4015 | ||
4016 | * ada-lang.c (do_full_match): Conditionally skip "_ada_" prefix. | |
4017 | ||
4018 | 2021-01-07 Tom Tromey <tromey@adacore.com> | |
4019 | ||
4020 | * ada-lang.c (add_component_interval): Start loop using vector's | |
4021 | updated size. | |
4022 | ||
4023 | 2021-01-06 Tom Tromey <tromey@adacore.com> | |
4024 | ||
4025 | * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD, BINOP_SUB>: | |
4026 | Do not cast result. | |
4027 | * valarith.c (fixed_point_binop): Handle multiplication | |
4028 | and division specially. | |
4029 | * valops.c (value_to_gdb_mpq): New function. | |
4030 | (value_cast_to_fixed_point): Use it. | |
4031 | ||
4032 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> | |
4033 | ||
4034 | * tui/tui-winsource.c (tui_source_window_base::refresh_window): | |
4035 | Call wnoutrefresh instead of tui_win_info::refresh_window. | |
4036 | ||
4037 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> | |
4038 | ||
4039 | * tui/tui-source.c (tui_source_window::show_line_number): | |
4040 | Redraw second space after line number. | |
4041 | ||
4042 | 2021-01-05 Hannes Domani <ssbssa@yahoo.de> | |
4043 | ||
4044 | PR tui/26927 | |
4045 | * tui/tui-winsource.c (tui_source_window_base::refresh_window): | |
4046 | Fix source pad size in prefresh. | |
4047 | (tui_source_window_base::show_source_content): Grow source pad | |
4048 | if necessary. | |
4049 | ||
4050 | 2021-01-04 Mike Frysinger <vapier@gentoo.org> | |
4051 | ||
4052 | * bfin-tdep.c (bfin_push_dummy_call): Use align_up. | |
4053 | (bfin_frame_align): Use align_down. | |
4054 | ||
4055 | 2021-01-04 Tom de Vries <tdevries@suse.de> | |
4056 | ||
4057 | * buildsym.c (buildsym_compunit::record_line): Filter out end-of-seq | |
4058 | terminators that do not terminate anything. | |
4059 | ||
4060 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> | |
4061 | ||
4062 | * debug.c (debug_print_depth): New. | |
4063 | * infrun.h (INFRUN_SCOPED_DEBUG_START_END): New. | |
4064 | (INFRUN_SCOPED_DEBUG_ENTER_EXIT): New. | |
4065 | * infrun.c (start_step_over): Use | |
4066 | INFRUN_SCOPED_DEBUG_ENTER_EXIT. | |
4067 | (proceed): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT and | |
4068 | INFRUN_SCOPED_DEBUG_START_END. | |
4069 | (fetch_inferior_event): Use INFRUN_SCOPED_DEBUG_ENTER_EXIT. | |
4070 | ||
4071 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> | |
4072 | ||
4073 | * infrun.c (print_target_wait_results): Use infrun_debug_printf. | |
4074 | ||
4075 | 2021-01-04 Simon Marchi <simon.marchi@efficios.com> | |
4076 | ||
4077 | * utils.c (vfprintf_unfiltered): Print timestamp only when | |
4078 | previous debug output ended with a newline. | |
4079 | ||
4080 | 2021-01-04 Luis Machado <luis.machado@linaro.org> | |
4081 | ||
4082 | Update all users of trad_frame_saved_reg to use the new member | |
4083 | functions. | |
4084 | ||
4085 | Remote all struct keywords from declarations of trad_frame_saved_reg | |
4086 | types, except on forward declarations. | |
4087 | ||
4088 | * aarch64-tdep.c: Update. | |
4089 | * alpha-mdebug-tdep.c: Update. | |
4090 | * alpha-tdep.c: Update. | |
4091 | * arc-tdep.c: Update. | |
4092 | * arm-tdep.c: Update. | |
4093 | * avr-tdep.c: Update. | |
4094 | * cris-tdep.c: Update. | |
4095 | * csky-tdep.c: Update. | |
4096 | * frv-tdep.c: Update. | |
4097 | * hppa-linux-tdep.c: Update. | |
4098 | * hppa-tdep.c: Update. | |
4099 | * hppa-tdep.h: Update. | |
4100 | * lm32-tdep.c: Update. | |
4101 | * m32r-linux-tdep.c: Update. | |
4102 | * m32r-tdep.c: Update. | |
4103 | * m68hc11-tdep.c: Update. | |
4104 | * mips-tdep.c: Update. | |
4105 | * moxie-tdep.c: Update. | |
4106 | * riscv-tdep.c: Update. | |
4107 | * rs6000-tdep.c: Update. | |
4108 | * s390-linux-tdep.c: Update. | |
4109 | * s390-tdep.c: Update. | |
4110 | * score-tdep.c: Update. | |
4111 | * sparc-netbsd-tdep.c: Update. | |
4112 | * sparc-sol2-tdep.c: Update. | |
4113 | * sparc64-fbsd-tdep.c: Update. | |
4114 | * sparc64-netbsd-tdep.c: Update. | |
4115 | * sparc64-obsd-tdep.c: Update. | |
4116 | * sparc64-sol2-tdep.c: Update. | |
4117 | * tilegx-tdep.c: Update. | |
4118 | * v850-tdep.c: Update. | |
4119 | * vax-tdep.c: Update. | |
4120 | ||
4121 | * frame-unwind.c (frame_unwind_got_bytes): Make parameter const. | |
4122 | * frame-unwind.h (frame_unwind_got_bytes): Likewise. | |
4123 | ||
4124 | * trad-frame.c: Update. | |
4125 | Remove TF_REG_* enum. | |
4126 | (trad_frame_alloc_saved_regs): Add a static assertion to check for | |
4127 | a trivially-constructible struct. | |
4128 | (trad_frame_reset_saved_regs): Adjust to use member function. | |
4129 | (trad_frame_value_p): Likewise. | |
4130 | (trad_frame_addr_p): Likewise. | |
4131 | (trad_frame_realreg_p): Likewise. | |
4132 | (trad_frame_value_bytes_p): Likewise. | |
4133 | (trad_frame_set_value): Likewise. | |
4134 | (trad_frame_set_realreg): Likewise. | |
4135 | (trad_frame_set_addr): Likewise. | |
4136 | (trad_frame_set_unknown): Likewise. | |
4137 | (trad_frame_set_value_bytes): Likewise. | |
4138 | (trad_frame_get_prev_register): Likewise. | |
4139 | * trad-frame.h: Update. | |
4140 | (trad_frame_saved_reg_kind): New enum. | |
4141 | (struct trad_frame_saved_reg) <addr, realreg, data>: Remove. | |
4142 | <m_kind, m_reg>: New member fields. | |
4143 | <set_value, set_realreg, set_addr, set_unknown, set_value_bytes> | |
4144 | <kind, value, realreg, addr, value_bytes, is_value, is_realreg> | |
4145 | <is_addr, is_unknown, is_value_bytes>: New member functions. | |
4146 | ||
4147 | 2021-01-02 Simon Marchi <simon.marchi@polymtl.ca> | |
4148 | ||
4149 | * target-float.c: Fix typos. | |
4150 | ||
4151 | 2021-01-02 Hannes Domani <ssbssa@yahoo.de> | |
4152 | ||
4153 | * gdb-gdb.py.in: Fix main_type.flds_bnds.bounds pretty printer. | |
4154 | ||
4155 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> | |
4156 | ||
4157 | * gdbarch.sh: Update copyright year range. | |
4158 | ||
4159 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> | |
4160 | ||
4161 | Update copyright year range in copyright header of all GDB files. | |
4162 | ||
4163 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> | |
4164 | ||
4165 | * copyright.py (get_update_list): Add "gdbserver" and "gdbsupport" | |
4166 | to the list of directories to update. | |
4167 | ||
4168 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> | |
4169 | ||
4170 | * top.c (print_gdb_version): Update copyright year. | |
4171 | ||
4172 | 2021-01-01 Joel Brobecker <brobecker@adacore.com> | |
4173 | ||
4174 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2020. | |
4175 | ||
4176 | For older changes see ChangeLog-2020. | |
4177 | \f | |
4178 | Local Variables: | |
4179 | mode: change-log | |
4180 | left-margin: 8 | |
4181 | fill-column: 74 | |
4182 | version-control: never | |
4183 | coding: utf-8 | |
4184 | End: |