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