]>
Commit | Line | Data |
---|---|---|
99d89cde TT |
1 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2 | ||
3 | * probe.c (parse_probes_in_pspace): Use all_objfiles. | |
4 | * guile/scm-progspace.c (gdbscm_progspace_objfiles): Use | |
5 | all_objfiles. | |
6 | * objfiles.h (ALL_PSPACE_OBJFILES): Remove. | |
7 | * symmisc.c (print_symbol_bcache_statistics) | |
8 | (print_objfile_statistics, maintenance_print_objfiles) | |
9 | (maintenance_info_symtabs, maintenance_check_symtabs) | |
10 | (maintenance_expand_symtabs, maintenance_info_line_tables): Use | |
11 | all_objfiles. | |
12 | * source.c (forget_cached_source_info): Use all_objfiles. | |
13 | * symfile-debug.c (set_debug_symfile): Use all_objfiles. | |
14 | * elfread.c (elf_gnu_ifunc_resolve_by_cache) | |
15 | (elf_gnu_ifunc_resolve_by_got): Use all_objfiles. | |
16 | * objfiles.c (update_section_map): Use all_objfiles. | |
17 | (shared_objfile_contains_address_p): Likewise. | |
18 | * psymtab.c (maintenance_info_psymtabs): Use all_objfiles. | |
19 | * python/py-progspace.c (pspy_get_objfiles): Use all_objfiles. | |
20 | ||
21708325 TT |
21 | 2019-01-09 Tom Tromey <tom@tromey.com> |
22 | ||
23 | * common/next-iterator.h: New file. | |
24 | * objfiles.h (class all_objfiles): New. | |
25 | (struct objfile_iterator): New. | |
26 | ||
669e09f6 PW |
27 | 2019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
28 | ||
29 | * NEWS: Move the description of the changed "frame", "select-frame", | |
30 | and "info frame" commands to the Changed commands section. | |
31 | ||
041be526 SM |
32 | 2019-01-09 Simon Marchi <simon.marchi@ericsson.com> |
33 | ||
34 | * gdbtypes.c (check_stub_method_group): Remove handling of old | |
35 | mangling schemes. | |
36 | * linespec.c (find_methods): Likewise. | |
37 | * stabsread.c (read_member_functions): Likewise. | |
38 | * valops.c (search_struct_method): Likewise. | |
39 | (value_struct_elt_for_reference): Likewise. | |
40 | * NEWS: Mention this change. | |
41 | ||
0e2a2133 AB |
42 | 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com> |
43 | ||
44 | * cli/cli-cmds.c (list_command): Pass a source_lines_range to | |
45 | print_source_lines. | |
46 | * source.c (print_source_lines_base): Update line number check. | |
47 | (print_source_lines): New function. | |
48 | (source_lines_range::source_lines_range): New function. | |
49 | * source.h (class source_lines_range): New class. | |
50 | (print_source_lines): New declaration. | |
51 | ||
1055a3b4 PW |
52 | 2019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
53 | ||
54 | * linespec.c (linespec_state_destructor): Free self->canonical_names. | |
55 | ||
cfeadda5 TT |
56 | 2019-01-08 Tom Tromey <tom@tromey.com> |
57 | Simon Marchi <simon.marchi@ericsson.com> | |
58 | ||
59 | PR gdb/24060 | |
60 | * ada-exp.y (DOLLAR_VARIABLE): Rename from SPECIAL_VARIABLE. | |
61 | * ada-lex.l (DOLLAR_VARIABLE): Likewise. | |
62 | * c-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE. | |
63 | * f-exp.y (DOLLAR_VARIABLE): Likewise. | |
64 | * m2-exp.y (DOLLAR_VARIABLE): Rename from INTERNAL_VAR. | |
65 | * p-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE. | |
66 | ||
583068ca AB |
67 | 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
68 | ||
69 | * source.c (select_source_symtab): Move header comment to | |
70 | declaration in source.h. | |
71 | (forget_cached_source_info_for_objfile): Likewise. | |
72 | (forget_cached_source_info): Likewise. | |
73 | (identify_source_line): Likewise. | |
74 | * source.h (identify_source_line): Move declaration from symtab.h | |
75 | and add comment from source.c | |
76 | (print_source_lines): Likewise. | |
77 | (forget_cached_source_info_for_objfile): Likewise. | |
78 | (forget_cached_source_info): Likewise. | |
79 | (select_source_symtab): Likewise. | |
80 | (enum print_source_lines_flag): Move definition from symtab.h. | |
81 | * symtab.h (identify_source_line): Move declaration to source.h. | |
82 | (print_source_lines): Likewise. | |
83 | (forget_cached_source_info_for_objfile): Likewise. | |
84 | (forget_cached_source_info): Likewise. | |
85 | (select_source_symtab): Likewise. | |
86 | (enum print_source_lines_flag): Move definition to source.h. | |
87 | * tui/tui-hooks.c: Add 'source.h' include. | |
88 | ||
ec98a4ad AB |
89 | 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
90 | ||
91 | * source.c (print_source_lines_base): Handle requests to print | |
92 | reverse line number sequences, and guard against empty lines | |
93 | string. | |
94 | ||
62ea19c1 AB |
95 | 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
96 | ||
97 | * source.c (print_source_lines_base): Fix skip of '\r' if next | |
98 | character is '\n'. | |
99 | ||
9d30e1fd TT |
100 | 2019-01-06 Tom Tromey <tom@tromey.com> |
101 | ||
102 | * c-exp.y (struct c_parse_state) <macro_original_text, | |
103 | expansion_obstack>: New member. | |
104 | (macro_original_text, expansion_obstack): Remove globals. | |
105 | (scan_macro_expansion, scanning_macro_expansion) | |
106 | (finished_macro_expansion): Update. | |
107 | (scan_macro_cleanup): Remove. | |
108 | (yylex, c_parse): Update. | |
109 | ||
c65bac38 TT |
110 | 2019-01-06 Tom Tromey <tom@tromey.com> |
111 | ||
112 | * c-exp.y (struct c_parse_state) <strings>: New member. | |
113 | (operator_stoken): Update. | |
114 | ||
02e12e38 TT |
115 | 2019-01-06 Tom Tromey <tom@tromey.com> |
116 | ||
117 | * parser-defs.h (type_ptr): Remove typedef. Don't declare VEC. | |
118 | (union type_stack_elt) <typelist_val>: Now a pointer to | |
119 | std::vector. | |
120 | (type_stack_cleanup): Don't declare. | |
121 | (push_typelist): Update. | |
122 | * parse.c (pop_typelist): Return a std::vector. | |
123 | (push_typelist): Take a std::vector. | |
124 | (follow_types): Update. Do not free args. | |
125 | (type_stack_cleanup): Remove. | |
126 | * c-exp.y (struct c_parse_state): New. | |
127 | (cpstate): New global. | |
128 | (type_aggregate_p, exp, ptr_operator, parameter_typelist) | |
129 | (nonempty_typelist): Update. | |
130 | (func_mod): Create a new vector. | |
131 | (c_parse): Create a c_parse_state. | |
132 | (check_parameter_typelist): Do not delete params. | |
133 | (function_method): Update. Do not delete type_list. | |
134 | ||
f097f5ad TT |
135 | 2019-01-06 Tom Tromey <tom@tromey.com> |
136 | ||
137 | PR gdb/28155: | |
138 | * python/py-finishbreakpoint.c (bpfinishpy_init): Use | |
139 | check_typedef. | |
140 | * infcmd.c (finish_command_fsm_should_stop): Use check_typedef. | |
141 | (print_return_value): Likewise. | |
142 | ||
d2adf9f1 TT |
143 | 2019-01-05 Tom Tromey <tom@tromey.com> |
144 | ||
145 | * contrib/cleanup_check.py: Remove. | |
146 | * contrib/gcc-with-excheck: Remove. | |
147 | * contrib/exsummary.py: Remove. | |
148 | * contrib/excheck.py: Remove. | |
149 | ||
2eab46b1 JB |
150 | 2019-01-05 Joel Brobecker <brobecker@adacore.com> |
151 | ||
152 | * thread.c (delete_thread_1): Add gdb_assert that THR is not | |
153 | NULL. Initialize tpprev to NULL instead of assigning it | |
154 | to NULL on the next statement. | |
155 | * windows-nat.c (windows_delete_thread): Remove check for | |
156 | main_thread_id before printing thread exit notifications. | |
157 | (get_windows_debug_event) <EXIT_THREAD_DEBUG_EVENT>: | |
158 | Remove thread ID check against main_thread_id. | |
159 | <CREATE_PROCESS_DEBUG_EVENT>: Remove call to | |
160 | windows_delete_thread. | |
161 | <EXIT_PROCESS_DEBUG_EVENT>: Add call to windows_delete_thread. | |
162 | ||
48c5e7e2 TT |
163 | 2019-01-04 Tom Tromey <tom@tromey.com> |
164 | ||
165 | * compile/compile.c (_initialize_compile): Use upper case for | |
166 | metasyntactic variables. | |
167 | * symmisc.c (_initialize_symmisc): Use upper case for | |
168 | metasyntactic variables. | |
169 | * psymtab.c (_initialize_psymtab): Use upper case for | |
170 | metasyntactic variables. | |
171 | * demangle.c (demangle_command): Use upper case for metasyntactic | |
172 | variables. | |
173 | (_initialize_demangler): Likewise. | |
174 | * ax-gdb.c (_initialize_ax_gdb): Use upper case for metasyntactic | |
175 | variables. | |
176 | ||
986041cd TT |
177 | 2019-01-03 Tom Tromey <tom@tromey.com> |
178 | ||
179 | * tui/tui-source.c (tui_set_source_content): Use xstrdup. | |
180 | ||
7c711119 TT |
181 | 2019-01-03 Tom Tromey <tom@tromey.com> |
182 | ||
183 | * python/py-symtab.c (salpy_str): Update. | |
184 | (struct salpy_sal_object) <symtab>: Now a PyObject. | |
185 | (salpy_dealloc): Update. | |
186 | (del_objfile_sal): Use gdbpy_ref. | |
187 | ||
1b20edf0 TT |
188 | 2019-01-03 Tom Tromey <tom@tromey.com> |
189 | ||
190 | * python/py-type.c (convert_field): Use new_reference. Return | |
191 | gdbpy_ref. | |
192 | (make_fielditem): Return gdbpy_ref. | |
193 | (typy_fields): Update. | |
194 | (typy_getitem): Update. | |
195 | (field_name): Return gdbpy_ref. Use new_reference. | |
196 | (typy_iterator_iternext): Update. | |
197 | ||
ea41325b TT |
198 | 2019-01-03 Tom Tromey <tom@tromey.com> |
199 | ||
200 | * python/py-record.c (gdbpy_stop_recording): Use Py_RETURN_NONE. | |
201 | ||
2a3c71d6 TT |
202 | 2019-01-03 Tom Tromey <tom@tromey.com> |
203 | ||
204 | * python/py-value.c (valpy_dealloc): Use Py_XDECREF. | |
205 | * python/py-type.c (typy_fields_items): Use gdbpy_ref. | |
206 | * python/py-progspace.c (pspy_set_printers): Use gdbpy_ref. | |
207 | (pspy_set_frame_filters, pspy_set_frame_unwinders) | |
208 | (pspy_set_type_printers): Likewise. | |
209 | * python/py-function.c (fnpy_init): Use gdbpy_ref. | |
210 | * python/py-cmd.c (cmdpy_init): Use gdbpy_ref. | |
211 | * python/py-objfile.c (objfpy_set_printers): Use gdbpy_ref. | |
212 | (objfpy_set_frame_filters, objfpy_set_frame_unwinders) | |
213 | (objfpy_set_type_printers): Likewise. | |
214 | ||
5c329e6a TT |
215 | 2019-01-03 Tom Tromey <tom@tromey.com> |
216 | ||
217 | * python/python.c (gdbpy_enter, ~gdbpy_enter): Update. | |
218 | (gdbpy_print_stack): Use gdbpy_err_fetch. | |
219 | * python/python-internal.h (class gdbpy_err_fetch): New class. | |
220 | (class gdbpy_enter) <m_error_type, m_error_value, | |
221 | m_error_traceback>: Remove. | |
222 | <m_error>: New member. | |
223 | (gdbpy_exception_to_string): Don't declare. | |
224 | * python/py-varobj.c (py_varobj_iter_next): Use gdbpy_err_fetch. | |
225 | * python/py-value.c (convert_value_from_python): Use | |
226 | gdbpy_err_fetch. | |
227 | * python/py-utils.c (gdbpy_err_fetch::to_string): Rename from | |
228 | gdbpy_exception_to_string. | |
229 | (gdbpy_handle_exception): Use gdbpy_err_fetch. | |
230 | * python/py-prettyprint.c (print_stack_unless_memory_error): Use | |
231 | gdbpy_err_fetch. | |
232 | ||
169bb27b AB |
233 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
234 | ||
235 | * linux-nat.c (delete_lwp_cleanup): Delete. | |
236 | (struct lwp_deleter): New struct. | |
237 | (lwp_info_up): New typedef. | |
238 | (linux_nat_target::follow_fork): Delete cleanup, and make use of | |
239 | lwp_info_up. | |
240 | ||
a07c8880 AB |
241 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
242 | ||
243 | * linux-fork.c (class scoped_switch_fork_info): New class. | |
244 | (inferior_call_waitpid): Update to use scoped_switch_fork_info. | |
245 | ||
26089c49 AB |
246 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
247 | ||
248 | * valops.c (find_overload_match): Remove use of null_cleanup, and | |
249 | calls to do_cleanups. | |
250 | ||
06d3e5b0 AB |
251 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
252 | ||
253 | * compile/compile-cplus-types.c | |
254 | (compile_cplus_instance::decl_name): Handle changes to | |
255 | cp_func_name. | |
256 | * cp-support.c (cp_func_name): Update header comment, update | |
257 | return type. | |
258 | * cp-support.h (cp_func_name): Update return type in declaration. | |
259 | * valops.c (find_overload_match): Move temp_func local to top | |
260 | level of function and change its type. Use temp_func to hold and | |
261 | delete temporary string obtained from cp_func_name. | |
262 | ||
66644cd3 AB |
263 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
264 | ||
265 | * remote.c (remote_target::remote_check_symbols): Convert `msg` to | |
266 | gdb::char_vector, remove cleanup, and update uses of `msg`. | |
267 | ||
592d8c0a JW |
268 | 2019-01-03 Jim Wilson <jimw@sifive.com> |
269 | ||
270 | * riscv-tdep.c (riscv_freg_feature): Drop s0 name from f8. | |
271 | ||
c55d06ec TT |
272 | 2019-01-02 Tom Tromey <tom@tromey.com> |
273 | ||
274 | * xml-tdesc.c (xml_cache): Hold a target_desc_up. | |
275 | (tdesc_parse_xml): Remove cleanups. | |
276 | * target-descriptions.h (make_cleanup_free_target_description): | |
277 | Don't declare. | |
278 | (target_desc_deleter): New struct. | |
279 | (target_desc_up): New typedef. | |
280 | * target-descriptions.c (target_desc_deleter::operator()): Rename | |
281 | from free_target_description. | |
282 | (make_cleanup_free_target_description): Remove. | |
283 | ||
3a6ae42d TT |
284 | 2019-01-02 Tom Tromey <tom@tromey.com> |
285 | ||
286 | * linespec.c (struct linespec_parser): Rename from ls_parser. Add | |
287 | constructor, destructor. | |
288 | (linespec_parser): Remove typedef. | |
289 | (~linespec_parser): Rename from linespec_parser_delete. | |
290 | (linespec_lex_to_end, linespec_complete_label) | |
291 | (linespec_complete): Update. | |
292 | (decode_line_full): Remove cleanups. | |
293 | (decode_line_1): Update. | |
294 | ||
61fd3e73 TT |
295 | 2019-01-02 Tom Tromey <tom@tromey.com> |
296 | ||
297 | * python/python-internal.h (inferior_to_inferior_object): Change | |
298 | return type. | |
299 | * python/py-exitedevent.c (create_exited_event_object): Update. | |
300 | * python/py-inferior.c (inferior_to_inferior_object): Return | |
301 | gdbpy_ref. | |
302 | (python_new_inferior, python_inferior_deleted) | |
303 | (thread_to_thread_object, delete_thread_object) | |
304 | (build_inferior_list, gdbpy_selected_inferior): Update. | |
305 | * python/py-infthread.c (create_thread_object): Update. Also fail | |
306 | if inferior_to_inferior_object fails. | |
307 | ||
d20172fc SM |
308 | 2019-01-02 Simon Marchi <simon.marchi@ericsson.com> |
309 | ||
310 | * inferior.h (class inferior) <displaced_step_state>: New field. | |
311 | * infrun.h (struct displaced_step_state): Move here from | |
312 | infrun.c. Initialize fields, add constructor. | |
313 | <inf>: Remove field. | |
314 | <reset>: New method. | |
315 | * infrun.c (struct displaced_step_inferior_state): Move to | |
316 | infrun.h. | |
317 | (displaced_step_inferior_states): Remove. | |
318 | (get_displaced_stepping_state): Adust. | |
319 | (displaced_step_in_progress_any_inferior): Adjust. | |
320 | (displaced_step_in_progress_thread): Adjust. | |
321 | (displaced_step_in_progress): Adjust. | |
322 | (add_displaced_stepping_state): Remove. | |
323 | (get_displaced_step_closure_by_addr): Adjust. | |
324 | (remove_displaced_stepping_state): Remove. | |
325 | (infrun_inferior_exit): Call displaced_step_state.reset. | |
326 | (use_displaced_stepping): Don't check for NULL. | |
327 | (displaced_step_prepare_throw): Call | |
328 | get_displaced_stepping_state. | |
329 | (displaced_step_fixup): Don't check for NULL. | |
330 | (prepare_for_detach): Don't check for NULL. | |
331 | ||
e3319240 PW |
332 | 2019-01-02 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
333 | ||
334 | * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm | |
335 | in case of call that did not complete. | |
336 | ||
5d36dfb9 AU |
337 | 2019-01-02 Andrey Utkin <autkin@undo.io> |
338 | ||
339 | * symfile.c (find_separate_debug_file): Fix search of debug files for | |
340 | remote debuggee. | |
341 | ||
8833fbf0 TT |
342 | 2019-01-02 Tom Tromey <tom@tromey.com> |
343 | ||
344 | * python/py-inferior.c (gdbpy_initialize_inferior): Fix | |
345 | indentation. | |
346 | * python/py-frame.c (frapy_older): Remove cast. | |
347 | (frapy_newer): Likewise. | |
348 | * python/py-breakpoint.c (local_setattro): Remove cast. | |
349 | * python/py-arch.c (archpy_name): Remove local variable. | |
350 | * python/py-type.c (gdbpy_lookup_type): Remove cast. | |
351 | ||
4ada3dfd JB |
352 | 2019-01-02 Joel Brobecker <brobecker@adacore.com> |
353 | ||
354 | * unittests/basic_string_view/element_access/char/empty.cc: | |
355 | Fix year range in copyright header. | |
356 | ||
113b7b81 AB |
357 | 2019-01-01 Andrew Burgess <andrew.burgess@embecosm.com> |
358 | ||
359 | * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>: | |
360 | Delete. | |
361 | <operator==>: Update with for removed field. | |
362 | <hash>: Likewise. | |
363 | * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to... | |
364 | <isa_features>: ...this. | |
365 | <abi_features>: New field. | |
366 | (riscv_isa_flen): Update comment. | |
367 | (riscv_abi_xlen): New declaration. | |
368 | (riscv_abi_flen): New declaration. | |
369 | * riscv-tdep.c (riscv_isa_xlen): Update to get answer from | |
370 | isa_features. | |
371 | (riscv_abi_xlen): New function. | |
372 | (riscv_isa_flen): Update to get answer from isa_features. | |
373 | (riscv_abi_flen): New function. | |
374 | (riscv_has_fp_abi): Update to get answer from abi_features. | |
375 | (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa | |
376 | xlen and flen. | |
377 | (riscv_call_info) <xlen, flen>: Update comment. | |
378 | (riscv_call_arg_struct): Remove invalid assertions | |
379 | (riscv_features_from_gdbarch_info): Update now hw_float_abi field | |
380 | is removed. | |
381 | (riscv_gdbarch_init): Gather isa features and abi features | |
382 | separately, ensure both match on the gdbarch when reusing an old | |
383 | gdbarch. Relax an error check to allow 32-bit abi float to run on | |
384 | a target with 64-bit float hardware. | |
385 | ||
b18ca514 PW |
386 | 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
387 | ||
388 | * source.c (search_command_helper): Stop reverse search | |
389 | when line 1 has been searched. | |
390 | ||
ec70d8db PW |
391 | 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
392 | ||
393 | * record-full.c (record_full_base_target::close): Rewrite | |
394 | record_full_core_buf_list free logic. | |
395 | ||
5b38f9c1 PW |
396 | 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
397 | ||
398 | * break-catch-syscall.c (print_one_catch_syscall): xfree | |
399 | the last text. | |
400 | ||
66d91b39 JB |
401 | 2019-01-01 Joel Brobecker <brobecker@adacore.com> |
402 | ||
403 | * top.c (print_gdb_version): Update Copyright year in version | |
404 | message. | |
405 | ||
42a4f53d JB |
406 | 2019-01-01 Joel Brobecker <brobecker@adacore.com> |
407 | ||
408 | Update copyright year range in all GDB files. | |
409 | ||
5bbd631d | 410 | 2019-01-01 Joel Brobecker <brobecker@adacore.com> |
2139e8dc | 411 | |
5bbd631d | 412 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018. |
2139e8dc | 413 | |
5bbd631d | 414 | For older changes see ChangeLog-2018. |
c906108c SS |
415 | \f |
416 | Local Variables: | |
417 | mode: change-log | |
418 | left-margin: 8 | |
419 | fill-column: 74 | |
420 | version-control: never | |
57da7796 | 421 | coding: utf-8 |
c906108c | 422 | End: |
5bbd631d | 423 |