Commit | Line | Data |
---|---|---|
fe726667 PA |
1 | 2019-03-07 Pedro Alves <palves@redhat.com> |
2 | ||
3 | * infrun.c (normal_stop): Also check for | |
4 | TARGET_WAITKIND_NO_RESUMED before referring to inferior_thread(). | |
5 | ||
7584bb30 AB |
6 | 2019-03-07 Andrew Burgess <andrew.burgess@embecosm.com> |
7 | ||
8 | * f-lang.c (value_from_host_double): Moved to... | |
9 | * value.c (value_from_host_double): ...here. | |
10 | * value.h (value_from_host_double): Declare. | |
11 | * guile/scm-math.c (vlscm_convert_typed_number): Use | |
12 | value_from_host_double. | |
13 | (vlscm_convert_number): Likewise. | |
14 | * guile/scm-value.c (gdbscm_value_to_real): Likewise. | |
15 | * python/py-value.c (convert_value_from_python): Likewise. | |
16 | ||
a7b1986e TT |
17 | 2019-03-06 Tom Tromey <tom@tromey.com> |
18 | ||
19 | * gcore.c (write_gcore_file): Use SCOPE_EXIT. | |
20 | ||
0ccf4211 TT |
21 | 2019-03-06 Tom Tromey <tom@tromey.com> |
22 | ||
23 | * utils.h (free_current_contents): Don't declare. | |
24 | * utils.c (free_current_contents): Remove. | |
25 | ||
fe7b42e5 TT |
26 | 2019-03-06 Tom Tromey <tom@tromey.com> |
27 | ||
28 | * top.c (quit_force): Update. | |
29 | * main.c (captured_command_loop): Update. | |
30 | * common/new-op.c (operator new): Update. | |
31 | * common/common-exceptions.c (struct catcher) | |
32 | <save_cleanup_chain>: Remove member. | |
33 | (exceptions_state_mc_init): Update. | |
34 | (exception_try_scope_entry): Return nullptr. | |
35 | (exception_try_scope_exit, exception_rethrow) | |
36 | (throw_exception_sjlj, throw_exception_cxx): Update. | |
37 | * common/cleanups.h (make_cleanup, make_cleanup_dtor) | |
38 | (all_cleanups, do_cleanups, discard_cleanups) | |
39 | (discard_final_cleanups, save_cleanups, save_final_cleanups) | |
40 | (restore_cleanups, restore_final_cleanups): Don't declare. | |
41 | (do_final_cleanups): Remove parameter. | |
42 | * common/cleanups.c (cleanup_chain, make_cleanup) | |
43 | (make_cleanup_dtor, all_cleanups, do_cleanups) | |
44 | (discard_my_cleanups, discard_cleanups) | |
45 | (discard_final_cleanups, save_my_cleanups, save_cleanups) | |
46 | (save_final_cleanups, restore_my_cleanups, restore_cleanups) | |
47 | (null_cleanup): Remove. | |
48 | (do_final_cleanups): Remove parameter. | |
49 | ||
c6321f19 TT |
50 | 2019-03-06 Tom Tromey <tom@tromey.com> |
51 | ||
52 | * remote.c (remote_target::remote_parse_stop_reply): Use | |
53 | unique_xmalloc_ptr. | |
54 | ||
61b30099 TT |
55 | 2019-03-06 Tom Tromey <tom@tromey.com> |
56 | ||
57 | * stabsread.c (struct stabs_field_info): Rename from field_info. | |
58 | <list, fnlist>: Add initializers. | |
59 | <obstack>: New member. | |
60 | (read_member_functions, read_struct_fields, read_baseclasses): | |
61 | Allocate on obstack. Don't use cleanups. | |
62 | (read_one_struct_field, read_member_functions, read_struct_fields) | |
63 | (read_baseclasses, read_tilde_fields, attach_fn_fields_to_type) | |
64 | (attach_fields_to_type, read_cpp_abbrev, read_member_functions) | |
65 | (read_struct_type): Update. | |
66 | ||
6cceac94 TT |
67 | 2019-03-06 Tom Tromey <tom@tromey.com> |
68 | ||
69 | * nat/linux-namespaces.c (linux_mntns_access_fs): Use SCOPE_EXIT. | |
70 | * common/filestuff.h (make_cleanup_close): Don't declare. | |
71 | * common/filestuff.c (do_close_cleanup, make_cleanup_close): | |
72 | Remove. | |
73 | ||
72412762 TT |
74 | 2019-03-06 Tom Tromey <tom@tromey.com> |
75 | ||
76 | * solib-aix.c: Use make_scope_exit. | |
77 | ||
2b6ff1c0 TT |
78 | 2019-03-06 Tom Tromey <tom@tromey.com> |
79 | ||
80 | * solib-svr4.c (svr4_parse_libraries, svr4_current_sos_direct): | |
81 | Use make_scope_exit. | |
82 | ||
d01c5877 TT |
83 | 2019-03-06 Tom Tromey <tom@tromey.com> |
84 | ||
85 | * solib-svr4.c (disable_probes_interface): Remove parameter. | |
86 | (svr4_handle_solib_event): Use make_scope_exit. | |
87 | ||
32603266 TT |
88 | 2019-03-06 Tom Tromey <tom@tromey.com> |
89 | ||
90 | * remote.c (struct stop_reply_deleter): Remove. | |
91 | (stop_reply_up): Update. | |
92 | (struct stop_reply): Derive from notif_event. Don't typedef. | |
93 | <regcache>: Now a std::vector. | |
94 | (stop_reply_xfree): Remove. | |
95 | (stop_reply::~stop_reply): Rename from stop_reply_dtr. | |
96 | (remote_notif_stop_alloc_reply): Return a unique_ptr. Use new. | |
97 | (remote_target::discard_pending_stop_replies): Use delete. | |
98 | (remote_target::remote_parse_stop_reply): Update. | |
99 | (remote_target::process_stop_reply): Update. | |
100 | * remote-notif.h (struct notif_event): Add virtual destructor. | |
101 | Remove "dtr" member. | |
102 | (struct notif_client) <alloc_event>: Return a unique_ptr. | |
103 | (notif_event_xfree): Don't declare. | |
104 | (notif_event_up): New typedef. | |
105 | * remote-notif.c (remote_notif_ack, remote_notif_parse): Update. | |
106 | (notif_event_xfree, do_notif_event_xfree): Remove. | |
107 | (remote_notif_state_xfree): Update. | |
108 | ||
9799571e TT |
109 | 2019-03-06 Tom Tromey <tom@tromey.com> |
110 | ||
111 | * infrun.c (displaced_step_clear_cleanup): Now a | |
112 | forward_scope_exit type. | |
113 | (displaced_step_prepare_throw): Update. | |
114 | (displaced_step_fixup): Update. | |
115 | ||
09e3c4ca TT |
116 | 2019-03-06 Tom Tromey <tom@tromey.com> |
117 | ||
118 | * inferior.h (class inferior): Update comment. | |
119 | * gdbthread.h (class thread_info): Update comment. | |
120 | ||
e2a03548 TT |
121 | 2019-03-06 Joel Brobecker <brobecker@adacore.com> |
122 | Tom Tromey <tom@tromey.com> | |
123 | ||
124 | * stabsread.h (struct stab_section_list): Remove. | |
125 | (coffstab_build_psymtabs): Update. | |
126 | * dbxread.c (symbuf_sections): Now a std::vector. | |
127 | (sect_idx): New global. | |
128 | (fill_symbuf): Update. | |
129 | (coffstab_build_psymtabs): Change type of stabsects parameter. | |
130 | Update. | |
131 | * coffread.c (struct coff_symfile_info) <stabsects>: Now a | |
132 | std::vector. | |
133 | (linetab, linetab_offset, linetab_size, stringtab): Move earlier. | |
134 | (coff_locate_sections): Update. | |
135 | (coff_symfile_read): Remove cleanups. Update. | |
136 | (init_stringtab): Add storage parameter. | |
137 | (free_stringtab, free_stringtab_cleanup): Remove. | |
138 | (init_lineno): Add storage parameter. | |
139 | (free_linetab, free_linetab_cleanup): Remove. | |
140 | ||
b7e60d85 PA |
141 | 2019-03-06 Pedro Alves <palves@redhat.com> |
142 | ||
143 | * linux-fork.c (fork_info::clobber_regs): Delete. | |
144 | (fork_load_infrun_state): Remove reference to 'clobber_regs'. | |
145 | (fork_save_infrun_state): Remove 'clobber_regs' parameter. Update | |
146 | comment. Adjust. | |
147 | (scoped_switch_fork_info::scoped_switch_fork_info) | |
148 | (checkpoint_command, linux_fork_context): Adjust | |
149 | fork_save_infrun_state calls. | |
150 | ||
e52c971f PA |
151 | 2019-03-06 Pedro Alves <palves@redhat.com> |
152 | ||
153 | * linux-fork.c (inf_has_multiple_thread_cb): Delete. | |
154 | (inf_has_multiple_threads): Return 'bool' and rewrite using | |
155 | inferior_info::threads(). | |
156 | ||
06974e6c PA |
157 | 2019-03-06 Pedro Alves <palves@redhat.com> |
158 | ||
159 | * linux-fork.c: Include <list>. | |
160 | (fork_list): Now a std::list instance. | |
161 | (fork_info): Add ctor, dtor, and in-class initialize all fields. | |
162 | (forks_exist_p, find_last_fork): Adjust. | |
163 | (new_fork): Delete. | |
164 | (one_fork_p): New. | |
165 | (add_fork): Adjust. | |
166 | (free_fork): Delete, folded into fork_info::~fork_info(). | |
167 | (delete_fork, find_fork_ptid, find_fork_id, find_fork_pid): | |
168 | Adjust. | |
169 | (init_fork_list): Delete. | |
170 | (linux_fork_killall, linux_fork_mourn_inferior) | |
171 | (linux_fork_detach, info_checkpoints_command): Adjust. | |
172 | (_initialize_linux_fork): No longer call init_fork_list. | |
173 | ||
72f31aea PA |
174 | 2019-03-06 Pedro Alves <palves@redhat.com> |
175 | ||
176 | * linux-fork.c (new_fork): New, split out of ... | |
177 | (add_fork): ... this. Return void. Move "first fork" special | |
178 | case from here, to ... | |
179 | (checkpoint_command): ... here. | |
180 | * linux-linux.h (add_fork): Return void. | |
181 | ||
efbecbc1 AB |
182 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
183 | ||
184 | * f-exp.y (direct_abs_decl): Handle TYPE*SIZE type names. | |
185 | ||
0841c79a AB |
186 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
187 | Chris January <chris.january@arm.com> | |
188 | David Lecomber <david.lecomber@arm.com> | |
189 | ||
190 | * f-exp.y: New token, UNOP_INTRINSIC. | |
191 | (exp): New pattern using UNOP_INTRINSIC token. | |
192 | (f77_keywords): Add 'abs' keyword. | |
193 | * f-lang.c: Add 'target-float.h' and 'math.h' includes. | |
194 | (value_from_host_double): New function. | |
195 | (evaluate_subexp_f): Support UNOP_ABS. | |
196 | ||
4a270568 AB |
197 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
198 | ||
199 | * f-lang.c (build_fortran_types): Use TYPE_CODE_CHAR for character | |
200 | types. | |
201 | ||
067630bd AB |
202 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
203 | ||
204 | * f-exp.y (convert_to_kind_type): Handle integer (kind=8). | |
205 | * f-lang.c (build_fortran_types): Setup builtin_integer_s8. | |
206 | * f-lang.h (struct builtin_f_type): Add builtin_integer_s8 field. | |
207 | ||
3be47f7a AB |
208 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
209 | ||
210 | * f-exp.y (convert_to_kind_type): Handle more type kinds. | |
211 | ||
4d00f5d8 AB |
212 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
213 | Chris January <chris.january@arm.com> | |
214 | ||
215 | * expprint.c (dump_subexp_body_standard): Support UNOP_KIND. | |
216 | * f-exp.y: Define 'KIND' token. | |
217 | (exp): New pattern for KIND expressions. | |
218 | (ptype): Handle types with a kind extension. | |
219 | (direct_abs_decl): Extend to spot kind extensions. | |
220 | (f77_keywords): Add 'kind' to the list. | |
221 | (push_kind_type): New function. | |
222 | (convert_to_kind_type): New function. | |
223 | * f-lang.c (evaluate_subexp_f): Support UNOP_KIND. | |
224 | * parse.c (operator_length_standard): Likewise. | |
225 | * parser-defs.h (enum type_pieces): Add tp_kind. | |
226 | * std-operator.def: Add UNOP_KIND. | |
227 | ||
e454224f AB |
228 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
229 | ||
230 | * f-exp.y (f_parse): Set yydebug. | |
231 | ||
9dad4a58 AB |
232 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
233 | ||
234 | * f-lang.c (evaluate_subexp_f): New function. | |
235 | (exp_descriptor_f): New global. | |
236 | (f_language_defn): Use exp_descriptor_f instead of | |
237 | exp_descriptor_standard. | |
238 | ||
c8f91604 AB |
239 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
240 | ||
241 | * f-exp.y (struct token): Add comments. | |
242 | (dot_ops): Remove uppercase versions and the end marker. | |
243 | (f77_keywords): Likewise. | |
244 | (yylex): Use ARRAY_SIZE to iterate over dot_ops, assert all | |
245 | entries in the dot_ops array are case insensitive, and use | |
246 | strncasecmp to compare strings. Also some whitespace cleanup in | |
247 | this area. Similar for the f77_keywords array, except entries in | |
248 | this list might be case sensitive. | |
249 | ||
dd9f2c76 AB |
250 | 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com> |
251 | ||
252 | * f-exp.y (struct f77_boolean_val): Add comments. | |
253 | (boolean_values): Remove uppercase versions, and end marker. | |
254 | (yylex): Use ARRAY_SIZE for iterating over boolean_values array, | |
255 | and use strncasecmp to achieve case insensitivity. Additionally, | |
256 | perform whitespace cleanup around this code. | |
257 | ||
67a3048c TT |
258 | 2019-03-06 Tom Tromey <tromey@adacore.com> |
259 | ||
260 | * remote-sim.c (gdbsim_target_open): Use result of | |
261 | gdb_argv::release. | |
262 | ||
aa3cfbda RB |
263 | 2019-03-06 Richard Bunt <richard.bunt@arm.com> |
264 | Dirk Schubert <dirk.schubert@arm.com> | |
265 | Chris January <chris.january@arm.com> | |
266 | ||
267 | * eval.c (evaluate_subexp_standard): Call Fortran argument | |
268 | wrapping logic. | |
269 | * f-lang.c (struct value): A value which can be passed into a | |
270 | Fortran function call. | |
271 | (fortran_argument_convert): Wrap Fortran arguments in a pointer | |
272 | where appropriate. | |
273 | (struct type): Value ready for a Fortran function call. | |
274 | (fortran_preserve_arg_pointer): Undo check_typedef, the pointer | |
275 | is needed. | |
276 | * f-lang.h (fortran_argument_convert): Declaration. | |
277 | (fortran_preserve_arg_pointer): Declaration. | |
278 | * infcall.c (value_arg_coerce): Call Fortran argument logic. | |
279 | ||
ea38e5df TT |
280 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
281 | ||
282 | * python/py-prettyprint.c (print_string_repr): Remove #if. | |
283 | * python/py-utils.c (unicode_to_encoded_string): Remove #if. | |
284 | ||
06b5b831 TT |
285 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
286 | ||
287 | * target.c (the_dummy_target): Move later. Change type to | |
288 | "dummy_target". | |
289 | (initialize_targets): Don't initialize the_dummy_target. | |
290 | ||
edbd9e45 TT |
291 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
292 | ||
293 | * gdb_bfd.c (gdb_bfd_fdopenr): Remove. | |
294 | * gdb_bfd.h (gdb_bfd_fdopenr): Don't declare. | |
295 | ||
c119e040 TT |
296 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
297 | ||
298 | * windows-nat.c (windows_nat_target::attach) | |
299 | (windows_nat_target::detach): Don't call gdb_flush. | |
300 | * valprint.c (generic_val_print, val_print, val_print_string): | |
301 | Don't call gdb_flush. | |
302 | * utils.c (defaulted_query): Don't call gdb_flush. | |
303 | * typeprint.c (print_type_scalar): Don't call gdb_flush. | |
304 | * target.c (target_announce_detach): Don't call gdb_flush. | |
305 | * sparc64-tdep.c (adi_print_versions): Don't call gdb_flush. | |
306 | * remote.c (extended_remote_target::attach): Don't call | |
307 | gdb_flush. | |
308 | * procfs.c (procfs_target::detach): Don't call gdb_flush. | |
309 | * printcmd.c (do_examine): Don't call gdb_flush. | |
310 | (info_display_command): Don't call gdb_flush. | |
311 | * p-valprint.c (pascal_val_print): Don't call gdb_flush. | |
312 | * nto-procfs.c (nto_procfs_target::attach): Don't call gdb_flush. | |
313 | * memattr.c (info_mem_command): Don't call gdb_flush. | |
314 | * mdebugread.c (mdebug_build_psymtabs): Don't call gdb_flush. | |
315 | * m2-valprint.c (m2_val_print): Don't call gdb_flush. | |
316 | * infrun.c (follow_exec, handle_command): Don't call gdb_flush. | |
317 | * inf-ptrace.c (inf_ptrace_target::attach): Don't call gdb_flush. | |
318 | * hppa-tdep.c (unwind_command): Don't call gdb_flush. | |
319 | * gnu-nat.c (gnu_nat_target::attach): Don't call gdb_flush. | |
320 | (gnu_nat_target::detach): Don't call gdb_flush. | |
321 | * f-valprint.c (f_val_print): Don't call gdb_flush. | |
322 | * darwin-nat.c (darwin_nat_target::attach): Don't call gdb_flush. | |
323 | * cli/cli-script.c (read_command_lines): Don't call gdb_flush. | |
324 | * cli/cli-cmds.c (shell_escape, print_disassembly): Don't call | |
325 | gdb_flush. | |
326 | * c-valprint.c (c_val_print): Don't call gdb_flush. | |
327 | * ada-valprint.c (ada_print_scalar): Don't call gdb_flush. | |
328 | ||
895dafa6 TT |
329 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
330 | ||
331 | * varobj.c (update_dynamic_varobj_children): Update. | |
332 | (install_default_visualizer): Use reset, not release. | |
333 | * value.c (set_internalvar): Update. | |
334 | * dwarf2loc.c (value_of_dwarf_reg_entry): Update. | |
335 | * common/gdb_ref_ptr.h (class ref_ptr) <release>: Add | |
336 | ATTRIBUTE_UNUSED_RESULT. | |
337 | ||
88a774b9 TT |
338 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
339 | ||
340 | * remote.c (class scoped_remote_fd) <release>: Add | |
341 | ATTRIBUTE_UNUSED_RESULT. | |
342 | ||
4e4a8b93 TT |
343 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
344 | ||
345 | * macroexp.c (struct macro_buffer) <release>: Add | |
346 | ATTRIBUTE_UNUSED_RESULT. | |
347 | ||
083eef1f TT |
348 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
349 | ||
350 | * nat/linux-btrace.c (linux_enable_bts, linux_enable_pt): Update. | |
351 | * common/scoped_mmap.h (class scoped_mmap) <release>: Add | |
352 | ATTRIBUTE_UNUSED_RESULT. | |
353 | ||
3cabd438 TT |
354 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
355 | ||
356 | * common/scoped_fd.h (class scoped_fd) <release>: Add | |
357 | ATTRIBUTE_UNUSED_RESULT. | |
358 | ||
41e3300a TT |
359 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
360 | ||
361 | * parser-defs.h (struct parser_state) <release>: Add | |
362 | ATTRIBUTE_UNUSED_RESULT. | |
363 | ||
18cb7c9f TT |
364 | 2019-03-05 Tom Tromey <tromey@adacore.com> |
365 | ||
366 | * utils.h (class gdb_argv) <release>: Add | |
367 | ATTRIBUTE_UNUSED_RESULT. | |
368 | * common/common-defs.h (ATTRIBUTE_UNUSED_RESULT): Define. | |
369 | ||
41fa577f EZ |
370 | 2019-03-02 Eli Zaretskii <eliz@gnu.org> |
371 | ||
a6a4b2c6 EZ |
372 | * xml-syscall.c (xml_list_syscalls_by_group): Drop 'struct' from |
373 | for-loop range, to avoid compiler warnings. | |
374 | ||
375 | * tui/tui.c (tui_enable) [__MINGW32__]: Don't declare 'cap', to | |
376 | avoid compiler warnings about unused variables. | |
377 | ||
742a7df5 EZ |
378 | * NEWS: Mention end of support for native debugging on MS-Windows |
379 | before XP. | |
380 | ||
41fa577f EZ |
381 | PR gdb/24292 |
382 | * common/netstuff.c: | |
383 | * gdbserver/gdbreplay.c | |
384 | * gdbserver/remote-utils.c: | |
385 | * ser-tcp.c: | |
386 | * unittests/parse-connection-spec-selftests.c [USE_WIN32API]: | |
387 | Include ws2tcpip.h instead of wsiapi.h and winsock2.h. Redefine | |
388 | _WIN32_WINNT to 0x0501 if defined to a smaller value, as | |
389 | 'getaddrinfo' and 'freeaddrinfo' were not available before | |
390 | Windows XP, and mingw.org's MinGW headers by default define | |
391 | _WIN32_WINNT to 0x500. | |
392 | ||
827f438f GB |
393 | 2019-03-01 Gary Benson <gbenson@redhat.com> |
394 | ||
395 | * coffread.c (coff_start_symtab): Remove unnecessary xstrdup. | |
396 | ||
92137da0 RO |
397 | 2019-02-28 Brian Vandenberg <phantall@gmail.com> |
398 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
399 | ||
400 | PR gdb/8527 | |
401 | * procfs.c (proc_wait_for_stop): Wrap write of PCWSTOP in | |
402 | set_sigint_trap, clear_sigint_trap. | |
403 | ||
799efbe8 PW |
404 | 2019-02-27 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
405 | ||
406 | * target.c (target_detach): Clear the regcache and the | |
407 | frame cache. | |
408 | ||
8ed25214 PA |
409 | 2019-02-27 Pedro Alves <palves@redhat.com> |
410 | ||
411 | * utils.c (set_screen_size): When we cap the height/width sizes, | |
412 | tweak the corresponding command variable to show "unlimited": | |
413 | ||
23031e31 SJ |
414 | 2019-02-27 Saagar Jha <saagar@saagarjha.com> |
415 | Pedro Alves <palves@redhat.com> | |
416 | ||
417 | * utils.c (set_screen_size): Reduce "infinite" rows and columns | |
418 | before calling rl_set_screen_size. | |
419 | ||
6c28e44a TT |
420 | 2019-02-27 Tom Tromey <tromey@adacore.com> |
421 | ||
422 | * configure.ac (HAVE_LIBPYTHON2_4, HAVE_LIBPYTHON2_5): Never | |
423 | define. | |
424 | * python/py-value.c: Remove Python 2.4 workaround. | |
425 | * python/py-utils.c (gdb_pymodule_addobject): Remove Python 2.4 | |
426 | workaround. | |
427 | * python/py-type.c (convert_field, gdbpy_initialize_types): Remove | |
428 | Python 2.4 workaround. | |
429 | * python/python-internal.h: Remove Python 2.4 comment. | |
430 | (Py_ssize_t): Don't define. | |
431 | (PyVarObject_HEAD_INIT, Py_TYPE): Don't define. | |
432 | (gdb_Py_DECREF): Remove Python 2.4 workaround. | |
433 | (gdb_PyObject_GetAttrString, PyObject_GetAttrString): Remove. | |
434 | (gdb_PyObject_HasAttrString, PyObject_HasAttrString): Remove. | |
435 | * python/python.c (do_start_initialization): Remove Python 2.4 | |
436 | workaround. | |
437 | * python/py-prettyprint.c (class dummy_python_frame): Remove. | |
438 | (print_children): Remove Python 2.4 workaround. | |
439 | * python/py-inferior.c (buffer_procs): Remove Python 2.4 | |
440 | workaround. | |
441 | (CHARBUFFERPROC_NAME): Remove. | |
442 | * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Remove | |
443 | Python 2.4 workaround. | |
444 | ||
2c3fc25d | 445 | 2019-02-27 Kevin Buettner <kevinb@redhat.com> |
799efbe8 | 446 | |
2c3fc25d KB |
447 | * NEWS: Note minimum Python version. |
448 | ||
6ca62222 KB |
449 | 2019-02-27 Kevin Buettner <kevinb@redhat.com> |
450 | ||
451 | * python/py-inferior.c (infpy_write_memory): Remove non-IS_PY3K | |
452 | code from these functions. Remove corresponding ifdefs. Use | |
453 | Py_buffer_up instead of explicit calls to PyBuffer_Release. | |
454 | Remove gotos and target of gotos. | |
455 | (infpy_search_memory): Likewise. | |
456 | ||
f4bc7d2c AB |
457 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
458 | ||
459 | * gdb/hppa-tdep.c (hppa_dummy_id): Delete. | |
460 | (hppa_gdbarch_init): Don't register deleted functions with | |
461 | gdbarch. | |
462 | ||
9734a586 AB |
463 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
464 | ||
465 | * gdb/h8300-tdep.c (h8300_unwind_pc): Delete. | |
466 | (h8300_unwind_sp): Delete. | |
467 | (h8300_dummy_id): Delete. | |
468 | (h8300_gdbarch_init): Don't register deleted functions with | |
469 | gdbarch. | |
470 | ||
68b867f3 AB |
471 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
472 | ||
473 | * gdb/ft32-tdep.c (ft32_dummy_id): Delete. | |
474 | (ft32_unwind_pc): Delete. | |
475 | (ft32_unwind_sp): Delete. | |
476 | (ft32_gdbarch_init): Don't register deleted functions with | |
477 | gdbarch. | |
478 | ||
2fbe7ad0 AB |
479 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
480 | ||
481 | * gdb/frv-tdep.c (frv_dummy_id): Delete. | |
482 | (frv_unwind_pc): Delete. | |
483 | (frv_unwind_sp): Delete. | |
484 | (frv_gdbarch_init): Don't register deleted functions with | |
485 | gdbarch. | |
486 | ||
76055cbe AB |
487 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
488 | ||
489 | * gdb/riscv-tdep.c (riscv_dummy_id): Delete. | |
490 | (riscv_unwind_pc): Delete. | |
491 | (riscv_unwind_sp): Delete. | |
492 | (riscv_gdbarch_init): Don't register deleted functions with | |
493 | gdbarch. | |
494 | ||
4133e5a1 AB |
495 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
496 | ||
497 | * gdb/csky-tdep.c (csky_dummy_id): Delete. | |
498 | (csky_unwind_pc): Delete. | |
499 | (csky_unwind_sp): Delete. | |
500 | (csky_gdbarch_init): Don't register deleted functions with | |
501 | gdbarch. | |
502 | ||
8010f576 AB |
503 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
504 | ||
505 | * gdb/cris-tdep.c (cris_dummy_id): Delete. | |
506 | (cris_unwind_pc): Delete. | |
507 | (cris_unwind_sp): Delete. | |
508 | (cris_gdbarch_init): Don't register deleted functions with | |
509 | gdbarch. | |
510 | ||
b56bf084 AB |
511 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
512 | ||
513 | * gdb/bfin-tdep.c (bfin_dummy_id): Delete. | |
514 | (bfin_unwind_pc): Delete. | |
515 | (bfin_gdbarch_init): Don't register deleted functions with gdbarch. | |
516 | ||
a19a650f AB |
517 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
518 | ||
519 | * gdb/arm-tdep.c (arm_dummy_id): Delete. | |
520 | (arm_unwind_pc): Delete. | |
521 | (arm_unwind_sp): Delete. | |
522 | (arm_gdbarch_init): Don't register deleted functions with gdbarch. | |
523 | ||
f8278c3c AB |
524 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
525 | ||
526 | * gdb/arc-tdep.c (arc_dummy_id): Delete. | |
527 | (arc_unwind_pc): Delete. | |
528 | (arc_unwind_sp): Delete. | |
529 | (arc_gdbarch_init): Don't register deleted functions with gdbarch. | |
530 | ||
480e46cf AB |
531 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
532 | ||
533 | * gdb/alpha-tdep.c (alpha_dummy_id): Delete. | |
534 | (alpha_unwind_pc): Delete. | |
535 | (alpha_gdbarch_init): Don't register deleted functions with | |
536 | gdbarch. | |
537 | ||
7a995095 AB |
538 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
539 | ||
540 | * gdb/aarch64-tdep.c (aarch64_dummy_id): Delete. | |
541 | (aarch64_unwind_pc): Delete. | |
542 | (aarch64_unwind_sp): Delete. | |
543 | (aarch64_gdbarch_init): Don't register deleted functions with | |
544 | gdbarch. | |
545 | ||
bf9a735e AB |
546 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
547 | ||
548 | * gdbtypes.c (type_align): Don't consider static members when | |
549 | computing structure alignment. | |
550 | ||
5561fc30 AB |
551 | 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com> |
552 | ||
553 | * arc-tdep.c (arc_type_align): Provide alignment for basic types, | |
554 | return 0 for other types. | |
555 | * arch-utils.c (default_type_align): Always return 0. | |
556 | * gdbarch.h: Regenerate. | |
557 | * gdbarch.sh (type_align): Extend comment. | |
558 | * gdbtypes.c (type_align): Add additional comments, always call | |
559 | gdbarch_type_align before applying the default rules. | |
560 | * i386-tdep.c (i386_type_align): Return 0 as the default rule, | |
561 | generic code will then apply a suitable default. | |
562 | * nios2-tdep.c (nios2_type_align): Provide alignment for basic | |
563 | types, return 0 for other types. | |
564 | ||
9335e75a JB |
565 | 2019-02-27 Joel Brobecker <brobecker@adacore.com> |
566 | ||
567 | * NEWS: Create a new section for the next release branch. | |
568 | Rename the section of the current branch, now that it has | |
569 | been cut. | |
570 | ||
3d34d8de JB |
571 | 2019-02-27 Joel Brobecker <brobecker@adacore.com> |
572 | ||
573 | GDB 8.3 branch created (143420fb0d5ae54323ba9953f0818c194635228d): | |
574 | * version.in: Bump version to 8.3.50.DATE-git. | |
575 | ||
143420fb SM |
576 | 2019-02-26 Simon Marchi <simon.marchi@efficios.com> |
577 | ||
578 | * aix-thread.c (ptid_cmp): Remove unused variable. | |
579 | (get_signaled_thread): Likewise. | |
580 | (store_regs_user_thread): Likewise. | |
581 | (store_regs_kernel_thread): Likewise. | |
582 | (fetch_regs_kernel_thread): Remove shadowed variable. | |
583 | ||
172fb711 AB |
584 | 2019-02-26 Andrew Burgess <andrew.burgess@embecosm.com> |
585 | ||
586 | * features/riscv/32bit-cpu.xml: Add register numbers. | |
587 | * features/riscv/32bit-fpu.c: Regenerate. | |
588 | * features/riscv/32bit-fpu.xml: Add register numbers. | |
589 | * features/riscv/64bit-cpu.xml: Add register numbers. | |
590 | * features/riscv/64bit-fpu.c: Regenerate. | |
591 | * features/riscv/64bit-fpu.xml: Add register numbers. | |
592 | ||
26c89782 KB |
593 | 2019-02-26 Kevin Buettner <kevinb@redhat.com> |
594 | ||
af54ade9 | 595 | * NEWS: Mention two argument form of gdb.Value constructor. |
fe07eca5 KB |
596 | * python/py-value.c (convert_buffer_and_type_to_value): New |
597 | function. | |
598 | (valpy_new): Parse arguments via gdb_PyArg_ParseTupleAndKeywords. | |
599 | Add support for handling an optional second argument. Call | |
600 | convert_buffer_and_type_to_value as appropriate. | |
26c89782 KB |
601 | * python/python-internal.h (Py_buffer_deleter): New struct. |
602 | (Py_buffer_up): New typedef. | |
603 | ||
0f58c9e8 JB |
604 | 2019-02-25 John Baldwin <jhb@FreeBSD.org> |
605 | ||
606 | * dwarf2read.c (dwarf2_get_dwz_file): Reset dwz_bfd to nullptr | |
607 | instead of releasing ownership. | |
608 | ||
0a0f4c01 JR |
609 | 2019-02-25 Jordan Rupprecht <rupprecht@google.com> |
610 | ||
611 | * dwarf2read.c (open_and_init_dwp_file): Call | |
612 | elf_numsections instead of bfd_count_sections to initialize | |
613 | dwp_file->num_sections. | |
614 | ||
cd5a152c TT |
615 | 2019-02-25 Tom Tromey <tromey@adacore.com> |
616 | ||
617 | * solib-darwin.c (darwin_get_dyld_bfd): Don't release dyld_bfd. | |
618 | ||
8a6a8513 SDJ |
619 | 2019-02-23 Sergio Durigan Junior <sergiodj@redhat.com> |
620 | ||
621 | * gcore.in: Add '--readnever' option when invoking GDB. | |
622 | ||
04dcda9c SM |
623 | 2019-02-22 Simon Marchi <simon.marchi@polymtl.ca> |
624 | ||
625 | * MAINTAINERS: Update my email address. | |
626 | ||
07bc701d SM |
627 | 2019-02-22 Simon Marchi <simon.marchi@polymtl.ca> |
628 | ||
629 | * build-id.c (build_id_to_debug_bfd_1): New function. | |
630 | (build_id_to_debug_bfd): Look for separate debug file in | |
631 | sysroot. | |
632 | ||
c6f4a5d0 AB |
633 | 2019-02-22 Andrew Burgess <andrew.burgess@embecosm.com> |
634 | ||
635 | * gdbarch.sh: Update the copyright year range that is placed into | |
636 | generated files. | |
637 | ||
9600246d KS |
638 | 2019-02-22 Keith Seitz <keiths@redhat.com> |
639 | ||
640 | PR symtab/23853 | |
641 | * linespec.c (create_sals_line_offset): Search for the default | |
642 | symtab's filename instead of its fullname. | |
643 | ||
7557a514 AH |
644 | 2019-02-21 Alan Hayward <alan.hayward@arm.com> |
645 | ||
646 | * NEWS: Update style defaults. | |
647 | ||
ee2bcb0c AH |
648 | 2019-02-21 Alan Hayward <alan.hayward@arm.com> |
649 | ||
650 | * main.c (captured_main_1): Disable styling in batch mode. | |
651 | ||
0c95f9ed TT |
652 | 2019-02-20 Tom Tromey <tom@tromey.com> |
653 | ||
654 | * symtab.c (symtab_symbol_info): Fix typos. | |
655 | ||
c763b894 TT |
656 | 2019-02-20 Tom Tromey <tromey@adacore.com> |
657 | ||
658 | * findcmd.c (_initialize_mem_search): Use upper case for | |
659 | metasyntactic variables. | |
660 | ||
0ef8a082 AH |
661 | 2019-02-20 Alan Hayward <alan.hayward@arm.com> |
662 | ||
663 | * aarch64-tdep.c (aarch64_add_reggroups): New function. | |
664 | (aarch64_gdbarch_init): Call aarch64_add_reggroups. | |
665 | ||
6caa91b6 SM |
666 | 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca> |
667 | ||
668 | * top.h (source_file_name): Change to std::string. | |
669 | * top.c (source_file_name): Likewise. | |
670 | (command_line_input): Adjust. | |
671 | * cli/cli-script.c (script_from_file): Adjust. | |
672 | ||
98814c6c TT |
673 | 2019-02-19 Tom Tromey <tromey@adacore.com> |
674 | ||
675 | * ravenscar-thread.c | |
676 | (ravenscar_thread_target::update_thread_list): Don't call | |
677 | ada_build_task_list. | |
678 | * ada-lang.h (ada_build_task_list): Don't declare. | |
679 | * ada-tasks.c (struct ada_tasks_inferior_data) | |
680 | <task_list_valid_p>: Now bool. | |
681 | (read_known_tasks, ada_task_list_changed) | |
682 | (ada_tasks_invalidate_inferior_data): Update. | |
683 | (read_known_tasks_array): Return bool. | |
684 | (read_known_tasks_list): Likewise. | |
685 | (read_known_tasks): Return void. | |
686 | (ada_build_task_list): Now static. | |
687 | ||
70cd633e AB |
688 | 2019-02-18 Andrew Burgess <andrew.burgess@embecosm.com> |
689 | ||
690 | * gdbtypes.c (type_align): Allow alignment of TYPE_CODE_METHODPTR | |
691 | and TYPE_CODE_MEMBERPTR to be overridden by the gdbarch. | |
692 | ||
040b3e95 PW |
693 | 2019-02-18 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
694 | ||
695 | * ada-task.c (_initialize_tasks): Use 'with_cleanup' register | |
696 | variant for ada_tasks_pspace_data_handle and | |
697 | ada_tasks_inferior_data_handle. | |
698 | (ada_tasks_pspace_data_cleanup): New function. | |
699 | (ada_tasks_inferior_data_cleanup): New function. | |
700 | ||
9409233b TT |
701 | 2019-02-17 Tom Tromey <tom@tromey.com> |
702 | ||
703 | * macrotab.h (macro_source_fullname): Return a std::string. | |
704 | * macrotab.c (macro_include, check_for_redefinition) | |
705 | (macro_undef, macro_lookup_definition, foreach_macro) | |
706 | (foreach_macro_in_scope): Update. | |
707 | (macro_source_fullname): Return a std::string. | |
708 | * macrocmd.c (show_pp_source_pos): Update. | |
709 | ||
6506371f TT |
710 | 2019-02-17 Tom Tromey <tom@tromey.com> |
711 | ||
712 | * macrocmd.c (show_pp_source_pos): Style the file names. | |
713 | ||
0c820d67 TT |
714 | 2019-02-17 Tom Tromey <tom@tromey.com> |
715 | ||
716 | PR tui/24197: | |
717 | * tui/tui-source.c (tui_set_source_content_nil): Rewrite. | |
718 | ||
a0087920 TT |
719 | 2019-02-17 Tom Tromey <tom@tromey.com> |
720 | ||
721 | * ada-lang.c (user_select_syms): Use filtered printing. | |
722 | * utils.c (wrap_style): New global. | |
723 | (desired_style): Remove. | |
724 | (emit_style_escape): Add stream parameter. | |
725 | (set_output_style, reset_terminal_style, prompt_for_continue): | |
726 | Update. | |
727 | (flush_wrap_buffer): Only flush gdb_stdout. | |
728 | (wrap_here): Set wrap_style. | |
729 | (fputs_maybe_filtered): Clear the wrap buffer on exception. Don't | |
730 | treat escape sequences as a character. Change when wrap buffer is | |
731 | flushed. | |
732 | (fputs_styled): Do not set the output style when the default is | |
733 | requested. | |
734 | * ui-style.h (struct ui_file_style) <is_default>: New method. | |
735 | * source.c (print_source_lines_base): Emit escape sequences in one | |
736 | piece. | |
737 | ||
75ba10dc JB |
738 | 2019-02-17 Joel Brobecker <brobecker@adacore.com> |
739 | ||
740 | * gdbtypes.c (type_align): Handle TYPE_CODE_RANGE the same as | |
741 | integers and enumeration types. | |
742 | ||
a2cd4f14 JB |
743 | 2019-02-17 Joel Brobecker <brobecker@adacore.com> |
744 | ||
745 | * ada-lang.c (standard_lookup): Use ada_lookup_encoded_symbol | |
746 | instead of lookup_symbol_in_language | |
747 | (do_exact_match): New function. | |
748 | (ada_get_symbol_name_matcher): Return do_exact_match when | |
749 | doing a verbatim match. | |
750 | ||
485b851b TT |
751 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
752 | ||
753 | * ravenscar-thread.c (ravenscar_thread_target::resume) | |
754 | (ravenscar_thread_target::wait): Special case wildcard requests. | |
755 | ||
0b790b1e TT |
756 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
757 | ||
758 | * ravenscar-thread.c (base_ptid): Remove. | |
759 | (struct ravenscar_thread_target) <close>: New method. | |
760 | <m_base_ptid>: New member. | |
761 | <update_inferior_ptid, active_task, task_is_currently_active, | |
762 | runtime_initialized>: Declare methods. | |
763 | <ravenscar_thread_target>: Add constructor. | |
764 | (ravenscar_thread_target::task_is_currently_active) | |
765 | (ravenscar_thread_target::update_inferior_ptid) | |
766 | (ravenscar_runtime_initialized): Rename. Now methods. | |
767 | (ravenscar_thread_target::resume, ravenscar_thread_target::wait) | |
768 | (ravenscar_thread_target::update_thread_list): Update. | |
769 | (ravenscar_thread_target::active_task): Now method. | |
770 | (ravenscar_thread_target::store_registers) | |
771 | (ravenscar_thread_target::prepare_to_store) | |
772 | (ravenscar_thread_target::prepare_to_store) | |
773 | (ravenscar_thread_target::mourn_inferior): Update. | |
774 | (ravenscar_inferior_created): Use "new" to create target. | |
775 | (ravenscar_thread_target::get_ada_task_ptid): Update. | |
776 | (_initialize_ravenscar): Don't initialize base_ptid. | |
777 | (ravenscar_ops): Remove global. | |
778 | ||
dea57a62 TT |
779 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
780 | ||
781 | * target.h (push_target): Declare new overload. | |
782 | * target.c (push_target): New overload, taking an rvalue reference. | |
783 | * remote.c (remote_target::open_1): Use push_target overload. | |
784 | * corelow.c (core_target_open): Use push_target overload. | |
785 | ||
989f3c58 TT |
786 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
787 | ||
788 | * ravenscar-thread.c (is_ravenscar_task) | |
789 | (ravenscar_task_is_currently_active): Return bool. | |
790 | (ravenscar_update_inferior_ptid, get_running_thread_msymbol) | |
791 | (_initialize_ravenscar): Remove "(void)". | |
792 | (has_ravenscar_runtime, ravenscar_runtime_initialized): Likewise. | |
793 | Return bool. | |
794 | ||
6cbcc006 TT |
795 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
796 | ||
797 | * ravenscar-thread.c (ravenscar_runtime_initializer) | |
798 | (has_ravenscar_runtime, get_running_thread_id) | |
799 | (ravenscar_thread_target::resume): Fix indentation. | |
800 | ||
7657f14d TT |
801 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
802 | ||
803 | * sparc-ravenscar-thread.c (struct sparc_ravenscar_ops): Derive | |
804 | from ravenscar_arch_ops. | |
805 | (sparc_ravenscar_ops::fetch_registers) | |
806 | (sparc_ravenscar_ops::store_registers): Now methods. | |
807 | (sparc_ravenscar_prepare_to_store): Remove. | |
808 | (sparc_ravenscar_ops): Redefine. | |
809 | * ravenscar-thread.h (struct ravenscar_arch_ops): Add virtual | |
810 | methods and destructor. Remove members. | |
811 | * ravenscar-thread.c (ravenscar_thread_target::fetch_registers) | |
812 | (ravenscar_thread_target::store_registers) | |
813 | (ravenscar_thread_target::prepare_to_store): Update. | |
814 | * ppc-ravenscar-thread.c (ppc_ravenscar_generic_prepare_to_store): | |
815 | Remove. | |
816 | (struct ppc_ravenscar_powerpc_ops): Derive from | |
817 | ravenscar_arch_ops. | |
818 | (ppc_ravenscar_powerpc_ops::fetch_registers) | |
819 | (ppc_ravenscar_powerpc_ops::store_registers): Now methods. | |
820 | (ppc_ravenscar_powerpc_ops): Redefine. | |
821 | (struct ppc_ravenscar_e500_ops): Derive from ravenscar_arch_ops. | |
822 | (ppc_ravenscar_e500_ops::fetch_registers) | |
823 | (ppc_ravenscar_e500_ops::store_registers): Now methods. | |
824 | (ppc_ravenscar_e500_ops): Redefine. | |
825 | * aarch64-ravenscar-thread.c | |
826 | (aarch64_ravenscar_generic_prepare_to_store): Remove. | |
827 | (struct aarch64_ravenscar_ops): Derive from ravenscar_arch_ops. | |
828 | (aarch64_ravenscar_fetch_registers) | |
829 | (aarch64_ravenscar_store_registers): Now methods. | |
830 | (aarch64_ravenscar_ops): Redefine. | |
831 | ||
5b6ea500 TT |
832 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
833 | ||
834 | * ravenscar-thread.c (ravenscar_thread_target::stopped_by_sw_breakpoint) | |
835 | (ravenscar_thread_target::stopped_by_hw_breakpoint) | |
836 | (ravenscar_thread_target::stopped_by_watchpoint) | |
837 | (ravenscar_thread_target::stopped_data_address) | |
838 | (ravenscar_thread_target::core_of_thread): Use scoped_restore. | |
839 | ||
e397fd39 TT |
840 | 2019-02-15 Tom Tromey <tromey@adacore.com> |
841 | ||
842 | * ravenscar-thread.c: Fix some typos. | |
843 | ||
cc12f4a8 TT |
844 | 2019-02-15 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
845 | Tom Tromey <tromey@adacore.com> | |
846 | ||
847 | * ada-lang.c (ada_exception_sal): Change addr_string to a | |
848 | std::string. | |
849 | (create_ada_exception_catchpoint): Update. | |
850 | ||
5f486660 TT |
851 | 2019-02-15 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
852 | Tom Tromey <tromey@adacore.com> | |
853 | ||
854 | * breakpoint.c (~bp_location): Rename from bp_location_dtor. | |
855 | (bp_location_ops): Remove. | |
856 | (base_breakpoint_allocate_location): Update. | |
857 | (free_bp_location): Update. | |
858 | * ada-lang.c (class ada_catchpoint_location) | |
859 | <ada_catchpoint_location>: Remove ops parameter. | |
860 | (ada_catchpoint_location_dtor): Remove. | |
861 | (ada_catchpoint_location_ops): Remove. | |
862 | (allocate_location_exception): Update. | |
863 | * breakpoint.h (struct bp_location_ops): Remove. | |
864 | (class bp_location) <bp_location>: Remove bp_location_ops | |
865 | parameter. | |
866 | <~bp_location>: Add destructor. | |
867 | <ops>: Remove. | |
868 | ||
b671c7fb TS |
869 | 2019-02-14 Thomas Schwinge <thomas@codesourcery.com> |
870 | Pedro Alves <palves@redhat.com> | |
871 | ||
872 | * remote.c (remote_target::remote_parse_stop_reply): Avoid using | |
873 | 'PATH_MAX'. | |
874 | ||
8071c5ce DM |
875 | 2019-02-14 David Michael <fedora.dm0@gmail.com> |
876 | Samuel Thibault <samuel.thibault@gnu.org> | |
877 | Thomas Schwinge <thomas@codesourcery.com> | |
878 | ||
879 | * gnu-nat.c (S_proc_getmsgport_reply, S_proc_task2proc_reply) | |
880 | (S_proc_pid2proc_reply): Adjust to Hurd "proc" interface changes. | |
881 | ||
b1041ae0 TS |
882 | 2019-02-14 Thomas Schwinge <thomas@codesourcery.com> |
883 | ||
924514e1 TS |
884 | * gnu-nat.c (gnu_write_inferior, parse_int_arg, _parse_bool_arg) |
885 | (check_empty): Use "const char *". | |
886 | ||
c29ee8d4 TS |
887 | * gnu-nat.c (gnu_nat_target::detach): Instead of |
888 | 'detach_inferior (pid)' call | |
889 | 'detach_inferior (find_inferior_pid (pid))'. | |
890 | ||
6c6ef69f TS |
891 | * configure.nat [gdb_host == i386gnu] (NATDEPFILES): Add |
892 | 'nat/fork-inferior.o'. | |
893 | * gnu-nat.c: #include "nat/fork-inferior.h". | |
894 | ||
2d0a338c TS |
895 | * gnu-nat.c (gnu_nat_target::detach): Instead of |
896 | 'inf_child_maybe_unpush_target (ops)' call 'maybe_unpush_target'. | |
897 | * gnu-nat.h: #include "inf-child.h". | |
898 | * i386-gnu-nat.c (gnu_fetch_registers): Rename/move to | |
899 | 'i386_gnu_nat_target::fetch_registers'. | |
900 | (gnu_store_registers): Rename/move to | |
901 | 'i386_gnu_nat_target::store_registers'. | |
902 | ||
cabb5f06 TS |
903 | * config/i386/nm-i386gnu.h: Don't "#include" any files. |
904 | * gnu-nat.h (mach_thread_info): New function. | |
905 | * gnu-nat.c (thread_takeover_sc_cmd): Use it. | |
906 | ||
b1041ae0 TS |
907 | * config/i386/nm-i386gnu.h (gnu_target_pid_to_str): Remove. |
908 | ||
2988d01e KF |
909 | 2019-02-14 Frederic Konrad <konrad@adacore.com> |
910 | ||
911 | * riscv-rdep.c (riscv_type_alignment): Handle TYPE_CODE_RANGE. | |
912 | ||
c559d709 JB |
913 | 2019-02-14 Joel Brobecker <brobecker@adacore.com> |
914 | ||
915 | * windows-nat.c (windows_add_thread): Add new parameter | |
916 | "main_thread_p" with default value set to false. Update | |
917 | function documentation as well as all callers. | |
918 | (windows_delete_thread): Likewise. | |
919 | (fake_create_process): Update call to windows_add_thread. | |
920 | (get_windows_debug_event) <CREATE_THREAD_DEBUG_EVENT> | |
921 | <CREATE_PROCESS_DEBUG_EVENT>: Likewise. | |
922 | <EXIT_THREAD_DEBUG_EVENT, EXIT_PROCESS_DEBUG_EVENT>: Update | |
923 | call to windows_delete_thread. | |
924 | ||
007024cc SM |
925 | 2019-02-13 Simon Marchi <simon.marchi@ericsson.com> |
926 | ||
927 | * MAINTAINERS: Add Andrew Burgess as global maintainer. | |
928 | ||
f62318e9 JB |
929 | 2019-02-12 John Baldwin <jhb@FreeBSD.org> |
930 | ||
931 | * symfile.c (find_separate_debug_file): Use canonical path of | |
932 | sysroot with child_path instead of gdb_sysroot if it is valid. | |
933 | ||
cd4b7848 JB |
934 | 2019-02-12 John Baldwin <jhb@FreeBSD.org> |
935 | ||
936 | * symfile.c (find_separate_debug_file): Use child_path to | |
937 | determine if an object file is under a sysroot. | |
938 | ||
efac4bfe JB |
939 | 2019-02-12 John Baldwin <jhb@FreeBSD.org> |
940 | ||
941 | * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add | |
942 | unittests/child-path-selftests.c. | |
943 | * common/pathstuff.c (child_path): New function. | |
944 | * common/pathstuff.h (child_path): New prototype. | |
945 | * unittests/child-path-selftests.c: New file. | |
946 | ||
402d2bfe JB |
947 | 2019-02-12 John Baldwin <jhb@FreeBSD.org> |
948 | ||
949 | * symfile.c (find_separate_debug_file): Look for separate debug | |
950 | files in debug directories under the sysroot. | |
951 | ||
1ed9f74e PW |
952 | 2019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
953 | ||
954 | * symtab.h (struct minimal_symbol data_p): New const method. | |
955 | (struct minimal_symbol text_p): Likewise. | |
956 | * symtab.c (output_source_filename): Use file name style | |
957 | to print file name. | |
958 | (print_symbol_info): Likewise. | |
959 | (print_msymbol_info): Use address style to print addresses. | |
960 | Use function name style to print executable text symbols. | |
961 | (expand_symtab_containing_pc): Use data_p. | |
962 | (find_pc_sect_compunit_symtab): Likewise. | |
963 | ||
2636d81d PW |
964 | 2019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
965 | ||
966 | * breakpoint.c (describe_other_breakpoints): Use address style | |
967 | to print addresses. | |
968 | (say_where): Likewise. | |
969 | ||
ac8c53cc PW |
970 | 2019-02-12 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
971 | ||
972 | * ada-typeprint.c (print_func_type): Print function name | |
973 | style to print function name. | |
974 | * c-typeprint.c (c_print_type_1): Likewise. | |
975 | ||
ea638c43 AH |
976 | 2019-02-11 Alan Hayward <alan.hayward@arm.com> |
977 | ||
978 | * aarch64-linux-tdep.c (aarch64_linux_get_syscall_number): Check | |
979 | for execve. | |
980 | ||
ab759ca8 PW |
981 | 2019-02-10 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
982 | ||
983 | * c-exp.y (direct_abs_decl): Use emplace_back to record the | |
984 | type_stack. | |
985 | ||
aff29d1c JB |
986 | 2019-02-10 Joel Brobecker <brobecker@adacore.com> |
987 | ||
988 | * ada-varobj.c (ada_value_is_changeable_p): Add handling of | |
989 | TYPE_CODE_REF types. | |
990 | ||
617126bc JW |
991 | 2019-02-08 Jim Wilson <jimw@sifive.com> |
992 | ||
993 | * riscv-linux-tdep.c (riscv_linux_fregmap): New. | |
994 | (riscv_linux_fregset): New. | |
995 | (riscv_linux_iterate_over_regset_sections): Call cb for .reg2 section. | |
996 | ||
46e3ed7f TT |
997 | 2019-02-07 Tom Tromey <tom@tromey.com> |
998 | ||
999 | * thread.c (thread_cancel_execution_command): Update. | |
1000 | * thread-fsm.h (struct thread_fsm): Add constructor, destructor, | |
1001 | methods. | |
1002 | (struct thread_fsm_ops): Remove. | |
1003 | (thread_fsm_ctor, thread_fsm_delete, thread_fsm_clean_up) | |
1004 | (thread_fsm_should_stop, thread_fsm_return_value) | |
1005 | (thread_fsm_set_finished, thread_fsm_finished_p) | |
1006 | (thread_fsm_async_reply_reason, thread_fsm_should_notify_stop): | |
1007 | Don't declare. | |
1008 | * mi/mi-interp.c (mi_on_normal_stop_1): Update. | |
1009 | * infrun.c (clear_proceed_status_thread) | |
1010 | (clean_up_just_stopped_threads_fsms, fetch_inferior_event) | |
1011 | (print_stop_event): Update. | |
1012 | * infcmd.c (struct step_command_fsm): Inherit from thread_fsm. | |
1013 | Add constructor. | |
1014 | (step_command_fsm_ops): Remove. | |
1015 | (new_step_command_fsm): Remove. | |
1016 | (step_1): Update. | |
1017 | (step_command_fsm::should_stop): Rename from | |
1018 | step_command_fsm_should_stop. | |
1019 | (step_command_fsm::clean_up): Rename from | |
1020 | step_command_fsm_clean_up. | |
1021 | (step_command_fsm::do_async_reply_reason): Rename from | |
1022 | step_command_fsm_async_reply_reason. | |
1023 | (struct until_next_fsm): Inherit from thread_fsm. Add | |
1024 | constructor. | |
1025 | (until_next_fsm_ops): Remove. | |
1026 | (new_until_next_fsm): Remove. | |
1027 | (until_next_fsm::should_stop): Rename from | |
1028 | until_next_fsm_should_stop. | |
1029 | (until_next_fsm::clean_up): Rename from until_next_fsm_clean_up. | |
1030 | (until_next_fsm::do_async_reply_reason): Rename from | |
1031 | until_next_fsm_async_reply_reason. | |
1032 | (struct finish_command_fsm): Inherit from thread_fsm. Add | |
1033 | constructor. Change type of breakpoint. | |
1034 | (finish_command_fsm_ops): Remove. | |
1035 | (new_finish_command_fsm): Remove. | |
1036 | (finish_command_fsm::should_stop): Rename from | |
1037 | finish_command_fsm_should_stop. | |
1038 | (finish_command_fsm::clean_up): Rename from | |
1039 | finish_command_fsm_clean_up. | |
1040 | (finish_command_fsm::return_value): Rename from | |
1041 | finish_command_fsm_return_value. | |
1042 | (finish_command_fsm::do_async_reply_reason): Rename from | |
1043 | finish_command_fsm_async_reply_reason. | |
1044 | (finish_command): Update. | |
1045 | * infcall.c (struct call_thread_fsm): Inherit from thread_fsm. | |
1046 | Add constructor. | |
1047 | (call_thread_fsm_ops): Remove. | |
1048 | (call_thread_fsm::call_thread_fsm): Rename from | |
1049 | new_call_thread_fsm. | |
1050 | (call_thread_fsm::should_stop): Rename from | |
1051 | call_thread_fsm_should_stop. | |
1052 | (call_thread_fsm::should_notify_stop): Rename from | |
1053 | call_thread_fsm_should_notify_stop. | |
1054 | (run_inferior_call, call_function_by_hand_dummy): Update. | |
1055 | * cli/cli-interp.c (should_print_stop_to_console): Update. | |
1056 | * breakpoint.c (struct until_break_fsm): Inherit from thread_fsm. | |
1057 | Add constructor. Change type of location_breakpoint, | |
1058 | caller_breakpoint. | |
1059 | (until_break_fsm_ops): Remove. | |
1060 | (new_until_break_fsm): Remove. | |
1061 | (until_break_fsm::should_stop): Rename from | |
1062 | until_break_fsm_should_stop. | |
1063 | (until_break_fsm::clean_up): Rename from | |
1064 | until_break_fsm_clean_up. | |
1065 | (until_break_fsm::do_async_reply_reason): Rename from | |
1066 | until_break_fsm_async_reply_reason. | |
1067 | (until_break_command): Update. | |
1068 | * thread-fsm.c: Remove. | |
1069 | * Makefile.in (COMMON_SFILES): Remove thread-fsm.c. | |
1070 | ||
1a5c2598 TT |
1071 | 2019-02-07 Tom Tromey <tom@tromey.com> |
1072 | ||
1073 | * yy-remap.h: Add include guard. | |
1074 | * xtensa-tdep.h: Add include guard. | |
1075 | * xcoffread.h: Rename include guard. | |
1076 | * varobj-iter.h: Add include guard. | |
1077 | * tui/tui.h: Rename include guard. | |
1078 | * tui/tui-winsource.h: Rename include guard. | |
1079 | * tui/tui-wingeneral.h: Rename include guard. | |
1080 | * tui/tui-windata.h: Rename include guard. | |
1081 | * tui/tui-win.h: Rename include guard. | |
1082 | * tui/tui-stack.h: Rename include guard. | |
1083 | * tui/tui-source.h: Rename include guard. | |
1084 | * tui/tui-regs.h: Rename include guard. | |
1085 | * tui/tui-out.h: Rename include guard. | |
1086 | * tui/tui-layout.h: Rename include guard. | |
1087 | * tui/tui-io.h: Rename include guard. | |
1088 | * tui/tui-hooks.h: Rename include guard. | |
1089 | * tui/tui-file.h: Rename include guard. | |
1090 | * tui/tui-disasm.h: Rename include guard. | |
1091 | * tui/tui-data.h: Rename include guard. | |
1092 | * tui/tui-command.h: Rename include guard. | |
1093 | * tic6x-tdep.h: Add include guard. | |
1094 | * target/waitstatus.h: Rename include guard. | |
1095 | * target/wait.h: Rename include guard. | |
1096 | * target/target.h: Rename include guard. | |
1097 | * target/resume.h: Rename include guard. | |
1098 | * target-float.h: Rename include guard. | |
1099 | * stabsread.h: Add include guard. | |
1100 | * rs6000-tdep.h: Add include guard. | |
1101 | * riscv-fbsd-tdep.h: Add include guard. | |
1102 | * regformats/regdef.h: Rename include guard. | |
1103 | * record.h: Rename include guard. | |
1104 | * python/python.h: Rename include guard. | |
1105 | * python/python-internal.h: Rename include guard. | |
1106 | * python/py-stopevent.h: Rename include guard. | |
1107 | * python/py-ref.h: Rename include guard. | |
1108 | * python/py-record.h: Rename include guard. | |
1109 | * python/py-record-full.h: Rename include guard. | |
1110 | * python/py-record-btrace.h: Rename include guard. | |
1111 | * python/py-instruction.h: Rename include guard. | |
1112 | * python/py-events.h: Rename include guard. | |
1113 | * python/py-event.h: Rename include guard. | |
1114 | * procfs.h: Add include guard. | |
1115 | * proc-utils.h: Add include guard. | |
1116 | * p-lang.h: Add include guard. | |
1117 | * or1k-tdep.h: Rename include guard. | |
1118 | * observable.h: Rename include guard. | |
1119 | * nto-tdep.h: Rename include guard. | |
1120 | * nat/x86-linux.h: Rename include guard. | |
1121 | * nat/x86-linux-dregs.h: Rename include guard. | |
1122 | * nat/x86-gcc-cpuid.h: Add include guard. | |
1123 | * nat/x86-dregs.h: Rename include guard. | |
1124 | * nat/x86-cpuid.h: Rename include guard. | |
1125 | * nat/ppc-linux.h: Rename include guard. | |
1126 | * nat/mips-linux-watch.h: Rename include guard. | |
1127 | * nat/linux-waitpid.h: Rename include guard. | |
1128 | * nat/linux-ptrace.h: Rename include guard. | |
1129 | * nat/linux-procfs.h: Rename include guard. | |
1130 | * nat/linux-osdata.h: Rename include guard. | |
1131 | * nat/linux-nat.h: Rename include guard. | |
1132 | * nat/linux-namespaces.h: Rename include guard. | |
1133 | * nat/linux-btrace.h: Rename include guard. | |
1134 | * nat/glibc_thread_db.h: Rename include guard. | |
1135 | * nat/gdb_thread_db.h: Rename include guard. | |
1136 | * nat/gdb_ptrace.h: Rename include guard. | |
1137 | * nat/fork-inferior.h: Rename include guard. | |
1138 | * nat/amd64-linux-siginfo.h: Rename include guard. | |
1139 | * nat/aarch64-sve-linux-sigcontext.h: Rename include guard. | |
1140 | * nat/aarch64-sve-linux-ptrace.h: Rename include guard. | |
1141 | * nat/aarch64-linux.h: Rename include guard. | |
1142 | * nat/aarch64-linux-hw-point.h: Rename include guard. | |
1143 | * mn10300-tdep.h: Add include guard. | |
1144 | * mips-linux-tdep.h: Add include guard. | |
1145 | * mi/mi-parse.h: Rename include guard. | |
1146 | * mi/mi-out.h: Rename include guard. | |
1147 | * mi/mi-main.h: Rename include guard. | |
1148 | * mi/mi-interp.h: Rename include guard. | |
1149 | * mi/mi-getopt.h: Rename include guard. | |
1150 | * mi/mi-console.h: Rename include guard. | |
1151 | * mi/mi-common.h: Rename include guard. | |
1152 | * mi/mi-cmds.h: Rename include guard. | |
1153 | * mi/mi-cmd-break.h: Rename include guard. | |
1154 | * m2-lang.h: Add include guard. | |
1155 | * location.h: Rename include guard. | |
1156 | * linux-record.h: Rename include guard. | |
1157 | * linux-nat.h: Add include guard. | |
1158 | * linux-fork.h: Add include guard. | |
1159 | * i386-darwin-tdep.h: Rename include guard. | |
1160 | * hppa-linux-offsets.h: Add include guard. | |
1161 | * guile/guile.h: Rename include guard. | |
1162 | * guile/guile-internal.h: Rename include guard. | |
1163 | * gnu-nat.h: Rename include guard. | |
1164 | * gdb-stabs.h: Rename include guard. | |
1165 | * frv-tdep.h: Add include guard. | |
1166 | * f-lang.h: Add include guard. | |
1167 | * event-loop.h: Add include guard. | |
1168 | * darwin-nat.h: Rename include guard. | |
1169 | * cp-abi.h: Rename include guard. | |
1170 | * config/sparc/nm-sol2.h: Rename include guard. | |
1171 | * config/nm-nto.h: Rename include guard. | |
1172 | * config/nm-linux.h: Add include guard. | |
1173 | * config/i386/nm-i386gnu.h: Rename include guard. | |
1174 | * config/djgpp/nl_types.h: Rename include guard. | |
1175 | * config/djgpp/langinfo.h: Rename include guard. | |
1176 | * compile/gcc-cp-plugin.h: Add include guard. | |
1177 | * compile/gcc-c-plugin.h: Add include guard. | |
1178 | * compile/compile.h: Rename include guard. | |
1179 | * compile/compile-object-run.h: Rename include guard. | |
1180 | * compile/compile-object-load.h: Rename include guard. | |
1181 | * compile/compile-internal.h: Rename include guard. | |
1182 | * compile/compile-cplus.h: Rename include guard. | |
1183 | * compile/compile-c.h: Rename include guard. | |
1184 | * common/xml-utils.h: Rename include guard. | |
1185 | * common/x86-xstate.h: Rename include guard. | |
1186 | * common/version.h: Rename include guard. | |
1187 | * common/vec.h: Rename include guard. | |
1188 | * common/tdesc.h: Rename include guard. | |
1189 | * common/selftest.h: Rename include guard. | |
1190 | * common/scoped_restore.h: Rename include guard. | |
1191 | * common/scoped_mmap.h: Rename include guard. | |
1192 | * common/scoped_fd.h: Rename include guard. | |
1193 | * common/safe-iterator.h: Rename include guard. | |
1194 | * common/run-time-clock.h: Rename include guard. | |
1195 | * common/refcounted-object.h: Rename include guard. | |
1196 | * common/queue.h: Rename include guard. | |
1197 | * common/ptid.h: Rename include guard. | |
1198 | * common/print-utils.h: Rename include guard. | |
1199 | * common/preprocessor.h: Rename include guard. | |
1200 | * common/pathstuff.h: Rename include guard. | |
1201 | * common/observable.h: Rename include guard. | |
1202 | * common/netstuff.h: Rename include guard. | |
1203 | * common/job-control.h: Rename include guard. | |
1204 | * common/host-defs.h: Rename include guard. | |
1205 | * common/gdb_wait.h: Rename include guard. | |
1206 | * common/gdb_vecs.h: Rename include guard. | |
1207 | * common/gdb_unlinker.h: Rename include guard. | |
1208 | * common/gdb_unique_ptr.h: Rename include guard. | |
1209 | * common/gdb_tilde_expand.h: Rename include guard. | |
1210 | * common/gdb_sys_time.h: Rename include guard. | |
1211 | * common/gdb_string_view.h: Rename include guard. | |
1212 | * common/gdb_splay_tree.h: Rename include guard. | |
1213 | * common/gdb_setjmp.h: Rename include guard. | |
1214 | * common/gdb_ref_ptr.h: Rename include guard. | |
1215 | * common/gdb_optional.h: Rename include guard. | |
1216 | * common/gdb_locale.h: Rename include guard. | |
1217 | * common/gdb_assert.h: Rename include guard. | |
1218 | * common/filtered-iterator.h: Rename include guard. | |
1219 | * common/filestuff.h: Rename include guard. | |
1220 | * common/fileio.h: Rename include guard. | |
1221 | * common/environ.h: Rename include guard. | |
1222 | * common/common-utils.h: Rename include guard. | |
1223 | * common/common-types.h: Rename include guard. | |
1224 | * common/common-regcache.h: Rename include guard. | |
1225 | * common/common-inferior.h: Rename include guard. | |
1226 | * common/common-gdbthread.h: Rename include guard. | |
1227 | * common/common-exceptions.h: Rename include guard. | |
1228 | * common/common-defs.h: Rename include guard. | |
1229 | * common/common-debug.h: Rename include guard. | |
1230 | * common/cleanups.h: Rename include guard. | |
1231 | * common/buffer.h: Rename include guard. | |
1232 | * common/btrace-common.h: Rename include guard. | |
1233 | * common/break-common.h: Rename include guard. | |
1234 | * cli/cli-utils.h: Rename include guard. | |
1235 | * cli/cli-style.h: Rename include guard. | |
1236 | * cli/cli-setshow.h: Rename include guard. | |
1237 | * cli/cli-script.h: Rename include guard. | |
1238 | * cli/cli-interp.h: Rename include guard. | |
1239 | * cli/cli-decode.h: Rename include guard. | |
1240 | * cli/cli-cmds.h: Rename include guard. | |
1241 | * charset-list.h: Add include guard. | |
1242 | * buildsym-legacy.h: Rename include guard. | |
1243 | * bfin-tdep.h: Add include guard. | |
1244 | * ax.h: Rename include guard. | |
1245 | * arm-linux-tdep.h: Add include guard. | |
1246 | * arm-fbsd-tdep.h: Add include guard. | |
1247 | * arch/xtensa.h: Rename include guard. | |
1248 | * arch/tic6x.h: Add include guard. | |
1249 | * arch/i386.h: Add include guard. | |
1250 | * arch/arm.h: Rename include guard. | |
1251 | * arch/arm-linux.h: Rename include guard. | |
1252 | * arch/arm-get-next-pcs.h: Rename include guard. | |
1253 | * arch/amd64.h: Add include guard. | |
1254 | * arch/aarch64-insn.h: Rename include guard. | |
1255 | * arch-utils.h: Rename include guard. | |
1256 | * annotate.h: Add include guard. | |
1257 | * amd64-darwin-tdep.h: Rename include guard. | |
1258 | * aarch64-linux-tdep.h: Add include guard. | |
1259 | * aarch64-fbsd-tdep.h: Add include guard. | |
1260 | * aarch32-linux-nat.h: Add include guard. | |
1261 | ||
ab9268d2 PW |
1262 | 2019-02-06 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
1263 | ||
1264 | * macrotab.c (macro_define_internal): New function that | |
1265 | factorizes macro_define_object_internal and macro_define_function | |
1266 | code. | |
1267 | (macro_define_object_internal): Use macro_define_internal. | |
1268 | (macro_define_function): Likewise. | |
1269 | ||
bb0da2b4 PW |
1270 | 2019-02-06 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
1271 | ||
1272 | * macrocmd.c (extract_identifier): Return | |
1273 | a gdb::unique_xmalloc_ptr<char> instead of a char *, and update | |
1274 | callers. | |
1275 | ||
424eb552 JB |
1276 | 2019-02-06 John Baldwin <jhb@FreeBSD.org> |
1277 | ||
1278 | * fbsd-nat.c (fbsd_fetch_cmdline): Join arguments with spaces. | |
1279 | ||
1688cb29 TT |
1280 | 2019-02-05 Tom Tromey <tom@tromey.com> |
1281 | ||
1282 | * target.c (target_stack::unpush): Move assertion earlier. | |
1283 | ||
b5eba2d8 TT |
1284 | 2019-01-30 Tom Tromey <tom@tromey.com> |
1285 | ||
1286 | PR python/23615: | |
1287 | * python/python.c (execute_gdb_command): Use gdbpy_allow_threads. | |
1288 | (gdbpy_parse_and_eval): Likewise. | |
1289 | * python/python-internal.h (gdbpy_allow_threads): New class. | |
1290 | ||
7054e2ff JB |
1291 | 2019-01-28 John Baldwin <jhb@FreeBSD.org> |
1292 | ||
1293 | * aarch64-fbsd-tdep.c (aarch64_fbsd_gregmap) | |
1294 | (aarch64_fbsd_fpregmap): Move earlier. | |
1295 | (AARCH64_MCONTEXT_REG_SIZE, AARCH64_MCONTEXT_FPREG_SIZE): Delete. | |
1296 | (aarch64_fbsd_sigframe_init): Use trad_frame_set_reg_regmap | |
1297 | instead of individual calls to trad_frame_set_reg_addr. | |
1298 | * arm-fbsd-tdep.c (arm_fbsd_gregmap, arm_fbsd_vfpregmap): Move | |
1299 | earlier. | |
1300 | (ARM_MCONTEXT_REG_SIZE, ARM_MCONTEXT_VFP_REG_SIZE): Delete. | |
1301 | (arm_fbsd_sigframe_init): Use trad_frame_set_reg_regmap | |
1302 | instead of individual calls to trad_frame_set_reg_addr. | |
1303 | ||
36c25ffa AH |
1304 | 2019-01-28 Alan Hayward <alan.hayward@arm.com> |
1305 | ||
1306 | * CONTRIBUTE: Replace contribution list with wiki link. | |
1307 | ||
a0707f3c TT |
1308 | 2019-01-25 Tom Tromey <tom@tromey.com> |
1309 | ||
1310 | * Makefile.in (GDB_CFLAGS): Don't add -I for common. | |
1311 | ||
0747795c TT |
1312 | 2019-01-25 Tom Tromey <tom@tromey.com> |
1313 | ||
1314 | * xtensa-linux-nat.c: Fix common/ includes. | |
1315 | * xml-support.h: Fix common/ includes. | |
1316 | * xml-support.c: Fix common/ includes. | |
1317 | * x86-linux-nat.c: Fix common/ includes. | |
1318 | * windows-nat.c: Fix common/ includes. | |
1319 | * varobj.h: Fix common/ includes. | |
1320 | * varobj.c: Fix common/ includes. | |
1321 | * value.c: Fix common/ includes. | |
1322 | * valops.c: Fix common/ includes. | |
1323 | * utils.c: Fix common/ includes. | |
1324 | * unittests/xml-utils-selftests.c: Fix common/ includes. | |
1325 | * unittests/utils-selftests.c: Fix common/ includes. | |
1326 | * unittests/unpack-selftests.c: Fix common/ includes. | |
1327 | * unittests/tracepoint-selftests.c: Fix common/ includes. | |
1328 | * unittests/style-selftests.c: Fix common/ includes. | |
1329 | * unittests/string_view-selftests.c: Fix common/ includes. | |
1330 | * unittests/scoped_restore-selftests.c: Fix common/ includes. | |
1331 | * unittests/scoped_mmap-selftests.c: Fix common/ includes. | |
1332 | * unittests/scoped_fd-selftests.c: Fix common/ includes. | |
1333 | * unittests/rsp-low-selftests.c: Fix common/ includes. | |
1334 | * unittests/parse-connection-spec-selftests.c: Fix common/ | |
1335 | includes. | |
1336 | * unittests/optional-selftests.c: Fix common/ includes. | |
1337 | * unittests/offset-type-selftests.c: Fix common/ includes. | |
1338 | * unittests/observable-selftests.c: Fix common/ includes. | |
1339 | * unittests/mkdir-recursive-selftests.c: Fix common/ includes. | |
1340 | * unittests/memrange-selftests.c: Fix common/ includes. | |
1341 | * unittests/memory-map-selftests.c: Fix common/ includes. | |
1342 | * unittests/lookup_name_info-selftests.c: Fix common/ includes. | |
1343 | * unittests/function-view-selftests.c: Fix common/ includes. | |
1344 | * unittests/environ-selftests.c: Fix common/ includes. | |
1345 | * unittests/copy_bitwise-selftests.c: Fix common/ includes. | |
1346 | * unittests/common-utils-selftests.c: Fix common/ includes. | |
1347 | * unittests/cli-utils-selftests.c: Fix common/ includes. | |
1348 | * unittests/array-view-selftests.c: Fix common/ includes. | |
1349 | * ui-file.c: Fix common/ includes. | |
1350 | * tui/tui-io.c: Fix common/ includes. | |
1351 | * tracepoint.h: Fix common/ includes. | |
1352 | * tracepoint.c: Fix common/ includes. | |
1353 | * tracefile-tfile.c: Fix common/ includes. | |
1354 | * top.h: Fix common/ includes. | |
1355 | * top.c: Fix common/ includes. | |
1356 | * thread.c: Fix common/ includes. | |
1357 | * target/waitstatus.h: Fix common/ includes. | |
1358 | * target/waitstatus.c: Fix common/ includes. | |
1359 | * target.h: Fix common/ includes. | |
1360 | * target.c: Fix common/ includes. | |
1361 | * target-memory.c: Fix common/ includes. | |
1362 | * target-descriptions.c: Fix common/ includes. | |
1363 | * symtab.h: Fix common/ includes. | |
1364 | * symfile.c: Fix common/ includes. | |
1365 | * stap-probe.c: Fix common/ includes. | |
1366 | * spu-linux-nat.c: Fix common/ includes. | |
1367 | * sparc-nat.c: Fix common/ includes. | |
1368 | * source.c: Fix common/ includes. | |
1369 | * solib.c: Fix common/ includes. | |
1370 | * solib-target.c: Fix common/ includes. | |
1371 | * ser-unix.c: Fix common/ includes. | |
1372 | * ser-tcp.c: Fix common/ includes. | |
1373 | * ser-pipe.c: Fix common/ includes. | |
1374 | * ser-base.c: Fix common/ includes. | |
1375 | * selftest-arch.c: Fix common/ includes. | |
1376 | * s12z-tdep.c: Fix common/ includes. | |
1377 | * rust-exp.y: Fix common/ includes. | |
1378 | * rs6000-aix-tdep.c: Fix common/ includes. | |
1379 | * riscv-tdep.c: Fix common/ includes. | |
1380 | * remote.c: Fix common/ includes. | |
1381 | * remote-notif.h: Fix common/ includes. | |
1382 | * remote-fileio.h: Fix common/ includes. | |
1383 | * remote-fileio.c: Fix common/ includes. | |
1384 | * regcache.h: Fix common/ includes. | |
1385 | * regcache.c: Fix common/ includes. | |
1386 | * record-btrace.c: Fix common/ includes. | |
1387 | * python/python.c: Fix common/ includes. | |
1388 | * python/py-type.c: Fix common/ includes. | |
1389 | * python/py-inferior.c: Fix common/ includes. | |
1390 | * progspace.h: Fix common/ includes. | |
1391 | * producer.c: Fix common/ includes. | |
1392 | * procfs.c: Fix common/ includes. | |
1393 | * proc-api.c: Fix common/ includes. | |
1394 | * printcmd.c: Fix common/ includes. | |
1395 | * ppc-linux-nat.c: Fix common/ includes. | |
1396 | * parser-defs.h: Fix common/ includes. | |
1397 | * osdata.c: Fix common/ includes. | |
1398 | * obsd-nat.c: Fix common/ includes. | |
1399 | * nat/x86-linux.c: Fix common/ includes. | |
1400 | * nat/x86-linux-dregs.c: Fix common/ includes. | |
1401 | * nat/x86-dregs.h: Fix common/ includes. | |
1402 | * nat/x86-dregs.c: Fix common/ includes. | |
1403 | * nat/ppc-linux.c: Fix common/ includes. | |
1404 | * nat/mips-linux-watch.h: Fix common/ includes. | |
1405 | * nat/mips-linux-watch.c: Fix common/ includes. | |
1406 | * nat/linux-waitpid.c: Fix common/ includes. | |
1407 | * nat/linux-ptrace.h: Fix common/ includes. | |
1408 | * nat/linux-ptrace.c: Fix common/ includes. | |
1409 | * nat/linux-procfs.c: Fix common/ includes. | |
1410 | * nat/linux-personality.c: Fix common/ includes. | |
1411 | * nat/linux-osdata.c: Fix common/ includes. | |
1412 | * nat/linux-namespaces.c: Fix common/ includes. | |
1413 | * nat/linux-btrace.h: Fix common/ includes. | |
1414 | * nat/linux-btrace.c: Fix common/ includes. | |
1415 | * nat/fork-inferior.c: Fix common/ includes. | |
1416 | * nat/amd64-linux-siginfo.c: Fix common/ includes. | |
1417 | * nat/aarch64-sve-linux-ptrace.c: Fix common/ includes. | |
1418 | * nat/aarch64-linux.c: Fix common/ includes. | |
1419 | * nat/aarch64-linux-hw-point.h: Fix common/ includes. | |
1420 | * nat/aarch64-linux-hw-point.c: Fix common/ includes. | |
1421 | * namespace.h: Fix common/ includes. | |
1422 | * mips-linux-tdep.c: Fix common/ includes. | |
1423 | * minsyms.c: Fix common/ includes. | |
1424 | * mi/mi-parse.h: Fix common/ includes. | |
1425 | * mi/mi-main.c: Fix common/ includes. | |
1426 | * mi/mi-cmd-env.c: Fix common/ includes. | |
1427 | * memrange.h: Fix common/ includes. | |
1428 | * memattr.c: Fix common/ includes. | |
1429 | * maint.h: Fix common/ includes. | |
1430 | * maint.c: Fix common/ includes. | |
1431 | * main.c: Fix common/ includes. | |
1432 | * machoread.c: Fix common/ includes. | |
1433 | * location.c: Fix common/ includes. | |
1434 | * linux-thread-db.c: Fix common/ includes. | |
1435 | * linux-nat.c: Fix common/ includes. | |
1436 | * linux-fork.c: Fix common/ includes. | |
1437 | * inline-frame.c: Fix common/ includes. | |
1438 | * infrun.c: Fix common/ includes. | |
1439 | * inflow.c: Fix common/ includes. | |
1440 | * inferior.h: Fix common/ includes. | |
1441 | * inferior.c: Fix common/ includes. | |
1442 | * infcmd.c: Fix common/ includes. | |
1443 | * inf-ptrace.c: Fix common/ includes. | |
1444 | * inf-child.c: Fix common/ includes. | |
1445 | * ia64-linux-nat.c: Fix common/ includes. | |
1446 | * i387-tdep.c: Fix common/ includes. | |
1447 | * i386-tdep.c: Fix common/ includes. | |
1448 | * i386-linux-tdep.c: Fix common/ includes. | |
1449 | * i386-linux-nat.c: Fix common/ includes. | |
1450 | * i386-go32-tdep.c: Fix common/ includes. | |
1451 | * i386-fbsd-tdep.c: Fix common/ includes. | |
1452 | * i386-fbsd-nat.c: Fix common/ includes. | |
1453 | * guile/scm-type.c: Fix common/ includes. | |
1454 | * guile/guile.c: Fix common/ includes. | |
1455 | * go32-nat.c: Fix common/ includes. | |
1456 | * gnu-nat.c: Fix common/ includes. | |
1457 | * gdbthread.h: Fix common/ includes. | |
1458 | * gdbarch-selftests.c: Fix common/ includes. | |
1459 | * gdb_usleep.c: Fix common/ includes. | |
1460 | * gdb_select.h: Fix common/ includes. | |
1461 | * gdb_bfd.c: Fix common/ includes. | |
1462 | * gcore.c: Fix common/ includes. | |
1463 | * fork-child.c: Fix common/ includes. | |
1464 | * findvar.c: Fix common/ includes. | |
1465 | * fbsd-nat.c: Fix common/ includes. | |
1466 | * event-top.c: Fix common/ includes. | |
1467 | * event-loop.c: Fix common/ includes. | |
1468 | * dwarf2read.c: Fix common/ includes. | |
1469 | * dwarf2loc.c: Fix common/ includes. | |
1470 | * dwarf2-frame.c: Fix common/ includes. | |
1471 | * dwarf-index-cache.c: Fix common/ includes. | |
1472 | * dtrace-probe.c: Fix common/ includes. | |
1473 | * disasm-selftests.c: Fix common/ includes. | |
1474 | * defs.h: Fix common/ includes. | |
1475 | * csky-tdep.c: Fix common/ includes. | |
1476 | * cp-valprint.c: Fix common/ includes. | |
1477 | * cp-support.h: Fix common/ includes. | |
1478 | * cp-support.c: Fix common/ includes. | |
1479 | * corelow.c: Fix common/ includes. | |
1480 | * completer.h: Fix common/ includes. | |
1481 | * completer.c: Fix common/ includes. | |
1482 | * compile/compile.c: Fix common/ includes. | |
1483 | * compile/compile-loc2c.c: Fix common/ includes. | |
1484 | * compile/compile-cplus-types.c: Fix common/ includes. | |
1485 | * compile/compile-cplus-symbols.c: Fix common/ includes. | |
1486 | * command.h: Fix common/ includes. | |
1487 | * cli/cli-dump.c: Fix common/ includes. | |
1488 | * cli/cli-cmds.c: Fix common/ includes. | |
1489 | * charset.c: Fix common/ includes. | |
1490 | * build-id.c: Fix common/ includes. | |
1491 | * btrace.h: Fix common/ includes. | |
1492 | * btrace.c: Fix common/ includes. | |
1493 | * breakpoint.h: Fix common/ includes. | |
1494 | * breakpoint.c: Fix common/ includes. | |
1495 | * ax.h: | |
1496 | (enum agent_op): Fix common/ includes. | |
1497 | * ax-general.c (struct aop_map): Fix common/ includes. | |
1498 | * ax-gdb.c: Fix common/ includes. | |
1499 | * auxv.c: Fix common/ includes. | |
1500 | * auto-load.c: Fix common/ includes. | |
1501 | * arm-tdep.c: Fix common/ includes. | |
1502 | * arch/riscv.c: Fix common/ includes. | |
1503 | * arch/ppc-linux-common.c: Fix common/ includes. | |
1504 | * arch/i386.c: Fix common/ includes. | |
1505 | * arch/arm.c: Fix common/ includes. | |
1506 | * arch/arm-linux.c: Fix common/ includes. | |
1507 | * arch/arm-get-next-pcs.c: Fix common/ includes. | |
1508 | * arch/amd64.c: Fix common/ includes. | |
1509 | * arch/aarch64.c: Fix common/ includes. | |
1510 | * arch/aarch64-insn.c: Fix common/ includes. | |
1511 | * arch-utils.c: Fix common/ includes. | |
1512 | * amd64-windows-tdep.c: Fix common/ includes. | |
1513 | * amd64-tdep.c: Fix common/ includes. | |
1514 | * amd64-sol2-tdep.c: Fix common/ includes. | |
1515 | * amd64-obsd-tdep.c: Fix common/ includes. | |
1516 | * amd64-nbsd-tdep.c: Fix common/ includes. | |
1517 | * amd64-linux-tdep.c: Fix common/ includes. | |
1518 | * amd64-linux-nat.c: Fix common/ includes. | |
1519 | * amd64-fbsd-tdep.c: Fix common/ includes. | |
1520 | * amd64-fbsd-nat.c: Fix common/ includes. | |
1521 | * amd64-dicos-tdep.c: Fix common/ includes. | |
1522 | * amd64-darwin-tdep.c: Fix common/ includes. | |
1523 | * agent.c: Fix common/ includes. | |
1524 | * ada-lang.h: Fix common/ includes. | |
1525 | * ada-lang.c: Fix common/ includes. | |
1526 | * aarch64-tdep.c: Fix common/ includes. | |
1527 | ||
2f5c153e TT |
1528 | 2019-01-25 Tom Tromey <tom@tromey.com> |
1529 | ||
1530 | * common/create-version.sh: Use common/version.h. | |
1531 | ||
adc6a863 PA |
1532 | 2019-01-24 Pedro Alves <palves@redhat.com> |
1533 | ||
1534 | * infrun.c (signal_stop, signal_print, signal_program) | |
1535 | (signal_catch, signal_pass): Now arrays instead of pointers. | |
1536 | (update_signals_program_target, do_target_resume) | |
1537 | (signal_catch_update, handle_command, _initialize_infrun): Adjust. | |
1538 | * linux-nat.c (linux_nat_target::pass_signals) | |
1539 | (linux_nat_target::create_inferior, linux_nat_target::attach): | |
1540 | Adjust. | |
1541 | * linux-nat.h (linux_nat_target::pass_signals): Adjust. | |
1542 | * nto-procfs.c (nto_procfs_target::pass_signals): Adjust. | |
1543 | * procfs.c (procfs_target::pass_signals): Adjust. | |
1544 | * record-full.c (record_full_target::resume): Adjust. | |
1545 | * remote.c (remote_target::pass_signals) | |
1546 | (remote_target::program_signals): Adjust. | |
1547 | * target-debug.h (target_debug_print_signals): Now takes a | |
1548 | gdb::array_view as parameter. Adjust. | |
1549 | * target.h (target_ops) <pass_signals, program_signals>: Replace | |
1550 | pointer and length parameters with gdb::array_view. | |
1551 | (target_pass_signals, target_program_signals): Likewise. | |
1552 | * target-delegates.c: Regenerate. | |
1553 | ||
3046d67a PA |
1554 | 2019-01-24 Pedro Alves <palves@redhat.com> |
1555 | ||
1556 | * common/forward-scope-exit.h | |
1557 | (forward_scope_exit::forward_scope_exit): Pass arguments to | |
1558 | m_bind_function directly, instead of creating a std::bind and | |
1559 | copying that. | |
1560 | ||
353229bf AH |
1561 | 2019-01-24 Alan Hayward <alan.hayward@arm.com> |
1562 | ||
1563 | * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check | |
1564 | for static members. | |
1565 | (pass_in_v_vfp_candidate): Likewise. | |
1566 | ||
311dc83a TT |
1567 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1568 | Pedro Alves <palves@redhat.com> | |
1569 | ||
1570 | * regcache.c (class regcache_invalidator): Remove. | |
1571 | (regcache::raw_write): Use make_scope_exit. | |
1572 | ||
296bd123 TT |
1573 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1574 | ||
1575 | * ui-out.h (class ui_out_emit_type): Update comment. | |
1576 | ||
979a0d13 TT |
1577 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1578 | ||
1579 | * infrun.c (fetch_inferior_event): Update comment. | |
1580 | ||
d238133d TT |
1581 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1582 | Pedro Alves <palves@redhat.com> | |
1583 | ||
1584 | * infrun.c (reinstall_readline_callback_handler_cleanup): Remove | |
1585 | parameter. | |
1586 | (fetch_inferior_event): Use SCOPE_EXIT. | |
1587 | ||
1588 | ||
9885e6bb TT |
1589 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1590 | Pedro Alves <palves@redhat.com> | |
1591 | ||
1592 | * infrun.c (disable_thread_events): Delete. | |
1593 | (stop_all_threads): Use SCOPE_EXIT. | |
1594 | ||
286526c1 TT |
1595 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1596 | Pedro Alves <palves@redhat.com> | |
1597 | ||
1598 | * symfile.c: Include forward-scope-exit.h. | |
1599 | (clear_symtab_users_cleanup): Replace forward declaration with | |
1600 | a FORWARD_SCOPE_EXIT. | |
1601 | (syms_from_objfile_1): Use the forward_scope_exit and | |
1602 | gdb::optional instead of cleanup_function. | |
1603 | (reread_symbols): Use the forward_scope_exit instead of | |
1604 | cleanup_function. | |
1605 | (clear_symtab_users_cleanup): Remove function. | |
1606 | ||
1db93f14 TT |
1607 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1608 | Pedro Alves <palves@redhat.com> | |
1609 | ||
1610 | * linux-nat.c: Include scope-exit.h. | |
1611 | (cleanup_target_stop): Remove. | |
1612 | (linux_nat_target::static_tracepoint_markers_by_strid): Use | |
1613 | SCOPE_EXIT. | |
1614 | ||
2cc83d1e TT |
1615 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1616 | Pedro Alves <palves@redhat.com> | |
1617 | ||
1618 | * infcall.c (cleanup_delete_std_terminate_breakpoint): Remove. | |
1619 | (call_function_by_hand_dummy): Use SCOPE_EXIT. | |
1620 | ||
694c6bf5 TT |
1621 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1622 | Andrew Burgess <andrew.burgess@embecosm.com> | |
1623 | Pedro Alves <palves@redhat.com> | |
1624 | ||
1625 | * infrun.c (fetch_inferior_event): Use scope_exit. | |
1626 | * utils.h (make_bpstat_clear_actions_cleanup): Don't declare. | |
1627 | * top.c (execute_command): Use scope_exit. | |
1628 | * breakpoint.c (bpstat_do_actions): Use scope_exit. | |
1629 | * utils.c (do_bpstat_clear_actions_cleanup) | |
1630 | (make_bpstat_clear_actions_cleanup): Remove. | |
1631 | ||
4c41382a TT |
1632 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1633 | Pedro Alves <palves@redhat.com> | |
1634 | ||
1635 | * infrun.c: Include "common/scope-exit.h" | |
1636 | (delete_just_stopped_threads_infrun_breakpoints_cleanup): Remove. | |
1637 | (wait_for_inferior): Use SCOPE_EXIT. | |
1638 | (fetch_inferior_event): Use scope_exit. | |
1639 | ||
89f8fb50 TT |
1640 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1641 | Pedro Alves <palves@redhat.com> | |
1642 | ||
1643 | * breakpoint.c (create_breakpoint): Remove cleanup. | |
1644 | ||
5419bdae TT |
1645 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1646 | Andrew Burgess <andrew.burgess@embecosm.com> | |
1647 | Pedro Alves <palves@redhat.com> | |
1648 | ||
e587ef42 PA |
1649 | 2019-01-23 Pedro Alves <palves@redhat.com> |
1650 | ||
1651 | * gdbarch-selftests.c (struct on_exit): Use SCOPE_EXIT. | |
1652 | ||
77f0e74c PA |
1653 | 2019-01-23 Pedro Alves <palves@redhat.com> |
1654 | Andrew Burgess <andrew.burgess@embecosm.com> | |
1655 | ||
1656 | * gdbthread.h: Include "common/forward-scope-exit.h". | |
1657 | (scoped_finish_thread_state): Redefine custom class in terms of | |
1658 | forward_scope_exit. | |
1659 | ||
5b9b3e53 PA |
1660 | 2019-01-23 Pedro Alves <palves@redhat.com> |
1661 | Andrew Burgess <andrew.burgess@embecosm.com> | |
1662 | ||
1663 | * common/forward-scope-exit.h: New file. | |
1664 | ||
54b65c9b PA |
1665 | 2019-01-23 Pedro Alves <palves@redhat.com> |
1666 | Andrew Burgess <andrew.burgess@embecosm.com> | |
1667 | Tom Tromey <tom@tromey.com> | |
1668 | ||
1669 | * common/scope-exit.h: New file. | |
1670 | ||
cf08fb29 PA |
1671 | 2019-01-23 Pedro Alves <palves@redhat.com> |
1672 | ||
1673 | * common/preprocessor.h (ESC): Rename to ... | |
1674 | (ESC_PARENS): ... this. | |
1675 | * common/valid-expr.h (CHECK_VALID_EXPR_1, CHECK_VALID_EXPR_2) | |
1676 | (CHECK_VALID_EXPR_3, CHECK_VALID_EXPR_4): Adjust. | |
1677 | ||
ae73e2e2 TT |
1678 | 2019-01-23 Tom Tromey <tom@tromey.com> |
1679 | ||
1680 | * language.h (class scoped_switch_to_sym_language_if_auto): | |
1681 | Initialize m_lang in both cases. | |
1682 | ||
6594e122 AH |
1683 | 2019-01-23 Alan Hayward <alan.hayward@arm.com> |
1684 | ||
1685 | * nat/aarch64-linux.c (aarch64_linux_new_thread): Replace XNEW | |
1686 | with XCNEW. | |
1687 | ||
a7c9855d TT |
1688 | 2019-01-22 Tom Tromey <tom@tromey.com> |
1689 | ||
1690 | * corelow.c: Do not include sys/file.h. | |
1691 | ||
93cc1d53 TT |
1692 | 2019-01-22 Tom Tromey <tom@tromey.com> |
1693 | ||
1694 | * tui/tui-wingeneral.h: Include gdb_curses.h. | |
1695 | ||
38561778 TT |
1696 | 2019-01-22 Tom Tromey <tom@tromey.com> |
1697 | ||
1698 | * source-cache.h (class source_cache) <get_source_lines, | |
1699 | get_plain_source_lines, extract_lines>: Rename "lines" parameter. | |
1700 | ||
37b3ab5b TT |
1701 | 2019-01-22 Tom Tromey <tom@tromey.com> |
1702 | ||
1703 | * remote-fileio.h (struct remote_target): Declare. | |
1704 | ||
3fabc016 TT |
1705 | 2019-01-22 Tom Tromey <tom@tromey.com> |
1706 | ||
1707 | * python/py-arch.c: Do not include py-ref.h. | |
1708 | * python/py-bpevent.c: Do not include py-ref.h. | |
1709 | * python/py-cmd.c: Do not include py-ref.h. | |
1710 | * python/py-continueevent.c: Do not include py-ref.h. | |
1711 | * python/py-event.h: Do not include py-ref.h. | |
1712 | * python/py-evtregistry.c: Do not include py-ref.h. | |
1713 | * python/py-finishbreakpoint.c: Do not include py-ref.h. | |
1714 | * python/py-frame.c: Do not include py-ref.h. | |
1715 | * python/py-framefilter.c: Do not include py-ref.h. | |
1716 | * python/py-function.c: Do not include py-ref.h. | |
1717 | * python/py-infevents.c: Do not include py-ref.h. | |
1718 | * python/py-linetable.c: Do not include py-ref.h. | |
1719 | * python/py-objfile.c: Do not include py-ref.h. | |
1720 | * python/py-param.c: Do not include py-ref.h. | |
1721 | * python/py-prettyprint.c: Do not include py-ref.h. | |
1722 | * python/py-progspace.c: Do not include py-ref.h. | |
1723 | * python/py-symbol.c: Do not include py-ref.h. | |
1724 | * python/py-symtab.c: Do not include py-ref.h. | |
1725 | * python/py-type.c: Do not include py-ref.h. | |
1726 | * python/py-unwind.c: Do not include py-ref.h. | |
1727 | * python/py-utils.c: Do not include py-ref.h. | |
1728 | * python/py-value.c: Do not include py-ref.h. | |
1729 | * python/py-varobj.c: Do not include py-ref.h. | |
1730 | * python/py-xmethods.c: Do not include py-ref.h. | |
1731 | * python/python.c: Do not include py-ref.h. | |
1732 | * varobj.c: Do not include py-ref.h. | |
1733 | ||
6b4d7774 TT |
1734 | 2019-01-22 Tom Tromey <tom@tromey.com> |
1735 | ||
1736 | * objfiles.h (struct objfile_per_bfd_storage): Use "struct" | |
1737 | keyword for bcache. | |
1738 | ||
7af7e9b5 TT |
1739 | 2019-01-22 Tom Tromey <tom@tromey.com> |
1740 | ||
1741 | * compile/compile-cplus-types.c: Remove a comment by #include. | |
1742 | ||
951d1049 TT |
1743 | 2019-01-22 Tom Tromey <tom@tromey.com> |
1744 | ||
1745 | * compile/gcc-c-plugin.h: Include compile-internal.h. | |
1746 | ||
d65d5705 TT |
1747 | 2019-01-22 Tom Tromey <tom@tromey.com> |
1748 | ||
1749 | * stabsread.c (EXTERN): Do not define. | |
1750 | (symnum, next_symbol_text_func, processing_gcc_compilation) | |
1751 | (within_function, global_sym_chain, global_stabs) | |
1752 | (previous_stab_code, this_object_header_files) | |
1753 | (n_this_object_header_files) | |
1754 | (n_allocated_this_object_header_files): Define. | |
1755 | * stabsread.h (EXTERN): Never define. Use "extern". | |
1756 | ||
b6fb1ee5 PW |
1757 | 2019-01-22 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
1758 | ||
1759 | * event-top.c (handle_line_of_input): use unique_xmalloc_ptr for | |
1760 | history_value. | |
1761 | ||
be6d4f74 TT |
1762 | 2019-01-21 Tom Tromey <tom@tromey.com> |
1763 | ||
1764 | * ui-out.c: Fix includes. | |
1765 | * tui/tui-source.c: Fix includes. | |
1766 | * target.c: Fix includes. | |
1767 | * remote.c: Fix includes. | |
1768 | * regcache.c: Fix includes. | |
1769 | * python/py-block.c: Fix includes. | |
1770 | * printcmd.c: Fix includes. | |
1771 | * or1k-tdep.c: Fix includes. | |
1772 | * mi/mi-main.c: Fix includes. | |
1773 | * m32r-tdep.c: Fix includes. | |
1774 | * csky-tdep.c: Fix includes. | |
1775 | * compile/compile-cplus-types.c: Fix includes. | |
1776 | * cli/cli-interp.c: Fix includes. | |
1777 | ||
73021deb AH |
1778 | 2019-01-21 Alan Hayward <alan.hayward@arm.com> |
1779 | ||
1780 | * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): Check | |
1781 | for padding. | |
1782 | ||
7932255d TT |
1783 | 2019-01-16 Tom Tromey <tom@tromey.com> |
1784 | ||
1785 | * objfiles.h (struct minimal_symbol_iterator): Rename. Move | |
1786 | earlier. | |
1787 | (struct objfile) <msymbols_range>: Move from top level. | |
1788 | <msymbols>: New method. | |
1789 | (class objfile_msymbols): Remove. | |
1790 | * symtab.c (default_collect_symbol_completion_matches_break_on): | |
1791 | Update. | |
1792 | * symmisc.c (dump_msymbols): Update. | |
1793 | * stabsread.c (scan_file_globals): Update. | |
1794 | * objc-lang.c (info_selectors_command, info_classes_command) | |
1795 | (find_methods): Update. | |
1796 | * minsyms.c (find_solib_trampoline_target): Update. | |
1797 | * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Update. | |
1798 | * coffread.c (coff_symfile_read): Update. | |
1799 | * ada-lang.c (ada_lookup_simple_minsym) | |
1800 | (ada_collect_symbol_completion_matches): Update. | |
1801 | ||
604b1bfb TT |
1802 | 2019-01-16 Tom Tromey <tom@tromey.com> |
1803 | ||
1804 | * objfiles.h (class objfile_msymbols) <iterator>: Change argument | |
1805 | type. Remove no-argument constructor. | |
1806 | <iterator::operator++>: Simplify. | |
1807 | <begin>: Update. | |
1808 | <end>: Use minimal_symbol_count. | |
1809 | ||
f252c6d5 TT |
1810 | 2019-01-16 Tom Tromey <tom@tromey.com> |
1811 | ||
1812 | * objfiles.h (struct objfile) <psymtabs>: New method. | |
1813 | (class objfile_psymtabs): Remove. | |
1814 | * psymtab.h (class psymtab_storage) <partial_symtab_range>: New | |
1815 | typedef. | |
1816 | <range>: New method. | |
1817 | (require_partial_symbols): Change return type. | |
1818 | * psymtab.c (require_partial_symbols) | |
1819 | (psym_expand_symtabs_matching): Update. | |
1820 | * mdebugread.c (parse_partial_symbols): Update. | |
1821 | * dbxread.c (dbx_end_psymtab): Update. | |
1822 | ||
b669c953 TT |
1823 | 2019-01-15 Tom Tromey <tom@tromey.com> |
1824 | ||
1825 | * symtab.c (lookup_objfile_from_block) | |
1826 | (lookup_symbol_in_objfile_symtabs) | |
1827 | (basic_lookup_transparent_type_1, find_pc_sect_compunit_symtab) | |
1828 | (find_line_symtab, info_sources_command) | |
1829 | (default_collect_symbol_completion_matches_break_on) | |
1830 | (make_source_files_completion_list): Update. | |
1831 | * symmisc.c (print_objfile_statistics, dump_objfile) | |
1832 | (maintenance_print_symbols, maintenance_info_symtabs) | |
1833 | (maintenance_check_symtabs, maintenance_info_line_tables): | |
1834 | Update. | |
1835 | * source.c (select_source_symtab) | |
1836 | (forget_cached_source_info_for_objfile): Update. | |
1837 | * objfiles.h (class objfile_compunits): Remove. | |
1838 | (struct objfile) <compunits_range>: New typedef. | |
1839 | (compunits): New method. | |
1840 | * objfiles.c (objfile_relocate1): Update. | |
1841 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update. | |
1842 | * maint.c (count_symtabs_and_blocks): Update. | |
1843 | * linespec.c (iterate_over_all_matching_symtabs): Update. | |
1844 | * cp-support.c (add_symbol_overload_list_qualified): Update. | |
1845 | * coffread.c (coff_symtab_read): Update. | |
1846 | * ada-lang.c (add_nonlocal_symbols) | |
1847 | (ada_collect_symbol_completion_matches) | |
1848 | (ada_add_global_exceptions): Update. | |
1849 | ||
7e955d83 TT |
1850 | 2019-01-15 Tom Tromey <tom@tromey.com> |
1851 | ||
1852 | * progspace.h (program_space) <objfiles_safe_range>: New | |
1853 | typedef. | |
1854 | <objfiles_safe>: New method. | |
1855 | * objfiles.h (class all_objfiles_safe): Remove. | |
1856 | * objfiles.c (free_all_objfiles, objfile_purge_solibs): Update. | |
1857 | * jit.c (jit_inferior_exit_hook): Update. | |
1858 | ||
2030c079 TT |
1859 | 2019-01-17 Tom Tromey <tom@tromey.com> |
1860 | ||
1861 | * progspace.h (program_space) <objfiles_range>: New typedef. | |
1862 | <objfiles>: New method. | |
1863 | <objfiles_head>: Rename from objfiles. | |
1864 | (object_files): Update. | |
1865 | * guile/scm-progspace.c (gdbscm_progspace_objfiles): Update. | |
1866 | * guile/scm-pretty-print.c | |
1867 | (ppscm_find_pretty_printer_from_objfiles): Update. | |
1868 | * guile/scm-objfile.c (gdbscm_objfiles): Update. | |
1869 | * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): | |
1870 | Update. | |
1871 | * python/py-progspace.c (pspy_get_objfiles): Update. | |
1872 | * python/py-prettyprint.c (find_pretty_printer_from_objfiles): | |
1873 | Update. | |
1874 | * python/py-objfile.c (objfpy_lookup_objfile_by_name) | |
1875 | (objfpy_lookup_objfile_by_build_id): Update. | |
1876 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update. | |
1877 | * windows-tdep.c (windows_iterate_over_objfiles_in_search_order): | |
1878 | Update. | |
1879 | * symtab.c (iterate_over_symtabs, matching_obj_sections) | |
1880 | (expand_symtab_containing_pc, lookup_objfile_from_block) | |
1881 | (lookup_static_symbol, basic_lookup_transparent_type) | |
1882 | (find_pc_sect_compunit_symtab, find_symbol_at_address) | |
1883 | (find_line_symtab, info_sources_command) | |
1884 | (default_collect_symbol_completion_matches_break_on) | |
1885 | (make_source_files_completion_list, find_main_name): Update. | |
1886 | * symmisc.c (print_symbol_bcache_statistics) | |
1887 | (print_objfile_statistics, maintenance_print_symbols) | |
1888 | (maintenance_print_msymbols, maintenance_print_objfiles) | |
1889 | (maintenance_info_symtabs, maintenance_check_symtabs) | |
1890 | (maintenance_expand_symtabs, maintenance_info_line_tables): | |
1891 | Update. | |
1892 | * symfile.c (remove_symbol_file_command, overlay_invalidate_all) | |
1893 | (find_pc_overlay, find_pc_mapped_section, list_overlays_command) | |
1894 | (map_overlay_command, unmap_overlay_command) | |
1895 | (simple_overlay_update, expand_symtabs_matching) | |
1896 | (map_symbol_filenames): Update. | |
1897 | * symfile-debug.c (set_debug_symfile): Update. | |
1898 | * spu-tdep.c (spu_overlay_update, spu_objfile_from_frame): | |
1899 | Update. | |
1900 | * source.c (select_source_symtab, forget_cached_source_info): | |
1901 | Update. | |
1902 | * solib.c (solib_read_symbols): Update. | |
1903 | * solib-spu.c (append_ocl_sos): Update. | |
1904 | * psymtab.c (maintenance_print_psymbols) | |
1905 | (maintenance_info_psymtabs, maintenance_check_psymtabs): Update. | |
1906 | * probe.c (parse_probes_in_pspace, find_probe_by_pc): Update. | |
1907 | * printcmd.c (info_symbol_command): Update. | |
1908 | * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created): | |
1909 | Update. | |
1910 | * objfiles.h (class all_objfiles): Remove. | |
1911 | * objfiles.c (have_partial_symbols, have_full_symbols) | |
1912 | (have_minimal_symbols, qsort_cmp, update_section_map) | |
1913 | (shared_objfile_contains_address_p) | |
1914 | (default_iterate_over_objfiles_in_search_order): Update. | |
1915 | * objc-lang.c (info_selectors_command, info_classes_command) | |
1916 | (find_methods): Update. | |
1917 | * minsyms.c (find_solib_trampoline_target): Update. | |
1918 | * maint.c (maintenance_info_sections) | |
1919 | (maintenance_translate_address, count_symtabs_and_blocks): | |
1920 | Update. | |
1921 | * main.c (captured_main_1): Update. | |
1922 | * linux-thread-db.c (try_thread_db_load_from_pdir) | |
1923 | (has_libpthread): Update. | |
1924 | * linespec.c (iterate_over_all_matching_symtabs) | |
1925 | (search_minsyms_for_name): Update. | |
1926 | * jit.c (jit_find_objf_with_entry_addr): Update. | |
1927 | * hppa-tdep.c (find_unwind_entry) | |
1928 | (hppa_lookup_stub_minimal_symbol): Update. | |
1929 | * gcore.c (gcore_create_callback, objfile_find_memory_regions): | |
1930 | Update. | |
1931 | * elfread.c (elf_gnu_ifunc_resolve_by_cache) | |
1932 | (elf_gnu_ifunc_resolve_by_got): Update. | |
1933 | * dwarf2-frame.c (dwarf2_frame_find_fde): Update. | |
1934 | * dwarf-index-write.c (save_gdb_index_command): Update. | |
1935 | * cp-support.c (add_symbol_overload_list_qualified): Update. | |
1936 | * breakpoint.c (create_overlay_event_breakpoint) | |
1937 | (create_longjmp_master_breakpoint) | |
1938 | (create_std_terminate_master_breakpoint) | |
1939 | (create_exception_master_breakpoint): Update. | |
1940 | * blockframe.c (find_pc_partial_function): Update. | |
1941 | * ada-lang.c (ada_lookup_simple_minsym, add_nonlocal_symbols) | |
1942 | (ada_collect_symbol_completion_matches) | |
1943 | (ada_add_global_exceptions): Update. | |
1944 | ||
776489e0 TT |
1945 | 2019-01-17 Tom Tromey <tom@tromey.com> |
1946 | ||
1947 | * solib-target.c (lm_info_target_p): Remove typedef. Don't | |
1948 | declare VEC. | |
1949 | (solib_target_parse_libraries): Change return type. | |
1950 | (library_list_start_segment, library_list_start_section) | |
1951 | (library_list_end_library, library_list_start_library); Update. | |
1952 | (solib_target_free_library_list): Remove. | |
1953 | (solib_target_parse_libraries): Remove cleanup. Change return | |
1954 | type. | |
1955 | (solib_target_current_sos): Update. | |
1956 | ||
6471e7d2 TT |
1957 | 2019-01-17 Tom Tromey <tromey@bapiya> |
1958 | ||
1959 | * valprint.c: Replace "the the" with "the". | |
1960 | * symtab.c: Replace "the the" with "the". | |
1961 | * solib.c: Replace "the the" with "the". | |
1962 | * solib-dsbt.c: Replace "the the" with "the". | |
1963 | * linespec.c: Replace "the the" with "the". | |
1964 | * dwarf2loc.h: Replace "the the" with "the". | |
1965 | * amd64-windows-tdep.c: Replace "the the" with "the". | |
1966 | * aarch64-tdep.c: Replace "the the" with "the". | |
1967 | ||
c24bdb02 KS |
1968 | 2019-01-16 Keith Seitz <keiths@redhat.com> |
1969 | ||
1970 | PR gdb/23773 | |
1971 | * dwarf2read.c (dwarf2_cu) <ancestor>: New field. | |
1972 | <builder>: Rename to .. | |
1973 | <m_builder>: ... this and make private. | |
1974 | (dwarf2_cu::get_builder): New method. Change all users of | |
1975 | `builder' to use this method. | |
1976 | (dwarf2_start_symtab): Move to ... | |
1977 | (dwarf2_cu::start_symtab): ... here. Update all callers | |
1978 | (setup_type_unit_groups): Move to ... | |
1979 | (dwarf2_cu::setup_type_unit_groups): ... here. Update all | |
1980 | callers. | |
1981 | (dwarf2_cu::reset_builder): New method. | |
1982 | (process_full_compunit, process_full_type_unit): Use | |
1983 | dwarf2_cu::reset_builder. | |
1984 | (follow_die_offset): Record the ancestor CU if it is different | |
1985 | from the followed DIE's CU. | |
1986 | (follow_die_sig_1): Likewise. | |
1987 | ||
8d64371b TT |
1988 | 2019-01-15 Tom Tromey <tom@tromey.com> |
1989 | ||
1990 | * remote.c (class remote_state) <buf>: Now a char_vector. | |
1991 | <buf_size>: Remove. | |
1992 | (remote_target::getpkt): Change type of buf. Remove sizeof_buf | |
1993 | parameter. | |
1994 | (remote_target::getpkt_or_notif_sane_1) | |
1995 | (remote_target::getpkt_sane) | |
1996 | (remote_target::getpkt_or_notif_sane): Likewise. | |
1997 | (class remote_target) <putpkt>: New overload. | |
1998 | (remote_target::read_frame): Change type of "buf_p". Remove | |
1999 | sizeof_p parameter. | |
2000 | (packet_ok): New overload. | |
2001 | (packet_check_result): New overload. | |
2002 | Update all uses. | |
2003 | ||
bb277751 TT |
2004 | 2019-01-14 Tom Tromey <tom@tromey.com> |
2005 | ||
2006 | * remote-notif.c (handle_notification, remote_notif_ack) | |
2007 | (remote_notif_parse): Make "buf" const. | |
2008 | * remote-notif.h (struct notif_client) <parse, ack>: Make "buf" | |
2009 | const. | |
2010 | (remote_notif_parse, remote_notif_ack, handle_notification): | |
2011 | Likewise. | |
2012 | * remote.c (remote_notif_stop_parse): Make "buf" const. | |
2013 | (remote_target::remote_parse_stop_reply): Make "buf" const. | |
2014 | (remote_notif_stop_ack): Make "buf" const. | |
2015 | ||
05be00a8 TT |
2016 | 2019-01-14 Tom Tromey <tom@tromey.com> |
2017 | ||
2018 | * remote.c (remote_console_output): Make parameter const. | |
2019 | ||
491adeca TT |
2020 | 2019-01-14 Tom Tromey <tom@tromey.com> |
2021 | ||
2022 | * target-debug.h (target_debug_print_signals): Constify. | |
2023 | * nto-procfs.c (nto_procfs_target::pass_signals): Update. | |
2024 | * procfs.c (procfs_target::pass_signals): Update. | |
2025 | * linux-nat.c (linux_nat_target::pass_signals): Update. | |
2026 | * linux-nat.h (class linux_nat_target) <pass_signals>: Update. | |
2027 | * target-delegates.c: Rebuild. | |
2028 | * remote.c (remote_target::program_signals): Update. | |
2029 | (remote_target::pass_signals): Update. | |
2030 | * target.c (target_pass_signals): Constify argument. | |
2031 | (target_program_signals): Likewise. | |
2032 | * target.h (struct target_ops) <pass_signals, program_signals>: | |
2033 | Constify argument. | |
2034 | (target_pass_signals, target_program_signals): Constify argument. | |
2035 | ||
bbd94648 TT |
2036 | 2019-01-14 Tom Tromey <tom@tromey.com> |
2037 | ||
2038 | PR tui/28819: | |
2039 | * tui/tui-io.c (gdb_wgetch): Print \r when needed. | |
2040 | ||
6f072a10 PFC |
2041 | 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com> |
2042 | ||
2043 | * ppc-tdep.h (struct gdbarch_tdep) <ppc_v0_alias_regnum>: New | |
2044 | field. | |
2045 | * rs6000-tdep.c: Include reggroups.h. | |
2046 | (IS_V_ALIAS_PSEUDOREG): Define. | |
2047 | (rs6000_register_name): Return names for the "vX" aliases. | |
2048 | (rs6000_pseudo_register_type): Return type for the "vX" aliases. | |
2049 | (rs6000_pseudo_register_reggroup_p): Restore. Handle "vX" | |
2050 | aliases. Call default_register_reggroup_p for all other | |
2051 | pseudo-registers. | |
2052 | (v_alias_pseudo_register_read, v_alias_pseudo_register_write): | |
2053 | New functions. | |
2054 | (rs6000_pseudo_register_read, rs6000_pseudo_register_write): | |
2055 | Handle "vX" aliases. | |
2056 | (v_alias_pseudo_register_collect): New function. | |
2057 | (rs6000_ax_pseudo_register_collect): Handle "vX" aliases. | |
2058 | (rs6000_gdbarch_init): Initialize "vX" aliases as | |
2059 | pseudo-registers. Restore registration of | |
2060 | rs6000_pseudo_register_reggroup_p with | |
2061 | set_tdesc_pseudo_register_reggroup_p. | |
2062 | ||
1a782351 MF |
2063 | 2019-01-13 Max Filippov <jcmvbkbc@gmail.com> |
2064 | ||
2065 | * xtensa-linux-tdep.c (xtensa_linux_init_abi): Update | |
2066 | tdep->num_pseudo_regs. Add calls to set_gdbarch_num_regs and | |
2067 | set_gdbarch_num_pseudo_regs. | |
2068 | ||
d73cff18 PW |
2069 | 2019-01-12 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
2070 | ||
2071 | * cli/cli-style.h (class cli_style_option): <add_setshow_commands> | |
2072 | Remove arg prefixname, add do_set and do_show. | |
2073 | Add member functions set_list and show_list. | |
2074 | * cli/cli-style.c (class cli_style_option): Update accordingly. | |
2075 | (style_set_list): Move to file scope. | |
2076 | (style_show_list): Likewise. | |
2077 | (set_style): Call help_list. | |
2078 | (show_style): Call cmd_show_list. | |
2079 | (_initialize_cli_style): New macro STYLE_ADD_SETSHOW_COMMANDS. | |
2080 | Update to use the new macro. | |
2081 | ||
60a90376 JB |
2082 | 2019-10-12 Joel Brobecker <brobecker@adacore.com> |
2083 | ||
2084 | * ada-lang.c (_initialize_ada_language): Expand the help text | |
2085 | for the "catch exception" command. | |
2086 | ||
9d7c67bf PW |
2087 | 2019-01-12 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
2088 | ||
2089 | * symtab.c (matching_obj_sections): Initialize obj, | |
2090 | declare it closer to its usage. | |
2091 | ||
7cf47dc4 TT |
2092 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2093 | ||
2094 | * thread-iter.h (inf_threads_iterator): Use next_iterator. | |
2095 | (basic_inf_threads_range): Remove. | |
2096 | (inf_threads_range, inf_non_exited_threads_range) | |
2097 | (safe_inf_threads_range): Use next_adapter. | |
2098 | ||
d3cb6808 KS |
2099 | 2019-01-10 Keith Seitz <keiths@redhat.com> |
2100 | ||
2101 | PR gdb/23712 | |
2102 | PR symtab/23010 | |
2103 | * dwarf2read.c (dw2_add_symbol_to_list): Remove. | |
2104 | (fixup_go_packaging, new_symbol): Use add_symbol_to_list. | |
2105 | ||
63a20375 KS |
2106 | 2019-01-10 Keith Seitz <keiths@redhat.com> |
2107 | ||
2108 | PR gdb/23712 | |
2109 | PR symtab/23010 | |
2110 | * dictionary.c (pending_to_vector): Remove. | |
2111 | (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1): | |
2112 | Remove _1 suffix, replacing functions of the same name. Update | |
2113 | all callers. | |
2114 | (dict_create_hashed, dict_create_hashed_expandable) | |
2115 | (dict_create_linear, dict_create_linear_expandable, dict_free) | |
2116 | (dict_add_symbol, dict_add_pending, dict_size, dict_empty): | |
2117 | Make functions static. | |
2118 | ||
b026f593 KS |
2119 | 2019-01-10 Keith Seitz <keiths@redhat.com> |
2120 | ||
2121 | PR gdb/23712 | |
2122 | PR symtab/23010 | |
2123 | * dictionary.h (struct dictionary): Replace declaration with | |
2124 | multidictionary. | |
2125 | (dict_create_hashed, dict_create_hashed_expandable) | |
2126 | (dict_create_linear, dict_create_linear_expandable) | |
2127 | (dict_free, dict_add_symbol, dict_add_pending, dict_empty) | |
2128 | (dict_iterator_first, dict_iterator_next, dict_iter_match_first) | |
2129 | (dict_iter_match_next, dict_size): Rename to "mdict_" versions | |
2130 | taking multidictionary argument. | |
2131 | [ALL_DICT_SYMBOLS]: Update for multidictionary. | |
2132 | * block.h (struct block) <dict>: Change to multidictionary | |
2133 | and rename `multidict'. | |
2134 | * block.c, buildsym.c, jit.c, mdebugread.c, objfiles.c, | |
2135 | symmisc.c: Update all dictionary references to multidictionary. | |
2136 | ||
c7748ee9 KS |
2137 | 2019-01-10 Keith Seitz <keiths@redhat.com> |
2138 | ||
2139 | PR gdb/23712 | |
2140 | PR symtab/23010 | |
2141 | * dictionary.c: Include unordered_map. | |
2142 | (pending_to_vector): New function. | |
2143 | (dict_create_hashed_1, dict_create_linear_1, dict_add_pending_1): | |
2144 | Rewrite the non-"_1" functions to take vector instead | |
2145 | of linked list. | |
2146 | (dict_create_hashed, dict_create_linear, dict_add_pending): Use the | |
2147 | "new" _1 versions of the same name. | |
2148 | (multidictionary): Define. | |
2149 | (std::hash<enum language): New definition. | |
2150 | (collate_pending_symbols_by_language, mdict_create_hashed) | |
2151 | (mdict_create_hashed_expandable, mdict_create_linear) | |
2152 | (mdict_create_linear_expandable, mdict_free) | |
2153 | (find_language_dictionary, create_new_language_dictionary) | |
2154 | (mdict_add_symbol, mdict_add_pending, mdict_iterator_first) | |
2155 | (mdict_iterator_next, mdict_iter_match_first, mdict_iter_match_next) | |
2156 | (mdict_size, mdict_empty): New functions. | |
2157 | * dictionary.h (mdict_iterator): Define. | |
2158 | ||
67aa1f3c PA |
2159 | 2019-01-10 Pedro Alves <palves@redhat.com> |
2160 | ||
2161 | * breakpoint.c (read_uploaded_action) | |
2162 | (create_tracepoint_from_upload): Adjust to use | |
2163 | gdb::unique_xmalloc_ptr. | |
2164 | * ctf.c (ctf_write_uploaded_tp): | |
2165 | (SET_ARRAY_FIELD): Use emplace_back. | |
2166 | (SET_STRING_FIELD): Adjust to use gdb::unique_xmalloc_ptr. | |
2167 | * tracefile-tfile.c (tfile_write_uploaded_tp): | |
2168 | * tracepoint.c (parse_tracepoint_definition): Adjust to use | |
2169 | gdb::unique_xmalloc_ptr. | |
2170 | * tracepoint.h (struct uploaded_tp) <cond, actions, step_actions, | |
2171 | at_string, cond_string, cmd_strings>: Replace char pointers | |
2172 | with gdb::unique_xmalloc_ptr. | |
2173 | ||
2f667667 PA |
2174 | 2019-01-10 Pedro Alves <palves@redhat.com> |
2175 | ||
2176 | * solib-target.c (library_list_start_library): Don't xstrdup name. | |
2177 | ||
36cb7237 PA |
2178 | 2019-01-10 Pedro Alves <palves@redhat.com> |
2179 | ||
2180 | * mdebugread.c (parse_partial_symbols): Use | |
2181 | gdb::unique_xmalloc_ptr to manage heap-allocated 'stabsstring'. | |
2182 | ||
da584958 AB |
2183 | 2019-01-10 Andrew Burgess <andrew.burgess@embecosm.com> |
2184 | ||
2185 | * linux-fork.c (scoped_switch_fork_info) | |
2186 | <~scoped_switch_fork_info>: Fix incorrect variable name. | |
2187 | ||
1ef8573c AB |
2188 | 2019-01-10 Andrew Burgess <andrew.burgess@embecosm.com> |
2189 | ||
2190 | * linux-fork.c (scoped_switch_fork_info) | |
2191 | <scoped_switch_fork_info>: Make explicit. | |
2192 | <~scoped_switch_fork_info>: Wrap core in TRY/CATCH. | |
2193 | ||
8d7bcccb TT |
2194 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2195 | ||
2196 | * objfiles.h (objfile::reset_psymtabs): Update. | |
2197 | * objfiles.c (objfile::objfile): Update. | |
2198 | * psymtab.h (psymtab_storage::obstack): Update. | |
2199 | (psymtab_storage::m_obstack): Use gdb::optional. | |
2200 | (class psymtab_storage): Update comment. Remove objfile | |
2201 | parameter. | |
2202 | * psymtab.c (psymtab_storage::psymtab_storage): Update. | |
2203 | ||
b596a3c7 TT |
2204 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2205 | ||
2206 | * psymtab.h (psymtab_storage::allocate_psymtab): New method. | |
2207 | <free_psymtabs>: Now private. | |
2208 | * psymtab.c (psymtab_storage::allocate_psymtab): Implement. | |
2209 | (allocate_psymtab): Use new method. | |
2210 | ||
a9342b62 TT |
2211 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2212 | ||
2213 | * xcoffread.c (xcoff_end_psymtab): Use allocate_dependencies. | |
2214 | * psymtab.h (psymtab_storage::allocate_dependencies): New method. | |
2215 | * mdebugread.c (parse_partial_symbols): Use | |
2216 | allocate_dependencies. | |
2217 | * dwarf2read.c (dwarf2_create_include_psymtab): Use | |
2218 | allocate_dependencies. | |
2219 | (process_psymtab_comp_unit_reader) | |
2220 | (build_type_psymtab_dependencies): Likewise. | |
2221 | * dbxread.c (dbx_end_psymtab): Use allocate_dependencies. | |
2222 | ||
5af70966 TT |
2223 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2224 | ||
2225 | * psymtab.c (add_psymbol_to_bcache): Pass psymtab obstack to | |
2226 | PSYMBOL_SET_LANGUAGE. | |
2227 | (allocate_psymtab): Allocate psymtab on the psymtab obstack. | |
2228 | ||
5923a04c TT |
2229 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2230 | ||
2231 | * psymtab.h (psymtab_storage::obstack): New method. | |
2232 | <m_obstack>: Rename from obstack; now private. | |
2233 | * psymtab.c (psymtab_storage): Update. | |
2234 | * dwarf2read.c (create_addrmap_from_index) | |
2235 | (create_addrmap_from_aranges, dwarf2_build_psymtabs_hard): | |
2236 | Update. | |
2237 | ||
6d6a12bf TT |
2238 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2239 | ||
2240 | * symfile.c (reread_symbols): Call objfile->reset_psymtabs. | |
2241 | * objfiles.h (objfile::reset_psymtabs): New method. | |
2242 | ||
d320c2b5 TT |
2243 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2244 | ||
2245 | * symmisc.c (print_symbol_bcache_statistics): Update. | |
2246 | (print_objfile_statistics): Update. | |
2247 | * symfile.c (reread_symbols): Update. | |
2248 | * psymtab.h (class psymtab_storage): New. | |
2249 | * psymtab.c (psymtab_storage): New constructor. | |
2250 | (~psymtab_storage): New destructor. | |
2251 | (require_partial_symbols): Update. | |
2252 | (ALL_OBJFILE_PSYMTABS_REQUIRED): Rewrite. | |
2253 | (find_pc_sect_psymtab, find_pc_sect_psymbol) | |
2254 | (match_partial_symbol, lookup_partial_symbol, dump_psymtab) | |
2255 | (psym_dump, recursively_search_psymtabs, psym_has_symbols) | |
2256 | (psym_find_compunit_symtab_by_address, sort_pst_symbols) | |
2257 | (start_psymtab_common, end_psymtab_common) | |
2258 | (add_psymbol_to_bcache, add_psymbol_to_list, init_psymbol_list) | |
2259 | (allocate_psymtab): Update. | |
2260 | (psymtab_storage::discard_psymtab): Rename from discard_psymtab. | |
2261 | Update. | |
2262 | (dump_psymtab_addrmap, maintenance_print_psymbols) | |
2263 | (maintenance_check_psymtabs): Update. | |
2264 | (class objfile_psymtabs): Move to objfiles.h. | |
2265 | * psympriv.h (discard_psymtab): Now inline. | |
2266 | (psymtab_discarder::psymtab_discarder): Update. | |
2267 | (psymtab_discarder::~psymtab_discarder): Update. | |
2268 | (ALL_OBJFILE_PSYMTABS): Rewrite. | |
2269 | * objfiles.h (struct objfile) <psymtabs, psymtabs_addrmap, | |
2270 | free_psymtabs, psymbol_cache, global_psymbols, static_psymbols>: | |
2271 | Remove fields. | |
2272 | <partial_symtabs>: New field. | |
2273 | (class objfile_psymtabs): Move from psymtab.h. Update. | |
2274 | * objfiles.c (objfile::objfile): Initialize partial_symtabs, not | |
2275 | psymbol_cache. | |
2276 | (objfile::~objfile): Don't destroy psymbol_cache. | |
2277 | * mdebugread.c (parse_partial_symbols): Update. | |
2278 | * dwarf2read.c (create_addrmap_from_index) | |
2279 | (create_addrmap_from_aranges, dw2_find_pc_sect_compunit_symtab) | |
2280 | (process_psymtab_comp_unit_reader, dwarf2_build_psymtabs_hard) | |
2281 | (add_partial_subprogram, dwarf2_ranges_read): Update. | |
2282 | * dwarf-index-write.c (write_address_map) | |
2283 | (write_one_signatured_type, recursively_write_psymbols) | |
2284 | (class debug_names, class debug_names, write_psymtabs_to_index): | |
2285 | Update. | |
2286 | ||
1d94a5a3 TT |
2287 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2288 | ||
2289 | * symtab.h (SYMBOL_SET_NAMES): Update. | |
2290 | (symbol_set_names): Update. | |
2291 | (MSYMBOL_SET_NAMES): Update. | |
2292 | * symtab.c (symbol_set_names): Change argument to be an | |
2293 | objfile_per_bfd_storage. | |
2294 | * psymtab.c (add_psymbol_to_bcache): Update. | |
2295 | * psympriv.h (PSYMBOL_SET_NAMES): Take per_bfd argument. | |
2296 | ||
0f14768a TT |
2297 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2298 | ||
2299 | * symtab.c (create_demangled_names_hash): Change argument to be an | |
2300 | objfile_per_bfd_storage. | |
2301 | (symbol_set_names): Update. | |
2302 | ||
6eee24ce TT |
2303 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2304 | ||
2305 | * xcoffread.c (xcoff_initial_scan): Unconditionally call | |
2306 | init_psymbol_list. | |
2307 | * psymtab.c (init_psymbol_list): Do nothing if already called. | |
2308 | * psympriv.h (init_psymbol_list): Add comment. | |
2309 | * dwarf2read.c (dwarf2_build_psymtabs): Unconditionally call | |
2310 | init_psymbol_list. | |
2311 | * dbxread.c (dbx_symfile_read): Unconditionally call | |
2312 | init_psymbol_list. | |
2313 | ||
75aedd27 TT |
2314 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2315 | ||
2316 | * xcoffread.c (scan_xcoff_symtab): Update. | |
2317 | * psymtab.c (add_psymbol_to_list): Replace "list" parameter with | |
2318 | "where". | |
2319 | * mdebugread.c (parse_partial_symbols) | |
2320 | (handle_psymbol_enumerators): Update. | |
2321 | * dwarf2read.c (add_partial_symbol, load_partial_dies): Update. | |
2322 | * dbxread.c (read_dbx_symtab): Update. | |
2323 | * psympriv.h (psymbol_placement): New enum. | |
2324 | (add_psymbol_to_list): Update. | |
2325 | ||
939652a5 TT |
2326 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2327 | ||
2328 | * xcoffread.c (xcoff_start_psymtab): Remove global_psymbols and | |
2329 | static_psymbols parameters. | |
2330 | (scan_xcoff_symtab): Update. | |
2331 | * psymtab.c (start_psymtab_common): Remove global_psymbols and | |
2332 | static_psymbols parameters. | |
2333 | * psympriv.h (start_psymtab_common): Update. | |
2334 | * mdebugread.c (parse_partial_symbols): Update. | |
2335 | * dwarf2read.c (create_partial_symtab): Update. | |
2336 | * dbxread.c (read_dbx_symtab): Update. | |
2337 | (start_psymtab): Remove global_psymbols and static_psymbols | |
2338 | parameters. | |
2339 | ||
baa62830 TT |
2340 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2341 | ||
2342 | * xcoffread.c (xcoff_end_psymtab): Remove some initializations. | |
2343 | * psymtab.c (allocate_psymtab): Add comment. | |
2344 | * psympriv.h (allocate_psymtab): Add comment. | |
2345 | * dwarf2read.c (dwarf2_create_include_psymtab): Remove some | |
2346 | initializations. | |
2347 | * dbxread.c (dbx_end_psymtab): Remove some initializations. | |
2348 | ||
0e8f53ba TT |
2349 | 2019-01-10 Tom Tromey <tom@tromey.com> |
2350 | ||
2351 | * symfile.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs): | |
2352 | Don't declare. | |
2353 | * mipsread.c: Include mdebugread.h. | |
2354 | * mdebugread.h (mdebug_build_psymtabs, elfmdebug_build_psymtabs): | |
2355 | Declare. | |
2356 | * elfread.c: Include mdebugread.h. | |
2357 | ||
b22a7c6a TT |
2358 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2359 | ||
2360 | * dbxread.c (dbx_end_psymtab): Use objfile_psymtabs. | |
2361 | * mdebugread.c (parse_partial_symbols): Use objfile_psymtabs. | |
2362 | * psymtab.c (ALL_OBJFILE_PSYMTABS_REQUIRED): Remove. | |
2363 | (psym_map_symtabs_matching_filename, find_pc_sect_psymtab) | |
2364 | (psym_lookup_symbol, psym_find_last_source_symtab) | |
2365 | (psym_forget_cached_source_info, psym_print_stats) | |
2366 | (psym_expand_symtabs_for_function, psym_expand_all_symtabs) | |
2367 | (psym_expand_symtabs_with_fullname, psym_map_symbol_filenames) | |
2368 | (psym_map_matching_symbols, psym_expand_symtabs_matching) | |
2369 | (psym_find_compunit_symtab_by_address) | |
2370 | (maintenance_print_psymbols, maintenance_info_psymtabs) | |
2371 | (maintenance_check_psymtabs): Use ranged for. | |
2372 | * psymtab.h (class objfile_psymtabs): New. | |
2373 | (require_partial_symbols): Return objfile_psymtabs. | |
2374 | * psympriv.h (ALL_OBJFILE_PSYMTABS): Remove. | |
2375 | ||
3b9d3ac2 TT |
2376 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2377 | ||
2378 | * symfile.c (overlay_invalidate_all, find_pc_overlay) | |
2379 | (find_pc_mapped_section, list_overlays_command) | |
2380 | (map_overlay_command, unmap_overlay_command) | |
2381 | (simple_overlay_update): Use all_objfiles. | |
2382 | * spu-tdep.c (spu_overlay_update): Use all_objfiles. | |
2383 | * printcmd.c (info_symbol_command): Use all_objfiles. | |
2384 | * objfiles.h (ALL_OBJSECTIONS): Remove. | |
2385 | * maint.c (maintenance_translate_address): Use all_objfiles. | |
2386 | * gcore.c (gcore_create_callback): Use all_objfiles. | |
2387 | (objfile_find_memory_regions): Likewise. | |
2388 | ||
8b31193a TT |
2389 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2390 | ||
2391 | * symtab.c (find_line_symtab, info_sources_command) | |
2392 | (make_source_files_completion_list): Use objfile_compunits. | |
2393 | * source.c (select_source_symtab): Use objfile_compunits. | |
2394 | * objfiles.h (struct objfile): Update comment. | |
2395 | (ALL_OBJFILES): Remove. | |
2396 | (ALL_FILETABS): Remove. | |
2397 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Use | |
2398 | objfile_compunits. | |
2399 | ||
d5da8b3c TT |
2400 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2401 | ||
2402 | * symmisc.c (print_objfile_statistics, dump_objfile) | |
2403 | (maintenance_print_symbols): Use compunit_filetabs. | |
2404 | * source.c (forget_cached_source_info_for_objfile): Use | |
2405 | compunit_filetabs. | |
2406 | * objfiles.h (ALL_OBJFILE_FILETABS): Remove. | |
2407 | (ALL_FILETABS): Use compunit_filetabs. | |
2408 | * objfiles.c (objfile_relocate1): Use compunit_filetabs. | |
2409 | * coffread.c (coff_symtab_read): Use compunit_filetabs. | |
2410 | ||
5accd1a0 TT |
2411 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2412 | ||
2413 | * symtab.h (ALL_COMPUNIT_FILETABS): Remove. | |
2414 | (compunit_filetabs): New. | |
2415 | * symtab.c (iterate_over_some_symtabs, find_pc_sect_line): Use | |
2416 | compunit_filetabs. | |
2417 | (info_sources_command, make_source_files_completion_list): Remove | |
2418 | declaration. | |
2419 | * symmisc.c (print_objfile_statistics, dump_objfile) | |
2420 | (maintenance_print_symbols): Remove declaration. | |
2421 | (maintenance_info_symtabs): Use compunit_filetabs. | |
2422 | (maintenance_info_line_tables): Likewise. | |
2423 | * source.c (select_source_symtab): Change local variable name. | |
2424 | (forget_cached_source_info_for_objfile): Remove declaration. | |
2425 | * objfiles.h (ALL_OBJFILE_FILETABS): Use compunit_filetabs. | |
2426 | * objfiles.c (objfile_relocate1): Remove declaration. | |
2427 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove | |
2428 | declaration. | |
2429 | * maint.c (count_symtabs_and_blocks): Use compunit_filetabs. | |
2430 | * coffread.c (coff_symtab_read): Remove declaration. | |
2431 | * buildsym.c (buildsym_compunit::end_symtab_with_blockvector): Use | |
2432 | compunit_filetabs. | |
2433 | ||
d8aeb77f TT |
2434 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2435 | ||
2436 | * symtab.c (lookup_objfile_from_block) | |
2437 | (find_pc_sect_compunit_symtab, search_symbols) | |
2438 | (default_collect_symbol_completion_matches_break_on): Use | |
2439 | objfile_compunits. | |
2440 | * objfiles.h (ALL_COMPUNITS): Remove. | |
2441 | * maint.c (count_symtabs_and_blocks): Use objfile_compunits. | |
2442 | * cp-support.c (add_symbol_overload_list_qualified): Use | |
2443 | objfile_compunits. | |
2444 | * ada-lang.c (ada_collect_symbol_completion_matches) | |
2445 | (ada_add_global_exceptions): Use objfile_compunits. | |
2446 | ||
592553c4 TT |
2447 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2448 | ||
2449 | * source.c (select_source_symtab) | |
2450 | (forget_cached_source_info_for_objfile): Remove declaration. | |
2451 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Remove | |
2452 | declaration. | |
2453 | * maint.c (count_symtabs_and_blocks): Remove declaration. | |
2454 | * cp-support.c (add_symbol_overload_list_qualified): Remove | |
2455 | declaration. | |
2456 | * coffread.c (coff_symtab_read): Remove declaration. | |
2457 | * symtab.c (lookup_symbol_in_objfile_symtabs) | |
2458 | (basic_lookup_transparent_type_1): Use objfile_compunits. | |
2459 | (lookup_objfile_from_block, find_pc_sect_compunit_symtab) | |
2460 | (info_sources_command, search_symbols) | |
2461 | (default_collect_symbol_completion_matches_break_on) | |
2462 | (make_source_files_completion_list): Remove declaration. | |
2463 | * ada-lang.c (add_nonlocal_symbols): Use objfile_compunits. | |
2464 | (ada_collect_symbol_completion_matches) | |
2465 | (ada_add_global_exceptions): Remove declaration. | |
2466 | * linespec.c (iterate_over_all_matching_symtabs): Use | |
2467 | objfile_compunits. | |
2468 | * objfiles.h (ALL_OBJFILE_COMPUNITS): Remove. | |
2469 | (class objfile_compunits): New. | |
2470 | (ALL_COMPUNITS): Use objfile_compunits. | |
2471 | * symmisc.c (print_objfile_statistics, maintenance_info_symtabs) | |
2472 | (maintenance_check_symtabs, maintenance_info_line_tables): Use | |
2473 | objfile_compunits. | |
2474 | * objfiles.c (objfile_relocate1): Use objfile_compunits. | |
2475 | ||
5325b9bf TT |
2476 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2477 | ||
2478 | * symtab.c (search_symbols) | |
2479 | (default_collect_symbol_completion_matches_break_on): Use | |
2480 | objfile_msymbols. | |
2481 | * ada-lang.c (ada_lookup_simple_minsym) | |
2482 | (ada_collect_symbol_completion_matches): Use objfile_msymbols. | |
2483 | * minsyms.c (find_solib_trampoline_target): Use objfile_msymbols. | |
2484 | * hppa-tdep.c (hppa_lookup_stub_minimal_symbol): Use | |
2485 | objfile_msymbols. | |
2486 | * coffread.c (coff_symfile_read): Use objfile_msymbols. | |
2487 | * symmisc.c (dump_msymbols): Use objfile_msymbols. | |
2488 | * objc-lang.c (find_methods): Use objfile_msymbols. | |
2489 | (info_selectors_command, info_classes_command): Likewise. | |
2490 | * stabsread.c (scan_file_globals): Use objfile_msymbols. | |
2491 | * objfiles.h (class objfile_msymbols): New. | |
2492 | (ALL_OBJFILE_MSYMBOLS): Remove. | |
2493 | (ALL_MSYMBOLS): Remove. | |
2494 | ||
cac85af2 TT |
2495 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2496 | ||
2497 | * common/next-iterator.h (next_adapter): Add Iterator template | |
2498 | parameter. | |
2499 | * objfiles.h (ALL_OBJFILES_SAFE): Remove. | |
2500 | (class all_objfiles_safe): New. | |
2501 | * jit.c (jit_inferior_exit_hook): Use all_objfiles_safe. | |
2502 | * objfiles.c (put_objfile_before): Update comment. | |
2503 | (add_separate_debug_objfile): Likewise. | |
2504 | (free_all_objfiles): Use all_objfiles_safe. | |
2505 | (objfile_purge_solibs): Likewise. | |
2506 | ||
aed57c53 TT |
2507 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2508 | ||
2509 | * symtab.c (iterate_over_symtabs, matching_obj_sections) | |
2510 | (expand_symtab_containing_pc, lookup_static_symbol) | |
2511 | (basic_lookup_transparent_type, find_pc_sect_compunit_symtab) | |
2512 | (find_symbol_at_address, find_line_symtab, find_main_name): Use | |
2513 | all_objfiles. | |
2514 | * probe.c (find_probe_by_pc, collect_probes): Use all_objfiles. | |
2515 | * breakpoint.c (create_overlay_event_breakpoint) | |
2516 | (create_longjmp_master_breakpoint) | |
2517 | (create_std_terminate_master_breakpoint) | |
2518 | (create_exception_master_breakpoint): Use all_objfiles. | |
2519 | * linux-thread-db.c (try_thread_db_load_from_pdir) | |
2520 | (has_libpthread): Use all_objfiles. | |
2521 | * ada-lang.c (add_nonlocal_symbols): Use all_objfiles. | |
2522 | * linespec.c (iterate_over_all_matching_symtabs) | |
2523 | (search_minsyms_for_name): Use all_objfiles. | |
2524 | * maint.c (maintenance_info_sections): Use all_objfiles. | |
2525 | * main.c (captured_main_1): Use all_objfiles. | |
2526 | * spu-tdep.c (spu_objfile_from_frame): Use all_objfiles. | |
2527 | * guile/scm-objfile.c (gdbscm_objfiles): Use all_objfiles. | |
2528 | * guile/scm-pretty-print.c | |
2529 | (ppscm_find_pretty_printer_from_objfiles): Use all_objfiles. | |
2530 | * solib-spu.c (append_ocl_sos): Use all_objfiles. | |
2531 | * symmisc.c (maintenance_print_symbols): Use all_objfiles. | |
2532 | (maintenance_print_msymbols): Use all_objfiles. | |
2533 | * source.c (select_source_symtab): Use all_objfiles. | |
2534 | * jit.c (jit_find_objf_with_entry_addr): Use all_objfiles. | |
2535 | * symfile.c (remove_symbol_file_command) | |
2536 | (expand_symtabs_matching, map_symbol_filenames): Use | |
2537 | all_objfiles. | |
2538 | * ppc-linux-tdep.c (ppc_linux_spe_context_inferior_created): Use | |
2539 | all_objfiles. | |
2540 | * dwarf2-frame.c (dwarf2_frame_find_fde): Use all_objfiles. | |
2541 | * objc-lang.c (find_methods): Use all_objfiles. | |
2542 | * objfiles.c (have_partial_symbols, have_full_symbols) | |
2543 | (have_minimal_symbols, qsort_cmp) | |
2544 | (default_iterate_over_objfiles_in_search_order): Use | |
2545 | all_objfiles. | |
2546 | * hppa-tdep.c (find_unwind_entry): Use all_objfiles. | |
2547 | * psymtab.c (maintenance_print_psymbols): Use all_objfiles. | |
2548 | (maintenance_check_psymtabs): Use all_objfiles. | |
2549 | (ALL_PSYMTABS): Remove. | |
2550 | * compile/compile-object-run.c (do_module_cleanup): Use | |
2551 | all_objfiles. | |
2552 | * blockframe.c (find_pc_partial_function): Use all_objfiles. | |
2553 | * cp-support.c (add_symbol_overload_list_qualified): Use | |
2554 | all_objfiles. | |
2555 | * windows-tdep.c (windows_iterate_over_objfiles_in_search_order): | |
2556 | Use all_objfiles. | |
2557 | * dwarf-index-write.c (save_gdb_index_command): Use all_objfiles. | |
2558 | * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): Use | |
2559 | all_objfiles. | |
2560 | * python/py-objfile.c (objfpy_lookup_objfile_by_name) | |
2561 | (objfpy_lookup_objfile_by_build_id): Use all_objfiles. | |
2562 | * python/py-prettyprint.c (find_pretty_printer_from_objfiles): | |
2563 | Uses all_objfiles. | |
2564 | * solib.c (solib_read_symbols): Use all_objfiles | |
2565 | ||
99d89cde TT |
2566 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2567 | ||
2568 | * probe.c (parse_probes_in_pspace): Use all_objfiles. | |
2569 | * guile/scm-progspace.c (gdbscm_progspace_objfiles): Use | |
2570 | all_objfiles. | |
2571 | * objfiles.h (ALL_PSPACE_OBJFILES): Remove. | |
2572 | * symmisc.c (print_symbol_bcache_statistics) | |
2573 | (print_objfile_statistics, maintenance_print_objfiles) | |
2574 | (maintenance_info_symtabs, maintenance_check_symtabs) | |
2575 | (maintenance_expand_symtabs, maintenance_info_line_tables): Use | |
2576 | all_objfiles. | |
2577 | * source.c (forget_cached_source_info): Use all_objfiles. | |
2578 | * symfile-debug.c (set_debug_symfile): Use all_objfiles. | |
2579 | * elfread.c (elf_gnu_ifunc_resolve_by_cache) | |
2580 | (elf_gnu_ifunc_resolve_by_got): Use all_objfiles. | |
2581 | * objfiles.c (update_section_map): Use all_objfiles. | |
2582 | (shared_objfile_contains_address_p): Likewise. | |
2583 | * psymtab.c (maintenance_info_psymtabs): Use all_objfiles. | |
2584 | * python/py-progspace.c (pspy_get_objfiles): Use all_objfiles. | |
2585 | ||
21708325 TT |
2586 | 2019-01-09 Tom Tromey <tom@tromey.com> |
2587 | ||
2588 | * common/next-iterator.h: New file. | |
2589 | * objfiles.h (class all_objfiles): New. | |
2590 | (struct objfile_iterator): New. | |
2591 | ||
669e09f6 PW |
2592 | 2019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
2593 | ||
2594 | * NEWS: Move the description of the changed "frame", "select-frame", | |
2595 | and "info frame" commands to the Changed commands section. | |
2596 | ||
041be526 SM |
2597 | 2019-01-09 Simon Marchi <simon.marchi@ericsson.com> |
2598 | ||
2599 | * gdbtypes.c (check_stub_method_group): Remove handling of old | |
2600 | mangling schemes. | |
2601 | * linespec.c (find_methods): Likewise. | |
2602 | * stabsread.c (read_member_functions): Likewise. | |
2603 | * valops.c (search_struct_method): Likewise. | |
2604 | (value_struct_elt_for_reference): Likewise. | |
2605 | * NEWS: Mention this change. | |
2606 | ||
0e2a2133 AB |
2607 | 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com> |
2608 | ||
2609 | * cli/cli-cmds.c (list_command): Pass a source_lines_range to | |
2610 | print_source_lines. | |
2611 | * source.c (print_source_lines_base): Update line number check. | |
2612 | (print_source_lines): New function. | |
2613 | (source_lines_range::source_lines_range): New function. | |
2614 | * source.h (class source_lines_range): New class. | |
2615 | (print_source_lines): New declaration. | |
2616 | ||
1055a3b4 PW |
2617 | 2019-01-09 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
2618 | ||
2619 | * linespec.c (linespec_state_destructor): Free self->canonical_names. | |
2620 | ||
cfeadda5 TT |
2621 | 2019-01-08 Tom Tromey <tom@tromey.com> |
2622 | Simon Marchi <simon.marchi@ericsson.com> | |
2623 | ||
2624 | PR gdb/24060 | |
2625 | * ada-exp.y (DOLLAR_VARIABLE): Rename from SPECIAL_VARIABLE. | |
2626 | * ada-lex.l (DOLLAR_VARIABLE): Likewise. | |
2627 | * c-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE. | |
2628 | * f-exp.y (DOLLAR_VARIABLE): Likewise. | |
2629 | * m2-exp.y (DOLLAR_VARIABLE): Rename from INTERNAL_VAR. | |
2630 | * p-exp.y (DOLLAR_VARIABLE): Rename from VARIABLE. | |
2631 | ||
583068ca AB |
2632 | 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
2633 | ||
2634 | * source.c (select_source_symtab): Move header comment to | |
2635 | declaration in source.h. | |
2636 | (forget_cached_source_info_for_objfile): Likewise. | |
2637 | (forget_cached_source_info): Likewise. | |
2638 | (identify_source_line): Likewise. | |
2639 | * source.h (identify_source_line): Move declaration from symtab.h | |
2640 | and add comment from source.c | |
2641 | (print_source_lines): Likewise. | |
2642 | (forget_cached_source_info_for_objfile): Likewise. | |
2643 | (forget_cached_source_info): Likewise. | |
2644 | (select_source_symtab): Likewise. | |
2645 | (enum print_source_lines_flag): Move definition from symtab.h. | |
2646 | * symtab.h (identify_source_line): Move declaration to source.h. | |
2647 | (print_source_lines): Likewise. | |
2648 | (forget_cached_source_info_for_objfile): Likewise. | |
2649 | (forget_cached_source_info): Likewise. | |
2650 | (select_source_symtab): Likewise. | |
2651 | (enum print_source_lines_flag): Move definition to source.h. | |
2652 | * tui/tui-hooks.c: Add 'source.h' include. | |
2653 | ||
ec98a4ad AB |
2654 | 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
2655 | ||
2656 | * source.c (print_source_lines_base): Handle requests to print | |
2657 | reverse line number sequences, and guard against empty lines | |
2658 | string. | |
2659 | ||
62ea19c1 AB |
2660 | 2019-01-08 Andrew Burgess <andrew.burgess@embecosm.com> |
2661 | ||
2662 | * source.c (print_source_lines_base): Fix skip of '\r' if next | |
2663 | character is '\n'. | |
2664 | ||
9d30e1fd TT |
2665 | 2019-01-06 Tom Tromey <tom@tromey.com> |
2666 | ||
2667 | * c-exp.y (struct c_parse_state) <macro_original_text, | |
2668 | expansion_obstack>: New member. | |
2669 | (macro_original_text, expansion_obstack): Remove globals. | |
2670 | (scan_macro_expansion, scanning_macro_expansion) | |
2671 | (finished_macro_expansion): Update. | |
2672 | (scan_macro_cleanup): Remove. | |
2673 | (yylex, c_parse): Update. | |
2674 | ||
c65bac38 TT |
2675 | 2019-01-06 Tom Tromey <tom@tromey.com> |
2676 | ||
2677 | * c-exp.y (struct c_parse_state) <strings>: New member. | |
2678 | (operator_stoken): Update. | |
2679 | ||
02e12e38 TT |
2680 | 2019-01-06 Tom Tromey <tom@tromey.com> |
2681 | ||
2682 | * parser-defs.h (type_ptr): Remove typedef. Don't declare VEC. | |
2683 | (union type_stack_elt) <typelist_val>: Now a pointer to | |
2684 | std::vector. | |
2685 | (type_stack_cleanup): Don't declare. | |
2686 | (push_typelist): Update. | |
2687 | * parse.c (pop_typelist): Return a std::vector. | |
2688 | (push_typelist): Take a std::vector. | |
2689 | (follow_types): Update. Do not free args. | |
2690 | (type_stack_cleanup): Remove. | |
2691 | * c-exp.y (struct c_parse_state): New. | |
2692 | (cpstate): New global. | |
2693 | (type_aggregate_p, exp, ptr_operator, parameter_typelist) | |
2694 | (nonempty_typelist): Update. | |
2695 | (func_mod): Create a new vector. | |
2696 | (c_parse): Create a c_parse_state. | |
2697 | (check_parameter_typelist): Do not delete params. | |
2698 | (function_method): Update. Do not delete type_list. | |
2699 | ||
f097f5ad TT |
2700 | 2019-01-06 Tom Tromey <tom@tromey.com> |
2701 | ||
2702 | PR gdb/28155: | |
2703 | * python/py-finishbreakpoint.c (bpfinishpy_init): Use | |
2704 | check_typedef. | |
2705 | * infcmd.c (finish_command_fsm_should_stop): Use check_typedef. | |
2706 | (print_return_value): Likewise. | |
2707 | ||
d2adf9f1 TT |
2708 | 2019-01-05 Tom Tromey <tom@tromey.com> |
2709 | ||
2710 | * contrib/cleanup_check.py: Remove. | |
2711 | * contrib/gcc-with-excheck: Remove. | |
2712 | * contrib/exsummary.py: Remove. | |
2713 | * contrib/excheck.py: Remove. | |
2714 | ||
2eab46b1 JB |
2715 | 2019-01-05 Joel Brobecker <brobecker@adacore.com> |
2716 | ||
2717 | * thread.c (delete_thread_1): Add gdb_assert that THR is not | |
2718 | NULL. Initialize tpprev to NULL instead of assigning it | |
2719 | to NULL on the next statement. | |
2720 | * windows-nat.c (windows_delete_thread): Remove check for | |
2721 | main_thread_id before printing thread exit notifications. | |
2722 | (get_windows_debug_event) <EXIT_THREAD_DEBUG_EVENT>: | |
2723 | Remove thread ID check against main_thread_id. | |
2724 | <CREATE_PROCESS_DEBUG_EVENT>: Remove call to | |
2725 | windows_delete_thread. | |
2726 | <EXIT_PROCESS_DEBUG_EVENT>: Add call to windows_delete_thread. | |
2727 | ||
48c5e7e2 TT |
2728 | 2019-01-04 Tom Tromey <tom@tromey.com> |
2729 | ||
2730 | * compile/compile.c (_initialize_compile): Use upper case for | |
2731 | metasyntactic variables. | |
2732 | * symmisc.c (_initialize_symmisc): Use upper case for | |
2733 | metasyntactic variables. | |
2734 | * psymtab.c (_initialize_psymtab): Use upper case for | |
2735 | metasyntactic variables. | |
2736 | * demangle.c (demangle_command): Use upper case for metasyntactic | |
2737 | variables. | |
2738 | (_initialize_demangler): Likewise. | |
2739 | * ax-gdb.c (_initialize_ax_gdb): Use upper case for metasyntactic | |
2740 | variables. | |
2741 | ||
986041cd TT |
2742 | 2019-01-03 Tom Tromey <tom@tromey.com> |
2743 | ||
2744 | * tui/tui-source.c (tui_set_source_content): Use xstrdup. | |
2745 | ||
7c711119 TT |
2746 | 2019-01-03 Tom Tromey <tom@tromey.com> |
2747 | ||
2748 | * python/py-symtab.c (salpy_str): Update. | |
2749 | (struct salpy_sal_object) <symtab>: Now a PyObject. | |
2750 | (salpy_dealloc): Update. | |
2751 | (del_objfile_sal): Use gdbpy_ref. | |
2752 | ||
1b20edf0 TT |
2753 | 2019-01-03 Tom Tromey <tom@tromey.com> |
2754 | ||
2755 | * python/py-type.c (convert_field): Use new_reference. Return | |
2756 | gdbpy_ref. | |
2757 | (make_fielditem): Return gdbpy_ref. | |
2758 | (typy_fields): Update. | |
2759 | (typy_getitem): Update. | |
2760 | (field_name): Return gdbpy_ref. Use new_reference. | |
2761 | (typy_iterator_iternext): Update. | |
2762 | ||
ea41325b TT |
2763 | 2019-01-03 Tom Tromey <tom@tromey.com> |
2764 | ||
2765 | * python/py-record.c (gdbpy_stop_recording): Use Py_RETURN_NONE. | |
2766 | ||
2a3c71d6 TT |
2767 | 2019-01-03 Tom Tromey <tom@tromey.com> |
2768 | ||
2769 | * python/py-value.c (valpy_dealloc): Use Py_XDECREF. | |
2770 | * python/py-type.c (typy_fields_items): Use gdbpy_ref. | |
2771 | * python/py-progspace.c (pspy_set_printers): Use gdbpy_ref. | |
2772 | (pspy_set_frame_filters, pspy_set_frame_unwinders) | |
2773 | (pspy_set_type_printers): Likewise. | |
2774 | * python/py-function.c (fnpy_init): Use gdbpy_ref. | |
2775 | * python/py-cmd.c (cmdpy_init): Use gdbpy_ref. | |
2776 | * python/py-objfile.c (objfpy_set_printers): Use gdbpy_ref. | |
2777 | (objfpy_set_frame_filters, objfpy_set_frame_unwinders) | |
2778 | (objfpy_set_type_printers): Likewise. | |
2779 | ||
5c329e6a TT |
2780 | 2019-01-03 Tom Tromey <tom@tromey.com> |
2781 | ||
2782 | * python/python.c (gdbpy_enter, ~gdbpy_enter): Update. | |
2783 | (gdbpy_print_stack): Use gdbpy_err_fetch. | |
2784 | * python/python-internal.h (class gdbpy_err_fetch): New class. | |
2785 | (class gdbpy_enter) <m_error_type, m_error_value, | |
2786 | m_error_traceback>: Remove. | |
2787 | <m_error>: New member. | |
2788 | (gdbpy_exception_to_string): Don't declare. | |
2789 | * python/py-varobj.c (py_varobj_iter_next): Use gdbpy_err_fetch. | |
2790 | * python/py-value.c (convert_value_from_python): Use | |
2791 | gdbpy_err_fetch. | |
2792 | * python/py-utils.c (gdbpy_err_fetch::to_string): Rename from | |
2793 | gdbpy_exception_to_string. | |
2794 | (gdbpy_handle_exception): Use gdbpy_err_fetch. | |
2795 | * python/py-prettyprint.c (print_stack_unless_memory_error): Use | |
2796 | gdbpy_err_fetch. | |
2797 | ||
169bb27b AB |
2798 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
2799 | ||
2800 | * linux-nat.c (delete_lwp_cleanup): Delete. | |
2801 | (struct lwp_deleter): New struct. | |
2802 | (lwp_info_up): New typedef. | |
2803 | (linux_nat_target::follow_fork): Delete cleanup, and make use of | |
2804 | lwp_info_up. | |
2805 | ||
a07c8880 AB |
2806 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
2807 | ||
2808 | * linux-fork.c (class scoped_switch_fork_info): New class. | |
2809 | (inferior_call_waitpid): Update to use scoped_switch_fork_info. | |
2810 | ||
26089c49 AB |
2811 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
2812 | ||
2813 | * valops.c (find_overload_match): Remove use of null_cleanup, and | |
2814 | calls to do_cleanups. | |
2815 | ||
06d3e5b0 AB |
2816 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
2817 | ||
2818 | * compile/compile-cplus-types.c | |
2819 | (compile_cplus_instance::decl_name): Handle changes to | |
2820 | cp_func_name. | |
2821 | * cp-support.c (cp_func_name): Update header comment, update | |
2822 | return type. | |
2823 | * cp-support.h (cp_func_name): Update return type in declaration. | |
2824 | * valops.c (find_overload_match): Move temp_func local to top | |
2825 | level of function and change its type. Use temp_func to hold and | |
2826 | delete temporary string obtained from cp_func_name. | |
2827 | ||
66644cd3 AB |
2828 | 2019-01-03 Andrew Burgess <andrew.burgess@embecosm.com> |
2829 | ||
2830 | * remote.c (remote_target::remote_check_symbols): Convert `msg` to | |
2831 | gdb::char_vector, remove cleanup, and update uses of `msg`. | |
2832 | ||
592d8c0a JW |
2833 | 2019-01-03 Jim Wilson <jimw@sifive.com> |
2834 | ||
2835 | * riscv-tdep.c (riscv_freg_feature): Drop s0 name from f8. | |
2836 | ||
c55d06ec TT |
2837 | 2019-01-02 Tom Tromey <tom@tromey.com> |
2838 | ||
2839 | * xml-tdesc.c (xml_cache): Hold a target_desc_up. | |
2840 | (tdesc_parse_xml): Remove cleanups. | |
2841 | * target-descriptions.h (make_cleanup_free_target_description): | |
2842 | Don't declare. | |
2843 | (target_desc_deleter): New struct. | |
2844 | (target_desc_up): New typedef. | |
2845 | * target-descriptions.c (target_desc_deleter::operator()): Rename | |
2846 | from free_target_description. | |
2847 | (make_cleanup_free_target_description): Remove. | |
2848 | ||
3a6ae42d TT |
2849 | 2019-01-02 Tom Tromey <tom@tromey.com> |
2850 | ||
2851 | * linespec.c (struct linespec_parser): Rename from ls_parser. Add | |
2852 | constructor, destructor. | |
2853 | (linespec_parser): Remove typedef. | |
2854 | (~linespec_parser): Rename from linespec_parser_delete. | |
2855 | (linespec_lex_to_end, linespec_complete_label) | |
2856 | (linespec_complete): Update. | |
2857 | (decode_line_full): Remove cleanups. | |
2858 | (decode_line_1): Update. | |
2859 | ||
61fd3e73 TT |
2860 | 2019-01-02 Tom Tromey <tom@tromey.com> |
2861 | ||
2862 | * python/python-internal.h (inferior_to_inferior_object): Change | |
2863 | return type. | |
2864 | * python/py-exitedevent.c (create_exited_event_object): Update. | |
2865 | * python/py-inferior.c (inferior_to_inferior_object): Return | |
2866 | gdbpy_ref. | |
2867 | (python_new_inferior, python_inferior_deleted) | |
2868 | (thread_to_thread_object, delete_thread_object) | |
2869 | (build_inferior_list, gdbpy_selected_inferior): Update. | |
2870 | * python/py-infthread.c (create_thread_object): Update. Also fail | |
2871 | if inferior_to_inferior_object fails. | |
2872 | ||
d20172fc SM |
2873 | 2019-01-02 Simon Marchi <simon.marchi@ericsson.com> |
2874 | ||
2875 | * inferior.h (class inferior) <displaced_step_state>: New field. | |
2876 | * infrun.h (struct displaced_step_state): Move here from | |
2877 | infrun.c. Initialize fields, add constructor. | |
2878 | <inf>: Remove field. | |
2879 | <reset>: New method. | |
2880 | * infrun.c (struct displaced_step_inferior_state): Move to | |
2881 | infrun.h. | |
2882 | (displaced_step_inferior_states): Remove. | |
2883 | (get_displaced_stepping_state): Adust. | |
2884 | (displaced_step_in_progress_any_inferior): Adjust. | |
2885 | (displaced_step_in_progress_thread): Adjust. | |
2886 | (displaced_step_in_progress): Adjust. | |
2887 | (add_displaced_stepping_state): Remove. | |
2888 | (get_displaced_step_closure_by_addr): Adjust. | |
2889 | (remove_displaced_stepping_state): Remove. | |
2890 | (infrun_inferior_exit): Call displaced_step_state.reset. | |
2891 | (use_displaced_stepping): Don't check for NULL. | |
2892 | (displaced_step_prepare_throw): Call | |
2893 | get_displaced_stepping_state. | |
2894 | (displaced_step_fixup): Don't check for NULL. | |
2895 | (prepare_for_detach): Don't check for NULL. | |
2896 | ||
e3319240 PW |
2897 | 2019-01-02 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
2898 | ||
2899 | * infcall.c (call_function_by_hand_dummy): cleanup/destroy sm | |
2900 | in case of call that did not complete. | |
2901 | ||
5d36dfb9 AU |
2902 | 2019-01-02 Andrey Utkin <autkin@undo.io> |
2903 | ||
2904 | * symfile.c (find_separate_debug_file): Fix search of debug files for | |
2905 | remote debuggee. | |
2906 | ||
8833fbf0 TT |
2907 | 2019-01-02 Tom Tromey <tom@tromey.com> |
2908 | ||
2909 | * python/py-inferior.c (gdbpy_initialize_inferior): Fix | |
2910 | indentation. | |
2911 | * python/py-frame.c (frapy_older): Remove cast. | |
2912 | (frapy_newer): Likewise. | |
2913 | * python/py-breakpoint.c (local_setattro): Remove cast. | |
2914 | * python/py-arch.c (archpy_name): Remove local variable. | |
2915 | * python/py-type.c (gdbpy_lookup_type): Remove cast. | |
2916 | ||
4ada3dfd JB |
2917 | 2019-01-02 Joel Brobecker <brobecker@adacore.com> |
2918 | ||
2919 | * unittests/basic_string_view/element_access/char/empty.cc: | |
2920 | Fix year range in copyright header. | |
2921 | ||
113b7b81 AB |
2922 | 2019-01-01 Andrew Burgess <andrew.burgess@embecosm.com> |
2923 | ||
2924 | * arch/riscv.h (struct riscv_gdbarch_features) <hw_float_abi>: | |
2925 | Delete. | |
2926 | <operator==>: Update with for removed field. | |
2927 | <hash>: Likewise. | |
2928 | * riscv-tdep.h (struct gdbarch_tdep) <features>: Renamed to... | |
2929 | <isa_features>: ...this. | |
2930 | <abi_features>: New field. | |
2931 | (riscv_isa_flen): Update comment. | |
2932 | (riscv_abi_xlen): New declaration. | |
2933 | (riscv_abi_flen): New declaration. | |
2934 | * riscv-tdep.c (riscv_isa_xlen): Update to get answer from | |
2935 | isa_features. | |
2936 | (riscv_abi_xlen): New function. | |
2937 | (riscv_isa_flen): Update to get answer from isa_features. | |
2938 | (riscv_abi_flen): New function. | |
2939 | (riscv_has_fp_abi): Update to get answer from abi_features. | |
2940 | (riscv_call_info::riscv_call_info): Use abi xlen and flen, not isa | |
2941 | xlen and flen. | |
2942 | (riscv_call_info) <xlen, flen>: Update comment. | |
2943 | (riscv_call_arg_struct): Remove invalid assertions | |
2944 | (riscv_features_from_gdbarch_info): Update now hw_float_abi field | |
2945 | is removed. | |
2946 | (riscv_gdbarch_init): Gather isa features and abi features | |
2947 | separately, ensure both match on the gdbarch when reusing an old | |
2948 | gdbarch. Relax an error check to allow 32-bit abi float to run on | |
2949 | a target with 64-bit float hardware. | |
2950 | ||
b18ca514 PW |
2951 | 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
2952 | ||
2953 | * source.c (search_command_helper): Stop reverse search | |
2954 | when line 1 has been searched. | |
2955 | ||
ec70d8db PW |
2956 | 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
2957 | ||
2958 | * record-full.c (record_full_base_target::close): Rewrite | |
2959 | record_full_core_buf_list free logic. | |
2960 | ||
5b38f9c1 PW |
2961 | 2019-01-01 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
2962 | ||
2963 | * break-catch-syscall.c (print_one_catch_syscall): xfree | |
2964 | the last text. | |
2965 | ||
66d91b39 JB |
2966 | 2019-01-01 Joel Brobecker <brobecker@adacore.com> |
2967 | ||
2968 | * top.c (print_gdb_version): Update Copyright year in version | |
2969 | message. | |
2970 | ||
42a4f53d JB |
2971 | 2019-01-01 Joel Brobecker <brobecker@adacore.com> |
2972 | ||
2973 | Update copyright year range in all GDB files. | |
2974 | ||
7e955d83 | 2975 | 2019-01-01, 19 Joel Brobecker <brobecker@adacore.com> |
2139e8dc | 2976 | |
5bbd631d | 2977 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018. |
2139e8dc | 2978 | |
5bbd631d | 2979 | For older changes see ChangeLog-2018. |
c906108c SS |
2980 | \f |
2981 | Local Variables: | |
2982 | mode: change-log | |
2983 | left-margin: 8 | |
2984 | fill-column: 74 | |
2985 | version-control: never | |
57da7796 | 2986 | coding: utf-8 |
c906108c | 2987 | End: |
5bbd631d | 2988 |