Separate out ANSI-standard signals
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-06-09 Gary Benson <gbenson@redhat.com>
2
3 * common/signals.c (gdb_signal_from_host): Reorder to separate
4 the always-available ANSI-standard signals from the signals that
5 require checking.
6 (do_gdb_signal_to_host): Likewise.
7 * proc-events.c (signal_table): Likewise.
8
9 2014-06-08 Hui Zhu <hui@codesourcery.com>
10
11 * common/linux-ptrace.c (linux_disable_event_reporting): New
12 function.
13 * common/linux-ptrace.h (linux_disable_event_reporting): New
14 declaration.
15 * linux-nat.c (linux_child_follow_fork): Do a single step before
16 detach.
17
18 2014-06-07 Keith Seitz <keiths@redhat.com>
19
20 Revert:
21 PR c++/16253
22 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
23 from symbol_matches_domain in symtab.c. All local callers
24 of symbol_matches_domain updated.
25 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
26 search STRUCT_DOMAIN.
27 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
28 independently. standard_lookup will do that automatically.
29 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
30 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
31 (cp_lookup_symbol_in_namespace): Likewise.
32 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
33 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
34 may return a STRUCT_DOMAIN match.
35 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
36 * cp-support.c: Include language.h.
37 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
38 VAR_DOMAIN.
39 * psymtab.c (match_partial_symbol): Compare the requested
40 domain with the symbol's domain directly.
41 (lookup_partial_symbol): Likewise.
42 * symtab.c (lookup_symbol_in_language): Explain when/why
43 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
44 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
45 appropriate languages.
46 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
47 and moved to ada-lang.c
48 (lookup_block_symbol): Explain that this function only returns
49 symbol matching the requested DOMAIN.
50 Compare the requested domain with the symbol's domain directly.
51 (iterate_over_symbols): Compare the requested domain with the
52 symbol's domain directly.
53 * symtab.h (symbol_matches_domain): Remove.
54
55 2014-06-06 Doug Evans <xdje42@gmail.com>
56
57 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
58 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
59 (gdbscm_guile_version_is_at_least): Declare.
60 (gdbscm_scm_string_to_int): Declare.
61 * guile/guile.c (gdbscm_guile_major_version): New global.
62 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
63 (guile_datadir): New static global.
64 (gdbscm_guile_data_directory): New function.
65 (initialize_scheme_side): Update.
66 (misc_guile_functions): Add guile-data-directory.
67 (initialize_gdb_module): Fetch guile version number.
68 * guile/lib/gdb.scm: Remove call to add-to-load-path.
69 * guile/lib/gdb/init.scm (%initialize!): Ditto.
70 * guile/lib/gdb/boot.scm: Use guile-data-directory.
71 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
72 comments.
73 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
74 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
75 * guile/scm-value.c (gdbscm_value_to_string): Only call
76 scm_port_conversion_strategy if Guile version >= 2.0.6.
77
78 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
79
80 * main.c (print_gdb_help): Add -q and --silent.
81
82 2014-06-06 Gary Benson <gbenson@redhat.com>
83
84 * common/signals.c: Remove preprocessor conditionals for
85 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
86 SIGSEGV and SIGTERM.
87 * proc-events.c: Likewise.
88
89 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
90
91 * symfile.c (symfile_free_objfile): Remove restriction to
92 OBJF_USERLOADED.
93 * symfile-mem.c (symbol_file_add_from_memory): Call
94 add_target_sections_of_objfile.
95
96 2014-06-05 Ludovic Courtès <ludo@gnu.org>
97
98 * guile/scm-value.c (gdbscm_history_append_x): Use
99 'vlscm_get_value_smob_arg_unsafe' instead of
100 'vlscm_scm_to_value'.
101
102 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
103
104 PR mi/15806
105 * utils.c (printchar): Don't escape at all if quoter is NUL.
106 Update function documentation to clarify effect of parameter
107 QUOTER.
108 * remote.c (escape_buffer): Pass '\\' as the quoter to
109 fputstrn_unfiltered.
110 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
111 generate the output.
112 (mi_solib_unloaded): Same.
113
114 2014-06-05 Joel Brobecker <brobecker@adacore.com>
115
116 * development.sh: Delete.
117 * Makefile.in (config.status): Adjust dependency on development.sh.
118 * configure.ac: Adjust development.sh source call.
119 * configure: Regenerate.
120
121 2014-06-04 Doug Evans <xdje42@gmail.com>
122
123 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
124 is_scheme_bkpt, spec.
125 (bpscm_make_breakpoint_smob): Initialize new members.
126 (gdbscm_create_breakpoint_x): Split into two ...
127 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
128 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
129 (scheme_function breakpoint_functions): Update.
130 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
131 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
132 register-breakpoint!.
133
134 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
135
136 PR server/17023
137 * mem-break.c (z_type_supported): Return zero if
138 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
139
140 2014-06-04 Tom Tromey <tromey@redhat.com>
141
142 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
143 value_from_contents_and_address_unresolved.
144 (ada_template_to_fixed_record_type_1): Likewise.
145 (ada_which_variant_applies): Likewise.
146 * value.h (value_from_contents_and_address_unresolved): Declare.
147 * value.c (value_from_contents_and_address_unresolved): New
148 function.
149 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
150 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
151 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
152
153 2014-06-04 Tom Tromey <tromey@redhat.com>
154
155 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
156
157 2014-06-04 Tom Tromey <tromey@redhat.com>
158
159 * procfs.c (procfs_attach): Make "args" const.
160 * windows-nat.c (windows_attach): Make "args" const.
161 * nto-procfs.c (procfs_attach): Make "args" const.
162 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
163 * go32-nat.c (go32_attach): Make "args" const.
164 * gnu-nat.c (gnu_attach): Make "args" const.
165 * darwin-nat.c (darwin_attach): Make "args" const.
166 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
167 * linux-nat.c (linux_nat_attach): Make "args" const.
168 * remote.c (extended_remote_attach_1, extended_remote_attach):
169 Make "args" const.
170 * target.h (struct target_ops) <to_attach>: Make "args" const.
171 (find_default_attach): Likewise.
172 * utils.c (parse_pid_to_attach): Make "args" const.
173 * utils.h (parse_pid_to_attach): Update.
174
175 2014-06-04 Tom Tromey <tromey@redhat.com>
176
177 * target-delegates.c: Rebuild.
178 * target.c (default_thread_address_space): New function.
179 (target_thread_address_space): Simplify.
180 * target.h (struct target_ops) <to_thread_address_space>: Add
181 TARGET_DEFAULT_FUNC.
182
183 2014-06-04 Doug Evans <xdje42@gmail.com>
184
185 * guile/scm-type.c (type_smob): Remove duplicate typedef.
186
187 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
188
189 * record-btrace.c: Include event-loop.h and inf-loop.h.
190 (record_btrace_resume_exec_dir)
191 (record_btrace_async_inferior_event_handler)
192 (record_btrace_handle_async_inferior_event): New.
193 (record_btrace_open): Create async event handler.
194 (record_btrace_close): Delete async event handler.
195 (record_btrace_resume): Set record_btrace_resume_exec_dir,
196 Mark async event handler.
197 (record_btrace_execution_direction): New.
198 (init_record_btrace_ops): Initialize to_execution_direction.
199
200 2014-06-03 Doug Evans <xdje42@gmail.com>
201
202 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
203 (gdbscm_make_parameter): Ditto.
204
205 2014-06-03 Doug Evans <dje@google.com>
206
207 * exec.c (exec_close_1): Call clear_section_table instead of
208 resize_section_table.
209 (clear_section_table): New function.
210 (resize_section_table): Make static. Rename arg num_added to
211 adjustment.
212 * exec.h (clear_section_table): Declare.
213 (resize_section_table): Delete.
214 * progspace.c (release_program_space): Call clear_section_table
215 instead of resize_section_table.
216
217 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
218
219 * NEWS (Python Scripting): Add entry about the new xmethods
220 feature.
221
222 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
223
224 * python/py-xmethods.c: New file.
225 * python/py-objfile.c (objfile_object): New field 'xmethods'.
226 (objfpy_dealloc): XDECREF on the new xmethods field.
227 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
228 field.
229 (objfpy_get_xmethods): New function.
230 (objfile_getset): New entry 'xmethods'.
231 * python/py-progspace.c (pspace_object): New field 'xmethods'.
232 (pspy_dealloc): XDECREF on the new xmethods field.
233 (pspy_new, pspace_to_pspace_object): Initialize xmethods
234 field.
235 (pspy_get_xmethods): New function.
236 (pspace_getset): New entry 'xmethods'.
237 * python/python-internal.h: Add declarations for new functions.
238 * python/python.c (_initialize_python): Invoke
239 gdbpy_initialize_xmethods.
240 * python/lib/gdb/__init__.py (xmethods): New
241 attribute.
242 * python/lib/gdb/xmethod.py: New file.
243 * python/lib/gdb/command/xmethods.py: New file.
244
245 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
246
247 * eval.c (evaluate_subexp_standard): Call the xmethod if the
248 best match method returned by find_overload_match is an xmethod.
249 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
250 the best matching operator returned by find_overload_match is an
251 xmethod.
252 * valops.c: #include "extension.h".
253 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
254 Return void. The list of matching source methods is returned in
255 "fn_list" and a vector of matching debug method workers is
256 returned in "xm_worker_vec". Update all callers.
257 (value_find_oload_method_list): Likewise.
258 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
259 non-NULL, then the index of the best matching method in this
260 vector is returned. Update all callers.
261 (find_overload_match): Include xmethods while performing overload
262 resolution.
263
264 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
265
266 * defs.h (enum lval_type): New enumerator "lval_xcallable".
267 * extension-priv.h (struct extension_language_ops): Add the
268 xmethod interface.
269 * extension.c (new_xmethod_worker, clone_xmethod_worker,
270 get_matching_xmethod_workers, get_xmethod_argtypes,
271 invoke_xmethod, free_xmethod_worker,
272 free_xmethod_worker_vec): New functions.
273 * extension.h: #include "common/vec.h".
274 New function declarations.
275 (struct xmethod_worker): New struct.
276 (VEC (xmethod_worker_ptr)): New vector type.
277 (xmethod_worker_ptr): New typedef.
278 (xmethod_worker_vec): Likewise.
279 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
280 builtin_type.
281 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
282 (struct builtin_type): New field "xmethod".
283 * valarith.c (value_ptradd): Assert that the value argument is not
284 lval_xcallable.
285 * valops.c (value_must_coerce_to_target): Return 0 for
286 lval_xcallable values.
287 * value.c (struct value): New field XM_WORKER in the field
288 LOCATION.
289 (value_address, value_raw_address): Return 0 for lval_xcallable
290 values.
291 (set_value_address): Assert that the value is not an
292 lval_xcallable.
293 (value_free): Free the associated xmethod worker when freeing
294 lval_xcallable values.
295 (set_value_component_location): Assert that the WHOLE value is not
296 lval_xcallable.
297 (value_of_xmethod, call_xmethod): New functions.
298 * value.h: Declare "struct xmethod_worker".
299 Declare new functions value_of_xmethod, call_xmethod.
300
301 2014-06-03 Joel Brobecker <brobecker@adacore.com>
302 Pedro Alves <palves@redhat.com>
303
304 PR breakpoints/17000
305 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
306 New function, extracted from software_breakpoint_inserted_here_p.
307 (software_breakpoint_inserted_here_p): Replace factored out code
308 by call to find_non_raw_software_breakpoint_inserted_here.
309 (bp_target_info_copy_insertion_state): New function.
310 (bkpt_insert_location): Handle the case of a single-step
311 breakpoint already inserted at the same address.
312 (bkpt_remove_location): Handle the case of a single-step
313 breakpoint still inserted at the same address.
314 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
315 breakpoint already inserted at the same address.
316 (deprecated_remove_raw_breakpoint): Handle the case of a
317 non-raw breakpoint still inserted at the same address.
318 (find_single_step_breakpoint): New function, extracted from
319 single_step_breakpoint_inserted_here_p.
320 (find_single_step_breakpoint): New function,
321 factored out from single_step_breakpoint_inserted_here_p.
322 (single_step_breakpoint_inserted_here_p): Reimplement.
323
324 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
325
326 Pushed by Joel Brobecker <brobecker@adacore.com>
327 * source.c (show_substitute_path_command): Fix display of matching
328 substitution rules.
329
330 2014-06-03 Gary Benson <gbenson@redhat.com>
331
332 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
333
334 2014-06-02 Doug Evans <xdje42@gmail.com>
335
336 Add parameter support for Guile.
337 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
338 (SUBDIR_GUILE_SRCS): Add scm-param.c.
339 (scm-param.o): New rule.
340 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
341 (gdbscm_misc_error): Declare.
342 (gdbscm_canonicalize_command_name): Declare.
343 (gdbscm_scm_to_host_string): Declare.
344 (gdbscm_scm_from_host_string): Declare.
345 (gdbscm_initialize_parameters): Declare.
346 * guile/guile.c (initialize_gdb_module): Call
347 gdbscm_initialize_parameters.
348 * guile/lib/gdb.scm: Export parameter symbols.
349 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
350 cmdscm_canonicalize_name and made public. All callers updated.
351 * guile/scm-exception.c (gdbscm_misc_error): New function.
352 * guile/scm-param.c: New file.
353 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
354 (gdbscm_scm_to_host_string): New function.
355 (gdbscm_scm_from_host_string): New function.
356 * scm-utils.c (gdbscm_gc_dup_argv): New function.
357
358 2014-06-02 Doug Evans <xdje42@gmail.com>
359
360 Add command support for Guile.
361 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
362 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
363 (scm-cmd.o): New rule.
364 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
365 (gdbscm_user_error_p): Declare.
366 (gdbscm_parse_command_name): Declare.
367 (gdbscm_valid_command_class_p): Declare.
368 (gdbscm_initialize_commands): Declare.
369 * guile/guile.c (initialize_gdb_module): Call
370 gdbscm_initialize_commands.
371 * guile/lib/gdb.scm: Export command symbols.
372 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
373 (throw-user-error): New function.
374 * guile/scm-cmd.c: New file.
375 * guile/scm-exception.c (user_error_symbol): New static global.
376 (gdbscm_user_error_p): New function.
377 (gdbscm_initialize_exceptions): Set user_error_symbol.
378 * scm-utils.c (gdbscm_gc_xstrdup): New function.
379
380 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
381
382 * top.c (command_loop): Handle comments here...
383 (command_line_input): ... not here.
384
385 2014-06-02 Doug Evans <xdje42@gmail.com>
386
387 Add progspace support for Guile.
388 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
389 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
390 (scm-progspace.o): New rule.
391 * guile/guile-internal.h (pspace_smob): New typedef.
392 (psscm_pspace_smob_pretty_printers): Declare.
393 (psscm_pspace_smob_from_pspace): Declare.
394 (psscm_scm_from_pspace): Declare.
395 * guile/guile.c (initialize_gdb_module): Call
396 gdbscm_initialize_pspaces.
397 * guile/lib/gdb.scm: Export progspace symbols.
398 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
399 support.
400 (append-pretty-printer!): Ditto.
401 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
402 Implement.
403 * guile/scm-progspace.c: New file.
404
405 2014-06-03 Alan Modra <amodra@gmail.com>
406
407 * ppc64-tdep.c (ppc64_standard_linkage8): New.
408 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
409
410 2014-06-02 Doug Evans <dje@google.com>
411
412 Add support for skeletonless type units.
413 * dwarf2read.c (struct dwarf2_per_objfile): New member
414 n_allocated_type_units.
415 (struct dwarf2_per_objfile) <tu_stats>: New member
416 nr_all_type_units_reallocs.
417 (create_signatured_type_table_from_index): Initialize
418 n_allocated_type_units
419 (create_all_type_units): Ditto.
420 (add_type_unit): Move up in file. New arg slot.
421 All callers updated. Increase space for all_type_units more
422 efficiently.
423 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
424 (lookup_dwo_signatured_type): Handle skeletonless TUs.
425 (lookup_dwp_signatured_type): Ditto.
426 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
427 All callers updated.
428 (build_type_psymtabs_1): Leave type_unit_groups as
429 NULL if no TUs present.
430 (print_tu_stats): New function.
431 (process_skeletonless_type_unit): New function.
432 (process_dwo_file_for_skeletonless_type_units): New
433 function.
434 (process_skeletonless_type_units): New function.
435 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
436 Call print tu_stats if debugging enabled.
437
438 2014-06-02 Pedro Alves <palves@redhat.com>
439
440 * breakpoint.c (build_target_command_list): Don't build a command
441 list if we have any duplicate location that isn't a dprintf.
442
443 2014-06-02 Pedro Alves <palves@redhat.com>
444
445 * breakpoint.c (dprintf_breakpoint_hit): New function.
446 (initialize_breakpoint_ops): Install it as dprintf's
447 breakpoint_hit method.
448
449 2014-06-02 Joel Brobecker <brobecker@adacore.com>
450
451 * source.c (substitute_path_rule_matches): Simplify using
452 filename_ncmp instead of FILENAME_CMP.
453
454 2014-06-02 Joel Brobecker <brobecker@adacore.com>
455
456 * source.c (substitute_path_rule_matches): Remove trailing spaces.
457
458 2014-06-01 Ludovic Courtès <ludo@gnu.org>
459
460 * configure.ac: When Guile is available, check for the
461 availability of 'scm_new_smob'.
462 * configure, config.h.in: Regenerate.
463 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
464 function.
465
466 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
467
468 * frame.c (struct frame_info): Add stop_string field.
469 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
470 (get_prev_frame_always): Old content moved into
471 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
472 TRY_CATCH, handle MEMORY_ERROR exceptions.
473 (frame_stop_reason_string): New function definition.
474 * frame.h (unwind_stop_reason_to_string): Extend comment to
475 mention frame_stop_reason_string.
476 (frame_stop_reason_string): New function declaration.
477 * stack.c (frame_info): Switch to frame_stop_reason_string.
478 (backtrace_command_1): Switch to frame_stop_reason_string.
479 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
480 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
481 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
482
483 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
484
485 * frame.c (frame_stop_reason_string): Rename to ...
486 (unwind_stop_reason_to_string): this.
487 * frame.h (frame_stop_reason_string): Rename to ...
488 (unwind_stop_reason_to_string): this.
489 * stack.c (frame_info): Update call to frame_stop_reason_string.
490 (backtrace_command_1): Likewise.
491 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
492 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
493
494 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
495
496 * frame.c (remove_prev_frame): New function.
497 (get_prev_frame_if_no_cycle): Create / discard cleanup using
498 remove_prev_frame.
499
500 2014-05-29 Pedro Alves <palves@redhat.com>
501
502 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
503 and make it const. When a single-step decays to a continue,
504 clear 'step', not 'hw_step'. Pass whether the caller wanted
505 to step to user_visible_resume_ptid, not what we ask the
506 target to do.
507
508 2014-05-29 Pedro Alves <palves@redhat.com>
509
510 * infrun.c (process_event_stop_test, handle_step_into_function)
511 (handle_step_into_function_backward): Adjust.
512 Don't set the even thread's stop_step and call stop_waiting before
513 calling end_stepping_range. Instead do that ...
514 (end_stepping_range): ... here. Take an ecs pointer parameter.
515
516 2014-05-29 Pedro Alves <palves@redhat.com>
517
518 * infrun.c (stop_stepping): Rename to ...
519 (stop_waiting): ... this.
520 (proceed): Update comment.
521 (process_event_stop_test, handle_inferior_event)
522 (handle_signal_stop, handle_step_into_function)
523 (handle_step_into_function_backward): Update.
524
525 2014-05-29 Pedro Alves <palves@redhat.com>
526
527 * infcall.c (run_inferior_call): Don't check whether the current
528 thread is running after the proceed call.
529
530 2014-05-29 Pedro Alves <palves@redhat.com>
531 Tom Tromey <tromey@redhat.com>
532
533 * NEWS: Mention "maint set target-async", "set mi-async", and that
534 background execution commands are now always available.
535 * target.h (target_async_permitted): Update comment.
536 * target.c (target_async_permitted, target_async_permitted_1):
537 Default to 1.
538 (set_target_async_command): Rename to ...
539 (maint_set_target_async_command): ... this.
540 (show_target_async_command): Rename to ...
541 (maint_show_target_async_command): ... this.
542 (_initialize_target): Adjust.
543 * infcmd.c (prepare_execution_command): Make extern.
544 * inferior.h (prepare_execution_command): Declare.
545 * infrun.c (set_observer_mode): Leave target async alone.
546 * mi/mi-interp.c (mi_interpreter_init): Install
547 mi_on_sync_execution_done as sync_execution_done observer.
548 (mi_on_sync_execution_done): New function.
549 (mi_execute_command_input_handler): Don't print the prompt if we
550 just started a synchronous command with an async target.
551 (mi_on_resume): Check sync_execution before printing prompt.
552 * mi/mi-main.h (mi_async_p): Declare.
553 * mi/mi-main.c: Include gdbcmd.h.
554 (mi_async_p): New function.
555 (mi_async, mi_async_1): New globals.
556 (set_mi_async_command, show_mi_async_command, mi_async): New
557 functions.
558 (exec_continue): Call prepare_execution_command.
559 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
560 (mi_execute_async_cli_command): Use mi_async_p.
561 (_initialize_mi_main): Install "set mi-async". Make
562 "target-async" a deprecated alias.
563
564 2014-05-29 Pedro Alves <palves@redhat.com>
565
566 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
567 (_initialize_cli_interp): Adjust.
568 * event-loop.c: Include "observer.h".
569 (start_event_loop): Notify 'command_error' observers instead of
570 calling display_gdb_prompt. Remove FIXME comment.
571 * event-top.c (display_gdb_prompt): Remove call into the
572 interpreters.
573 * inf-loop.c: Include "observer.h".
574 (inferior_event_handler): Notify 'command_error' observers instead
575 of calling display_gdb_prompt.
576 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
577 observers instead of calling display_gdb_prompt.
578 * interps.c (interp_set): Don't call display_gdb_prompt.
579 (current_interp_display_prompt_p): Delete.
580 * interps.h (interp_prompt_p): Delete declaration.
581 (interp_prompt_p_ftype): Delete.
582 (struct interp_procs) <prompt_proc_p>: Delete field.
583 (current_interp_display_prompt_p): Delete declaration.
584 * mi-interp.c (mi_interpreter_prompt_p): Delete.
585 (_initialize_mi_interp): Adjust.
586 * tui-interp.c (tui_init): Install 'sync_execution_done' and
587 'command_error' observers.
588 (tui_on_sync_execution_done, tui_on_command_error): New
589 functions.
590 (tui_display_prompt_p): Delete.
591 (_initialize_tui_interp): Adjust.
592
593 2014-05-29 Pedro Alves <palves@redhat.com>
594
595 PR gdb/13860
596 * cli/cli-interp.c: Include infrun.h and observer.h.
597 (cli_uiout, cli_interp): New globals.
598 (cli_on_signal_received, cli_on_end_stepping_range)
599 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
600 functions.
601 (cli_interpreter_init): Install them as 'end_stepping_range',
602 'signal_received' 'signal_exited', 'exited' and 'no_history'
603 observers.
604 (_initialize_cli_interp): Remove cli_interp local.
605 * infrun.c (handle_inferior_event): Call the several stop reason
606 observers instead of printing the stop reason directly.
607 (end_stepping_range): New function.
608 (print_end_stepping_range_reason, print_signal_exited_reason)
609 (print_exited_reason, print_signal_received_reason)
610 (print_no_history_reason): Make static, and add an uiout
611 parameter. Print to that instead of to CURRENT_UIOUT.
612 * infrun.h (print_end_stepping_range_reason)
613 (print_signal_exited_reason, print_exited_reason)
614 (print_signal_received_reason print_no_history_reason): New
615 declarations.
616 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
617 'mi_uiout'.
618 <cli_uiout>: New field.
619 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
620 uiout for CLI output. Install 'signal_received',
621 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
622 observers.
623 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
624 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
625 (mi_on_no_history): New functions.
626 (ui_out_free_cleanup): Delete function.
627 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
628 instead use the one already stored in the MI interpreter data.
629 (mi_ui_out): Adjust.
630 * tui/tui-interp.c: Include infrun.h and observer.h.
631 (tui_interp): New global.
632 (tui_on_signal_received, tui_on_end_stepping_range)
633 (tui_on_signal_exited, tui_on_exited)
634 (tui_on_no_history): New functions.
635 (tui_init): Install them as 'end_stepping_range',
636 'signal_received' 'signal_exited', 'exited' and 'no_history'
637 observers.
638 (_initialize_tui_interp): Delete tui_interp local.
639
640 2014-05-29 Pedro Alves <palves@redhat.com>
641
642 PR gdb/15713
643 * linux-nat.c (linux_nat_resume_callback): Rename the second
644 parameter to 'except'. Skip LP if it points to EXCEPT.
645 (linux_nat_resume): Don't mark the event lwp as not stopped
646 before resuming sibling lwps. Instead ask
647 linux_nat_resume_callback to skip the event lwp. Mark it as not
648 stopped after actually resuming it.
649 (linux_handle_syscall_trap): Mark the lwp as not stopped after
650 resuming it.
651 (wait_lwp): Mark the lwp as stopped here.
652 (stop_wait_callback): Mark the lwp as not stopped right after
653 resuming it. Don't mark lwps as stopped here.
654 (linux_nat_filter_event): Mark the lwp as stopped earlier.
655 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
656
657 2014-05-29 Pedro Alves <palves@redhat.com>
658
659 PR PR15693
660 * infrun.c (resume): Determine how much to resume depending on
661 whether the caller wanted a step, not whether we can hardware step
662 the target. Mark all threads that we intend to run as running,
663 unless we're calling an inferior function.
664 (normal_stop): If the thread is running an infcall, don't finish
665 thread state.
666 * target.c (target_resume): Don't mark threads as running here.
667
668 2014-05-28 Joel Brobecker <brobecker@adacore.com>
669
670 * serial.c (_initialize_serial): Remove support for
671 the "set remotebaud" and "show remotebaud" commands.
672 * NEWS: Add entry documenting the removal of that command.
673
674 2014-05-28 Yao Qi <yao@codesourcery.com>
675
676 * charset.c: Fix typo in comments.
677
678 2014-05-27 Gary Benson <gbenson@redhat.com>
679
680 * utils.c (internal_vproblem): Prompt for a bug report.
681
682 2014-05-26 Andy Wingo <wingo@igalia.com>
683
684 * guile/scm-arch.c (arscm_mark_arch_smob):
685 * guile/scm-block.c (bkscm_mark_block_smob)
686 (bkscm_mark_block_syms_progress_smob):
687 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
688 * guile/scm-exception.c (exscm_mark_exception_smob):
689 * guile/scm-frame.c (frscm_mark_frame_smob):
690 * guile/scm-iterator.c (itscm_mark_iterator_smob):
691 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
692 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
693 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
694 (ppscm_mark_pretty_printer_worker_smob):
695 * guile/scm-symbol.c (syscm_mark_symbol_smob):
696 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
697 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
698 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
699 mark functions.
700 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
701 function.
702
703 2014-05-26 Andy Wingo <wingo@igalia.com>
704 Doug Evans <xdje42@gmail.com>
705
706 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
707 empty_base_class. All uses updated.
708 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
709 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
710 Adapt all callers.
711 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
712 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
713 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
714 (gdbscm_gsmob_has_property_p, add_property_name)
715 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
716 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
717 (gdb-object-has-property?, gdb-object-properties): Remove.
718 (gdb-object-kind): Renamed from gsmob-kind.
719
720 2014-05-26 Andy Wingo <wingo@igalia.com>
721
722 * configure.ac (try_guile_versions): Allow building with guile 2.2.
723 * configure: Regenerate.
724
725 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
726
727 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
728
729 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
730
731 * record-btrace.c (record_btrace_allow_memory_access): Remove.
732 (replay_memory_access_read_only, replay_memory_access_read_write)
733 (replay_memory_access_types, replay_memory_access)
734 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
735 (cmd_set_record_btrace, cmd_show_record_btrace)
736 (cmd_show_replay_memory_access): New.
737 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
738 (record_btrace_remove_breakpoint): Replace
739 record_btrace_allow_memory_access with replay_memory_access.
740 (_initialize_record_btrace): Add commands.
741 * NEWS: Announce it.
742
743 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
744
745 * aarch64-linux-nat.c (asm/ptrace.h): Include.
746
747 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
748
749 * MAINTAINERS (Write After Approval): Move self back from
750 paper trail.
751
752 2014-05-22 Pedro Alves <palves@redhat.com>
753
754 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
755 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
756 (disable_randomization, enum exec_direction_kind)
757 (execution_direction, stop_registers, start_remote)
758 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
759 (wait_for_inferior, normal_stop, get_last_target_status)
760 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
761 (insert_step_resume_breakpoint_at_sal)
762 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
763 (set_step_info, print_stop_event, signal_stop_state)
764 (signal_print_state, signal_pass_state, signal_stop_update)
765 (signal_print_update, signal_pass_update)
766 (update_signals_program_target, clear_exit_convenience_vars)
767 (displaced_step_dump_bytes, update_observer_mode)
768 (signal_catch_update, gdb_signal_from_command): Move
769 declarations ...
770 * infrun.h: ... to this new file.
771 * amd64-tdep.c: Include infrun.h.
772 * annotate.c: Include infrun.h.
773 * arch-utils.c: Include infrun.h.
774 * arm-linux-tdep.c: Include infrun.h.
775 * arm-tdep.c: Include infrun.h.
776 * break-catch-sig.c: Include infrun.h.
777 * breakpoint.c: Include infrun.h.
778 * common/agent.c: Include infrun.h instead of inferior.h.
779 * corelow.c: Include infrun.h.
780 * event-top.c: Include infrun.h.
781 * go32-nat.c: Include infrun.h.
782 * i386-tdep.c: Include infrun.h.
783 * inf-loop.c: Include infrun.h.
784 * infcall.c: Include infrun.h.
785 * infcmd.c: Include infrun.h.
786 * infrun.c: Include infrun.h.
787 * linux-fork.c: Include infrun.h.
788 * linux-nat.c: Include infrun.h.
789 * linux-thread-db.c: Include infrun.h.
790 * monitor.c: Include infrun.h.
791 * nto-tdep.c: Include infrun.h.
792 * procfs.c: Include infrun.h.
793 * record-btrace.c: Include infrun.h.
794 * record-full.c: Include infrun.h.
795 * remote-m32r-sdi.c: Include infrun.h.
796 * remote-mips.c: Include infrun.h.
797 * remote-notif.c: Include infrun.h.
798 * remote-sim.c: Include infrun.h.
799 * remote.c: Include infrun.h.
800 * reverse.c: Include infrun.h.
801 * rs6000-tdep.c: Include infrun.h.
802 * s390-linux-tdep.c: Include infrun.h.
803 * solib-irix.c: Include infrun.h.
804 * solib-osf.c: Include infrun.h.
805 * solib-svr4.c: Include infrun.h.
806 * target.c: Include infrun.h.
807 * top.c: Include infrun.h.
808 * windows-nat.c: Include infrun.h.
809 * mi/mi-interp.c: Include infrun.h.
810 * mi/mi-main.c: Include infrun.h.
811 * python/py-threadevent.c: Include infrun.h.
812
813 2014-05-22 Pedro Alves <palves@redhat.com>
814
815 * infrun.c (handle_inferior_event): Store the exit code for
816 --return-child-result here, instead of ...
817 (print_exited_reason): ... here.
818
819 2014-05-21 Pedro Alves <palves@redhat.com>
820
821 PR gdb/13860
822 * gdbthread.h (struct thread_control_state): New field
823 `command_interp'.
824 * infrun.c (follow_fork): Copy the new thread control field to the
825 child fork thread.
826 (clear_proceed_status_thread): Clear the new thread control field.
827 (proceed): Set the new thread control field.
828 * interps.h (command_interp): Declare.
829 * interps.c (command_interpreter): New global.
830 (command_interp): New function.
831 (interp_exec): Set `command_interpreter' while here.
832 * cli-out.c (cli_uiout_dtor): New function.
833 (cli_ui_out_impl): Install it.
834 * mi/mi-interp.c: Include cli-out.h.
835 (mi_cmd_interpreter_exec): Add comment.
836 (restore_current_uiout_cleanup): New function.
837 (ui_out_free_cleanup): New function.
838 (mi_on_normal_stop): If finishing an execution command started by
839 a CLI command, or any kind of breakpoint-like event triggered,
840 print the stop event to the output (CLI) stream.
841 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
842
843 2014-05-21 Pedro Alves <palves@redhat.com>
844
845 * cli/cli-cmds.c (list_command): Handle the first "list" after the
846 current source line having changed.
847 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
848 * infrun.c (normal_stop): Adjust call to
849 set_current_sal_from_frame.
850 * source.c (clear_lines_listed_range): New function.
851 (set_current_source_symtab_and_line, identify_source_line): Clear
852 the lines listed range.
853 (line_info): Handle the first "info line" after the current source
854 line having changed.
855 * stack.c (print_stack_frame): Remove center handling.
856 (set_current_sal_from_frame): Remove 'center' parameter. Don't
857 center sal.line.
858
859 2014-05-21 Pedro Alves <palves@redhat.com>
860
861 * inf-child.c (inf_child_mourn_inferior): New function.
862 * inf-child.h (inf_child_mourn_inferior): New declaration.
863 * darwin-nat.c (darwin_mourn_inferior): Use
864 inf_child_mourn_inferior.
865 * gnu-nat.c (gnu_mourn_inferior): Likewise.
866 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
867 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
868 * nto-procfs.c (procfs_mourn_inferior): Likewise.
869 * windows-nat.c (windows_mourn_inferior): Likewise.
870
871 2014-05-21 Doug Evans <xdje42@gmail.com>
872
873 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
874
875 2014-05-21 Doug Evans <xdje42@gmail.com>
876
877 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
878 (gdbscm_out_of_range_error): Ditto.
879 (gdbscm_memory_error): Ditto.
880 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
881 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
882 (gdbscm_out_of_range_error): Update.
883 (gdbscm_memory_error): Update.
884 (gdbscm_scm_to_target_string_unsafe): Delete.
885
886 2014-05-21 Pedro Alves <palves@redhat.com>
887
888 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
889 globals.
890 (inf_child_open_target): New function.
891 (inf_child_open): Use inf_child_open_target to push the target
892 instead of erroring out.
893 (inf_child_disconnect, inf_child_close)
894 (inf_child_maybe_unpush_target): New functions.
895 (inf_child_target): Install inf_child_disconnect and
896 inf_child_close. Store a pointer to the returned object.
897 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
898 declarations.
899 * target.c (auto_connect_native_target): New global.
900 (show_default_run_target): New function.
901 (find_default_run_target): Return NULL if automatically connecting
902 to the native target is disabled.
903 (_initialize_target): Install set/show auto-connect-native-target.
904 * NEWS: Mention "set auto-connect-native-target", and "target
905 native".
906 * linux-nat.c (super_close): New global.
907 (linux_nat_close): Call super_close.
908 (linux_nat_add_target): Store a pointer to the base class's
909 to_close method.
910 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
911 inf_child_maybe_unpush.
912 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
913 already pushed.
914 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
915 the inferior. Use inf_child_maybe_unpush_target.
916 (inf_ttrace_attach): Don't push the target if it is already
917 pushed.
918 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
919 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
920 after mourning the inferior. Use inf_child_maybe_unpush_target.
921 (darwin_attach_pid): Don't push the target if it is already
922 pushed.
923 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
924 mourning the inferior. Use inf_child_maybe_unpush_target.
925 (gnu_detach): Use inf_child_maybe_unpush_target.
926 * go32-nat.c (go32_create_inferior): Don't push the target if it
927 is already pushed.
928 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
929 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
930 (procfs_open): Rename to ...
931 (procfs_open_1): ... this. Add target_ops parameter. Adjust
932 comments. Can target_preopen before changing node. Call
933 inf_child_open_target to push the target explicitly.
934 (procfs_attach): Don't push the target if it is already pushed.
935 (procfs_detach): Use inf_child_maybe_unpush_target.
936 (procfs_create_inferior): Don't push the target if it is already
937 pushed.
938 (nto_native_ops): New global.
939 (procfs_open): Reimplement.
940 (procfs_native_open): New function.
941 (init_procfs_targets): Install procfs_native_open as to_open of
942 "target native". Store a pointer to the "native" target in
943 nto_native_ops.
944 * procfs.c (procfs_attach): Don't push the target if it is already
945 pushed.
946 (procfs_detach): Use inf_child_maybe_unpush_target.
947 (procfs_mourn_inferior): Only unpush the target after mourning the
948 inferior. Use inf_child_maybe_unpush_target.
949 (procfs_init_inferior): Don't push the target if it is already
950 pushed.
951 * windows-nat.c (do_initial_windows_stuff): Don't push the target
952 if it is already pushed.
953
954 2014-05-21 Pedro Alves <palves@redhat.com>
955
956 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
957 and "procfs" targets are now called "native" instead.
958
959 2014-05-21 Pedro Alves <palves@redhat.com>
960
961 * go32-nat.c (go32_open): Delete.
962 (go32_target): Don't override the to_open method.
963
964 2014-05-21 Pedro Alves <palves@redhat.com>
965
966 * nto-procfs.c (procfs_can_run): New function.
967 (nto_procfs_ops): New global.
968 (init_procfs_targets): New, based on procfs_target. Install
969 "target native" in addition to "target procfs".
970 (_initialize_procfs): Call init_procfs_targets instead of adding
971 the target here.
972
973 2014-05-21 Pedro Alves <palves@redhat.com>
974
975 * windows-nat.c (windows_target): Don't override to_shortname,
976 to_longname or to_doc.
977
978 2014-05-21 Pedro Alves <palves@redhat.com>
979
980 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
981 to_doc.
982
983 2014-05-21 Pedro Alves <palves@redhat.com>
984
985 * darwin-nat.c (_initialize_darwin_inferior): Don't override
986 to_shortname, to_longname or to_doc.
987
988 2014-05-21 Pedro Alves <palves@redhat.com>
989
990 * go32-nat.c (go32_target): Don't override to_shortname,
991 to_longname or to_doc.
992
993 2014-05-21 Pedro Alves <palves@redhat.com>
994
995 * inf-child.c (inf_child_open): Remove mention of "child".
996 (inf_child_target): Rename target to "native" instead of "child".
997
998 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
999
1000 * Makefile.in (SFILES): Delete "regset.c".
1001 (COMMON_OBS): Delete "regset.o".
1002 * regset.c: Remove.
1003 * regset.h (regset_alloc): Delete prototype.
1004
1005 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1006
1007 * sparc-linux-tdep.c (sparc32_linux_gregset)
1008 (sparc32_linux_fpregset): New static regset structures.
1009 (sparc32_linux_init_abi): Drop dynamic regset allocations.
1010 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
1011 'fpregset' fields.
1012 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
1013 (sparc64_linux_fpregset): New static regset structures.
1014 (sparc64_linux_init_abi): Drop dynamic regset allocations.
1015 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
1016 New static regset structures.
1017 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
1018 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
1019 New static regset structures.
1020 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
1021 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
1022 New static regset structures.
1023 (sparc64obsd_init_abi): Drop dynamic regset allocations.
1024 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
1025 New static regset structures.
1026 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
1027
1028 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1029
1030 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
1031 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
1032 register maps ("regmaps") from "*regset" to "*regmap". Do this
1033 for all regmap types and variables.
1034 * sparc-linux-tdep.c (sparc32_linux_step_trap)
1035 (sparc32_linux_supply_core_gregset)
1036 (sparc32_linux_collect_core_gregset)
1037 (sparc32_linux_supply_core_fpregset)
1038 (sparc32_linux_collect_core_fpregset): Likewise.
1039 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
1040 (sparc_gregmap, sparc_fpregmap): ... these.
1041 (sparc_supply_gregset, sparc_collect_gregset)
1042 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
1043 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
1044 (_initialize_sparc_nat): Rename regmaps.
1045 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
1046 (sparc_gregmap, sparc_fpregmap): ... these.
1047 (sparc_supply_gregset, sparc_collect_gregset)
1048 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
1049 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
1050 Rename macros to...
1051 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
1052 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
1053 Likewise.
1054 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
1055 Rename to...
1056 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
1057 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
1058 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
1059 regmaps.
1060 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
1061 (sparc32_bsd_fpregset): Rename to...
1062 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
1063 (sparc32_bsd_fpregmap): ... these.
1064 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
1065 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
1066 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
1067 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
1068 (struct sparc_gregmap, struct sparc_fpregmap)
1069 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
1070 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
1071 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
1072 (sparc32_supply_regset, sparc32_collect_gregset)
1073 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
1074 prototypes.
1075 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
1076 (sparc64_linux_ptrace_gregmap): ... this.
1077 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
1078 (_initialize_sparc64_linux_nat): Rename regmaps.
1079 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
1080 (sparc64_linux_core_gregmap): ... this.
1081 (sparc64_linux_supply_core_gregset)
1082 (sparc64_linux_collect_core_gregset)
1083 (sparc64_linux_supply_core_fpregset)
1084 (sparc64_linux_collect_core_fpregset): Rename regmaps.
1085 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
1086 (sparc64_sol2_fpregset): Rename to...
1087 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
1088 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
1089 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
1090 regmaps.
1091 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
1092 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
1093 (sparc64_bsd_fpregset): Rename to...
1094 (struct sparc_gregmap, sparc64_sol2_gregmap)
1095 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
1096 (sparc64_bsd_fpregmap): ... these.
1097 (sparc64_supply_gregset, sparc64_collect_gregset)
1098 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
1099 prototypes.
1100 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
1101 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
1102 (sparc64fbsd_gregmap): ... this.
1103 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
1104 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
1105 Rename regmaps.
1106 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
1107 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
1108 (sparc64nbsd_collect_fpregset): Likewise.
1109 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
1110 (sparc64nbsd_gregmap): ... this.
1111 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
1112 regmaps.
1113 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
1114 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
1115 (sparc64obsd_gregmap): ... this.
1116 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
1117 regmaps.
1118 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
1119 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
1120 (sparc32nbsd_gregmap): ... this.
1121 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
1122 regmaps.
1123
1124 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1125
1126 * score-tdep.c (score7_linux_gregset): New static regset
1127 structure.
1128 (score7_linux_regset_from_core_section): Remove dynamic regset
1129 allocation.
1130 (score_gdbarch_init): Drop allocation of tdep structure.
1131 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
1132
1133 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1134
1135 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
1136 regset structures.
1137 (am33_regset_from_core_section): Remove dynamic regset
1138 allocations.
1139
1140 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1141
1142 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
1143 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
1144 structures.
1145 (mips_linux_regset_from_core_section): Remove dynamic regset
1146 allocations.
1147 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
1148 'gregset64', 'fpregset', and 'fpregset64'.
1149 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
1150 deleted tdep fields.
1151
1152 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1153
1154 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
1155 regset structures.
1156 (amd64_regset_from_core_section): Remove dynamic regset
1157 allocations.
1158 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
1159 structure.
1160 (amd64obsd_regset_from_core_section): Remove dynamic regset
1161 allocation.
1162 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
1163 Likewise.
1164 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
1165 x86-common regset supply function.
1166 * i386-tdep.c (i386_collect_gregset): Make static.
1167 (i386_gregset): New global regset structure.
1168 (i386_fpregset, i386_xstateregset): New static regset structures.
1169 (i386_regset_from_core_section): Remove dynamic regset
1170 allocations.
1171 (i386_gdbarch_init): Remove initialization of tdep fields
1172 'gregset', 'fpregset', and 'xstateregset'.
1173 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
1174 'fpregset', and 'xstateregset'.
1175 (i386_collect_gregset): Remove prototype.
1176 (i386_gregset): New declaration.
1177 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
1178 structure.
1179 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
1180 allocation.
1181
1182 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1183
1184 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
1185 (arm_linux_vfpregset): New static regset structures.
1186 (arm_linux_regset_from_core_section): Remove dynamic allocation of
1187 regset structures.
1188 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
1189 and 'vfpregset' fields.
1190
1191 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1192
1193 * aarch64-linux-tdep.c (aarch64_linux_gregset)
1194 (aarch64_linux_fpregset): New static regset structures.
1195 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
1196 of regset structures.
1197 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
1198 'fpregset' fields.
1199
1200 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1201
1202 * regset.h (struct regset): Remove gdbarch field.
1203 * regset.c (regset_alloc): Drop initialization of gdbarch field.
1204 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
1205 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
1206 Likewise.
1207 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
1208 (ppc32_linux_fpregset, ppc32_linux_vrregset)
1209 (ppc32_linux_vsxregset): Likewise.
1210 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
1211 via the regcache instead of the regset.
1212 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
1213 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
1214 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
1215 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
1216 Likewise.
1217
1218 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
1219
1220 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
1221 Constify structures.
1222 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
1223 (alphanbsd_aout_gregset): Likewise.
1224 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
1225 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
1226 Likewise.
1227 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
1228 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
1229 Likewise.
1230 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
1231 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
1232 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
1233 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
1234 * m88k-tdep.c (m88k_gregset): Likewise.
1235 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
1236 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
1237 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
1238 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
1239 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
1240 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
1241 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
1242 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
1243 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
1244 Likewise.
1245 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
1246 * sh-tdep.h (sh_corefile_gregset): Likewise.
1247 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
1248 * vax-tdep.c (vax_gregset): Likewise.
1249
1250 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1251
1252 Fix TLS access for -static -pthread.
1253 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
1254 (try_thread_db_load_1): Initialize it.
1255 (thread_db_get_thread_local_address): Call it if LM is zero.
1256 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
1257 * target.h (struct target_ops) (to_get_thread_local_address): Add
1258 load_module_addr comment.
1259
1260 2014-05-21 Pedro Alves <palves@redhat.com>
1261
1262 * dcache.c (dcache_read_memory_partial): If reading the cache line
1263 fails, fallback to reading just the memory the caller wanted.
1264
1265 2014-05-20 Doug Evans <dje@google.com>
1266
1267 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
1268 instead of get_current_arch.
1269
1270 2014-05-20 Pedro Alves <palves@redhat.com>
1271
1272 * NEWS: Mention that compare-sections now works with all targets.
1273
1274 * remote.c (PACKET_qCRC): New enum value.
1275 (remote_verify_memory): Don't send qCRC if the target has no
1276 execution. Use packet_support/packet_ok. If the target doesn't
1277 support the qCRC packet, fallback to a deep memory copy.
1278 (compare_sections_command): Say "target image" instead of "remote
1279 executable".
1280 (_initialize_remote): Add PACKET_qCRC to the list of config
1281 packets that have no associated command. Extend comment.
1282 * target.c (simple_verify_memory, default_verify_memory): New
1283 function.
1284 * target.h (struct target_ops) <to_verify_memory>: Default to
1285 default_verify_memory.
1286 (simple_verify_memory): New declaration.
1287 * target-delegates.c: Regenerate.
1288
1289 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1290
1291 * record-btrace.c (record_btrace_step_thread): Check for empty history.
1292
1293 2014-05-20 Hui Zhu <hui@codesourcery.com>
1294 Yao Qi <yao@codesourcery.com>
1295
1296 PR backtrace/16558
1297 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
1298 and change address of sp and pc.
1299
1300 2014-05-19 Tom Tromey <tromey@redhat.com>
1301
1302 * gdbtypes.c (rank_function): Use XNEWVEC.
1303 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
1304
1305 2014-05-19 Doug Evans <dje@google.com>
1306
1307 * dwarf2read.c (build_type_psymtabs_1): Renamed from
1308 build_type_unit_groups and moved closer to only caller. Remove
1309 arguments. All references updated. Remove outdated .gdb_index
1310 comment.
1311 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
1312 build_type_psymtabs_1.
1313
1314 2014-05-19 Doug Evans <dje@google.com>
1315
1316 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
1317 n_type_unit_groups, all_type_unit_groups. All uses removed.
1318 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
1319 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
1320 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
1321 (add_type_unit_group_to_table): Delete.
1322
1323 2014-05-19 Doug Evans <dje@google.com>
1324
1325 * eval.c (evaluate_subexp_standard): Add some comments.
1326
1327 2014-05-17 Doug Evans <xdje42@gmail.com>
1328
1329 * progspace.c (remove_program_space): Delete, unused.
1330 * progspace.h (remove_program_space): Ditto.
1331
1332 2014-05-17 Doug Evans <xdje42@gmail.com>
1333
1334 * inferior.c (prune_inferiors): Fix comment.
1335 (remove_inferior_command): Call prune_program_spaces.
1336
1337 2014-05-16 Doug Evans <dje@google.com>
1338
1339 New command line option -D.
1340 * NEWS: Mention it.
1341 * main.c (set_gdb_data_directory): New function.
1342 (captured_main): Recognize -D. Flag error for --data-directory "".
1343 Call set_gdb_data_directory.
1344 (print_gdb_help): Print --data-directory, -D.
1345 * main.h (set_gdb_data_directory): Declare.
1346 * top.c (staged_gdb_datadir): New static global.
1347 (set_gdb_datadir): Call set_gdb_data_directory
1348 (show_gdb_datadir): New function.
1349 (init_main): Update init of data-directory parameter.
1350
1351 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
1352
1353 Import the "dirfd" gnulib module.
1354 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
1355 * gnulib/aclocal.m4: Update.
1356 * gnulib/config.in: Update.
1357 * gnulib/configure: Update.
1358 * gnulib/import/Makefile.am: Update.
1359 * gnulib/import/Makefile.in: Update.
1360 * gnulib/import/dirfd.c: New.
1361 * gnulib/import/m4/dirfd.m4: New.
1362 * gnulib/import/m4/gnulib-cache.m4: Update.
1363 * gnulib/import/m4/gnulib-comp.m4: Update.
1364
1365 2014-05-16 Pierre Muller <muller@sourceware.org>
1366 Yao Qi <yao@codesourcery.com>
1367
1368 * valprint.c (print_wchar): Move the code on checking whether
1369 W is a printable wide char to the default branch of switch
1370 statement below. Call wchar_printable instead of gdb_iswprint.
1371
1372 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
1373
1374 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
1375 ldr.w and ldrd instructions.
1376
1377 2014-05-15 Doug Evans <dje@google.com>
1378
1379 * dwarf2read.c (read_structure_type): Delete outdated comments.
1380
1381 2014-05-14 Tom Tromey <tromey@redhat.com>
1382
1383 * macrocmd.c (print_macro_definition): Reindent.
1384
1385 2014-05-13 Doug Evans <xdje42@gmail.com>
1386
1387 * python/py-cmd.c (cmdpy_completer): Add comment.
1388 (completers): Make const.
1389
1390 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
1391
1392 * infrun.c (resume): Remove should_resume (unused). Move up
1393 declaration of resume_ptid.
1394
1395 2014-05-13 Tom Tromey <tromey@redhat.com>
1396
1397 * language.h (unop_type_check): Remove.
1398 (binop_type_check): Don't declare.
1399
1400 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
1401
1402 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
1403 call to regcache_raw_collect.
1404
1405 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
1406
1407 * mi/mi-console.c (mi_console_raw_packet): Use the value from
1408 mi_console->quote as the quoting character.
1409
1410 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
1411
1412 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
1413
1414 2014-04-29 Tom Tromey <tromey@redhat.com>
1415
1416 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
1417 "show debug varobj".
1418
1419 2014-05-07 Kyle McMartin <kyle@redhat.com>
1420
1421 Pushed by Joel Brobecker <brobecker@adacore.com>.
1422 * aarch64-tdep.c (aarch64_software_single_step): New function.
1423 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
1424 with aarch64_software_single_step.
1425
1426 2014-05-05 Joel Brobecker <brobecker@adacore.com>
1427
1428 GDB 7.7.1 released.
1429
1430 2014-05-05 Keith Seitz <keiths@redhat.com>
1431
1432 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
1433 variable or history value is successfully parsed.
1434
1435 2014-05-05 Yao Qi <yao@codesourcery.com>
1436 Pedro Alves <palves@redhat.com>
1437
1438 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
1439 address of blocks that intersects the requested range. Trim
1440 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
1441 sections.
1442 * ctf.c (ctf_xfer_partial): Likewise.
1443
1444 2014-05-05 Yao Qi <yao@codesourcery.com>
1445
1446 * printcmd.c (display_command): Remove the check to
1447 target_has_execution.
1448
1449 2014-05-03 Mark Kettenis <kettenis@gnu.org>
1450
1451 * ppcobsd-nat.c: Include "obsd-nat.h".
1452 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
1453 add_target.
1454 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1455
1456 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1457
1458 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
1459 and 16-bit signed and unsigned arguments. Update comment.
1460 (stap_parse_probe_arguments): Extend code to handle such
1461 arguments. Use warning instead of complaint to notify about
1462 unrecognized bitness.
1463
1464 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1465
1466 PR breakpoints/16889
1467 * stap-probe.c (stap_parse_probe_arguments): Simplify
1468 check for non-prefixed probes (i.e., probes whose
1469 arguments do not start with "N@"). Always set the
1470 argument type to a sane value.
1471
1472 2014-05-01 David Taylor <dtaylor@emc.com>
1473
1474 * remote.c (compare_sections_command): Add -r option to compare
1475 all loadable read-only sections.
1476
1477 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
1478
1479 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
1480 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
1481 Update all callers.
1482 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
1483 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
1484 Remove unused CORE_ADDR argument. Update all callers.
1485
1486 2014-04-29 Pedro Alves <palves@redhat.com>
1487
1488 * remote.c (struct packet_config) <detect>: Extend comment.
1489 (add_packet_config_cmd): Don't set the config's detect or support
1490 fields here.
1491 (init_all_packet_configs): Also initialize the config's 'detect'
1492 field.
1493 (reset_all_packet_configs_support): New function.
1494 (remote_open_1): Call reset_all_packet_configs_support instead of
1495 init_all_packet_configs.
1496 (_initialize_remote): Initialize all packet configs. Assert that
1497 all packets have an associated command, except a few known
1498 outliers.
1499
1500 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1501
1502 * dwarf2read.c (read_subrange_type): Handle dynamic
1503 DW_AT_lower_bound attributes.
1504
1505 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1506
1507 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
1508 dynamic bounds before computing its upper bound.
1509 (ada_discrete_type_low_bound): Same as above with the lower bound.
1510
1511 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1512
1513 * dwarf2read.c (is_dynamic_type): Return true for dynamic
1514 range types. Adjust the array handling implementation to
1515 take advantage of this change.
1516 (resolve_dynamic_range): New function, mostly extracted from
1517 resolve_dynamic_bounds.
1518 (resolve_dynamic_array): New function, mostly extracted from
1519 resolve_dynamic_bounds.
1520 (resolve_dynamic_bounds): Delete.
1521 (resolve_dynamic_type): Reimplement. Add handling of
1522 TYPE_CODE_RANGE types.
1523
1524 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1525
1526 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
1527 handling of parallel ___XA types.
1528
1529 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1530
1531 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
1532 unnecessary second call to static_unwrap_type.
1533
1534 2014-04-27 Hui Zhu <hui@codesourcery.com>
1535
1536 * stack.c (print_frame_info): Call do_gdb_disassembly with
1537 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
1538
1539 2014-04-26 Doug Evans <xdje42@gmail.com>
1540
1541 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
1542
1543 2014-04-25 Pedro Alves <palves@redhat.com>
1544
1545 PR server/16255
1546 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
1547 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
1548 and newline from built string.
1549 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
1550 (linux_ptrace_attach_fail_reason): ... this.
1551 * linux-nat.c (linux_nat_attach): Adjust to use
1552 linux_ptrace_attach_fail_reason.
1553
1554 2014-04-25 Pedro Alves <palves@redhat.com>
1555
1556 * remote.c (struct remote_state): Remove multi_process_aware,
1557 non_stop_aware, cond_tracepoints, cond_breakpoints,
1558 breakpoint_commands, fast_tracepoints, static_tracepoints,
1559 install_in_trace, disconnected_tracing,
1560 enable_disable_tracepoints, string_tracing, and
1561 augmented_libraries_svr4_read fields.
1562 (remote_multi_process_p): Move further below in the file.
1563 (struct packet_config): Add comments.
1564 (update_packet_config): Delete function.
1565 (show_packet_config_cmd): Use packet_config_support.
1566 (add_packet_config_cmd): Use NULL as set callback.
1567 (packet_ok): "set remote foo-packet"-style commands no longer
1568 change config->supported -- adjust.
1569 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
1570 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
1571 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
1572 (PACKET_QNonStop, PACKET_multiprocess_feature)
1573 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
1574 (PACKET_DisconnectedTracing_feature)
1575 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
1576 (set_remote_protocol_packet_cmd): Delete function.
1577 (packet_config_support, packet_support): New functions.
1578 (set_remote_protocol_Z_packet_cmd): Don't call
1579 update_packet_config.
1580 (remote_query_attached, remote_pass_signals)
1581 (remote_program_signals, remote_threads_info)
1582 (remote_threads_extra_info, remote_start_remote): Use
1583 packet_support.
1584 (remote_start_remote): Use packet_config_support and
1585 packet_support.
1586 (init_all_packet_configs): Set all packets to unknown support,
1587 instead of calling update_packet_config.
1588 (remote_check_symbols): Use packet_support.
1589 (remote_supported_packet): Unconditionally set the packet config's
1590 support status.
1591 (remote_multi_process_feature, remote_non_stop_feature)
1592 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
1593 (remote_breakpoint_commands_feature)
1594 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
1595 (remote_install_in_trace_feature)
1596 (remote_disconnected_tracing_feature)
1597 (remote_enable_disable_tracepoint_feature)
1598 (remote_string_tracing_feature)
1599 (remote_augmented_libraries_svr4_read_feature): Delete functions.
1600 (remote_protocol_features): Adjust to use remote_supported_packet
1601 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
1602 "ConditionalTracepoints", "ConditionalBreakpoints",
1603 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
1604 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
1605 "EnableDisableTracepoints", and "tracenz".
1606 (remote_query_supported): Use packet_support.
1607 (remote_open_1): Adjust.
1608 (extended_remote_attach_1): Use packet_support. Switch on the
1609 result of packet_ok instead of checking whether the packet ended
1610 up disabled.
1611 (remote_vcont_resume): Use packet_support.
1612 (remote_resume, remote_stop_ns, fetch_register_using_p)
1613 (remote_prepare_to_store, store_register_using_P)
1614 (check_binary_download, remote_write_bytes): Use packet_support.
1615 (remote_vkill): Use packet_support. Switch on the result of
1616 packet_ok instead of checking whether the packet ended up
1617 disabled.
1618 (extended_remote_supports_disable_randomization): Use
1619 packet_support.
1620 (extended_remote_run): Switch on the result of packet_ok instead
1621 of checking whether the packet ended up disabled.
1622 (remote_insert_breakpoint, remote_remove_breakpoint)
1623 (remote_insert_watchpoint, remote_remove_watchpoint)
1624 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
1625 packet_support.
1626 (remote_search_memory): Use packet_config_support.
1627 (remote_get_thread_local_address, remote_get_tib_address)
1628 (remote_hostio_send_command, remote_can_execute_reverse): Use
1629 packet_support.
1630 (remote_supports_cond_tracepoints)
1631 (remote_supports_cond_breakpoints)
1632 (remote_supports_fast_tracepoints)
1633 (remote_supports_static_tracepoints)
1634 (remote_supports_install_in_trace)
1635 (remote_supports_enable_disable_tracepoint)
1636 (remote_supports_string_tracing)
1637 (remote_can_run_breakpoint_commands): Rewrite, checking whether
1638 the packet config says the feature is enabled or disabled.
1639 (remote_download_tracepoint, remote_trace_set_readonly_regions)
1640 (remote_get_trace_status): Use packet_support.
1641 (remote_set_disconnected_tracing): Adjust to check whether the
1642 feature is enabled with packet_support.
1643 (remote_set_trace_buffer_size, remote_use_agent)
1644 (remote_can_use_agent, remote_supports_btrace): Use
1645 packet_support.
1646 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
1647 Use packet_config_support.
1648 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
1649 the packet config says the feature is enabled or disabled.
1650 (set_range_stepping): Use packet_support.
1651
1652 2014-04-25 Tom Tromey <tromey@redhat.com>
1653
1654 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
1655 argument.
1656
1657 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
1658
1659 * NEWS: Mention support for C99 variable length arrays.
1660
1661 2014-04-24 Joel Brobecker <brobecker@adacore.com>
1662
1663 * ada-lang.c (standard_exc): Expand introductory comment.
1664
1665 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1666 Walfred Tedeschi <walfred.tedeschi@intel.com>
1667
1668 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
1669 AVX512 registers.
1670 (amd64_linux_read_description): Add code to handle AVX512 xstate
1671 mask and return respective tdesc.
1672 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
1673 and features/i386/x32-avx512-linux.c.
1674 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
1675 (amd64_linux_core_read_description): Add code to handle AVX512
1676 xstate mask and return respective tdesc.
1677 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
1678 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
1679 calculation.
1680 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
1681 (tdesc_amd64_avx512_linux): New prototype.
1682 (tdesc_x32_avx512_linux): Likewise.
1683 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
1684 features/i386/x32-avx512.c.
1685 (amd64_ymm_avx512_names): New register names for pseudo
1686 registers YMM16-31.
1687 (amd64_ymmh_avx512_names): New register names for raw registers
1688 YMMH16-31.
1689 (amd64_k_names): New register names for K registers.
1690 (amd64_zmmh_names): New register names for ZMM raw registers.
1691 (amd64_zmm_names): New registers names for ZMM pseudo registers.
1692 (amd64_xmm_avx512_names): New register names for XMM16-31
1693 registers.
1694 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
1695 registers.
1696 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
1697 if feature is present.
1698 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
1699 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
1700 (AMD64_NUM_REGS): Adjust to new number of registers.
1701 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
1702 registers supplied via XSTATE by AVX512 registers.
1703 (i386_linux_read_description): Add case for AVX512.
1704 * i386-linux-tdep.c: Include i386-avx512-linux.c.
1705 (i386_linux_gregset_reg_offset): Add AVX512 registers.
1706 (i386_linux_core_read_description): Add case for AVX512.
1707 (i386_linux_init_abi): Install supported register note section
1708 for AVX512.
1709 (_initialize_i386_linux_tdep): Add call to tdesc init function for
1710 AVX512.
1711 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
1712 registers to be number of zmm7h + 1.
1713 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
1714 * i386-tdep.c: Include features/i386/i386-avx512.c.
1715 (i386_zmm_names): Add ZMM pseudo register names array.
1716 (i386_zmmh_names): Add ZMM raw register names array.
1717 (i386_k_names): Add K raw register names array.
1718 (num_lower_zmm_regs): Add constant for the number of lower ZMM
1719 registers. AVX512 has 16 more ZMM registers than there are YMM
1720 registers.
1721 (i386_zmmh_regnum_p): Add function to look up register number of
1722 ZMM raw registers.
1723 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
1724 (i386_k_regnum_p): Likewise for K raw registers.
1725 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
1726 registers added by AVX512.
1727 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
1728 registers added by AVX512.
1729 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
1730 added by AVX512.
1731 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
1732 (i386_pseudo_register_name): Add ZMM pseudo registers.
1733 (i386_zmm_type): Construct and return vector registers type for ZMM
1734 registers.
1735 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
1736 ZMM0-31 pseudo registers and K registers.
1737 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
1738 and YMM16-31 registers from register cache.
1739 (i386_pseudo_register_write): Add code to write K, ZMM and
1740 YMM16-31 registers.
1741 (i386_register_reggroup_p): Add code to include/exclude AVX512
1742 registers in/from respective register groups.
1743 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
1744 registers if feature is present in xcr0.
1745 (i386_gdbarch_init): Add code to initialize AVX512 feature
1746 variables in tdep structure, wire in pseudo registers and call
1747 initialize_tdesc_i386_avx512.
1748 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
1749 variables.
1750 (i386_regnum): Add AVX512 registers.
1751 (I386_SSE_NUM_REGS): New define for number of SSE registers.
1752 (I386_AVX_NUM_REGS): Likewise for AVX registers.
1753 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
1754 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
1755 512 bits wide.
1756 (i386_xmm_avx512_regnum_p): New prototype for register look up.
1757 (i386_ymm_avx512_regnum_p): Likewise.
1758 (i386_k_regnum_p): Likewise.
1759 (i386_zmm_regnum_p): Likewise.
1760 (i386_zmmh_regnum_p): Likewise.
1761 * i387-tdep.c : Update year in copyright notice.
1762 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
1763 XSAVE buffer.
1764 (XSAVE_YMM_AVX512_ADDR): New macro.
1765 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
1766 XSAVE buffer.
1767 (XSAVE_XMM_AVX512_ADDR): New macro.
1768 (xsave_avx512_k_offset): New table for K register offsets in
1769 XSAVE buffer.
1770 (XSAVE_AVX512_K_ADDR): New macro.
1771 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
1772 in XSAVE buffer.
1773 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
1774 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
1775 buffer.
1776 (i387_collect_xsave): Add code to collect AVX512 registers from
1777 XSAVE buffer.
1778 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
1779 of XMM16-31 registers.
1780 (I387_NUM_K_REGS): New define for number of K registers.
1781 (I387_K0_REGNUM): New define for K0 register number.
1782 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
1783 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
1784 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
1785 registers.
1786 (I387_YMM16H_REGNUM): New define for YMM16H register number.
1787 (I387_XMM16_REGNUM): New define for XMM16 register number.
1788 (I387_YMM0_REGNUM): New define for YMM0 register number.
1789 (I387_KEND_REGNUM): New define for last K register number.
1790 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
1791 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
1792 number.
1793 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
1794 number.
1795 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
1796 size.
1797 * features/Makefile: Add AVX512 related files.
1798 * features/i386/32bit-avx512.xml: New file.
1799 * features/i386/64bit-avx512.xml: Likewise.
1800 * features/i386/amd64-avx512-linux.c: Likewise.
1801 * features/i386/amd64-avx512-linux.xml: Likewise.
1802 * features/i386/amd64-avx512.c: Likewise.
1803 * features/i386/amd64-avx512.xml: Likewise.
1804 * features/i386/i386-avx512-linux.c: Likewise.
1805 * features/i386/i386-avx512-linux.xml: Likewise.
1806 * features/i386/i386-avx512.c: Likewise.
1807 * features/i386/i386-avx512.xml: Likewise.
1808 * features/i386/x32-avx512-linux.c: Likewise.
1809 * features/i386/x32-avx512-linux.xml: Likewise.
1810 * features/i386/x32-avx512.c: Likewise.
1811 * features/i386/x32-avx512.xml: Likewise.
1812 * regformats/i386/amd64-avx512-linux.dat: New file.
1813 * regformats/i386/amd64-avx512.dat: Likewise.
1814 * regformats/i386/i386-avx512-linux.dat: Likewise.
1815 * regformats/i386/i386-avx512.dat: Likewise.
1816 * regformats/i386/x32-avx512-linux.dat: Likewise.
1817 * regformats/i386/x32-avx512.dat: Likewise.
1818 * NEWS: Add note about new support for AVX512.
1819
1820
1821 2014-04-23 Pedro Alves <palves@redhat.com>
1822
1823 * breakpoint.c (insert_bp_location): Tolerate errors if the
1824 breakpoint is set in a user-loaded objfile.
1825 (remove_breakpoint_1): Likewise. Also tolerate errors if the
1826 location is marked shlib_disabled. If the breakpoint is set in a
1827 user-loaded objfile is a GDB-side memory breakpoint, validate it
1828 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
1829 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
1830 flag.
1831 * mem-break.c (memory_validate_breakpoint): New function.
1832 * objfiles.c (userloaded_objfile_contains_address_p): New
1833 function.
1834 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
1835 * target.h (memory_validate_breakpoint): New declaration.
1836
1837 2014-04-23 Pedro Alves <palves@redhat.com>
1838
1839 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
1840 the breakpoint is set in a shared library, only suppress
1841 errors for software breakpoints, not hardware breakpoints.
1842
1843 2014-04-22 Pedro Alves <palves@redhat.com>
1844
1845 * infrun.c (schedlock_applies): New function, factored out from
1846 find_thread_needs_step_over.
1847 (find_thread_needs_step_over): Use it.
1848 (switch_back_to_stepped_thread): Always clear trap_expected if the
1849 step over is finished. Return early if scheduler locking applies.
1850 Look for the stepping thread and a potential step-over thread with
1851 a single loop.
1852 (currently_stepping_or_nexting_callback): Delete.
1853
1854 2014-04-22 Nick Clifton <nickc@redhat.com>
1855
1856 * NEWS: Mention that ARM sim now supports tracing.
1857
1858 2014-04-22 Yao Qi <yao@codesourcery.com>
1859
1860 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
1861 to ...
1862 * tracefile.c (tracefile_fetch_registers): ... it. New
1863 function.
1864 * tracefile.h (tracefile_fetch_registers): Declare.
1865 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
1866 tracefile_fetch_registers.
1867
1868 2014-04-19 Eli Zaretskii <eliz@gnu.org>
1869
1870 PR gdb/14018
1871 * windows-nat.c (thread_rec): Don't display a warning when
1872 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
1873 fails for any reason, set th->suspended to -1, so that we don't
1874 try to resume such a thread. Also, don't return NULL in these
1875 cases, to avoid completely ruin the session due to "PC register is
1876 not available" error.
1877 (do_windows_fetch_inferior_registers): Check errors in
1878 GetThreadContext call.
1879 (windows_continue): Accept an additional argument KILLED; if not
1880 zero, ignore errors in the SetThreadContext call, since the
1881 inferior was killed and is shutting down.
1882 (windows_resume, get_windows_debug_event)
1883 (windows_create_inferior, windows_mourn_inferior)
1884 (windows_kill_inferior): All callers of windows_continue changed
1885 to adjust to its new calling sequence.
1886
1887 2014-04-19 Yao Qi <yao@codesourcery.com>
1888
1889 * ctf.c (ctf_open): Call post_create_inferior.
1890
1891 2014-04-19 Yao Qi <yao@codesourcery.com>
1892
1893 * ctf.c (handle_id): New static variable.
1894 (ctf_open_dir): Get handle_id from bt_context_add_trace return
1895 value. Get the declaration of event "register" and get length
1896 of field "contents".
1897
1898 2014-04-19 Yao Qi <yao@codesourcery.com>
1899
1900 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
1901
1902 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
1903
1904 * valops.c (oload_method_static): Remove unnecessary argument
1905 METHOD. Update all callers.
1906
1907 2014-04-18 Pedro alves <palves@redhat.com>
1908 Tom Tromey <tromey@redhat.com>
1909
1910 PR backtrace/15558
1911 * frame.c (get_prev_frame_1): Rename to ...
1912 (get_prev_frame_always): ... this, and make extern. Adjust.
1913 (skip_artificial_frames): Use get_prev_frame_always.
1914 (frame_unwind_caller_id, frame_pop, get_prev_frame)
1915 (get_frame_unwind_stop_reason): Adjust to rename.
1916 * frame.h (get_prev_frame_always): Declare.
1917 * inline-frame.c: Include frame.h.
1918 (inline_frame_this_id): Use get_prev_frame_always.
1919
1920 2014-04-18 Tristan Gingold <gingold@adacore.com>
1921
1922 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
1923 code by using bfd_mach_o_get_base_address.
1924
1925 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
1926
1927 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
1928 (spu_ax_pseudo_register_collect): New function.
1929 (spu_ax_pseudo_register_push_stack): Likewise.
1930 (spu_dwarf_reg_to_regnum): Likewise.
1931 (spu_gdbarch_init): Install them. Append DWARF unwinders.
1932
1933 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
1934
1935 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
1936 Replace FRAME argument with FRAME_ID.
1937 * gdbarch.c, gdbarch.h: Regenerate.
1938 * findvar.c (default_value_from_register): Add GDBARCH argument;
1939 replace FRAME by FRAME_ID. No longer call get_frame_id.
1940 (value_from_register): Update call to gdbarch_value_from_register.
1941 * value.h (default_value_from_register): Update prototype.
1942 * s390-linux-tdep.c (s390_value_from_register): Update interface
1943 and call to default_value_from_register.
1944 * spu-tdep.c (spu_value_from_register): Likewise.
1945
1946 * findvar.c (address_from_register): Remove TYPE argument.
1947 Do not call value_from_register; use gdbarch_value_from_register
1948 with null_frame_id instead.
1949 * value.h (address_from_register): Update prototype.
1950 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
1951 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
1952 address_from_register interface change.
1953
1954 2014-04-17 Yao Qi <yao@codesourcery.com>
1955
1956 * gdbtypes.h: Update comments to link to types and macros'
1957 definitions.
1958
1959 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
1960
1961 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
1962
1963 2014-04-16 Keith Seitz <keiths@redhat.com>
1964
1965 PR gdb/15827
1966 * dwarf2read.c (skip_one_die): Check that all relative-offset
1967 sibling DIEs fall within range of the current reader's buffer.
1968 (read_partial_die): Likewise.
1969
1970 2014-04-16 Keith Seitz <keiths@redhat.com>
1971
1972 PR c++/16597
1973 * cp-namespace.c (lookup_symbol_file): If the type name of
1974 `this' is NULL, return immediately.
1975
1976 2014-04-14 Keith Seitz <keiths@redhat.com>
1977
1978 PR c++/16253
1979 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
1980 from symbol_matches_domain in symtab.c. All local callers
1981 of symbol_matches_domain updated.
1982 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
1983 search STRUCT_DOMAIN.
1984 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
1985 independently. standard_lookup will do that automatically.
1986 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
1987 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
1988 (cp_lookup_symbol_in_namespace): Likewise.
1989 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
1990 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
1991 may return a STRUCT_DOMAIN match.
1992 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
1993 * cp-support.c: Include language.h.
1994 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
1995 VAR_DOMAIN.
1996 * psymtab.c (match_partial_symbol): Compare the requested
1997 domain with the symbol's domain directly.
1998 (lookup_partial_symbol): Likewise.
1999 * symtab.c (lookup_symbol_in_language): Explain when/why
2000 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
2001 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
2002 appropriate languages.
2003 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
2004 and moved to ada-lang.c
2005 (lookup_block_symbol): Explain that this function only returns
2006 symbol matching the requested DOMAIN.
2007 Compare the requested domain with the symbol's domain directly.
2008 (iterate_over_symbols): Compare the requested domain with the
2009 symbol's domain directly.
2010 * symtab.h (symbol_matches_domain): Remove.
2011
2012 2014-04-14 Tom Tromey <tromey@redhat.com>
2013
2014 PR c++/15246:
2015 * c-exp.y (type_aggregate_p): New function.
2016 (qualified_name, classify_inner_name): Use it.
2017 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
2018 and TYPE_TARGET_TYPE of an enum type.
2019 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
2020 an enum type.
2021 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
2022 handle TYPE_DECLARED_CLASS.
2023 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
2024 types.
2025 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
2026 * valops.c (enum_constant_from_type): New function.
2027 (value_aggregate_elt): Use it.
2028 * cp-namespace.c (cp_lookup_nested_symbol): Handle
2029 TYPE_CODE_ENUM.
2030
2031 2014-04-14 Tom Tromey <tromey@redhat.com>
2032
2033 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
2034 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
2035 const.
2036 * value.h (value_aggregate_elt): Update.
2037
2038 2014-04-14 Tom Tromey <tromey@redhat.com>
2039
2040 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
2041
2042 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2043
2044 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
2045 (evaluate_subexp_standard): Pass noside argument.
2046 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
2047 if noside equals EVAL_NORMAL. If the subscript yields a vla type
2048 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
2049 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
2050 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
2051
2052 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2053
2054 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
2055 points to a constant blob.
2056
2057 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2058
2059 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
2060 property and store it as the high bound and flag the range accordingly.
2061 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
2062 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
2063 * gdbtypes.h (enum range_flags): New enum.
2064 (struct range_bounds): Add flags member.
2065
2066 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2067
2068 * c-typeprint.c (c_type_print_varspec_suffix): Added
2069 check for not yet resolved high bound. If unresolved, print
2070 "variable length" string to the console instead of random
2071 length.
2072
2073 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2074
2075 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
2076 value.
2077 (ada_template_to_fixed_record_type_1): Likewise.
2078 (ada_to_fixed_type_1): Likewise.
2079 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
2080 (cp_print_value): Likewise.
2081 * d-valprint.c (dynamic_array_type): Likewise.
2082 * findvar.c (address_of_variable): Likewise.
2083 * jv-valprint.c (java_value_print): Likewise.
2084 * valops.c (value_ind): Likewise.
2085 * value.c (coerce_ref): Likewise.
2086
2087 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2088
2089 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
2090 value and retrieve the dynamic type size.
2091
2092 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2093
2094 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
2095 passed to sizeof is dynamic evaluate the argument to compute the length.
2096
2097 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2098 Joel Brobecker <brobecker@adacore.com>
2099
2100 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
2101 (dwarf2_evaluate_property): New function.
2102 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
2103 * dwarf2read.c (attr_to_dynamic_prop): New function.
2104 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
2105 attribute.
2106 * gdbtypes.c: Include dwarf2loc.h.
2107 (is_dynamic_type): New function.
2108 (resolve_dynamic_type): New function.
2109 (resolve_dynamic_bounds): New function.
2110 (get_type_length): New function.
2111 (check_typedef): Use get_type_length to compute type length.
2112 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
2113 (TYPE_LOW_BOUND_KIND): New macro.
2114 (is_dynamic_type): New function prototype.
2115 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
2116 to resolve dynamic properties of the type. Update comment.
2117 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
2118
2119 2014-04-14 Richard Henderson <rth@redhat.com>
2120
2121 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
2122
2123 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2124 Doug Evans <xdje42@gmail.com>
2125
2126 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
2127 dereference TYPE_CODE_REF values.
2128
2129 2014-04-11 Joel Brobecker <brobecker@adacore.com>
2130
2131 Revert the following changes due to regressions:
2132
2133 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
2134 (dwarf2_evaluate_property): New function.
2135 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
2136 * dwarf2read.c (attr_to_dynamic_prop): New function.
2137 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
2138 attribute.
2139 * gdbtypes.c: Include dwarf2loc.h.
2140 (is_dynamic_type): New function.
2141 (resolve_dynamic_type): New function.
2142 (resolve_dynamic_bounds): New function.
2143 (get_type_length): New function.
2144 (check_typedef): Use get_type_length to compute type length.
2145 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
2146 (TYPE_LOW_BOUND_KIND): New macro.
2147 (is_dynamic_type): New function prototype.
2148 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
2149 to resolve dynamic properties of the type. Update comment.
2150 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
2151
2152 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
2153 passed to sizeof is dynamic evaluate the argument to compute the length.
2154
2155 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
2156 value and retrieve the dynamic type size.
2157
2158 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
2159 (ada_template_to_fixed_record_type_1): Likewise.
2160 (ada_to_fixed_type_1): Likewise.
2161 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
2162 (cp_print_value): Likewise.
2163 * d-valprint.c (dynamic_array_type): Likewise.
2164 * eval.c (evaluate_subexp_with_coercion): Likewise.
2165 * findvar.c (address_of_variable): Likewise.
2166 * jv-valprint.c (java_value_print): Likewise.
2167 * valops.c (value_ind): Likewise.
2168 * value.c (coerce_ref): Likewise.
2169
2170 * c-typeprint.c (c_type_print_varspec_suffix): Added
2171 check for not yet resolved high bound. If unresolved, print
2172 "variable length" string to the console instead of random
2173 length.
2174
2175 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
2176 property and store it as the high bound and flag the range accordingly.
2177 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
2178 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
2179 * gdbtypes.h (enum range_flags): New enum.
2180 (struct range_bounds): Add flags member.
2181
2182 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
2183 points to a constant blob.
2184
2185 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
2186 (evaluate_subexp_standard): Pass noside argument.
2187 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
2188 if noside equals EVAL_NORMAL. If the subscript yields a vla type
2189 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
2190 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
2191 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
2192
2193 2014-04-11 Keith Seitz <keiths@redhat.com>
2194
2195 PR c++/16675
2196 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
2197 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
2198 reference types.
2199
2200 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2201
2202 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
2203 (evaluate_subexp_standard): Pass noside argument.
2204 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
2205 if noside equals EVAL_NORMAL. If the subscript yields a vla type
2206 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
2207 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
2208 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
2209
2210 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2211
2212 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
2213 points to a constant blob.
2214
2215 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2216
2217 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
2218 property and store it as the high bound and flag the range accordingly.
2219 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
2220 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
2221 * gdbtypes.h (enum range_flags): New enum.
2222 (struct range_bounds): Add flags member.
2223
2224 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2225
2226 * c-typeprint.c (c_type_print_varspec_suffix): Added
2227 check for not yet resolved high bound. If unresolved, print
2228 "variable length" string to the console instead of random
2229 length.
2230
2231 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2232
2233 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
2234 (ada_template_to_fixed_record_type_1): Likewise.
2235 (ada_to_fixed_type_1): Likewise.
2236 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
2237 (cp_print_value): Likewise.
2238 * d-valprint.c (dynamic_array_type): Likewise.
2239 * eval.c (evaluate_subexp_with_coercion): Likewise.
2240 * findvar.c (address_of_variable): Likewise.
2241 * jv-valprint.c (java_value_print): Likewise.
2242 * valops.c (value_ind): Likewise.
2243 * value.c (coerce_ref): Likewise.
2244
2245 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2246
2247 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
2248 value and retrieve the dynamic type size.
2249
2250 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2251
2252 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
2253 passed to sizeof is dynamic evaluate the argument to compute the length.
2254
2255 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2256
2257 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
2258 (dwarf2_evaluate_property): New function.
2259 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
2260 * dwarf2read.c (attr_to_dynamic_prop): New function.
2261 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
2262 attribute.
2263 * gdbtypes.c: Include dwarf2loc.h.
2264 (is_dynamic_type): New function.
2265 (resolve_dynamic_type): New function.
2266 (resolve_dynamic_bounds): New function.
2267 (get_type_length): New function.
2268 (check_typedef): Use get_type_length to compute type length.
2269 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
2270 (TYPE_LOW_BOUND_KIND): New macro.
2271 (is_dynamic_type): New function prototype.
2272 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
2273 to resolve dynamic properties of the type. Update comment.
2274 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
2275
2276 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2277
2278 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
2279 declaring high/low bounds and change uses accordingly. Call
2280 create_range_type instead of create_static_range_type.
2281 * gdbtypes.c (create_range_type): New function.
2282 (create_range_type): Convert bounds into struct bound_prop and pass
2283 them to create_range_type.
2284 * gdbtypes.h (struct bound_prop): New struct.
2285 (create_range_type): New function prototype.
2286 (struct range_bounds): Use struct bound_prop instead of LONGEST for
2287 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
2288 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
2289 part of the bound.
2290 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
2291
2292 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2293
2294 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
2295 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
2296 * ada-lang.c: All uses of create_range_type updated.
2297 * coffread.c: All uses of create_range_type updated.
2298 * dwarf2read.c: All uses of create_range_type updated.
2299 * f-exp.y: All uses of create_range_type updated.
2300 * m2-valprint.c: All uses of create_range_type updated.
2301 * mdebugread.c: All uses of create_range_type updated.
2302 * stabsread.c: All uses of create_range_type updated.
2303 * valops.c: All uses of create_range_type updated.
2304 * valprint.c: All uses of create_range_type updated.
2305
2306 2014-04-10 Pedro Alves <palves@redhat.com>
2307
2308 * breakpoint.c (single_step_breakpoints)
2309 (single_step_gdbarch): Move up in the file.
2310 (one_breakpoint_xfer_memory): New function, factored out from ...
2311 (breakpoint_xfer_memory): ... here. Also process single-step
2312 breakpoints.
2313
2314 2014-04-09 Tristan Gingold <gingold@adacore.com>
2315
2316 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
2317 comments.
2318 (darwin_decode_exception_message): Free port only after use.
2319
2320 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
2321
2322 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
2323 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
2324 when setting the size of call_length.
2325
2326 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2327
2328 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
2329 dereference TYPE_CODE_REF values.
2330
2331 2014-04-07 Joel Brobecker <brobecker@adacore.com>
2332
2333 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
2334 end of warning message.
2335
2336 2014-04-03 Doug Evans <dje@google.com>
2337
2338 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
2339 of stub_comp_unit_die, stub_comp_dir is non-NULL.
2340
2341 2014-04-02 Alan Modra <amodra@gmail.com>
2342
2343 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
2344 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
2345 (struct symbol_file_add_from_memory_args): Add size field.
2346 (find_vdso_size): New function.
2347 (add_vsyscall_page): Attempt to find vdso size.
2348
2349 2014-04-01 Doug Evans <dje@google.com>
2350
2351 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
2352
2353 2014-04-01 Tristan Gingold <gingold@adacore.com>
2354
2355 * darwin-nat.c (darwin_encode_reply): Add prototype.
2356 (darwin_decode_exception_message): Reply to unknown inferiors.
2357 (darwin_decode_message): Handle message by id. Ignore message
2358 to unknown inferior.
2359 (darwin_wait): Discard unknown messages, add debug trace.
2360
2361 2014-03-31 Doug Evans <dje@google.com>
2362
2363 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
2364 comp_dir_string.
2365
2366 2014-03-31 Doug Evans <dje@google.com>
2367
2368 New option "set print symbol-loading".
2369 * NEWS: Mention it.
2370 * solib.c (solib_read_symbols): Only print symbol loading messages
2371 if requested.
2372 (solib_add): If symbol loading is in "brief" mode, notify user
2373 symbols are being loaded.
2374 (reload_shared_libraries_1): Ditto.
2375 * symfile.c (print_symbol_loading_off): New static global.
2376 (print_symbol_loading_brief): New static global.
2377 (print_symbol_loading_full): New static global.
2378 (print_symbol_loading_enums): New static global.
2379 (print_symbol_loading): New static global.
2380 (print_symbol_loading_p): New function.
2381 (symbol_file_add_with_addrs): Only print symbol loading messages
2382 if requested.
2383 (_initialize_symfile): Register "print symbol-loading" set/show
2384 command.
2385 * symfile.h (print_symbol_loading_p): Declare.
2386
2387 2014-03-30 Doug Evans <xdje42@gmail.com>
2388
2389 * infrun.c (set_last_target_status): New function.
2390 (handle_inferior_event): Call it.
2391
2392 2014-03-30 Doug Evans <xdje42@gmail.com>
2393
2394 * inferior.h (enum stop_kind): Improve comment.
2395
2396 2014-03-28 Joel Brobecker <brobecker@adacore.com>
2397
2398 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
2399 a reference, strip the reference layer before calling
2400 the lang_ops value_has_mutated callback.
2401
2402 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
2403
2404 Remove some globals from our parser.
2405 * language.c (unk_lang_parser): Add "struct parser_state"
2406 argument.
2407 * language.h (struct language_defn) <la_parser>: Likewise.
2408 * parse.c (expout, expout_size, expout_ptr): Remove variables.
2409 (initialize_expout): Add "struct parser_state" argument.
2410 Rewrite function to use the parser state.
2411 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
2412 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
2413 write_exp_elt_longcst, write_exp_elt_dblcst,
2414 write_exp_elt_decfloatcst, write_exp_elt_type,
2415 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
2416 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
2417 write_dollar_variable): Likewise.
2418 (parse_exp_in_context_1): Use parser state.
2419 (insert_type_address_space): Add "struct parser_state" argument.
2420 Use parser state.
2421 (increase_expout_size): New function.
2422 * parser-defs.h: Forward declare "struct language_defn" and
2423 "struct parser_state".
2424 (expout, expout_size, expout_ptr): Remove extern declarations.
2425 (parse_gdbarch, parse_language): Rewrite macro declarations to
2426 accept the parser state.
2427 (struct parser_state): New struct.
2428 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
2429 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
2430 write_exp_elt_decfloatcst, write_exp_elt_type,
2431 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
2432 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
2433 write_exp_msymbol, write_dollar_variable,
2434 mark_struct_expression, insert_type_address_space): Add "struct
2435 parser_state" argument.
2436 (increase_expout_size): New function.
2437 * utils.c (do_clear_parser_state): New function.
2438 (make_cleanup_clear_parser_state): Likewise.
2439 * utils.h (make_cleanup_clear_parser_state): New function
2440 prototype.
2441 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
2442 Update calls to write_exp* in order to pass the parser state.
2443 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
2444 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
2445 (i386_stap_parse_special_token_three_arg_disp): Likewise.
2446 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
2447 * stap-probe.c (stap_parse_register_operand): Likewise.
2448 (stap_parse_single_operand): Likewise.
2449 (stap_parse_argument_1): Likewise.
2450 (stap_parse_argument): Use parser state.
2451 * stap-probe.h: Include "parser-defs.h".
2452 (struct stap_parse_info) <pstate>: New field.
2453 * c-exp.y (parse_type): Rewrite to use parser state.
2454 (yyparse): Redefine to c_parse_internal.
2455 (pstate): New global variable.
2456 (parse_number): Add "struct parser_state" argument.
2457 (write_destructor_name): Likewise.
2458 (type_exp): Update calls to write_exp* and similars in order to
2459 use parser state.
2460 (exp1, exp, variable, qualified_name, space_identifier,
2461 typename, typebase): Likewise.
2462 (write_destructor_name, parse_number, lex_one_token,
2463 classify_name, classify_inner_name, c_parse): Add "struct
2464 parser_state" argument. Update function to use parser state.
2465 * c-lang.h: Forward declare "struct parser_state".
2466 (c_parse): Add "struct parser_state" argument.
2467 * ada-exp.y (parse_type): Rewrite macro to use parser state.
2468 (yyparse): Redefine macro to ada_parse_internal.
2469 (pstate): New variable.
2470 (write_int, write_object_renaming, write_var_or_type,
2471 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
2472 type_int, type_long, type_long_long, type_float, type_double,
2473 type_long_double, type_char, type_boolean, type_system_address):
2474 Add "struct parser_state" argument.
2475 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
2476 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
2477 var_or_type, aggregate, aggregate_component_list,
2478 positional_list, others, component_group,
2479 component_associations): Update calls to write_exp* and similar
2480 functions in order to use parser state.
2481 (ada_parse, write_var_from_sym, write_int,
2482 write_exp_op_with_string, write_object_renaming,
2483 find_primitive_type, write_selectors, write_ambiguous_var,
2484 write_var_or_type, write_name_assoc, type_int, type_long,
2485 type_long_long, type_float, type_double, type_long_double,
2486 type_char, type_boolean, type_system_address): Add "struct
2487 parser_state" argument. Adjust function to use parser state.
2488 * ada-lang.c (parse): Likewise.
2489 * ada-lang.h: Forward declare "struct parser_state".
2490 (ada_parse): Add "struct parser_state" argument.
2491 * ada-lex.l (processInt, processReal): Likewise. Adjust all
2492 calls to both functions.
2493 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
2494 parser state.
2495 (yyparse): Redefine macro to f_parse_internal.
2496 (pstate): New variable.
2497 (parse_number): Add "struct parser_state" argument.
2498 (type_exp, exp, subrange, typebase): Update calls to write_exp*
2499 and similars in order to use parser state.
2500 (parse_number): Adjust code to use parser state.
2501 (yylex): Likewise.
2502 (f_parse): New function.
2503 * f-lang.h: Forward declare "struct parser_state".
2504 (f_parse): Add "struct parser_state" argument.
2505 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
2506 parser state.
2507 (yyparse): Redefine macro for java_parse_internal.
2508 (pstate): New variable.
2509 (push_expression_name, push_expression_name, insert_exp): Add
2510 "struct parser_state" argument.
2511 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
2512 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
2513 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
2514 PostIncrementExpression, PostDecrementExpression,
2515 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
2516 UnaryExpressionNotPlusMinus, CastExpression,
2517 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
2518 RelationalExpression, EqualityExpression, AndExpression,
2519 ExclusiveOrExpression, InclusiveOrExpression,
2520 ConditionalAndExpression, ConditionalOrExpression,
2521 ConditionalExpression, Assignment, LeftHandSide): Update
2522 calls to write_exp* and similars in order to use parser state.
2523 (parse_number): Ajust code to use parser state.
2524 (yylex): Likewise.
2525 (java_parse): New function.
2526 (push_variable): Add "struct parser_state" argument. Adjust
2527 code to user parser state.
2528 (push_fieldnames, push_qualified_expression_name,
2529 push_expression_name, insert_exp): Likewise.
2530 * jv-lang.h: Forward declare "struct parser_state".
2531 (java_parse): Add "struct parser_state" argument.
2532 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
2533 parser state.
2534 (yyparse): Redefine macro to m2_parse_internal.
2535 (pstate): New variable.
2536 (type_exp, exp, fblock, variable, type): Update calls to
2537 write_exp* and similars to use parser state.
2538 (yylex): Likewise.
2539 (m2_parse): New function.
2540 * m2-lang.h: Forward declare "struct parser_state".
2541 (m2_parse): Add "struct parser_state" argument.
2542 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
2543 * objc-lang.h: Forward declare "struct parser_state".
2544 (end_msglist): Add "struct parser_state" argument.
2545 * p-exp.y (parse_type): Rewrite macro to use parser state.
2546 (yyparse): Redefine macro to pascal_parse_internal.
2547 (pstate): New variable.
2548 (parse_number): Add "struct parser_state" argument.
2549 (type_exp, exp1, exp, qualified_name, variable): Update calls to
2550 write_exp* and similars in order to use parser state.
2551 (parse_number, yylex): Adjust code to use parser state.
2552 (pascal_parse): New function.
2553 * p-lang.h: Forward declare "struct parser_state".
2554 (pascal_parse): Add "struct parser_state" argument.
2555 * go-exp.y (parse_type): Rewrite macro to use parser state.
2556 (yyparse): Redefine macro to go_parse_internal.
2557 (pstate): New variable.
2558 (parse_number): Add "struct parser_state" argument.
2559 (type_exp, exp1, exp, variable, type): Update calls to
2560 write_exp* and similars in order to use parser state.
2561 (parse_number, lex_one_token, classify_name, yylex): Adjust code
2562 to use parser state.
2563 (go_parse): Likewise.
2564 * go-lang.h: Forward declare "struct parser_state".
2565 (go_parse): Add "struct parser_state" argument.
2566
2567 2014-03-27 Doug Evans <dje@google.com>
2568
2569 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
2570
2571 2014-03-27 Doug Evans <dje@google.com>
2572
2573 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
2574 Remove argument abbrev_section. All callers updated.
2575
2576 2014-03-27 Doug Evans <dje@google.com>
2577
2578 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
2579 addr_base, ranges_base.
2580
2581 2014-03-26 Keith Seitz <keiths@redhat.com>
2582
2583 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
2584 types, not VAR_DOMAIN.
2585
2586 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
2587
2588 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
2589 "ra" registers.
2590 * features/nios2-linux.c: Regenerated.
2591 * features/nios2.c: Regenerated.
2592
2593 2014-03-25 Pedro Alves <palves@redhat.com>
2594
2595 * cli/cli-script.c (script_from_file): Force the interpreter to
2596 sync mode.
2597
2598 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
2599
2600 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
2601 small stack allocation.
2602
2603 2014-03-24 Tristan Gingold <gingold@adacore.com>
2604
2605 * darwin-nat.c (exc_server): Remove unused prototype.
2606 (darwin_dump_message): Correctly display data on x86_64.
2607 (darwin_encode_reply): Fix style.
2608 Add comments and fix indentation.
2609
2610 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
2611
2612 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
2613
2614 2014-03-22 Doug Evans <xdje42@gmail.com>
2615
2616 * infcmd.c: Whitespace fixes.
2617 (interrupt_command): Merge two function comments into one.
2618
2619 2014-03-22 Doug Evans <xdje42@gmail.com>
2620
2621 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
2622 All uses updated.
2623
2624 2014-03-22 Yao Qi <yao@codesourcery.com>
2625
2626 * remote.c (target_read_live_memory): Remove.
2627 (memory_xfer_live_readonly_partial): Rename it to
2628 remote_xfer_live_readonly_partial. Remove argument 'object'.
2629 All callers updated. Call remote_read_bytes_1
2630 instead of target_read_live_memory.
2631 * tracepoint.c (set_traceframe_number): Remove.
2632 (make_cleanup_restore_traceframe_number): Likewise .
2633 * tracepoint.h (set_traceframe_number): Remove declaration.
2634 (make_cleanup_restore_traceframe_number): Likewise.
2635
2636 2014-03-22 Yao Qi <yao@codesourcery.com>
2637
2638 * remote.c (remote_read_bytes): Move code on reading from the
2639 remote stub to ...
2640 (remote_read_bytes_1): ... here. New function.
2641
2642 2014-03-22 Yao Qi <yao@codesourcery.com>
2643
2644 * ctf.c (ctf_xfer_partial): Check the return value of
2645 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
2646 return TARGET_XFER_UNAVAILABLE.
2647 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2648 * target.c (target_read_live_memory): Move it to remote.c.
2649 (memory_xfer_live_readonly_partial): Likewise.
2650 (memory_xfer_partial_1): Move some code to remote_read_bytes.
2651 * remote.c (target_read_live_memory): Moved from target.c.
2652 (memory_xfer_live_readonly_partial): Likewise.
2653 (remote_read_bytes): Factored out from
2654 memory_xfer_partial_1.
2655
2656 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
2657
2658 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
2659 NULL pointer.
2660
2661 2014-03-21 Pedro Alves <palves@redhat.com>
2662
2663 * infrun.c (normal_stop): Extend comment.
2664
2665 2014-03-21 Hui Zhu <hui@codesourcery.com>
2666 Pedro Alves <palves@redhat.com>
2667
2668 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
2669 static buffer.
2670 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
2671 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
2672 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
2673
2674 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
2675
2676 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
2677 `z' formatted output modifier.
2678
2679 2014-03-20 Tom Tromey <tromey@redhat.com>
2680 Sergio Durigan Junior <sergiodj@redhat.com>
2681
2682 * probe.c (parse_probes): Turn assert into an ordinary error.
2683 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
2684 exceptions when parsing probes. Rearrange the code for clarity.
2685
2686 2014-03-20 Tom Tromey <tromey@redhat.com>
2687
2688 PR gdb/14135
2689 * top.c (execute_command): Only dispatch events if the command
2690 started the target.
2691
2692 2014-03-20 Tom Tromey <tromey@redhat.com>
2693
2694 PR cli/15718
2695 * infcall.c: Include event-top.h.
2696 (run_inferior_call): Call async_disable_stdin if needed.
2697
2698 2014-03-20 Pedro Alves <palves@redhat.com>
2699
2700 * infrun.c (prepare_to_proceed): Delete.
2701 (thread_still_needs_step_over): New function.
2702 (find_thread_needs_step_over): New function.
2703 (proceed): If the current thread needs a step-over, set its
2704 steping_over_breakpoint flag. Adjust to use
2705 find_thread_needs_step_over instead of prepare_to_proceed.
2706 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
2707 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
2708 breakpoint.
2709 (switch_back_to_stepped_thread): Step over breakpoints of all
2710 threads not the stepping thread, before switching back to the
2711 stepping thread.
2712
2713 2014-03-20 Pedro Alves <palves@redhat.com>
2714
2715 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
2716 extern.
2717 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
2718 * infrun.c (saved_singlestep_ptid)
2719 (stepping_past_singlestep_breakpoint): Delete.
2720 (resume): Remove stepping_past_singlestep_breakpoint handling.
2721 (proceed): Store the prev_pc of the stepping thread too.
2722 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
2723 singlestep_pc.
2724 (enum infwait_states): Delete infwait_thread_hop_state.
2725 (struct execution_control_state) <hit_singlestep_breakpoint>: New
2726 field.
2727 (handle_inferior_event): Adjust.
2728 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
2729 handling and the thread-hop code. Before removing single-step
2730 breakpoints, check whether the thread hit a single-step breakpoint
2731 of another thread. If it did, the trap is not a random signal.
2732 (switch_back_to_stepped_thread): If the event thread hit a
2733 single-step breakpoint, unblock it before switching to the
2734 stepping thread. Handle the case of the stepped thread having
2735 advanced already.
2736 (keep_going): Handle the case of the current thread moving past a
2737 single-step breakpoint.
2738
2739 2014-03-20 Pedro Alves <palves@redhat.com>
2740
2741 PR breakpoints/7143
2742 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
2743 are being stepped over.
2744 (breakpoint_address_match): Make extern.
2745 * breakpoint.h (breakpoint_address_match): New declaration.
2746 * inferior.h (stepping_past_instruction_at): New declaration.
2747 * infrun.c (struct step_over_info): New type.
2748 (step_over_info): New global.
2749 (set_step_over_info, clear_step_over_info)
2750 (stepping_past_instruction_at): New functions.
2751 (handle_inferior_event): Clear the step-over info when
2752 trap_expected is cleared.
2753 (resume): Remove now stale comment.
2754 (clear_proceed_status): Clear step-over info.
2755 (proceed): Adjust step-over handling to set or clear the step-over
2756 info instead of removing all breakpoints.
2757 (handle_signal_stop): When setting up a thread-hop, don't remove
2758 breakpoints here.
2759 (stop_stepping): Clear step-over info.
2760 (keep_going): Adjust step-over handling to set or clear step-over
2761 info and then always inserting breakpoints, instead of removing
2762 all breakpoints when stepping over one.
2763
2764 2014-03-20 Pedro Alves <palves@redhat.com>
2765
2766 * infrun.c (previous_inferior_ptid): Adjust comment.
2767 (deferred_step_ptid): Delete.
2768 (infrun_thread_ptid_changed, prepare_to_proceed)
2769 (init_wait_for_inferior): Adjust.
2770 (handle_signal_stop): Delete deferred_step_ptid handling.
2771
2772 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2773
2774 PR gdb/15358
2775 * defs.h (sync_quit_force_run): New declaration.
2776 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
2777 * event-top.c (async_sigterm_handler): New declaration.
2778 (async_sigterm_token): New variable.
2779 (async_init_signals): Create also async_sigterm_token.
2780 (async_sigterm_handler): New function.
2781 (sync_quit_force_run): New variable.
2782 (handle_sigterm): Replace quit_force call by other calls.
2783 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
2784
2785 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
2786
2787 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
2788 offset into SPE pseudo registers.
2789
2790 2014-03-18 Pedro Alves <palves@redhat.com>
2791
2792 PR gdb/13860
2793 * inferior.h (print_stop_event): Declare.
2794 * infrun.c (print_stop_event): New, factored out from ...
2795 (normal_stop): ... this.
2796 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
2797 of bpstat_print/print_stack_frame.
2798
2799 2014-03-17 Tom Tromey <tromey@redhat.com>
2800
2801 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
2802
2803 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
2804
2805 * ada-lang.c (decode_constrained_packed_array): Perform a
2806 minimal coercion for reference with coerce_ref instead of
2807 ada_coerce_ref.
2808
2809 2014-03-17 Tristan Gingold <gingold@adacore.com>
2810
2811 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
2812 (darwin_solib_create_inferior_hook): Emit a warning if version
2813 is unhandled.
2814
2815 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
2816
2817 * python/py-value.c (get_field_flag): Cast flag_name argument to
2818 PyObject_GetAttrString to support Python 2.4.
2819
2820 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2821
2822 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
2823 (Global Maintainers): Remove Jan Kratochvil.
2824
2825 2014-03-14 Pedro Alves <palves@redhat.com>
2826
2827 * inferior.h (terminal_ours_for_output): Rename to ...
2828 (child_terminal_ours_for_output): ... this.
2829 (terminal_save_ours): Rename to ...
2830 (child_terminal_save_ours): ... this.
2831 (terminal_ours): Rename to ...
2832 (child_terminal_ours): ... this.
2833 (terminal_inferior): Rename to ...
2834 (child_terminal_inferior): ... this.
2835 (terminal_init_inferior): Rename to ...
2836 (child_terminal_init_inferior): ... this.
2837 (terminal_init_inferior_with_pgrp): Rename to ...
2838 (child_terminal_init_inferior_with_pgrp): ... this.
2839 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
2840 (child_terminal_init_with_pgrp): ... this.
2841 (terminal_save_ours): Rename to ...
2842 (child_terminal_save_ours): ... this.
2843 (terminal_init_inferior): Rename to ...
2844 (child_terminal_init): ... this. Adjust.
2845 (terminal_inferior): Rename to ...
2846 (child_terminal_inferior): ... this.
2847 (terminal_ours_for_output): Rename to ...
2848 (child_terminal_ours_for_output): ... this. Adjust.
2849 (terminal_ours): Rename to ...
2850 (child_terminal_ours): ... this.
2851 (terminal_ours_1): Rename to ...
2852 (child_terminal_ours_1): ... this. Adjust.
2853 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
2854 * windows-nat.c (do_initial_windows_stuff): Adjust.
2855 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
2856 (gnu_terminal_init): ... this. Adjust.
2857 (gnu_target): Adjust.
2858 * inf-child.c (inf_child_target): Adjust.
2859
2860 2014-03-13 Doug Evans <xdje42@gmail.com>
2861
2862 PR guile/16612
2863 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
2864 new eq?-hashtab.
2865
2866 2014-03-13 Doug Evans <xdje42@gmail.com>
2867
2868 * value.c (record_latest_value): Call release_value_or_incref
2869 instead of release_value.
2870
2871 2014-03-13 Pedro Alves <palves@redhat.com>
2872
2873 * procfs.c (procfs_target): Don't override to_shortname,
2874 to_longname or to_doc.
2875
2876 2014-03-13 Pedro Alves <palves@redhat.com>
2877
2878 * inf-child.c (inf_child_open, inf_child_target): Don't mention
2879 Unix in user visible strings.
2880
2881 2014-03-12 Stan Shebs <stan@codesourcery.com>
2882
2883 * gdbtypes.h: Annotate comments for Doxygen, add a page
2884 block comment with some general info.
2885
2886 2014-03-12 Pedro Alves <palves@redhat.com>
2887
2888 * infcmd.c (prepare_execution_command): New function, factored out
2889 from several execution commands.
2890 (run_command_1, continue_command, step_1, jump_command)
2891 (signal_command, until_command, advance_command, finish_command)
2892 (attach_command): Use prepare_execution_command.
2893
2894 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
2895
2896 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
2897 (MAX_BPTS): Define.
2898 (MAX_WPTS): Define.
2899 (struct arm_linux_thread_points): Removed.
2900 (struct arm_linux_process_info): New.
2901 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
2902 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
2903 (arm_linux_find_breakpoints_by_tid): Removed.
2904 (struct arch_lwp_info): New.
2905 (arm_linux_find_process_pid): New functions.
2906 (arm_linux_add_process): New functions.
2907 (arm_linux_process_info_get): New functions.
2908 (arm_linux_forget_process): New function.
2909 (arm_linux_get_debug_reg_state): New function.
2910 (struct update_registers_data): New.
2911 (update_registers_callback): New function.
2912 (arm_linux_insert_hw_breakpoint1): Updated.
2913 (arm_linux_remove_hw_breakpoint1): Updated.
2914 (arm_linux_insert_hw_breakpoint): Updated.
2915 (arm_linux_remove_hw_breakpoint): Updated.
2916 (arm_linux_insert_watchpoint): Updated.
2917 (arm_linux_remove_watchpoint): Updated.
2918 (arm_linux_new_thread): Updated.
2919 (arm_linux_prepare_to_resume): New function.
2920 (arm_linux_new_fork): New function.
2921 (_initialize_arm_linux_nat): Updated.
2922
2923 2014-03-12 Pedro Alves <palves@redhat.com>
2924
2925 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
2926
2927 2014-03-12 Tom Tromey <tromey@redhat.com>
2928
2929 * inf-child.c (return_zero): New function.
2930 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
2931 * aix-thread.c (aix_thread_inferior_created): New function.
2932 (aix_thread_attach): Remove.
2933 (init_aix_thread_ops): Don't set to_attach.
2934 (_initialize_aix_thread): Register inferior_created observer.
2935 * corelow.c (init_core_ops): Don't set to_attach or
2936 to_create_inferior.
2937 * exec.c (init_exec_ops): Don't set to_attach or
2938 to_create_inferior.
2939 * infcmd.c (run_command_1): Use find_run_target. Make direct
2940 target calls.
2941 (attach_command): Use find_attach_target. Make direct target
2942 calls.
2943 * record-btrace.c (init_record_btrace_ops): Don't set
2944 to_create_inferior.
2945 * record-full.c (record_full_can_async_p, record_full_is_async_p):
2946 Remove.
2947 (init_record_full_ops, init_record_full_core_ops): Update. Don't
2948 set to_create_inferior.
2949 * target.c (complete_target_initialization): Add assertion.
2950 (target_create_inferior): Remove.
2951 (find_default_attach, find_default_create_inferior): Remove.
2952 (find_attach_target, find_run_target): New functions.
2953 (find_default_is_async_p, find_default_can_async_p)
2954 (target_supports_non_stop, target_attach): Remove.
2955 (init_dummy_target): Don't set to_create_inferior or
2956 to_supports_non_stop.
2957 * target.h (struct target_ops) <to_attach>: Add comment. Remove
2958 TARGET_DEFAULT_FUNC.
2959 <to_create_inferior>: Add comment.
2960 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
2961 TARGET_DEFAULT_RETURN.
2962 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
2963 (find_attach_target, find_run_target): Declare.
2964 (target_create_inferior): Remove.
2965 (target_has_execution_1): Update comment.
2966 (target_supports_non_stop): Remove.
2967 * target-delegates.c: Rebuild.
2968
2969 2014-03-12 Pedro Alves <palves@redhat.com>
2970
2971 * inf-child.h: Update comment to not mention Unix.
2972
2973 2014-03-12 Pedro Alves <palves@redhat.com>
2974
2975 * inf-child.c: Update top comment to not mention Unix. Add
2976 generic comment describing how this target is meant to be used.
2977 (inf_child_post_attach, inf_child_post_startup_inferior)
2978 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
2979 Unix in comment.
2980
2981 2014-03-12 Pedro Alves <palves@redhat.com>
2982
2983 * nto-procfs.c: Include inf-child.h.
2984 (procfs_ops): Delete global.
2985 (procfs_can_run): Delete method.
2986 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
2987 target pointer instead of referencing procfs_ops.
2988 (procfs_prepare_to_store): Delete.
2989 (init_procfs_ops): Delete function.
2990 (procfs_target): New function, based on init_procfs_ops, but
2991 inherit inf_child_target.
2992 (_initialize_procfs): Use procfs_target.
2993
2994 2014-03-12 Pedro Alves <palves@redhat.com>
2995
2996 * windows-nat.c: Include inf-child.h.
2997 (windows_ops): Delete global.
2998 (windows_open, windows_prepare_to_store, windows_can_run): Delete
2999 methods.
3000 (init_windows_ops): Delete function.
3001 (windows_target): New function, based on init_windows_ops, but
3002 inherit inf_child_target.
3003 (_initialize_windows_nat): Use windows_target. Install x86
3004 specific target methods here.
3005
3006 2014-03-10 Doug Evans <xdje42@gmail.com>
3007
3008 * guile/guile.c (call_initialize_gdb_module): New function.
3009 (initialize_guile): Replace call to scm_init_guile with call to
3010 scm_with_guile.
3011
3012 2014-03-10 Joel Brobecker <brobecker@adacore.com>
3013
3014 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
3015 in call to TYPE_CODE macro.
3016
3017 2014-03-10 Jerome Guitton <guitton@adacore.com>
3018
3019 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
3020 Resolve tagged types to full view.
3021
3022 2014-03-10 Hui Zhu <hui@codesourcery.com>
3023
3024 * target.h (target_insert_breakpoint): Remove "hardware" from its
3025 comments.
3026
3027 2014-03-07 Doug Evans <dje@google.com>
3028
3029 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
3030
3031 2014-03-07 Doug Evans <dje@google.com>
3032
3033 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
3034 Remove unused local comp_dir_attr. Assert exactly one of
3035 stub_comp_unit_die, stub_comp_dir is non-NULL.
3036
3037 2014-03-07 Joel Brobecker <brobecker@adacore.com>
3038
3039 * target.h (complete_target_initialization, add_target):
3040 Add comment.
3041
3042 2014-03-07 Pedro Alves <palves@redhat.com>
3043
3044 * go32-nat.c: Include inf-child.h.
3045 (go32_ops): Delete global.
3046 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
3047 Delete methods.
3048 (go32_create_inferior): Push the passed in target pointer instead
3049 of referencing go32_ops.
3050 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
3051 (go32_target): New function, based on init_go32_ops, but inherit
3052 inf_child_target.
3053 (_initialize_go32_nat): Use go32_target. Move parts of
3054 init_go32_ops here.
3055
3056 2014-03-06 Joel Brobecker <brobecker@adacore.com>
3057
3058 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
3059 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
3060 SYMBOL_VALUE_ADDRESS.
3061 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
3062
3063 2014-03-06 Yao Qi <yao@codesourcery.com>
3064
3065 * breakpoint.c (get_tracepoint_by_number): Remove argument
3066 optional_p. All callers updated. Adjust comments. Update
3067 output message.
3068 * breakpoint.h (get_tracepoint_by_number): Update declaration.
3069
3070 2014-03-06 Yao Qi <yao@codesourcery.com>
3071
3072 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
3073 early if get_number returns zero. Use 'p' instead of 'args'.
3074
3075 2014-03-06 Yao Qi <yao@codesourcery.com>
3076
3077 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
3078 message.
3079
3080 2014-03-06 Yao Qi <yao@codesourcery.com>
3081
3082 PR breakpoints/16508
3083 * tracepoint.c (check_trace_running): New function.
3084 (trace_find_command): Move code to check_trace_running and
3085 call check_trace_running.
3086 (trace_find_pc_command): Likewise.
3087 (trace_find_tracepoint_command): Likewise.
3088 (trace_find_line_command): Likewise.
3089 (trace_find_range_command): Likewise.
3090 * tracepoint.h (check_trace_running): Likewise.
3091 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
3092
3093 2014-03-06 Yao Qi <yao@codesourcery.com>
3094
3095 * target.h (struct target_ops) <to_traceframe_info>: Use
3096 TARGET_DEFAULT_NORETURN (tcomplain ()).
3097 * target-delegates.c: Regenerated.
3098
3099 2014-03-05 Pedro Alves <palves@redhat.com>
3100
3101 PR gdb/16575
3102 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
3103 void. Update comment.
3104 (dcache_xfer_memory): Delete.
3105 (dcache_read_memory_partial): New, based on the read bits of
3106 dcache_xfer_memory.
3107 (dcache_update): Add status parameter. Use ULONGEST for len, and
3108 adjust. Discard cache lines if the reason for the update was
3109 error.
3110 * dcache.h (dcache_xfer_memory): Delete declaration.
3111 (dcache_read_memory_partial): New declaration.
3112 (dcache_update): Update prototype.
3113 * target.c (raw_memory_xfer_partial): Update the dcache here.
3114 (memory_xfer_partial_1): Don't handle dcache writes here.
3115
3116 2014-03-05 Mike Frysinger <vapier@gentoo.org>
3117
3118 * remote-sim.c (gdbsim_load): Add const to prog.
3119
3120 2014-03-03 Tom Tromey <tromey@redhat.com>
3121
3122 * elfread.c (probe_key): Change to bfd_data.
3123 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
3124 now per-BFD, not per-objfile.
3125 * stap-probe.c (stap_probe_destroy): Update comment.
3126 (handle_stap_probe): Allocate on the per-BFD obstack.
3127
3128 2014-03-03 Tom Tromey <tromey@redhat.com>
3129
3130 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
3131 * breakpoint.c (create_longjmp_master_breakpoint): Use
3132 get_probe_address.
3133 (add_location_to_breakpoint, bkpt_probe_insert_location)
3134 (bkpt_probe_remove_location): Update.
3135 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
3136 * elfread.c (elf_symfile_relocate_probe): Remove.
3137 (elf_probe_fns): Update.
3138 (insert_exception_resume_breakpoint): Change type of "probe"
3139 parameter to bound_probe.
3140 (check_exception_resume): Update.
3141 * objfiles.c (objfile_relocate1): Don't relocate probes.
3142 * probe.c (bound_probe_s): New typedef.
3143 (parse_probes): Use get_probe_address. Set sal's objfile.
3144 (find_probe_by_pc): Return a bound_probe.
3145 (collect_probes): Return a VEC(bound_probe_s).
3146 (compare_probes): Update.
3147 (gen_ui_out_table_header_info): Change type of "probes"
3148 parameter. Update.
3149 (info_probes_for_ops): Update.
3150 (get_probe_address): New function.
3151 (probe_safe_evaluate_at_pc): Update.
3152 * probe.h (struct probe_ops) <get_probe_address>: New field.
3153 <set_semaphore, clear_semaphore>: Add objfile parameter.
3154 (struct probe) <objfile>: Remove field.
3155 <arch>: New field.
3156 <address>: Update comment.
3157 (struct bound_probe): New.
3158 (find_probe_by_pc): Return a bound_probe.
3159 (get_probe_address): Declare.
3160 * solib-svr4.c (struct probe_and_action) <address>: New field.
3161 (hash_probe_and_action, equal_probe_and_action): Update.
3162 (register_solib_event_probe): Add address parameter.
3163 (solib_event_probe_at): Update.
3164 (svr4_create_probe_breakpoints): Add objfile parameter. Use
3165 get_probe_address.
3166 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
3167 (stap_get_probe_address): New function.
3168 (stap_can_evaluate_probe_arguments, compute_probe_arg)
3169 (compile_probe_arg): Update.
3170 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
3171 address.
3172 (handle_stap_probe): Don't relocate the probe.
3173 (stap_relocate): Remove.
3174 (stap_gen_info_probes_table_values): Update.
3175 (stap_probe_ops): Remove stap_relocate.
3176 * symfile-debug.c (debug_sym_relocate_probe): Remove.
3177 (debug_sym_probe_fns): Update.
3178 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
3179 * symtab.c (init_sal): Use memset.
3180 * symtab.h (struct symtab_and_line) <objfile>: New field.
3181 * tracepoint.c (start_tracing, stop_tracing): Update.
3182
3183 2014-03-03 Tom Tromey <tromey@redhat.com>
3184
3185 * probe.h (parse_probes, find_probe_by_pc)
3186 (find_probes_in_objfile): Fix comments.
3187
3188 2014-03-02 Doug Evans <xdje42@gmail.com>
3189
3190 * infrun.c (handle_signal_stop): Replace test for
3191 TARGET_WAITKIND_STOPPED with an assert.
3192
3193 2014-03-02 Doug Evans <xdje42@gmail.com>
3194
3195 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
3196
3197 2014-03-02 Doug Evans <xdje42@gmail.com>
3198
3199 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
3200
3201 2014-03-01 Mark Kettenis <kettenis@gnu.org>
3202
3203 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
3204
3205 2014-03-01 Mark Kettenis <kettenis@gnu.org>
3206
3207 * i386obsd-nat.c: Include "obsd-nat.h".
3208 (_initialize_i386obsd_nat): Call obsd_add_target instead of
3209 add_target.
3210 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
3211
3212 2014-03-01 Mark Kettenis <kettenis@gnu.org>
3213
3214 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
3215
3216 2014-03-01 Mark Kettenis <kettenis@gnu.org>
3217
3218 * mips64obsd-nat.c: Include "obsd-nath".
3219 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
3220 add_target
3221 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
3222
3223 2014-03-01 Mark Kettenis <kettenis@gnu.org>
3224
3225 * amd64obsd-nat.c: Include "obsd-nat,h.
3226 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
3227 add_target.
3228 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
3229
3230 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
3231
3232 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
3233 (find_overload_match): Update call to find_oload_champ.
3234 (find_oload_champ_namespace_loop): Likewise
3235
3236 2014-02-28 Mark Kettenis <kettenis@gnu.org>
3237
3238 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
3239
3240 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
3241 * config/sparc/obsd64.mh: New file.
3242 * sparc64obsd-nat.c: New file.
3243
3244 * obsd-nat.h: New file.
3245 * obsd-nat.c: New file.
3246 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
3247 (ALLDEPFILES): Add obsd-nat.c.
3248
3249 2014-02-28 Tom Tromey <tromey@redhat.com>
3250
3251 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
3252 * cli-out.h (cli_ui_out_impl): Now const.
3253 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
3254 * ui-out.c (struct ui_out) <impl>: Now const.
3255 (default_ui_out_impl): Now const.
3256 (ui_out_new): Make 'impl' parameter const.
3257 * ui-out.h (ui_out_new): Update.
3258
3259 2014-02-27 Mark Kettenis <kettenis@gnu.org>
3260
3261 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
3262
3263 2014-02-27 Mark Kettenis <kettenis@gnu.org>
3264
3265 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
3266
3267 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3268
3269 Additional PR 8882 fix.
3270 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
3271
3272 2014-02-27 Pedro Alves <palves@redhat.com>
3273
3274 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
3275 isn't set.
3276
3277 2014-02-27 Pedro Alves <palves@redhat.com>
3278
3279 PR 12702
3280 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
3281 * nat/linux-waitpid.c: Include string.h.
3282 (status_to_str): Moved here and made extern.
3283 * nat/linux-waitpid.h (status_to_str): New declaration.
3284
3285 2014-02-27 Hui Zhu <hui@codesourcery.com>
3286
3287 PR 12702
3288 * infrun.c (ptid_match): Move ...
3289 * common/ptid.c (ptid_match): ... here.
3290 * inferior.h (ptid_match): Move ...
3291 * common/ptid.h (ptid_match): ... here.
3292
3293 2014-02-27 Mark Kettenis <kettenis@gnu.org>
3294
3295 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
3296 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
3297 gdb_target_obs.
3298
3299 2014-02-27 Mark Kettenis <kettenis@gnu.org>
3300
3301 * obsd-tdep.c (obsd_auxv_parse): New function.
3302 (obsd_init_abi): Set auxv_parse.
3303
3304 * gdbarch.sh (auxv_parse): New.
3305 * gdbarch.h: Regenerated.
3306 * gdbarch.c: Regenerated.
3307 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
3308
3309 2014-02-26 Ludovic Courtès <ludo@gnu.org>
3310
3311 * guile/scm-value.c (gdbscm_history_append_x): New function.
3312 (value_functions): Add it.
3313
3314 2014-02-27 Joel Brobecker <brobecker@adacore.com>
3315
3316 * dwarf2read.c (attr_value_as_address): New function.
3317 (dwarf2_find_base_address, read_call_site_scope): Use
3318 attr_value_as_address in place of DW_ADDR.
3319 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
3320 the low and high addresses. Slight rework of the handling
3321 of the high pc being a constant form, and limit it to
3322 DWARF verson 4 or higher.
3323 (dwarf2_record_block_ranges): Likewise.
3324 (read_partial_die): Likewise.
3325 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
3326
3327 2014-02-26 Tom Tromey <tromey@redhat.com>
3328
3329 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
3330
3331 2014-02-26 Tom Tromey <tromey@redhat.com>
3332
3333 * elfread.c (elf_read_minimal_symbols): Return early if
3334 minimal symbols have already been read. Add "ei" parameter.
3335 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
3336 * minsyms.c (prim_record_minimal_symbol_full): Update.
3337 * objfiles.h (struct objstats) <n_minsyms>: Move...
3338 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
3339 * symmisc.c (print_objfile_statistics): Update.
3340
3341 2014-02-26 Tom Tromey <tromey@redhat.com>
3342
3343 * elfread.c (elf_read_minimal_symbols): New function, from
3344 elf_symfile_read.
3345 (elf_symfile_read): Call it.
3346
3347 2014-02-26 Tom Tromey <tromey@redhat.com>
3348
3349 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
3350 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
3351 (lookup_minimal_symbol_solib_trampoline)
3352 (lookup_minimal_symbol_by_pc_section_1)
3353 (lookup_minimal_symbol_and_objfile): Update.
3354 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
3355 Don't allocate a minimal symbol if minsyms have already been read.
3356 (build_minimal_symbol_hash_tables): Update.
3357 (install_minimal_symbols): Do nothing if minsyms already read.
3358 Use the per-BFD obstack.
3359 (terminate_minimal_symbol_table): Use the per-BFD obstack.
3360 * objfiles.c (allocate_objfile): Call
3361 terminate_minimal_symbol_table later.
3362 (have_minimal_symbols): Update.
3363 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
3364 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
3365 Move from struct objfile.
3366 <minsyms_read>: New field.
3367 (struct objfile) <msymbols, minimal_symbol_count,
3368 msymbol_hash, msymbol_demangled_hash>: Move.
3369 (ALL_OBJFILE_MSYMBOLS): Update.
3370 * symfile.c (read_symbols): Set minsyms_read.
3371 (reread_symbols): Update.
3372 * symmisc.c (dump_objfile, dump_msymbols): Update.
3373
3374 2014-02-26 Tom Tromey <tromey@redhat.com>
3375
3376 * minsyms.c (msymbols_sort): Remove.
3377 * minsyms.h (msymbols_sort): Remove.
3378 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
3379 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
3380 * elfread.c (elf_symtab_read): Don't add section offsets.
3381 * xcoffread.c (record_minimal_symbol): Don't add section offset
3382 to minimal symbol address.
3383 * somread.c (text_offset, data_offset): Remove.
3384 (som_symtab_read): Don't add section offsets to minimal symbol
3385 addresses.
3386 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
3387 Don't add section offsets to minimal symbols.
3388 * coffread.c (coff_symtab_read): Don't add section offsets
3389 to minimal symbol addresses.
3390 * machoread.c (macho_symtab_add_minsym): Don't add section offset
3391 to minimal symbol addresses.
3392 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
3393 section offset to minimal symbol addresses.
3394 * mdebugread.c (parse_partial_symbols): Don't add section
3395 offset to minimal symbol addresses.
3396 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
3397 offset to minimal symbol addresses.
3398
3399 2014-02-26 Tom Tromey <tromey@redhat.com>
3400
3401 * ada-lang.c (ada_main_name): Update.
3402 (ada_add_standard_exceptions): Update.
3403 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
3404 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
3405 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
3406 * auxv.c (ld_so_xfer_auxv): Update.
3407 * avr-tdep.c (avr_scan_prologue): Update.
3408 * ax-gdb.c (gen_var_ref): Update.
3409 * blockframe.c (get_pc_function_start)
3410 (find_pc_partial_function_gnu_ifunc): Update.
3411 * breakpoint.c (create_overlay_event_breakpoint)
3412 (create_longjmp_master_breakpoint)
3413 (create_std_terminate_master_breakpoint)
3414 (create_exception_master_breakpoint): Update.
3415 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
3416 * c-valprint.c (c_val_print): Update.
3417 * coff-pe-read.c (add_pe_forwarded_sym): Update.
3418 * common/agent.c (agent_look_up_symbols): Update.
3419 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
3420 * dwarf2loc.c (call_site_to_target_addr): Update.
3421 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
3422 * elfread.c (elf_gnu_ifunc_record_cache)
3423 (elf_gnu_ifunc_resolve_by_got): Update.
3424 * findvar.c (default_read_var_value): Update.
3425 * frame.c (inside_main_func): Update.
3426 * frv-tdep.c (frv_frame_this_id): Update.
3427 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
3428 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
3429 Update.
3430 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
3431 (hppa_hpux_find_dummy_bpaddr): Update.
3432 * hppa-tdep.c (hppa_symbol_address): Update.
3433 * infcmd.c (until_next_command): Update.
3434 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
3435 Update.
3436 * linespec.c (minsym_found, add_minsym): Update.
3437 * linux-nat.c (get_signo): Update.
3438 * linux-thread-db.c (inferior_has_bug): Update.
3439 * m32c-tdep.c (m32c_return_value)
3440 (m32c_m16c_address_to_pointer): Update.
3441 * m32r-tdep.c (m32r_frame_this_id): Update.
3442 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
3443 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
3444 * maint.c (maintenance_translate_address): Update.
3445 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
3446 (frob_address): New function.
3447 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
3448 frob_address. Rename parameter to "pc_in".
3449 (compare_minimal_symbols, compact_minimal_symbols): Use raw
3450 addresses.
3451 (find_solib_trampoline_target, minimal_symbol_upper_bound):
3452 Update.
3453 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
3454 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
3455 * objc-lang.c (find_objc_msgsend): Update.
3456 * objfiles.c (objfile_relocate1): Update.
3457 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
3458 * p-valprint.c (pascal_val_print): Update.
3459 * parse.c (write_exp_msymbol): Update.
3460 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
3461 (ppc_elfv2_skip_entrypoint): Update.
3462 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
3463 * printcmd.c (build_address_symbolic, msym_info)
3464 (address_info): Update.
3465 * proc-service.c (ps_pglobal_lookup): Update.
3466 * psymtab.c (find_pc_sect_psymtab_closer)
3467 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
3468 Change msymbol parameter to bound_minimal_symbol.
3469 * ravenscar-thread.c (get_running_thread_id): Update.
3470 * remote.c (remote_check_symbols): Update.
3471 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
3472 address.
3473 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
3474 * solib-dsbt.c (lm_base): Update.
3475 * solib-frv.c (lm_base, main_got): Update.
3476 * solib-irix.c (locate_base): Update.
3477 * solib-som.c (som_solib_create_inferior_hook)
3478 (link_map_start): Update.
3479 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
3480 * solib-svr4.c (elf_locate_base, enable_break): Update.
3481 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
3482 (flush_ea_cache): Update.
3483 * stabsread.c (define_symbol, scan_file_globals): Update.
3484 * stack.c (find_frame_funname): Update.
3485 * symfile-debug.c (debug_qf_expand_symtabs_matching)
3486 (debug_qf_find_pc_sect_symtab): Update.
3487 * symfile.c (simple_read_overlay_table)
3488 (simple_overlay_update): Update.
3489 * symfile.h (struct quick_symbol_functions)
3490 <find_pc_sect_symtab>: Change type of msymbol to
3491 bound_minimal_symbol.
3492 * symmisc.c (dump_msymbols): Update.
3493 * symtab.c (find_pc_sect_symtab_via_partial)
3494 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
3495 (search_symbols, print_msymbol_info): Update.
3496 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
3497 (MSYMBOL_VALUE_ADDRESS): Redefine.
3498 (BMSYMBOL_VALUE_ADDRESS): New macro.
3499 * tracepoint.c (scope_info): Update.
3500 * tui/tui-disasm.c (tui_find_disassembly_address)
3501 (tui_get_begin_asm_address): Update.
3502 * valops.c (find_function_in_inferior): Update.
3503 * value.c (value_static_field, value_fn_field): Update.
3504
3505 2014-02-26 Tom Tromey <tromey@redhat.com>
3506
3507 * ada-lang.c (ada_update_initial_language): Update.
3508 (ada_main_name, ada_has_this_exception_support): Update.
3509 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
3510 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
3511 * arm-tdep.c (arm_skip_stub): Update.
3512 * auxv.c (ld_so_xfer_auxv): Update.
3513 * avr-tdep.c (avr_scan_prologue): Update.
3514 * ax-gdb.c (gen_var_ref): Update.
3515 * breakpoint.c (struct breakpoint_objfile_data)
3516 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
3517 type to bound_minimal_symbol.
3518 (create_overlay_event_breakpoint)
3519 (create_longjmp_master_breakpoint)
3520 (create_std_terminate_master_breakpoint)
3521 (create_exception_master_breakpoint): Update.
3522 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
3523 * c-exp.y (classify_name): Update.
3524 * coffread.c (coff_symfile_read): Update.
3525 * common/agent.c (agent_look_up_symbols): Update.
3526 * d-lang.c (d_main_name): Update.
3527 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
3528 * dec-thread.c (enable_dec_thread): Update.
3529 * dwarf2loc.c (call_site_to_target_addr): Update.
3530 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
3531 * eval.c (evaluate_subexp_standard): Update.
3532 * findvar.c (struct minsym_lookup_data) <result>: Change type
3533 to bound_minimal_symbol.
3534 <objfile>: Remove.
3535 (minsym_lookup_iterator_cb, default_read_var_value): Update.
3536 * frame.c (inside_main_func): Update.
3537 * frv-tdep.c (frv_frame_this_id): Update.
3538 * gcore.c (call_target_sbrk): Update.
3539 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
3540 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
3541 Update.
3542 * go-lang.c (go_main_name): Update.
3543 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
3544 (hppa_hpux_find_import_stub_for_addr): Update.
3545 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
3546 Update. Change return type.
3547 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
3548 type.
3549 * jit.c (jit_breakpoint_re_set_internal): Update.
3550 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
3551 Update.
3552 * linux-nat.c (get_signo): Update.
3553 * linux-thread-db.c (inferior_has_bug): Update
3554 * m32c-tdep.c (m32c_return_value)
3555 (m32c_m16c_address_to_pointer): Update.
3556 * m32r-tdep.c (m32r_frame_this_id): Update.
3557 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
3558 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
3559 * minsyms.c (lookup_minimal_symbol_internal): Rename to
3560 lookup_minimal_symbol. Change return type.
3561 (lookup_minimal_symbol): Remove.
3562 (lookup_bound_minimal_symbol): Update.
3563 (lookup_minimal_symbol_text): Change return type.
3564 (lookup_minimal_symbol_solib_trampoline): Change return type.
3565 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
3566 (lookup_minimal_symbol_solib_trampoline): Change return type.
3567 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
3568 * objc-lang.c (lookup_objc_class, lookup_child_selector)
3569 (value_nsstring, find_imps): Update.
3570 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
3571 * p-lang.c (pascal_main_name): Update.
3572 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
3573 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
3574 * proc-service.c (ps_pglobal_lookup): Update.
3575 * ravenscar-thread.c (get_running_thread_msymbol): Change
3576 return type.
3577 (has_ravenscar_runtime, get_running_thread_id): Update.
3578 * remote.c (remote_check_symbols): Update.
3579 * sol-thread.c (ps_pglobal_lookup): Update.
3580 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
3581 * solib-dsbt.c (lm_base): Update.
3582 * solib-frv.c (lm_base, frv_relocate_section_addresses):
3583 Update.
3584 * solib-irix.c (locate_base): Update.
3585 * solib-som.c (som_solib_create_inferior_hook)
3586 (som_solib_desire_dynamic_linker_symbols, link_map_start):
3587 Update.
3588 * solib-spu.c (spu_enable_break): Update.
3589 * solib-svr4.c (elf_locate_base, enable_break): Update.
3590 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
3591 (flush_ea_cache): Update.
3592 * stabsread.c (define_symbol): Update.
3593 * symfile.c (simple_read_overlay_table): Update.
3594 * symtab.c (find_pc_sect_line): Update.
3595 * tracepoint.c (scope_info): Update.
3596 * tui-disasm.c (tui_get_begin_asm_address): Update.
3597 * value.c (value_static_field): Update.
3598
3599 2014-02-26 Tom Tromey <tromey@redhat.com>
3600
3601 * minsyms.c (prim_record_minimal_symbol_full): Use
3602 SET_MSYMBOL_VALUE_ADDRESS.
3603 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
3604 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
3605 SET_MSYMBOL_VALUE_ADDRESS.
3606 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
3607 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
3608
3609 2014-02-26 Tom Tromey <tromey@redhat.com>
3610
3611 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
3612 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
3613 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
3614 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
3615 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
3616 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
3617 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
3618 * ada-lang.c (ada_main_name): Update.
3619 (ada_lookup_simple_minsym): Update.
3620 (ada_make_symbol_completion_list): Update.
3621 (ada_add_standard_exceptions): Update.
3622 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
3623 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
3624 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
3625 * arm-tdep.c (skip_prologue_function): Update.
3626 (arm_skip_stack_protector, arm_skip_stub): Update.
3627 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
3628 (arm_wince_skip_main_prologue): Update.
3629 * auxv.c (ld_so_xfer_auxv): Update.
3630 * avr-tdep.c (avr_scan_prologue): Update.
3631 * ax-gdb.c (gen_var_ref): Update.
3632 * block.c (call_site_for_pc): Update.
3633 * blockframe.c (get_pc_function_start): Update.
3634 (find_pc_partial_function_gnu_ifunc): Update.
3635 * breakpoint.c (create_overlay_event_breakpoint): Update.
3636 (create_longjmp_master_breakpoint): Update.
3637 (create_std_terminate_master_breakpoint): Update.
3638 (create_exception_master_breakpoint): Update.
3639 (resolve_sal_pc): Update.
3640 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
3641 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
3642 Update.
3643 * c-valprint.c (c_val_print): Update.
3644 * coff-pe-read.c (add_pe_forwarded_sym): Update.
3645 * coffread.c (coff_symfile_read): Update.
3646 * common/agent.c (agent_look_up_symbols): Update.
3647 * dbxread.c (find_stab_function_addr): Update.
3648 (end_psymtab): Update.
3649 * dwarf2loc.c (call_site_to_target_addr): Update.
3650 (func_verify_no_selftailcall): Update.
3651 (tailcall_dump): Update.
3652 (call_site_find_chain_1): Update.
3653 (dwarf_expr_reg_to_entry_parameter): Update.
3654 * elfread.c (elf_gnu_ifunc_record_cache): Update.
3655 (elf_gnu_ifunc_resolve_by_got): Update.
3656 * f-valprint.c (info_common_command): Update.
3657 * findvar.c (read_var_value): Update.
3658 * frame.c (get_prev_frame_1): Update.
3659 (inside_main_func): Update.
3660 * frv-tdep.c (frv_skip_main_prologue): Update.
3661 (frv_frame_this_id): Update.
3662 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
3663 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
3664 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
3665 (gnuv3_skip_trampoline): Update.
3666 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
3667 (hppa64_hpux_in_solib_call_trampoline): Update.
3668 (hppa_hpux_skip_trampoline_code): Update.
3669 (hppa64_hpux_search_dummy_call_sequence): Update.
3670 (hppa_hpux_find_import_stub_for_addr): Update.
3671 (hppa_hpux_find_dummy_bpaddr): Update.
3672 * hppa-tdep.c (hppa_symbol_address)
3673 (hppa_lookup_stub_minimal_symbol): Update.
3674 * i386-tdep.c (i386_skip_main_prologue): Update.
3675 (i386_pe_skip_trampoline_code): Update.
3676 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
3677 * infcall.c (get_function_name): Update.
3678 * infcmd.c (until_next_command): Update.
3679 * jit.c (jit_breakpoint_re_set_internal): Update.
3680 (jit_inferior_init): Update.
3681 * linespec.c (minsym_found): Update.
3682 (add_minsym): Update.
3683 * linux-fork.c (info_checkpoints_command): Update.
3684 * linux-nat.c (get_signo): Update.
3685 * linux-thread-db.c (inferior_has_bug): Update.
3686 * m32c-tdep.c (m32c_return_value): Update.
3687 (m32c_m16c_address_to_pointer): Update.
3688 (m32c_m16c_pointer_to_address): Update.
3689 * m32r-tdep.c (m32r_frame_this_id): Update.
3690 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
3691 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
3692 * maint.c (maintenance_translate_address): Update.
3693 * minsyms.c (add_minsym_to_hash_table): Update.
3694 (add_minsym_to_demangled_hash_table): Update.
3695 (msymbol_objfile): Update.
3696 (lookup_minimal_symbol): Update.
3697 (iterate_over_minimal_symbols): Update.
3698 (lookup_minimal_symbol_text): Update.
3699 (lookup_minimal_symbol_by_pc_name): Update.
3700 (lookup_minimal_symbol_solib_trampoline): Update.
3701 (lookup_minimal_symbol_by_pc_section_1): Update.
3702 (lookup_minimal_symbol_and_objfile): Update.
3703 (prim_record_minimal_symbol_full): Update.
3704 (compare_minimal_symbols): Update.
3705 (compact_minimal_symbols): Update.
3706 (build_minimal_symbol_hash_tables): Update.
3707 (install_minimal_symbols): Update.
3708 (terminate_minimal_symbol_table): Update.
3709 (find_solib_trampoline_target): Update.
3710 (minimal_symbol_upper_bound): Update.
3711 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
3712 * mips-tdep.c (mips_stub_frame_sniffer): Update.
3713 (mips_skip_pic_trampoline_code): Update.
3714 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
3715 * objc-lang.c (selectors_info): Update.
3716 (classes_info): Update.
3717 (find_methods): Update.
3718 (find_imps): Update.
3719 (find_objc_msgsend): Update.
3720 * objfiles.c (objfile_relocate1): Update.
3721 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
3722 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
3723 * p-valprint.c (pascal_val_print): Update.
3724 * parse.c (write_exp_msymbol): Update.
3725 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
3726 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
3727 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
3728 * printcmd.c (build_address_symbolic): Update.
3729 (sym_info): Update.
3730 (address_info): Update.
3731 * proc-service.c (ps_pglobal_lookup): Update.
3732 * psymtab.c (find_pc_sect_psymtab_closer): Update.
3733 (find_pc_sect_psymtab): Update.
3734 * python/py-framefilter.c (py_print_frame): Update.
3735 * ravenscar-thread.c (get_running_thread_id): Update.
3736 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
3737 Update.
3738 * remote.c (remote_check_symbols): Update.
3739 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
3740 (rs6000_skip_trampoline_code): Update.
3741 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
3742 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
3743 * solib-dsbt.c (lm_base): Update.
3744 * solib-frv.c (lm_base): Update.
3745 (main_got): Update.
3746 * solib-irix.c (locate_base): Update.
3747 * solib-som.c (som_solib_create_inferior_hook): Update.
3748 (som_solib_desire_dynamic_linker_symbols): Update.
3749 (link_map_start): Update.
3750 * solib-spu.c (spu_enable_break): Update.
3751 (ocl_enable_break): Update.
3752 * solib-svr4.c (elf_locate_base): Update.
3753 (enable_break): Update.
3754 * spu-tdep.c (spu_get_overlay_table): Update.
3755 (spu_catch_start): Update.
3756 (flush_ea_cache): Update.
3757 * stabsread.c (define_symbol): Update.
3758 (scan_file_globals): Update.
3759 * stack.c (find_frame_funname): Update.
3760 (frame_info): Update.
3761 * symfile.c (simple_read_overlay_table): Update.
3762 (simple_overlay_update): Update.
3763 * symmisc.c (dump_msymbols): Update.
3764 * symtab.c (fixup_section): Update.
3765 (find_pc_sect_line): Update.
3766 (skip_prologue_sal): Update.
3767 (search_symbols): Update.
3768 (print_msymbol_info): Update.
3769 (rbreak_command): Update.
3770 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
3771 (completion_list_objc_symbol): Update.
3772 (default_make_symbol_completion_list_break_on): Update.
3773 * tracepoint.c (scope_info): Update.
3774 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
3775 (tui_get_begin_asm_address): Update.
3776 * valops.c (find_function_in_inferior): Update.
3777 * value.c (value_static_field): Update.
3778 (value_fn_field): Update.
3779
3780 2014-02-26 Tom Tromey <tromey@redhat.com>
3781
3782 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
3783 bound minimal symbols. Move code that knows about minsym
3784 table layout...
3785 * minsyms.c (minimal_symbol_upper_bound): ... here. New
3786 function.
3787 * minsyms.h (minimal_symbol_upper_bound): Declare.
3788 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
3789 minimal_symbol_upper_bound.
3790
3791 2014-02-27 Joel Brobecker <brobecker@adacore.com>
3792
3793 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
3794 Use the type's name if its basic type does not have a tag.
3795
3796 2014-02-27 Joel Brobecker <brobecker@adacore.com>
3797
3798 * dwarf2read.c (read_subrange_type): Add comment.
3799
3800 2014-02-27 Joel Brobecker <brobecker@adacore.com>
3801
3802 * dwarf2read.c (update_enumeration_type_from_children): New
3803 function, mostly extracted from process_structure_scope.
3804 (read_enumeration_type): Call update_enumeration_type_from_children.
3805 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
3806 and flag_flag_enum fields.
3807
3808 2014-02-26 Pedro Alves <palves@redhat.com>
3809
3810 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
3811 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
3812 to_xfer_partial method.
3813
3814 2014-02-26 Pedro Alves <palves@redhat.com>
3815
3816 * target.c (complete_target_initialization): Don't install
3817 default_xfer_partial as to_xfer_partial hook.
3818 (nomemory): Delete.
3819 (update_current_target): Don't INHERIT nor de_fault
3820 deprecated_xfer_memory. Delete de_fault macro.
3821 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
3822 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
3823 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
3824 field.
3825
3826 2014-02-26 Pedro Alves <palves@redhat.com>
3827
3828 * go32-nat.c (my_write_child): New function.
3829 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
3830 (go32_xfer_partial): New function.
3831 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
3832 Instead install a to_xfer_partial hook.
3833
3834 2014-02-26 Pedro Alves <palves@redhat.com>
3835
3836 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
3837 to_xfer_partial helper. Rewrite.
3838 (procfs_xfer_partial): New function.
3839 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
3840 Install a to_xfer_partial hook.
3841
3842 2014-02-26 Pedro Alves <palves@redhat.com>
3843
3844 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
3845 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
3846 (m32r_xfer_partial): New function.
3847 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
3848 Install a to_xfer_partial hook.
3849
3850 2014-02-26 Pedro Alves <palves@redhat.com>
3851
3852 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
3853 helper.
3854 (mips_xfer_partial): New function.
3855 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
3856 hook. Install a to_xfer_partial hook.
3857
3858 2014-02-26 Joel Brobecker <brobecker@adacore.com>
3859
3860 * gdbtypes.h (create_array_type_with_stride): Add declaration.
3861 * gdbtypes.c (create_array_type_with_stride): New function,
3862 renaming create_array_type, but with an added parameter
3863 called "bit_stride".
3864 (create_array_type): Re-implement using
3865 create_array_type_with_stride.
3866 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
3867 and DW_AT_bit_stride attributes.
3868
3869 2014-02-26 Pedro Alves <palves@redhat.com>
3870
3871 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
3872 task-specific breakpoints.
3873
3874 2014-02-25 Pedro Alves <palves@redhat.com>
3875
3876 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
3877 handling of object == TARGET_OBJECT_UNWIND_TABLE.
3878
3879 2014-02-25 Stan Shebs <stan@codesourcery.com>
3880
3881 * defs.h: Annotate comments for Doxygen.
3882
3883 2014-02-25 Tom Tromey <tromey@redhat.com>
3884
3885 * target.h (target_ignore): Don't declare.
3886 * target.c (target_ignore): Remove.
3887
3888 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3889
3890 PR gdb/16626
3891 * auto-load.c (auto_load_objfile_script_1): Change filename to
3892 debugfile.
3893
3894 2014-02-25 Joel Brobecker <brobecker@adacore.com>
3895
3896 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
3897 documentation. Adjust prototype to match the target_ops
3898 to_xfer_partial method. Adjust implementation accordingly.
3899
3900 2014-02-25 Hui Zhu <hui@codesourcery.com>
3901
3902 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
3903 to_traceframe_info.
3904
3905 2014-02-25 Kevin Buettner <kevinb@redhat.com>
3906
3907 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
3908 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
3909 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
3910 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
3911 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
3912 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
3913 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
3914 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
3915 New constants.
3916 (rl78_register_type): Use a data pointer type for SP and
3917 new pseudo registers mentioned above. Use a 16 bit integer
3918 type for all other register pairs.
3919 (rl78_register_name, rl78_g10_register_name): Update for
3920 new pseudo registers.
3921 (rl78_pseudo_register_read): Likewise.
3922 (rl78_pseudo_register_write): Likewise.
3923 (rl78_dwarf_reg_to_regnum): Return register numbers representing
3924 to the newly added pseudo registers.
3925
3926 2014-02-24 Doug Evans <dje@google.com>
3927
3928 * value.c (record_latest_value): Fix comment.
3929 * printcmd.c (print_command_1): Remove code to handle -1 return from
3930 record_latest_value.
3931
3932 2014-02-24 Pedro Alves <palves@redhat.com>
3933
3934 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
3935 deprecated_xfer_memory hook.
3936 (procfs_xfer_partial): Call procfs_xfer_memory instead
3937 of the deprecated_xfer_memory target hook.
3938 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
3939 helper.
3940
3941 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
3942
3943 * windows-nat.c (windows_xfer_shared_libraries): Return
3944 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
3945 requested object is TARGET_OBJECT_LIBRARIES.
3946
3947 2014-02-24 Yao Qi <yao@codesourcery.com>
3948
3949 * target.h (enum target_xfer_status)
3950 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
3951 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
3952 explicitly. New.
3953 * corefile.c (memory_error_message): User updated.
3954 * exec.c (section_table_read_available_memory): Likewise.
3955 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3956 * target.c (target_xfer_status_to_string): Likewise.
3957 (raw_memory_xfer_partial): Likewise.
3958 (memory_xfer_partial_1, target_xfer_partial): Likewise.
3959 * valops.c (read_value_memory): Likewise.
3960 * exec.h: Update comments.
3961
3962 2014-02-24 Yao Qi <yao@codesourcery.com>
3963
3964 * target.c (target_xfer_status_to_string): Rename argument err
3965 to status.
3966 * target.h (target_xfer_status_to_string): Update declaration.
3967 Replace target_xfer_error_to_string with
3968 target_xfer_status_to_string in comment.
3969
3970 2014-02-24 Yao Qi <yao@codesourcery.com>
3971
3972 * mips-linux-nat.c (super_close): Update its type.
3973 (mips_linux_close): Pass 'self' to super_close.
3974
3975 2014-02-24 Yao Qi <yao@codesourcery.com>
3976
3977 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
3978 * corefile.c (read_memory): Adjusted.
3979 * target.c (target_write_with_progress): Adjusted.
3980
3981 2014-02-23 Yao Qi <yao@codesourcery.com>
3982
3983 Revert two patches:
3984
3985 2013-10-25 Yao Qi <yao@codesourcery.com>
3986
3987 * remote.c (remote_traceframe_info): Return early if
3988 traceframe is not selected.
3989
3990 2013-07-19 Yao Qi <yao@codesourcery.com>
3991
3992 * target.c (update_current_target): Change the default action
3993 of 'to_traceframe_info' from tcomplain to return_zero.
3994 * target.h (struct target_ops) <to_traceframe_info>: Add more
3995 comments.
3996
3997 2014-02-23 Yao Qi <yao@codesourcery.com>
3998
3999 * valops.c (read_value_memory): Rewrite it. Call
4000 target_xfer_partial in a loop.
4001 * exec.h (section_table_available_memory): Remove declaration.
4002 Move comments to ...
4003 * exec.c (section_table_available_memory): ... here. Make it
4004 static.
4005
4006 2014-02-23 Yao Qi <yao@codesourcery.com>
4007
4008 * exec.c (section_table_read_available_memory): New function.
4009 * exec.h (section_table_read_available_memory): Declare.
4010 * ctf.c (ctf_xfer_partial): Call
4011 section_table_read_available_memory.
4012 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
4013
4014 2014-02-23 Yao Qi <yao@codesourcery.com>
4015
4016 * ctf.c (ctf_xfer_partial): Move code to ...
4017 * exec.c (exec_read_partial_read_only): ... it. New function.
4018 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
4019 * tracefile.c: Include "exec.h".
4020 * exec.h (exec_read_partial_read_only): Declare.
4021
4022 2014-02-23 Yao Qi <yao@codesourcery.com>
4023
4024 * tracefile-tfile.c (tfile_has_all_memory): Remove.
4025 (tfile_has_memory): Remove.
4026 (init_tfile_ops): Don't set fields to_has_all_memory and
4027 to_has_memory of tfile_ops.
4028 * tracefile.c (tracefile_has_all_memory): New function.
4029 (tracefile_has_memory): New function.
4030 (init_tracefile_ops): Initialize fields to_has_all_memory and
4031 to_has_memory of 'ops'.
4032
4033 2014-02-23 Yao Qi <yao@codesourcery.com>
4034
4035 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
4036 (ctf_thread_alive, ctf_get_trace_status): Remove.
4037 (init_ctf_ops): Don't set some fields of ctf_ops. Call
4038 init_tracefile_ops.
4039 * tracefile-tfile.c (tfile_get_trace_status): Remove.
4040 (tfile_has_stack, tfile_has_registers): Remove.
4041 (tfile_thread_alive): Remove.
4042 (init_tfile_ops): Don't set some fields of tfile_ops. Call
4043 init_tracefile_ops.
4044 * tracefile.c (tracefile_has_stack): New function.
4045 (tracefile_has_registers): New function.
4046 (tracefile_thread_alive): New function.
4047 (tracefile_get_trace_status): New function.
4048 (init_tracefile_ops): New function.
4049 * tracefile.h (init_tracefile_ops): Declare.
4050
4051 2014-02-23 Yao Qi <yao@codesourcery.com>
4052
4053 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
4054 (O_LARGEFILE): Likewise.
4055 (tfile_ops): Likewise.
4056 (TRACE_HEADER_SIZE): Likewise.
4057 (trace_fd, trace_frames_offset, cur_offset): Likewise.
4058 (cur_data_size): Likewise.
4059 (tfile_read, tfile_open, tfile_interp_line): Likewise.
4060 (tfile_close, tfile_files_info): Likewise.
4061 (tfile_get_trace_status): Likewise.
4062 (tfile_get_tracepoint_status): Likewise.
4063 (tfile_get_traceframe_address): Likewise.
4064 (tfile_trace_find, match_blocktype): Likewise.
4065 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
4066 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
4067 (tfile_get_trace_state_variable_value): Likewise.
4068 (tfile_has_all_memory, tfile_has_memory): Likewise.
4069 (tfile_has_stack, tfile_has_registers): Likewise.
4070 (tfile_thread_alive, build_traceframe_info): Likewise.
4071 (tfile_traceframe_info, init_tfile_ops): Likewise.
4072 (_initialize_tracepoint): Don't call init_tfile_ops
4073 and add_target_with_completer.
4074 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
4075 exec.h, completer.h and filenames.h.
4076 (_initialize_tracefile_tfile): New function.
4077
4078 2014-02-23 Yao Qi <yao@codesourcery.com>
4079
4080 * Makefile.in (REMOTE_OBS): Append tracefile.o and
4081 tracefile-tfile.o.
4082 (HFILES_NO_SRCDIR): Add tracefile.h.
4083 * ctf.c: Include "tracefile.h".
4084 * tracefile.h: New file.
4085 * tracefile.c: New file
4086 * tracefile-tfile.c: New file.
4087 * tracepoint.c: Include "tracefile.h".
4088 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
4089 (stop_reason_names): Add const.
4090 (trace_file_writer_xfree): Move it to tracefile.c.
4091 (trace_save, trace_save_command, trace_save_tfile): Likewise.
4092 (trace_save_ctf): Likewise.
4093 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
4094 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
4095 (tfile_write_header, tfile_write_regblock_type): Likewise.
4096 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
4097 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
4098 (tfile_write_raw_data, tfile_end): Likewise.
4099 (tfile_trace_file_writer_new): Likewise.
4100 (free_uploaded_tp): Make it extern.
4101 (free_uploaded_tsv): Make it extern.
4102 (_initialize_tracepoint): Move code to register command 'tsave'
4103 to tracefile.c.
4104 * tracepoint.h (stop_reason_names): Declare.
4105 (struct trace_frame_write_ops): Move it to tracefile.h.
4106 (struct trace_file_write_ops): Likewise.
4107 (struct trace_file_writer): Likewise.
4108 (free_uploaded_tsvs, free_uploaded_tps): Declare.
4109
4110 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4111
4112 PR gdb/16594
4113 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
4114 process name.
4115 (get_cores_used_by_process): New parameter num_cores, use it.
4116 (linux_xfer_osdata_processes): Pass num_cores to it.
4117 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
4118 process name.
4119
4120 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
4121
4122 * target.c (memory_xfer_partial): Fix length arg in call to
4123 breakpoint_xfer_memory.
4124
4125 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4126
4127 PR tdep/16397
4128 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
4129 number comes after the + or - signs. Adjust length of register
4130 name to be extracted.
4131
4132 2014-02-20 Tom Tromey <tromey@redhat.com>
4133
4134 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
4135 (ada_varobj_ops): Mark "extern".
4136
4137 2014-02-20 Tom Tromey <tromey@redhat.com>
4138
4139 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
4140
4141 2014-02-20 Doug Evans <xdje42@gmail.com>
4142
4143 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
4144 All callers updated.
4145 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
4146 All callers updated.
4147 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
4148 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
4149
4150 2014-02-20 lin zuojian <manjian2006@gmail.com>
4151 Joel Brobecker <brobecker@adacore.com>
4152 Doug Evans <xdje42@gmail.com>
4153
4154 PR symtab/16581
4155 * dwarf2read.c (struct die_info): New member in_process.
4156 (reset_die_in_process): New function.
4157 (process_die): Set it at the start, reset when returning.
4158 (inherit_abstract_dies): Only call process_die if origin_child_die
4159 not already being processed.
4160
4161 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4162
4163 * windows-nat.c (handle_unload_dll): Add function documentation.
4164 (do_initial_windows_stuff): Add comment explaining why we wait
4165 until after inferior initialization has finished before
4166 processing all DLLs.
4167
4168 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4169
4170 * windows-nat.c (get_module_name): Delete.
4171 (windows_get_exec_module_filename): New function, mostly
4172 inspired from get_module_name.
4173 (windows_pid_to_exec_file): Replace call to get_module_name
4174 by call to windows_get_exec_module_filename.
4175
4176 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4177
4178 * windows-nat.c (handle_load_dll): Rewrite this function's
4179 introductory comment. Remove code using get_module_name
4180 to get the DLL's name.
4181
4182 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4183
4184 * windows-nat.c (get_windows_debug_event): Ignore
4185 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
4186 if windows_initialization_done == 0.
4187 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
4188 Adjust implementation to always load all DLLs.
4189 (do_initial_windows_stuff): Replace call to
4190 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
4191
4192 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4193
4194 * windows-nat.c (_initialize_windows_nat): Deprecate the
4195 "dll-symbols" command. Turn the "add-shared-symbol-files"
4196 and "assf" aliases into commands, and deprecate them as well.
4197 * NEWS: Add entry explaining that "dll-symbols" and its two
4198 aliases are now deprecated.
4199
4200 2014-02-20 Joel Brobecker <brobecker@adacore.com>
4201
4202 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
4203 new-line in debug string. Remove trailing spaces.
4204
4205 2014-02-19 Stan Shebs <stan@codesourcery.com>
4206
4207 * darwin-nat.c (darwin_xfer_partial): Fix return type.
4208
4209 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4210
4211 * NEWS: Add entry for the new feature
4212 * python/py-value.c (valpy_binop): Call value_x_binop for struct
4213 and class values.
4214
4215 2014-02-19 Stan Shebs <stan@codesourcery.com>
4216
4217 * MAINTAINERS: List Yao Qi as nios2 maintainer.
4218
4219 2014-02-19 Pedro Alves <palves@redhat.com>
4220
4221 * common/ptid.h (struct ptid): Mention that process_stratum
4222 targets should prefer ptid.lwp.
4223
4224 2014-02-19 Pedro Alves <palves@redhat.com>
4225
4226 * remote.c (remote_thread_alive, write_ptid, read_ptid)
4227 (read_ptid, remote_newthread_step, remote_threads_extra_info)
4228 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
4229 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
4230 store remote thread ids rather than ptid.tid.
4231 (_initialize_remote): Adjust.
4232
4233 2014-02-19 Tom Tromey <tromey@redhat.com>
4234
4235 * target.c (target_get_unwinder): Rewrite.
4236 (target_get_tailcall_unwinder): Rewrite.
4237 * record-btrace.c (record_btrace_to_get_unwinder): New function.
4238 (record_btrace_to_get_tailcall_unwinder): New function.
4239 (init_record_btrace_ops): Update.
4240 * target.h (struct target_ops) <to_get_unwinder,
4241 to_get_tailcall_unwinder>: Now function pointers. Use
4242 TARGET_DEFAULT_RETURN.
4243
4244 2014-02-19 Tom Tromey <tromey@redhat.com>
4245
4246 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
4247 argument.
4248 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
4249
4250 2014-02-19 Tom Tromey <tromey@redhat.com>
4251
4252 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
4253 directly.
4254 * target-delegates.c: Rebuild.
4255 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
4256 TARGET_DEFAULT_FUNC.
4257 * target.c (default_target_decr_pc_after_break): Rename from
4258 forward_target_decr_pc_after_break. Simplify.
4259 (target_decr_pc_after_break): Rely on delegation.
4260
4261 2014-02-19 Tom Tromey <tromey@redhat.com>
4262
4263 * target.c (update_current_target): Do not INHERIT to_doc or
4264 to_magic. Do not de_fault to_open or to_close.
4265
4266 2014-02-19 Tom Tromey <tromey@redhat.com>
4267
4268 * gcore.h (objfile_find_memory_regions): Declare.
4269 * gcore.c (objfile_find_memory_regions): No longer static. Add
4270 "self" argument.
4271 (_initialize_gcore): Don't call exec_set_find_memory_regions.
4272 * exec.c: Include gcore.h.
4273 (exec_set_find_memory_regions): Remove.
4274 (exec_find_memory_regions): Remove.
4275 (exec_do_find_memory_regions): Remove.
4276 (init_exec_ops): Update.
4277 * defs.h (exec_set_find_memory_regions): Remove.
4278
4279 2014-02-19 Tom Tromey <tromey@redhat.com>
4280
4281 * target-delegates.c: Rebuild.
4282 * target.h (struct target_ops) <to_extra_thread_info,
4283 to_thread_name, to_pid_to_exec_file, to_get_section_table,
4284 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
4285 not 0, in TARGET_DEFAULT_RETURN.
4286
4287 2014-02-19 Tom Tromey <tromey@redhat.com>
4288
4289 * target.c (complete_target_initialization): Remove casts. Use
4290 return_zero_has_execution.
4291 (return_zero): Add "ignore" argument.
4292 (return_zero_has_execution): New function.
4293 (init_dummy_target): Remove casts. Use
4294 return_zero_has_execution.
4295
4296 2014-02-19 Tom Tromey <tromey@redhat.com>
4297
4298 * target.c (update_current_target): Update comments. Do not
4299 INHERIT to_stratum.
4300
4301 2014-02-19 Tom Tromey <tromey@redhat.com>
4302
4303 * arm-linux-nat.c (arm_linux_read_description): Delegate when
4304 needed.
4305 * corelow.c (core_read_description): Delegate when needed.
4306 * remote.c (remote_read_description): Delegate when needed.
4307 * target-delegates.c: Rebuild.
4308 * target.c (target_read_description): Rewrite.
4309 * target.h (struct target_ops) <to_read_description>: Update
4310 comment. Use TARGET_DEFAULT_RETURN.
4311
4312 2014-02-19 Tom Tromey <tromey@redhat.com>
4313
4314 * target-delegates.c: Rebuild.
4315 * target.c (update_current_target): Don't inherit or default
4316 to_can_run.
4317 (find_default_run_target): Check against delegate_can_run.
4318 * target.h (struct target_ops) <to_can_run>: Use
4319 TARGET_DEFAULT_RETURN.
4320
4321 2014-02-19 Tom Tromey <tromey@redhat.com>
4322
4323 * target-delegates.c: Rebuild.
4324 * target.c (target_disconnect): Unconditionally delegate.
4325 * target.h (struct target_ops) <to_disconnect>: Use
4326 TARGET_DEFAULT_NORETURN.
4327
4328 2014-02-19 Tom Tromey <tromey@redhat.com>
4329
4330 * record.c (record_stop): Unconditionally delegate.
4331 * target-delegates.c: Rebuild.
4332 * target.c (target_stop_recording): Unconditionally delegate.
4333 * target.h (struct target_ops) <to_stop_recording>: Use
4334 TARGET_DEFAULT_IGNORE.
4335
4336 2014-02-19 Tom Tromey <tromey@redhat.com>
4337
4338 * target-delegates.c: Rebuild.
4339 * target.c (target_enable_btrace): Unconditionally delegate.
4340 * target.h (struct target_ops) <to_enable_btrace>: Use
4341 TARGET_DEFAULT_NORETURN.
4342
4343 2014-02-19 Tom Tromey <tromey@redhat.com>
4344
4345 * target-delegates.c: Rebuild.
4346 * target.c (target_read_btrace): Unconditionally delegate.
4347 * target.h (struct target_ops) <to_read_btrace>: Use
4348 TARGET_DEFAULT_NORETURN.
4349
4350 2014-02-19 Tom Tromey <tromey@redhat.com>
4351
4352 * target-delegates.c: Rebuild.
4353 * target.c (target_teardown_btrace): Unconditionally delegate.
4354 * target.h (struct target_ops) <to_teardown_btrace>: Use
4355 TARGET_DEFAULT_NORETURN.
4356
4357 2014-02-19 Tom Tromey <tromey@redhat.com>
4358
4359 * target-delegates.c: Rebuild.
4360 * target.c (target_disable_btrace): Unconditionally delegate.
4361 * target.h (struct target_ops) <to_disable_btrace>: Use
4362 TARGET_DEFAULT_NORETURN.
4363
4364 2014-02-19 Tom Tromey <tromey@redhat.com>
4365
4366 * target-delegates.c: Rebuild.
4367 * target.c (default_search_memory): New function.
4368 (simple_search_memory): Update comment.
4369 (target_search_memory): Unconditionally delegate.
4370 * target.h (struct target_ops) <to_search_memory>: Use
4371 TARGET_DEFAULT_FUNC.
4372
4373 2014-02-19 Tom Tromey <tromey@redhat.com>
4374
4375 * auxv.c (default_auxv_parse): No longer static.
4376 (target_auxv_parse): Unconditionally delegate.
4377 * auxv.h (default_auxv_parse): Declare.
4378 * target-delegates.c: Rebuild.
4379 * target.c: Include auxv.h.
4380 * target.h (struct target_ops) <to_auxv_parse>: Use
4381 TARGET_DEFAULT_FUNC.
4382
4383 2014-02-19 Tom Tromey <tromey@redhat.com>
4384
4385 * target-delegates.c: Rebuild.
4386 * target.c (target_memory_map): Unconditionally delegate.
4387 * target.h (struct target_ops) <to_memory_map>: Use
4388 TARGET_DEFAULT_RETURN.
4389
4390 2014-02-19 Tom Tromey <tromey@redhat.com>
4391
4392 * target-delegates.c: Rebuild.
4393 * target.c (target_thread_alive): Unconditionally delegate.
4394 * target.h (struct target_ops) <to_thread_alive>: Use
4395 TARGET_DEFAULT_RETURN.
4396
4397 2014-02-19 Tom Tromey <tromey@redhat.com>
4398
4399 * target-delegates.c: Rebuild.
4400 * target.c (target_save_record): Unconditionally delegate.
4401 * target.h (struct target_ops) <to_save_record>: Use
4402 TARGET_DEFAULT_NORETURN.
4403
4404 2014-02-19 Tom Tromey <tromey@redhat.com>
4405
4406 * target-delegates.c: Rebuild.
4407 * target.c (target_delete_record): Unconditionally delegate.
4408 * target.h (struct target_ops) <to_delete_record>: Use
4409 TARGET_DEFAULT_NORETURN.
4410
4411 2014-02-19 Tom Tromey <tromey@redhat.com>
4412
4413 * target-delegates.c: Rebuild.
4414 * target.c (target_record_is_replaying): Unconditionally
4415 delegate.
4416 * target.h (struct target_ops) <to_record_is_replaying>: Use
4417 TARGET_DEFAULT_RETURN.
4418
4419 2014-02-19 Tom Tromey <tromey@redhat.com>
4420
4421 * target-delegates.c: Rebuild.
4422 * target.c (target_goto_record_begin): Unconditionally delegate.
4423 * target.h (struct target_ops) <to_goto_record_begin>: Use
4424 TARGET_DEFAULT_NORETURN.
4425
4426 2014-02-19 Tom Tromey <tromey@redhat.com>
4427
4428 * target-delegates.c: Rebuild.
4429 * target.c (target_goto_record_end): Unconditionally delegate.
4430 * target.h (struct target_ops) <to_goto_record_end>: Use
4431 TARGET_DEFAULT_NORETURN.
4432
4433 2014-02-19 Tom Tromey <tromey@redhat.com>
4434
4435 * target-delegates.c: Rebuild.
4436 * target.c (target_goto_record): Unconditionally delegate.
4437 * target.h (struct target_ops) <to_goto_record>: Use
4438 TARGET_DEFAULT_NORETURN.
4439
4440 2014-02-19 Tom Tromey <tromey@redhat.com>
4441
4442 * target-delegates.c: Rebuild.
4443 * target.c (target_insn_history): Unconditionally delegate.
4444 * target.h (struct target_ops) <to_insn_history>: Use
4445 TARGET_DEFAULT_NORETURN.
4446
4447 2014-02-19 Tom Tromey <tromey@redhat.com>
4448
4449 * target-delegates.c: Rebuild.
4450 * target.c (target_insn_history_from): Unconditionally delegate.
4451 * target.h (struct target_ops) <to_insn_history_from>: Use
4452 TARGET_DEFAULT_NORETURN.
4453
4454 2014-02-19 Tom Tromey <tromey@redhat.com>
4455
4456 * target-delegates.c: Rebuild.
4457 * target.c (target_insn_history_range): Unconditionally delegate.
4458 * target.h (struct target_ops) <to_insn_history_range>: Use
4459 TARGET_DEFAULT_NORETURN.
4460
4461 2014-02-19 Tom Tromey <tromey@redhat.com>
4462
4463 * target-delegates.c: Rebuild.
4464 * target.c (target_call_history): Unconditionally delegate.
4465 * target.h (struct target_ops) <to_call_history>: Use
4466 TARGET_DEFAULT_NORETURN.
4467
4468 2014-02-19 Tom Tromey <tromey@redhat.com>
4469
4470 * target-delegates.c: Rebuild.
4471 * target.c (target_call_history_from): Unconditionally delegate.
4472 * target.h (struct target_ops) <to_call_history_from>: Use
4473 TARGET_DEFAULT_NORETURN.
4474
4475 2014-02-19 Tom Tromey <tromey@redhat.com>
4476
4477 * target-delegates.c: Rebuild.
4478 * target.c (target_call_history_range): Unconditionally delegate.
4479 * target.h (struct target_ops) <to_call_history_range>: Use
4480 TARGET_DEFAULT_NORETURN.
4481
4482 2014-02-19 Tom Tromey <tromey@redhat.com>
4483
4484 * target-delegates.c: Rebuild.
4485 * target.c (target_verify_memory): Unconditionally delegate.
4486 * target.h (struct target_ops) <to_verify_memory>: Use
4487 TARGET_DEFAULT_NORETURN.
4488
4489 2014-02-19 Tom Tromey <tromey@redhat.com>
4490
4491 * target-delegates.c: Rebuild.
4492 * target.c (target_core_of_thread): Unconditionally delegate.
4493 * target.h (struct target_ops) <to_core_of_thread>: Use
4494 TARGET_DEFAULT_RETURN.
4495
4496 2014-02-19 Tom Tromey <tromey@redhat.com>
4497
4498 * target-delegates.c: Rebuild.
4499 * target.c (target_flash_done): Unconditionally delegate.
4500 * target.h (struct target_ops) <to_flash_done>: Use
4501 TARGET_DEFAULT_NORETURN.
4502
4503 2014-02-19 Tom Tromey <tromey@redhat.com>
4504
4505 * target-delegates.c: Rebuild.
4506 * target.c (target_flash_erase): Unconditionally delegate.
4507 * target.h (struct target_ops) <to_flash_erase>: Use
4508 TARGET_DEFAULT_NORETURN.
4509
4510 2014-02-19 Tom Tromey <tromey@redhat.com>
4511
4512 * target-delegates.c: Rebuild.
4513 * target.c (target_get_section_table): Unconditionally delegate.
4514 * target.h (struct target_ops) <to_get_section_table>: Use
4515 TARGET_DEFAULT_RETURN.
4516
4517 2014-02-19 Tom Tromey <tromey@redhat.com>
4518
4519 * target-delegates.c: Rebuild.
4520 * target.c (target_pid_to_str): Unconditionally delegate.
4521 (init_dummy_target): Don't initialize to_pid_to_str.
4522 (default_pid_to_str): Rename from dummy_pid_to_str.
4523 * target.h (struct target_ops) <to_pid_to_str>: Use
4524 TARGET_DEFAULT_FUNC.
4525
4526 2014-02-19 Tom Tromey <tromey@redhat.com>
4527
4528 * target-delegates.c: Rebuild.
4529 * target.c (target_find_new_threads): Unconditionally delegate.
4530 * target.h (struct target_ops) <to_find_new_threads>: Use
4531 TARGET_DEFAULT_RETURN.
4532
4533 2014-02-19 Tom Tromey <tromey@redhat.com>
4534
4535 * target-delegates.c: Rebuild.
4536 * target.c (target_program_signals): Unconditionally delegate.
4537 * target.h (struct target_ops) <to_program_signals>: Use
4538 TARGET_DEFAULT_IGNORE.
4539
4540 2014-02-19 Tom Tromey <tromey@redhat.com>
4541
4542 * target-delegates.c: Rebuild.
4543 * target.c (target_pass_signals): Unconditionally delegate.
4544 * target.h (struct target_ops) <to_pass_signals>: Use
4545 TARGET_DEFAULT_IGNORE.
4546
4547 2014-02-19 Tom Tromey <tromey@redhat.com>
4548
4549 * target-delegates.c: Rebuild.
4550 * target.c (default_mourn_inferior): New function.
4551 (target_mourn_inferior): Unconditionally delegate.
4552 * target.h (struct target_ops) <to_mourn_inferior>: Use
4553 TARGET_DEFAULT_FUNC.
4554
4555 2014-02-19 Tom Tromey <tromey@redhat.com>
4556
4557 * target-delegates.c: Rebuild.
4558 * target.c (default_follow_fork): New function.
4559 (target_follow_fork): Unconditionally delegate.
4560 * target.h (struct target_ops) <to_follow_fork>: Use
4561 TARGET_DEFAULT_FUNC.
4562
4563 2014-02-19 Tom Tromey <tromey@redhat.com>
4564
4565 * target-delegates.c: Rebuild.
4566 * target.c (target_kill): Unconditionally delegate.
4567 * target.h (struct target_ops) <to_kill>: Use
4568 TARGET_DEFAULT_NORETURN.
4569
4570 2014-02-19 Tom Tromey <tromey@redhat.com>
4571
4572 * target-delegates.c: Rebuild.
4573 * target.c (target_masked_watch_num_registers): Unconditionally
4574 delegate.
4575 * target.h (struct target_ops) <to_masked_watch_num_registers>:
4576 Use TARGET_DEFAULT_RETURN.
4577
4578 2014-02-19 Tom Tromey <tromey@redhat.com>
4579
4580 * target-delegates.c: Rebuild.
4581 * target.c (target_remove_mask_watchpoint): Unconditionally
4582 delegate.
4583 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
4584 TARGET_DEFAULT_RETURN.
4585
4586 2014-02-19 Tom Tromey <tromey@redhat.com>
4587
4588 * target-delegates.c: Rebuild.
4589 * target.c (target_insert_mask_watchpoint): Unconditionally
4590 delegate.
4591 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
4592 TARGET_DEFAULT_RETURN.
4593
4594 2014-02-19 Tom Tromey <tromey@redhat.com>
4595
4596 * target-delegates.c: Rebuild.
4597 * target.c (target_ranged_break_num_registers): Unconditionally
4598 delegate.
4599 * target.h (struct target_ops) <to_ranged_break_num_registers>:
4600 Use TARGET_DEFAULT_RETURN.
4601
4602 2014-02-19 Tom Tromey <tromey@redhat.com>
4603
4604 * target-delegates.c: Rebuild.
4605 * target.c (target_fetch_registers): Unconditionally delegate.
4606 * target.h (struct target_ops) <to_fetch_registers>: Use
4607 TARGET_DEFAULT_NORETURN.
4608
4609 2014-02-19 Tom Tromey <tromey@redhat.com>
4610
4611 * target-delegates.c: Rebuild.
4612 * target.c (update_current_target): Don't inherit or default
4613 to_stop.
4614 * target.h (struct target_ops) <to_stop>: Use
4615 TARGET_DEFAULT_IGNORE.
4616
4617 2014-02-19 Tom Tromey <tromey@redhat.com>
4618
4619 * target-delegates.c: Rebuild.
4620 * target.c (update_current_target): Don't inherit or default
4621 to_can_run_breakpoint_commands.
4622 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
4623 Use TARGET_DEFAULT_RETURN.
4624
4625 2014-02-19 Tom Tromey <tromey@redhat.com>
4626
4627 * target-delegates.c: Rebuild.
4628 * target.c (update_current_target): Don't inherit or default
4629 to_supports_evaluation_of_breakpoint_conditions.
4630 * target.h (struct target_ops)
4631 <to_supports_evaluation_of_breakpoint_conditions>: Use
4632 TARGET_DEFAULT_RETURN.
4633
4634 2014-02-19 Tom Tromey <tromey@redhat.com>
4635
4636 * target-delegates.c: Rebuild.
4637 * target.c (update_current_target): Don't inherit or default
4638 to_augmented_libraries_svr4_read.
4639 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
4640 Use TARGET_DEFAULT_RETURN.
4641
4642 2014-02-19 Tom Tromey <tromey@redhat.com>
4643
4644 * target-delegates.c: Rebuild.
4645 * target.c (update_current_target): Don't inherit or default
4646 to_can_use_agent.
4647 * target.h (struct target_ops) <to_can_use_agent>: Use
4648 TARGET_DEFAULT_RETURN.
4649
4650 2014-02-19 Tom Tromey <tromey@redhat.com>
4651
4652 * target-delegates.c: Rebuild.
4653 * target.c (update_current_target): Don't inherit or default
4654 to_use_agent.
4655 * target.h (struct target_ops) <to_use_agent>: Use
4656 TARGET_DEFAULT_NORETURN.
4657
4658 2014-02-19 Tom Tromey <tromey@redhat.com>
4659
4660 * target-delegates.c: Rebuild.
4661 * target.c (update_current_target): Don't inherit or default
4662 to_traceframe_info.
4663 (return_null): Remove.
4664 * target.h (struct target_ops) <to_traceframe_info>: Use
4665 TARGET_DEFAULT_RETURN.
4666
4667 2014-02-19 Tom Tromey <tromey@redhat.com>
4668
4669 * target-delegates.c: Rebuild.
4670 * target.c (update_current_target): Don't inherit or default
4671 to_static_tracepoint_markers_by_strid.
4672 * target.h (struct target_ops)
4673 <to_static_tracepoint_markers_by_strid>: Use
4674 TARGET_DEFAULT_NORETURN.
4675
4676 2014-02-19 Tom Tromey <tromey@redhat.com>
4677
4678 * target-delegates.c: Rebuild.
4679 * target.c (update_current_target): Don't inherit or default
4680 to_static_tracepoint_marker_at.
4681 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
4682 Use TARGET_DEFAULT_RETURN.
4683
4684 2014-02-19 Tom Tromey <tromey@redhat.com>
4685
4686 * target-delegates.c: Rebuild.
4687 * target.c (update_current_target): Don't inherit or default
4688 to_set_permissions.
4689 * target.h (struct target_ops) <to_set_permissions>: Use
4690 TARGET_DEFAULT_IGNORE.
4691
4692 2014-02-19 Tom Tromey <tromey@redhat.com>
4693
4694 * target-delegates.c: Rebuild.
4695 * target.c (update_current_target): Don't inherit or default
4696 to_get_tib_address.
4697 * target.h (struct target_ops) <to_get_tib_address>: Use
4698 TARGET_DEFAULT_NORETURN.
4699
4700 2014-02-19 Tom Tromey <tromey@redhat.com>
4701
4702 * target-delegates.c: Rebuild.
4703 * target.c (update_current_target): Don't inherit or default
4704 to_set_trace_notes.
4705 * target.h (struct target_ops) <to_set_trace_notes>: Use
4706 TARGET_DEFAULT_RETURN.
4707
4708 2014-02-19 Tom Tromey <tromey@redhat.com>
4709
4710 * target-delegates.c: Rebuild.
4711 * target.c (update_current_target): Don't initialize
4712 to_set_trace_buffer_size.
4713 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
4714 TARGET_DEFAULT_IGNORE.
4715
4716 2014-02-19 Tom Tromey <tromey@redhat.com>
4717
4718 * target-delegates.c: Rebuild.
4719 * target.c (update_current_target): Don't inherit or default
4720 to_set_circular_trace_buffer.
4721 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
4722 TARGET_DEFAULT_IGNORE.
4723
4724 2014-02-19 Tom Tromey <tromey@redhat.com>
4725
4726 * target-delegates.c: Rebuild.
4727 * target.c (update_current_target): Don't inherit or default
4728 to_set_disconnected_tracing.
4729 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
4730 TARGET_DEFAULT_IGNORE.
4731
4732 2014-02-19 Tom Tromey <tromey@redhat.com>
4733
4734 * target-delegates.c: Rebuild.
4735 * target.c (update_current_target): Don't inherit or default
4736 to_get_min_fast_tracepoint_insn_len.
4737 (return_minus_one): Remove.
4738 * target.h (struct target_ops)
4739 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
4740
4741 2014-02-19 Tom Tromey <tromey@redhat.com>
4742
4743 * target-delegates.c: Rebuild.
4744 * target.c (update_current_target): Don't inherit or default
4745 to_get_raw_trace_data.
4746 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
4747 TARGET_DEFAULT_NORETURN.
4748
4749 2014-02-19 Tom Tromey <tromey@redhat.com>
4750
4751 * target-delegates.c: Rebuild.
4752 * target.c (update_current_target): Don't inherit or default
4753 to_upload_trace_state_variables.
4754 * target.h (struct target_ops) <to_upload_trace_state_variables>:
4755 Use TARGET_DEFAULT_RETURN.
4756
4757 2014-02-19 Tom Tromey <tromey@redhat.com>
4758
4759 * target-delegates.c: Rebuild.
4760 * target.c (update_current_target): Don't inherit or default
4761 to_upload_tracepoints.
4762 * target.h (struct target_ops) <to_upload_tracepoints>: Use
4763 TARGET_DEFAULT_RETURN.
4764
4765 2014-02-19 Tom Tromey <tromey@redhat.com>
4766
4767 * target-delegates.c: Rebuild.
4768 * target.c (update_current_target): Don't inherit or default
4769 to_save_trace_data.
4770 * target.h (struct target_ops) <to_save_trace_data>: Use
4771 TARGET_DEFAULT_NORETURN.
4772
4773 2014-02-19 Tom Tromey <tromey@redhat.com>
4774
4775 * target-delegates.c: Rebuild.
4776 * target.c (update_current_target): Don't inherit or default
4777 to_get_trace_state_variable_value.
4778 * target.h (struct target_ops)
4779 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
4780
4781 2014-02-19 Tom Tromey <tromey@redhat.com>
4782
4783 * target-delegates.c: Rebuild.
4784 * target.c (update_current_target): Don't inherit or default
4785 to_trace_find.
4786 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
4787
4788 2014-02-19 Tom Tromey <tromey@redhat.com>
4789
4790 * target-delegates.c: Rebuild.
4791 * target.c (update_current_target): Don't inherit or default
4792 to_trace_stop.
4793 * target.h (struct target_ops) <to_trace_stop>: Use
4794 TARGET_DEFAULT_NORETURN.
4795
4796 2014-02-19 Tom Tromey <tromey@redhat.com>
4797
4798 * target-delegates.c: Rebuild.
4799 * target.c (update_current_target): Don't inherit or default
4800 to_get_tracepoint_status.
4801 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
4802 TARGET_DEFAULT_NORETURN.
4803
4804 2014-02-19 Tom Tromey <tromey@redhat.com>
4805
4806 * target-delegates.c: Rebuild.
4807 * target.c (update_current_target): Don't inherit or default
4808 to_get_trace_status.
4809 * target.h (struct target_ops) <to_get_trace_status>: Use
4810 TARGET_DEFAULT_RETURN.
4811
4812 2014-02-19 Tom Tromey <tromey@redhat.com>
4813
4814 * target-delegates.c: Rebuild.
4815 * target.c (update_current_target): Don't inherit or default
4816 to_trace_start.
4817 * target.h (struct target_ops) <to_trace_start>: Use
4818 TARGET_DEFAULT_NORETURN.
4819
4820 2014-02-19 Tom Tromey <tromey@redhat.com>
4821
4822 * target-delegates.c: Rebuild.
4823 * target.c (update_current_target): Don't inherit or default
4824 to_trace_set_readonly_regions.
4825 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
4826 Use TARGET_DEFAULT_NORETURN.
4827
4828 2014-02-19 Tom Tromey <tromey@redhat.com>
4829
4830 * target-delegates.c: Rebuild.
4831 * target.c (update_current_target): Don't inherit or default
4832 to_disable_tracepoint.
4833 * target.h (struct target_ops) <to_disable_tracepoint>: Use
4834 TARGET_DEFAULT_NORETURN.
4835
4836 2014-02-19 Tom Tromey <tromey@redhat.com>
4837
4838 * target-delegates.c: Rebuild.
4839 * target.c (update_current_target): Don't inherit or default
4840 to_enable_tracepoint.
4841 * target.h (struct target_ops) <to_enable_tracepoint>: Use
4842 TARGET_DEFAULT_NORETURN.
4843
4844 2014-02-19 Tom Tromey <tromey@redhat.com>
4845
4846 * target-delegates.c: Rebuild.
4847 * target.c (update_current_target): Don't inherit or default
4848 to_download_trace_state_variable.
4849 * target.h (struct target_ops) <to_download_trace_state_variable>:
4850 Use TARGET_DEFAULT_NORETURN.
4851
4852 2014-02-19 Tom Tromey <tromey@redhat.com>
4853
4854 * target-delegates.c: Rebuild.
4855 * target.c (update_current_target): Don't inherit or default
4856 to_can_download_tracepoint.
4857 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
4858 TARGET_DEFAULT_RETURN.
4859
4860 2014-02-19 Tom Tromey <tromey@redhat.com>
4861
4862 * target-delegates.c: Rebuild.
4863 * target.c (update_current_target): Don't inherit or default
4864 to_download_tracepoint.
4865 * target.h (struct target_ops) <to_download_tracepoint>: Use
4866 TARGET_DEFAULT_NORETURN.
4867
4868 2014-02-19 Tom Tromey <tromey@redhat.com>
4869
4870 * target-delegates.c: Rebuild.
4871 * target.c (update_current_target): Don't inherit or default
4872 to_trace_init.
4873 * target.h (struct target_ops) <to_trace_init>: Use
4874 TARGET_DEFAULT_RETURN.
4875
4876 2014-02-19 Tom Tromey <tromey@redhat.com>
4877
4878 * target-delegates.c: Rebuild.
4879 * target.c (update_current_target): Don't inherit or default
4880 to_supports_string_tracing.
4881 * target.h (struct target_ops) <to_supports_string_tracing>: Use
4882 TARGET_DEFAULT_RETURN.
4883
4884 2014-02-19 Tom Tromey <tromey@redhat.com>
4885
4886 * target-delegates.c: Rebuild.
4887 * target.c (update_current_target): Don't inherit or default
4888 to_supports_enable_disable_tracepoint.
4889 * target.h (struct target_ops)
4890 <to_supports_enable_disable_tracepoint>: Use
4891 TARGET_DEFAULT_RETURN.
4892
4893 2014-02-19 Tom Tromey <tromey@redhat.com>
4894
4895 * target-delegates.c: Rebuild.
4896 * target.c (update_current_target): Don't inherit or default
4897 to_supports_multi_process.
4898 * target.h (struct target_ops) <to_supports_multi_process>: Use
4899 TARGET_DEFAULT_RETURN.
4900
4901 2014-02-19 Tom Tromey <tromey@redhat.com>
4902
4903 * target-delegates.c: Rebuild.
4904 * target.c (update_current_target): Don't inherit or default
4905 to_get_ada_task_ptid.
4906 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
4907 TARGET_DEFAULT_FUNC.
4908
4909 2014-02-19 Tom Tromey <tromey@redhat.com>
4910
4911 * target-delegates.c: Rebuild.
4912 * target.c (update_current_target): Don't inherit or default
4913 to_thread_architecture.
4914 * target.h (struct target_ops) <to_thread_architecture>: Use
4915 TARGET_DEFAULT_FUNC.
4916
4917 2014-02-19 Tom Tromey <tromey@redhat.com>
4918
4919 * target-delegates.c: Rebuild.
4920 * target.c (update_current_target): Don't inherit or default
4921 to_execution_direction.
4922 * target.h (struct target_ops) <to_execution_direction>: Use
4923 TARGET_DEFAULT_FUNC.
4924
4925 2014-02-19 Tom Tromey <tromey@redhat.com>
4926
4927 * target-delegates.c: Rebuild.
4928 * target.c (update_current_target): Don't inherit or default
4929 to_can_execute_reverse.
4930 * target.h (struct target_ops) <to_can_execute_reverse>: Use
4931 TARGET_DEFAULT_RETURN.
4932 (target_can_execute_reverse): Unconditionally delegate.
4933
4934 2014-02-19 Tom Tromey <tromey@redhat.com>
4935
4936 * target-delegates.c: Rebuild.
4937 * target.c (update_current_target): Don't inherit or default
4938 to_goto_bookmark.
4939 (dummy_goto_bookmark): Remove.
4940 (init_dummy_target): Don't inherit or default to_goto_bookmark.
4941 * target.h (struct target_ops) <to_goto_bookmark>: Use
4942 TARGET_DEFAULT_NORETURN.
4943
4944 2014-02-19 Tom Tromey <tromey@redhat.com>
4945
4946 * target-delegates.c: Rebuild.
4947 * target.c (update_current_target): Don't inherit or default
4948 to_get_bookmark.
4949 (dummy_get_bookmark): Remove.
4950 (init_dummy_target): Don't inherit or default to_get_bookmark.
4951 * target.h (struct target_ops) <to_get_bookmark>: Use
4952 TARGET_DEFAULT_NORETURN
4953
4954 2014-02-19 Tom Tromey <tromey@redhat.com>
4955
4956 * target-delegates.c: Rebuild.
4957 * target.c (update_current_target): Don't inherit or default
4958 to_make_corefile_notes.
4959 (init_dummy_target): Don't initialize to_make_corefile_notes.
4960 * target.h (struct target_ops) <to_make_corefile_notes>: Use
4961 TARGET_DEFAULT_FUNC.
4962
4963 2014-02-19 Tom Tromey <tromey@redhat.com>
4964
4965 * target-delegates.c: Rebuild.
4966 * target.c (update_current_target): Don't inherit or default
4967 to_find_memory_regions.
4968 (init_dummy_target): Don't initialize to_find_memory_regions.
4969 * target.h (struct target_ops) <to_find_memory_regions>: Use
4970 TARGET_DEFAULT_FUNC.
4971
4972 2014-02-19 Tom Tromey <tromey@redhat.com>
4973
4974 * target-delegates.c: Rebuild.
4975 * target.c (update_current_target): Don't inherit or default
4976 to_log_command.
4977 * target.h (struct target_ops) <to_log_command>: Use
4978 TARGET_DEFAULT_IGNORE.
4979 (target_log_command): Unconditionally delegate.
4980
4981 2014-02-19 Tom Tromey <tromey@redhat.com>
4982
4983 * target-delegates.c: Rebuild.
4984 * target.c (update_current_target): Don't inherit or default
4985 to_pid_to_exec_file.
4986 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
4987 TARGET_DEFAULT_RETURN.
4988
4989 2014-02-19 Tom Tromey <tromey@redhat.com>
4990
4991 * target-delegates.c: Rebuild.
4992 * target.c (update_current_target): Don't inherit or default
4993 to_thread_name.
4994 (target_thread_name): Unconditionally delegate.
4995 * target.h (struct target_ops) <to_thread_name>: Use
4996 TARGET_DEFAULT_RETURN.
4997
4998 2014-02-19 Tom Tromey <tromey@redhat.com>
4999
5000 * target-delegates.c: Rebuild.
5001 * target.c (update_current_target): Don't inherit or default
5002 to_extra_thread_info.
5003 * target.h (struct target_ops) <to_extra_thread_info>: Use
5004 TARGET_DEFAULT_RETURN.
5005
5006 2014-02-19 Tom Tromey <tromey@redhat.com>
5007
5008 * target-delegates.c: Rebuild.
5009 * target.c (update_current_target): Don't inherit or default
5010 to_has_exited.
5011 * target.h (struct target_ops) <to_has_exited>: Use
5012 TARGET_DEFAULT_RETURN..
5013
5014 2014-02-19 Tom Tromey <tromey@redhat.com>
5015
5016 * target-delegates.c: Rebuild.
5017 * target.c (update_current_target): Don't inherit or default
5018 to_set_syscall_catchpoint.
5019 (return_one): Remove.
5020 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
5021 TARGET_DEFAULT_RETURN.
5022
5023 2014-02-19 Tom Tromey <tromey@redhat.com>
5024
5025 * target-delegates.c: Rebuild.
5026 * target.c (update_current_target): Don't inherit or default
5027 to_insert_exec_catchpoint.
5028 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
5029 TARGET_DEFAULT_RETURN.
5030
5031 2014-01-08 Tom Tromey <tromey@redhat.com>
5032
5033 * target-delegates.c: Rebuild.
5034 * target.c (update_current_target): Don't inherit or default
5035 to_insert_exec_catchpoint.
5036 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
5037 TARGET_DEFAULT_RETURN.
5038
5039 2014-02-19 Tom Tromey <tromey@redhat.com>
5040
5041 * target-delegates.c: Rebuild.
5042 * target.c (update_current_target): Don't inherit or default
5043 to_remove_vfork_catchpoint.
5044 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
5045 TARGET_DEFAULT_RETURN.
5046
5047 2014-02-19 Tom Tromey <tromey@redhat.com>
5048
5049 * target-delegates.c: Rebuild.
5050 * target.c (update_current_target): Don't inherit or default
5051 to_insert_vfork_catchpoint.
5052 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
5053 TARGET_DEFAULT_RETURN.
5054
5055 2014-02-19 Tom Tromey <tromey@redhat.com>
5056
5057 * target-delegates.c: Rebuild.
5058 * target.c (update_current_target): Don't inherit or default
5059 to_remove_fork_catchpoint.
5060 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
5061 TARGET_DEFAULT_RETURN.
5062
5063 2014-02-19 Tom Tromey <tromey@redhat.com>
5064
5065 * target-delegates.c: Rebuild.
5066 * target.c (update_current_target): Don't inherit or default
5067 to_insert_fork_catchpoint.
5068 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
5069 TARGET_DEFAULT_RETURN.
5070
5071 2014-02-19 Tom Tromey <tromey@redhat.com>
5072
5073 * target-delegates.c: Rebuild.
5074 * target.c (update_current_target): Don't inherit or default
5075 to_post_startup_inferior.
5076 * target.h (struct target_ops) <to_post_startup_inferior>: Use
5077 TARGET_DEFAULT_IGNORE.
5078
5079 2014-02-19 Tom Tromey <tromey@redhat.com>
5080
5081 * target-delegates.c: Rebuild.
5082 * target.c (update_current_target): Don't inherit or default
5083 to_load.
5084 * target.h (struct target_ops) <to_load>: Use
5085 TARGET_DEFAULT_NORETURN.
5086
5087 2014-02-19 Tom Tromey <tromey@redhat.com>
5088
5089 * target-delegates.c: Rebuild.
5090 * target.c (update_current_target): Don't inherit or default
5091 to_terminal_info.
5092 * target.h (struct target_ops) <to_terminal_info>: Use
5093 TARGET_DEFAULT_FUNC.
5094
5095 2014-02-19 Tom Tromey <tromey@redhat.com>
5096
5097 * target-delegates.c: Rebuild.
5098 * target.c (update_current_target): Don't inherit or default
5099 to_terminal_save_ours.
5100 * target.h (struct target_ops) <to_terminal_save_ours>: Use
5101 TARGET_DEFAULT_IGNORE.
5102
5103 2014-02-19 Tom Tromey <tromey@redhat.com>
5104
5105 * target-delegates.c: Rebuild.
5106 * target.c (update_current_target): Don't inherit or default
5107 to_terminal_ours.
5108 * target.h (struct target_ops) <to_terminal_ours>: Use
5109 TARGET_DEFAULT_IGNORE.
5110
5111 2014-02-19 Tom Tromey <tromey@redhat.com>
5112
5113 * target-delegates.c: Rebuild.
5114 * target.c (update_current_target): Don't inherit or default
5115 to_terminal_ours_for_output.
5116 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
5117 TARGET_DEFAULT_IGNORE.
5118
5119 2014-02-19 Tom Tromey <tromey@redhat.com>
5120
5121 * target-delegates.c: Rebuild.
5122 * target.c (update_current_target): Don't inherit or default
5123 to_terminal_inferior.
5124 * target.h (struct target_ops) <to_terminal_inferior>: Use
5125 TARGET_DEFAULT_IGNORE.
5126
5127 2014-02-19 Tom Tromey <tromey@redhat.com>
5128
5129 * target-delegates.c: Rebuild.
5130 * target.c (update_current_target): Don't inherit or default
5131 to_terminal_init.
5132 * target.h (struct target_ops) <to_terminal_init>: Use
5133 TARGET_DEFAULT_IGNORE.
5134
5135 2014-02-19 Tom Tromey <tromey@redhat.com>
5136
5137 * target-delegates.c: Rebuild.
5138 * target.c (update_current_target): Don't inherit or default
5139 to_can_accel_watchpoint_condition.
5140 * target.h (struct target_ops)
5141 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
5142
5143 2014-02-19 Tom Tromey <tromey@redhat.com>
5144
5145 * target-delegates.c: Rebuild.
5146 * target.c (update_current_target): Don't inherit or default
5147 to_region_ok_for_hw_watchpoint.
5148 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
5149 Use TARGET_DEFAULT_FUNC.
5150
5151 2014-02-19 Tom Tromey <tromey@redhat.com>
5152
5153 * target-delegates.c: Rebuild.
5154 * target.c (update_current_target): Don't inherit or default
5155 to_watchpoint_addr_within_range.
5156 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
5157 Use TARGET_DEFAULT_FUNC.
5158
5159 2014-02-19 Tom Tromey <tromey@redhat.com>
5160
5161 * target-delegates.c: Rebuild.
5162 * target.c (update_current_target): Don't inherit or default
5163 to_remove_watchpoint.
5164 * target.h (struct target_ops) <to_remove_watchpoint>: Use
5165 TARGET_DEFAULT_NORETURN.
5166
5167 2014-02-19 Tom Tromey <tromey@redhat.com>
5168
5169 * target-delegates.c: Rebuild.
5170 * target.c (update_current_target): Don't inherit or default
5171 to_insert_watchpoint.
5172 * target.h (struct target_ops) <to_insert_watchpoint>: Use
5173 TARGET_DEFAULT_RETURN.
5174
5175 2014-02-19 Tom Tromey <tromey@redhat.com>
5176
5177 * target-delegates.c: Rebuild.
5178 * target.c (update_current_target): Don't inherit or default
5179 to_remove_hw_breakpoint.
5180 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
5181 TARGET_DEFAULT_RETURN.
5182
5183 2014-02-19 Tom Tromey <tromey@redhat.com>
5184
5185 * target-delegates.c: Rebuild.
5186 * target.c (update_current_target): Don't inherit or default
5187 to_insert_hw_breakpoint.
5188 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
5189 TARGET_DEFAULT_RETURN.
5190
5191 2014-02-19 Tom Tromey <tromey@redhat.com>
5192
5193 * target-delegates.c: Rebuild.
5194 * target.c (update_current_target): Don't inherit or default
5195 to_can_use_hw_breakpoint.
5196 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
5197 TARGET_DEFAULT_RETURN.
5198
5199 2014-02-19 Tom Tromey <tromey@redhat.com>
5200
5201 * target-delegates.c: Rebuild.
5202 * target.c (update_current_target): Don't inherit or default
5203 to_files_info.
5204 * target.h (struct target_ops) <to_files_info>: Use
5205 TARGET_DEFAULT_IGNORE.
5206
5207 2014-02-19 Tom Tromey <tromey@redhat.com>
5208
5209 * target-delegates.c: Rebuild.
5210 * target.c (update_current_target): Don't inherit or default
5211 to_store.
5212 * target.h (struct target_ops) <to_store>: Use
5213 TARGET_DEFAULT_NORETURN.
5214
5215 2014-02-19 Tom Tromey <tromey@redhat.com>
5216
5217 * target-delegates.c: Rebuild.
5218 * target.c (update_current_target): Don't inherit or default
5219 to_post_attach.
5220 * target.h (struct target_ops) <to_post_attach>: Use
5221 TARGET_DEFAULT_IGNORE.
5222
5223 2014-02-19 Tom Tromey <tromey@redhat.com>
5224
5225 * target-delegates.c: Rebuild.
5226 * target.c (update_current_target): Don't inherit or default
5227 to_rcmd.
5228 (default_rcmd): New function.
5229 (do_monitor_command): Unconditionally delegate.
5230 * target.h (struct target_ops) <to_rmcd>: Use
5231 TARGET_DEFAULT_FUNC.
5232
5233 2014-02-19 Tom Tromey <tromey@redhat.com>
5234
5235 * target-delegates.c: Rebuild.
5236 * target.c (init_dummy_target): Don't initialize to_attach.
5237 (target_attach): Unconditionally delegate.
5238 * target.h (struct target_ops) <to_attach>: Use
5239 TARGET_DEFAULT_FUNC.
5240
5241 2014-02-19 Tom Tromey <tromey@redhat.com>
5242
5243 * target-delegates.c: Rebuild.
5244 * target.c (target_detach): Unconditionally delegate.
5245 (init_dummy_target): Don't initialize to_detach.
5246 * target.h (struct target_ops) <to_detach>: Use
5247 TARGET_DEFAULT_IGNORE.
5248
5249 2014-02-19 Tom Tromey <tromey@redhat.com>
5250
5251 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
5252 Add argument.
5253 (target_augmented_libraries_svr4_read): Add argument.
5254 * target.c (update_current_target): Update.
5255 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
5256 argument.
5257
5258 2014-02-19 Tom Tromey <tromey@redhat.com>
5259
5260 * target.h (struct target_ops) <to_call_history_range>: Add
5261 argument.
5262 * target.c (target_call_history_range): Add argument.
5263 * record-btrace.c (record_btrace_call_history_range): Add 'self'
5264 argument.
5265 (record_btrace_call_history_from): Update.
5266
5267 2014-02-19 Tom Tromey <tromey@redhat.com>
5268
5269 * target.h (struct target_ops) <to_call_history_from>: Add
5270 argument.
5271 * target.c (target_call_history_from): Add argument.
5272 * record-btrace.c (record_btrace_call_history_from): Add 'self'
5273 argument.
5274
5275 2014-02-19 Tom Tromey <tromey@redhat.com>
5276
5277 * target.h (struct target_ops) <to_call_history>: Add argument.
5278 * target.c (target_call_history): Add argument.
5279 * record-btrace.c (record_btrace_call_history): Add 'self'
5280 argument.
5281
5282 2014-02-19 Tom Tromey <tromey@redhat.com>
5283
5284 * target.h (struct target_ops) <to_insn_history_range>: Add
5285 argument.
5286 * target.c (target_insn_history_range): Add argument.
5287 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
5288 argument.
5289 (record_btrace_insn_history_from): Update.
5290
5291 2014-02-19 Tom Tromey <tromey@redhat.com>
5292
5293 * target.h (struct target_ops) <to_insn_history_from>: Add
5294 argument.
5295 * target.c (target_insn_history_from): Add argument.
5296 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
5297 argument.
5298
5299 2014-02-19 Tom Tromey <tromey@redhat.com>
5300
5301 * target.h (struct target_ops) <to_insn_history>: Add argument.
5302 * target.c (target_insn_history): Add argument.
5303 * record-btrace.c (record_btrace_insn_history): Add 'self'
5304 argument.
5305
5306 2014-02-19 Tom Tromey <tromey@redhat.com>
5307
5308 * target.h (struct target_ops) <to_goto_record>: Add argument.
5309 * target.c (target_goto_record): Add argument.
5310 * record-full.c (record_full_goto): Add 'self' argument.
5311 * record-btrace.c (record_btrace_goto): Add 'self' argument.
5312
5313 2014-02-19 Tom Tromey <tromey@redhat.com>
5314
5315 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
5316 * target.c (target_goto_record_end): Add argument.
5317 * record-full.c (record_full_goto_end): Add 'self' argument.
5318 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
5319
5320 2014-02-19 Tom Tromey <tromey@redhat.com>
5321
5322 * target.h (struct target_ops) <to_goto_record_begin>: Add
5323 argument.
5324 * target.c (target_goto_record_begin): Add argument.
5325 * record-full.c (record_full_goto_begin): Add 'self' argument.
5326 * record-btrace.c (record_btrace_goto_begin): Add 'self'
5327 argument.
5328
5329 2014-02-19 Tom Tromey <tromey@redhat.com>
5330
5331 * target.h (struct target_ops) <to_record_is_replaying>: Add
5332 argument.
5333 * target.c (target_record_is_replaying): Add argument.
5334 * record-full.c (record_full_is_replaying): Add 'self' argument.
5335 * record-btrace.c (record_btrace_is_replaying): Add 'self'
5336 argument.
5337 (record_btrace_xfer_partial, record_btrace_store_registers)
5338 (record_btrace_prepare_to_store, record_btrace_resume)
5339 (record_btrace_wait, record_btrace_decr_pc_after_break)
5340 (record_btrace_find_new_threads, record_btrace_thread_alive):
5341 Update.
5342
5343 2014-02-19 Tom Tromey <tromey@redhat.com>
5344
5345 * target.h (struct target_ops) <to_delete_record>: Add argument.
5346 * target.c (target_delete_record): Add argument.
5347 * record-full.c (record_full_delete): Add 'self' argument.
5348
5349 2014-02-19 Tom Tromey <tromey@redhat.com>
5350
5351 * target.h (struct target_ops) <to_save_record>: Add argument.
5352 * target.c (target_save_record): Add argument.
5353 * record-full.c (record_full_save): Add 'self' argument.
5354 (record_full_save): Add 'self' argument.
5355
5356 2014-02-19 Tom Tromey <tromey@redhat.com>
5357
5358 * target.h (struct target_ops) <to_info_record>: Add argument.
5359 * target.c (target_info_record): Add argument.
5360 * record.c (info_record_command): Add argument.
5361 * record-full.c (record_full_info): Add 'self' argument.
5362 * record-btrace.c (record_btrace_info): Add 'self' argument.
5363
5364 2014-02-19 Tom Tromey <tromey@redhat.com>
5365
5366 * target.h (struct target_ops) <to_stop_recording>: Add argument.
5367 * target.c (target_stop_recording): Add argument.
5368 * record.c (record_stop): Add argument.
5369 * record-btrace.c (record_btrace_stop_recording): Add 'self'
5370 argument.
5371
5372 2014-02-19 Tom Tromey <tromey@redhat.com>
5373
5374 * target.h (struct target_ops) <to_read_btrace>: Add argument.
5375 * target.c (struct target_ops) <to_read_btrace>: Add argument.
5376 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
5377 argument.
5378 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
5379 (_initialize_amd64_linux_nat): Use it.
5380 * i386-linux-nat.c (i386_linux_read_btrace): New function.
5381 (_initialize_i386_linux_nat): Use it.
5382
5383 2014-02-19 Tom Tromey <tromey@redhat.com>
5384
5385 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
5386 * target.c (target_teardown_btrace): Add argument.
5387 * remote.c (remote_teardown_btrace): Add 'self' argument.
5388 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
5389 argument.
5390 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
5391 argument.
5392
5393 2014-02-19 Tom Tromey <tromey@redhat.com>
5394
5395 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
5396 * target.c (target_disable_btrace): Add argument.
5397 * remote.c (remote_disable_btrace): Add 'self' argument.
5398 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
5399 argument.
5400 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
5401 argument.
5402
5403 2014-02-19 Tom Tromey <tromey@redhat.com>
5404
5405 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
5406 * target.c (target_enable_btrace): Add argument.
5407 * remote.c (remote_enable_btrace): Add 'self' argument.
5408 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
5409 argument.
5410 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
5411 argument.
5412
5413 2014-02-19 Tom Tromey <tromey@redhat.com>
5414
5415 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
5416 (target_can_use_agent): Add argument.
5417 * target.c (update_current_target): Update.
5418 * remote.c (remote_can_use_agent): Add 'self' argument.
5419 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
5420
5421 2014-02-19 Tom Tromey <tromey@redhat.com>
5422
5423 * target.h (struct target_ops) <to_use_agent>: Add argument.
5424 (target_use_agent): Add argument.
5425 * target.c (update_current_target): Update.
5426 * remote.c (remote_use_agent): Add 'self' argument.
5427 * inf-child.c (inf_child_use_agent): Add 'self' argument.
5428
5429 2014-02-19 Tom Tromey <tromey@redhat.com>
5430
5431 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
5432 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
5433 (target_traceframe_info): Add argument.
5434 * target.c (update_current_target): Update.
5435 * remote.c (remote_traceframe_info): Add 'self' argument.
5436 * ctf.c (ctf_traceframe_info): Add 'self' argument.
5437
5438 2014-02-19 Tom Tromey <tromey@redhat.com>
5439
5440 * target.h (target_static_tracepoint_markers_by_strid): Add
5441 argument.
5442 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
5443 'self' argument.
5444 * target.c (update_current_target): Update.
5445 * remote.c (struct target_ops)
5446 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
5447 * linux-nat.c (struct target_ops)
5448 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
5449
5450 2014-02-19 Tom Tromey <tromey@redhat.com>
5451
5452 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
5453 Add argument.
5454 (target_static_tracepoint_marker_at): Add argument.
5455 * target.c (update_current_target): Update.
5456 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
5457 argument.
5458
5459 2014-02-19 Tom Tromey <tromey@redhat.com>
5460
5461 * target.h (struct target_ops) <to_set_permissions>: Add argument.
5462 (target_set_permissions): Add argument.
5463 * target.c (update_current_target): Update.
5464 * remote.c (remote_set_permissions): Add 'self' argument.
5465 (remote_start_remote): Update.
5466
5467 2014-02-19 Tom Tromey <tromey@redhat.com>
5468
5469 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
5470 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
5471 (target_get_tib_address): Add argument.
5472 * target.c (update_current_target): Update.
5473 * remote.c (remote_get_tib_address): Add 'self' argument.
5474
5475 2014-02-19 Tom Tromey <tromey@redhat.com>
5476
5477 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
5478 (target_set_trace_notes): Add argument.
5479 * target.c (update_current_target): Update.
5480 * remote.c (remote_set_trace_notes): Add 'self' argument.
5481
5482 2014-02-19 Tom Tromey <tromey@redhat.com>
5483
5484 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
5485 argument.
5486 (target_set_trace_buffer_size): Add argument.
5487 * target.c (update_current_target): Update.
5488 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
5489
5490 2014-02-19 Tom Tromey <tromey@redhat.com>
5491
5492 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
5493 argument.
5494 (target_set_circular_trace_buffer): Add argument.
5495 * target.c (update_current_target): Update.
5496 * remote.c (remote_set_circular_trace_buffer): Add 'self'
5497 argument.
5498
5499 2014-02-19 Tom Tromey <tromey@redhat.com>
5500
5501 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
5502 argument.
5503 (target_set_disconnected_tracing): Add argument.
5504 * target.c (update_current_target): Update.
5505 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
5506
5507 2014-02-19 Tom Tromey <tromey@redhat.com>
5508
5509 * target.h (struct target_ops)
5510 <to_get_min_fast_tracepoint_insn_len>: Add argument.
5511 (target_get_min_fast_tracepoint_insn_len): Add argument.
5512 * target.c (update_current_target): Update.
5513 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
5514 argument.
5515
5516 2014-02-19 Tom Tromey <tromey@redhat.com>
5517
5518 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
5519 argument.
5520 (target_get_raw_trace_data): Add argument.
5521 * target.c (update_current_target): Update.
5522 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
5523
5524 2014-02-19 Tom Tromey <tromey@redhat.com>
5525
5526 * target.h (struct target_ops) <to_upload_trace_state_variables>:
5527 Add argument.
5528 (target_upload_trace_state_variables): Add argument.
5529 * target.c (update_current_target): Update.
5530 * remote.c (remote_upload_trace_state_variables): Add 'self'
5531 argument.
5532 (remote_start_remote): Update.
5533
5534 2014-02-19 Tom Tromey <tromey@redhat.com>
5535
5536 * target.h (struct target_ops) <to_upload_tracepoints>: Add
5537 argument.
5538 (target_upload_tracepoints): Add argument.
5539 * target.c (update_current_target): Update.
5540 * remote.c (remote_upload_tracepoints): Add 'self' argument.
5541 (remote_start_remote): Update.
5542
5543 2014-02-19 Tom Tromey <tromey@redhat.com>
5544
5545 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
5546 (target_save_trace_data): Add argument.
5547 * target.c (update_current_target): Update.
5548 * remote.c (remote_save_trace_data): Add 'self' argument.
5549
5550 2014-02-19 Tom Tromey <tromey@redhat.com>
5551
5552 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
5553 argument.
5554 * target.h (struct target_ops)
5555 <to_get_trace_state_variable_value>: Add argument.
5556 (target_get_trace_state_variable_value): Add argument.
5557 * target.c (update_current_target): Update.
5558 * remote.c (remote_get_trace_state_variable_value): Add 'self'
5559 argument.
5560 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
5561
5562 2014-02-19 Tom Tromey <tromey@redhat.com>
5563
5564 * tracepoint.c (tfile_trace_find): Add 'self' argument.
5565 * target.h (struct target_ops) <to_trace_find>: Add argument.
5566 (target_trace_find): Add argument.
5567 * target.c (update_current_target): Update.
5568 * remote.c (remote_trace_find): Add 'self' argument.
5569 * ctf.c (ctf_trace_find): Add 'self' argument.
5570
5571 2014-02-19 Tom Tromey <tromey@redhat.com>
5572
5573 * target.h (struct target_ops) <to_trace_stop>: Add argument.
5574 (target_trace_stop): Add argument.
5575 * target.c (update_current_target): Update.
5576 * remote.c (remote_trace_stop): Add 'self' argument.
5577
5578 2014-02-19 Tom Tromey <tromey@redhat.com>
5579
5580 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
5581 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
5582 argument.
5583 (target_get_tracepoint_status): Add argument.
5584 * target.c (update_current_target): Update.
5585 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
5586
5587 2014-02-19 Tom Tromey <tromey@redhat.com>
5588
5589 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
5590 * target.h (struct target_ops) <to_get_trace_status>: Add
5591 argument.
5592 (target_get_trace_status): Add argument.
5593 * target.c (update_current_target): Update.
5594 * remote.c (remote_get_trace_status): Add 'self' argument.
5595 (remote_start_remote, remote_can_download_tracepoint): Update.
5596 * ctf.c (ctf_get_trace_status): Add 'self' argument.
5597
5598 2014-02-19 Tom Tromey <tromey@redhat.com>
5599
5600 * target.h (struct target_ops) <to_trace_start>: Add argument.
5601 (target_trace_start): Add argument.
5602 * target.c (update_current_target): Update.
5603 * remote.c (remote_trace_start): Add 'self' argument.
5604
5605 2014-02-19 Tom Tromey <tromey@redhat.com>
5606
5607 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
5608 Add argument.
5609 (target_trace_set_readonly_regions): Add argument.
5610 * target.c (update_current_target): Update.
5611 * remote.c (remote_trace_set_readonly_regions): Add 'self'
5612 argument.
5613
5614 2014-02-19 Tom Tromey <tromey@redhat.com>
5615
5616 * target.h (struct target_ops) <to_disable_tracepoint>: Add
5617 argument.
5618 (target_disable_tracepoint): Add argument.
5619 * target.c (update_current_target): Update.
5620 * remote.c (remote_disable_tracepoint): Add 'self' argument.
5621
5622 2014-02-19 Tom Tromey <tromey@redhat.com>
5623
5624 * target.h (struct target_ops) <to_enable_tracepoint>: Add
5625 argument.
5626 (target_enable_tracepoint): Add argument.
5627 * target.c (update_current_target): Update.
5628 * remote.c (remote_enable_tracepoint): Add 'self' argument.
5629
5630 2014-02-19 Tom Tromey <tromey@redhat.com>
5631
5632 * target.h (struct target_ops) <to_download_trace_state_variable>:
5633 Add argument.
5634 (target_download_trace_state_variable): Add argument.
5635 * target.c (update_current_target): Update.
5636 * remote.c (remote_download_trace_state_variable): Add 'self'
5637 argument.
5638
5639 2014-02-19 Tom Tromey <tromey@redhat.com>
5640
5641 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
5642 argument.
5643 (target_can_download_tracepoint): Add argument.
5644 * target.c (update_current_target): Update.
5645 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
5646
5647 2014-02-19 Tom Tromey <tromey@redhat.com>
5648
5649 * target.h (struct target_ops) <to_download_tracepoint>: Add
5650 argument.
5651 (target_download_tracepoint): Add argument.
5652 * target.c (update_current_target): Update.
5653 * remote.c (remote_download_tracepoint): Add 'self' argument.
5654
5655 2014-02-19 Tom Tromey <tromey@redhat.com>
5656
5657 * target.h (struct target_ops) <to_trace_init>: Add argument.
5658 (target_trace_init): Add argument.
5659 * target.c (update_current_target): Update.
5660 * remote.c (remote_trace_init): Add 'self' argument.
5661
5662 2014-02-19 Tom Tromey <tromey@redhat.com>
5663
5664 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
5665 * target.c (target_fileio_readlink): Add argument.
5666 * remote.c (remote_hostio_readlink): Add 'self' argument.
5667 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
5668
5669 2014-02-19 Tom Tromey <tromey@redhat.com>
5670
5671 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
5672 * target.c (target_fileio_unlink): Add argument.
5673 * remote.c (remote_hostio_unlink): Add 'self' argument.
5674 (remote_file_delete): Update.
5675 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
5676
5677 2014-02-19 Tom Tromey <tromey@redhat.com>
5678
5679 * target.h (struct target_ops) <to_fileio_close>: Add argument.
5680 * target.c (target_fileio_close): Add argument.
5681 * remote.c (remote_hostio_close): Add 'self' argument.
5682 (remote_hostio_close_cleanup): Update.
5683 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
5684 Update.
5685 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
5686
5687 2014-02-19 Tom Tromey <tromey@redhat.com>
5688
5689 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
5690 * target.c (target_fileio_pread): Add argument.
5691 * remote.c (remote_hostio_pread): Add 'self' argument.
5692 (remote_bfd_iovec_pread, remote_file_get): Update.
5693 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
5694
5695 2014-02-19 Tom Tromey <tromey@redhat.com>
5696
5697 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
5698 * target.c (target_fileio_pwrite): Add argument.
5699 * remote.c (remote_hostio_pwrite): Add 'self' argument.
5700 (remote_file_put): Update.
5701 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
5702
5703 2014-02-19 Tom Tromey <tromey@redhat.com>
5704
5705 * target.h (struct target_ops) <to_fileio_open>: Add argument.
5706 * target.c (target_fileio_open): Add argument.
5707 * remote.c (remote_hostio_open): Add 'self' argument.
5708 (remote_bfd_iovec_open): Add 'self' argument.
5709 (remote_file_put): Add 'self' argument.
5710 (remote_file_get): Add 'self' argument.
5711 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
5712
5713 2014-02-19 Tom Tromey <tromey@redhat.com>
5714
5715 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
5716 Add argument.
5717 (target_can_run_breakpoint_commands): Add argument.
5718 * target.c (update_current_target): Update.
5719 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
5720 argument.
5721 (remote_insert_breakpoint): Add 'self' argument.
5722 (remote_insert_hw_breakpoint): Add 'self' argument.
5723 (remote_can_run_breakpoint_commands): Add 'self' argument.
5724
5725 2014-02-19 Tom Tromey <tromey@redhat.com>
5726
5727 * target.h (struct target_ops)
5728 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
5729 (target_supports_evaluation_of_breakpoint_conditions): Add
5730 argument.
5731 * target.c (update_current_target): Update.
5732 * remote.c (remote_supports_cond_breakpoints): Add 'self'
5733 argument.
5734 (remote_insert_breakpoint): Add 'self' argument.
5735 (remote_insert_hw_breakpoint): Add 'self' argument.
5736 (remote_supports_cond_breakpoints): Add 'self' argument.
5737
5738 2014-02-19 Tom Tromey <tromey@redhat.com>
5739
5740 * target.h (struct target_ops) <to_supports_string_tracing>: Add
5741 argument.
5742 (target_supports_string_tracing): Add argument.
5743 * target.c (update_current_target): Update.
5744 * remote.c (remote_supports_string_tracing): Add 'self' argument.
5745
5746 2014-02-19 Tom Tromey <tromey@redhat.com>
5747
5748 * target.h (struct target_ops)
5749 <to_supports_disable_randomization>: Add argument.
5750 * target.c (find_default_supports_disable_randomization): Add
5751 argument.
5752 (target_supports_disable_randomization): Add argument.
5753 (find_default_supports_disable_randomization): Add 'self'
5754 argument.
5755 * remote.c (extended_remote_supports_disable_randomization): Add
5756 'self' argument.
5757 (remote_supports_disable_randomization): Add 'self' argument.
5758 (extended_remote_create_inferior): Update.
5759 * linux-nat.c (linux_nat_supports_disable_randomization): Add
5760 'self' argument.
5761
5762 2014-02-19 Tom Tromey <tromey@redhat.com>
5763
5764 * target.h (struct target_ops)
5765 <to_supports_enable_disable_tracepoint>: Add argument.
5766 (target_supports_enable_disable_tracepoint): Add argument.
5767 * target.c (update_current_target): Update.
5768 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
5769 argument.
5770
5771 2014-02-19 Tom Tromey <tromey@redhat.com>
5772
5773 * target.h (struct target_ops) <to_supports_multi_process>: Add
5774 argument.
5775 (target_supports_multi_process): Add argument.
5776 * target.c (update_current_target): Update.
5777 * remote.c (remote_supports_multi_process): Add 'self' argument.
5778 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
5779 argument.
5780 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
5781 argument.
5782
5783 2014-02-19 Tom Tromey <tromey@redhat.com>
5784
5785 * target.h (struct target_ops) <to_execution_direction>: Add
5786 argument.
5787 (target_execution_direction): Add argument.
5788 * target.c (default_execution_direction): Add 'self' argument.
5789 * record-full.c (record_full_execution_direction): Add 'self'
5790 argument.
5791
5792 2014-02-19 Tom Tromey <tromey@redhat.com>
5793
5794 * target.h (struct target_ops) <to_can_execute_reverse>: Add
5795 argument.
5796 (target_can_execute_reverse): Add argument.
5797 * remote.c (remote_can_execute_reverse): Add 'self' argument.
5798 * record-full.c (record_full_can_execute_reverse): Add 'self'
5799 argument.
5800 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
5801 argument.
5802
5803 2014-02-19 Tom Tromey <tromey@redhat.com>
5804
5805 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
5806 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
5807 argument.
5808 (target_get_ada_task_ptid): Add argument.
5809 * target.c (update_current_target): Update.
5810 (default_get_ada_task_ptid): Add 'self' argument.
5811 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
5812 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
5813 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
5814 argument.
5815 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
5816 argument.
5817 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
5818 argument.
5819 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
5820 argument.
5821 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
5822 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
5823 argument.
5824
5825 2014-02-19 Tom Tromey <tromey@redhat.com>
5826
5827 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
5828 (target_goto_bookmark): Add argument.
5829 * target.c (dummy_goto_bookmark): Add 'self' argument.
5830 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
5831
5832 2014-02-19 Tom Tromey <tromey@redhat.com>
5833
5834 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
5835 (target_get_bookmark): Add argument.
5836 * target.c (dummy_get_bookmark): Add 'self' argument.
5837 * record-full.c (record_full_get_bookmark): Add 'self' argument.
5838
5839 2014-02-19 Tom Tromey <tromey@redhat.com>
5840
5841 * target.h (struct target_ops) <to_make_corefile_notes>: Add
5842 argument.
5843 (target_make_corefile_notes): Add argument.
5844 * target.c (dummy_make_corefile_notes): Add 'self' argument.
5845 * procfs.c (procfs_make_note_section): Add 'self' argument.
5846 (procfs_make_note_section): Add 'self' argument.
5847 (procfs_make_note_section): Add 'self' argument.
5848 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
5849 argument.
5850 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
5851 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
5852 * exec.c (exec_make_note_section): Add 'self' argument.
5853 (exec_make_note_section): Add 'self' argument.
5854
5855 2014-02-19 Tom Tromey <tromey@redhat.com>
5856
5857 * target.h (struct target_ops) <to_find_memory_regions>: Add
5858 argument.
5859 (target_find_memory_regions): Add argument.
5860 * target.c (dummy_find_memory_regions): Add 'self' argument.
5861 * procfs.c (proc_find_memory_regions): Add 'self' argument.
5862 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
5863 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
5864 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
5865 * exec. (exec_do_find_memory_regions): New global.
5866 (exec_set_find_memory_regions): Rewrite.
5867 (exec_find_memory_regions): New function.
5868 (init_exec_ops): Use exec_find_memory_regions.
5869
5870 2014-02-19 Tom Tromey <tromey@redhat.com>
5871
5872 * target.h (struct target_ops) <to_supports_non_stop>: Add
5873 argument.
5874 * target.c (find_default_supports_non_stop): Add argument.
5875 (target_supports_non_stop): Add argument.
5876 (find_default_supports_non_stop): Add 'self' argument.
5877 * remote.c (remote_supports_non_stop): Add 'self' argument.
5878 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
5879
5880 2014-02-19 Tom Tromey <tromey@redhat.com>
5881
5882 * target.h (struct target_ops) <to_log_command>: Add argument.
5883 (target_log_command): Add argument.
5884 * serial.h (serial_log_command): Add 'self' argument.
5885 * serial.c (serial_log_command): Add 'self' argument.
5886
5887 2014-02-19 Tom Tromey <tromey@redhat.com>
5888
5889 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
5890 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
5891 argument.
5892 (target_pid_to_exec_file): Add argument.
5893 * target.c (debug_to_pid_to_exec_file): Add argument.
5894 (update_current_target): Update.
5895 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
5896 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
5897 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
5898 (linux_handle_extended_wait): Update.
5899 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
5900 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
5901 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
5902 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
5903
5904 2014-02-19 Tom Tromey <tromey@redhat.com>
5905
5906 * target.h (struct target_ops) <to_rcmd>: Add argument.
5907 (target_rcmd): Add argument.
5908 * target.c (debug_to_rcmd): Add argument.
5909 (update_current_target, do_monitor_command): Update.
5910 * remote.c (remote_rcmd): Add 'self' argument.
5911 * monitor.c (monitor_rcmd): Add 'self' argument.
5912
5913 2014-02-19 Tom Tromey <tromey@redhat.com>
5914
5915 * windows-nat.c (windows_stop): Add 'self' argument.
5916 * target.h (struct target_ops) <to_stop>: Add argument.
5917 * target.c (target_stop): Add argument.
5918 (debug_to_stop): Add argument.
5919 (update_current_target): Update.
5920 * remote.c (remote_stop): Add 'self' argument.
5921 * remote-sim.c (gdbsim_stop): Add 'self' argument.
5922 (gdbsim_cntrl_c): Update.
5923 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
5924 * procfs.c (procfs_stop): Add 'self' argument.
5925 * nto-procfs.c (procfs_stop): Add 'self' argument.
5926 * monitor.c (monitor_stop): Add 'self' argument.
5927 (monitor_open): Update.
5928 * linux-nat.c (linux_nat_stop): Add argument.
5929 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
5930 * gnu-nat.c (gnu_stop): Add 'self' argument.
5931 * darwin-nat.c (darwin_stop): Add 'self' argument.
5932
5933 2014-02-19 Tom Tromey <tromey@redhat.com>
5934
5935 * target.h (struct target_ops) <to_thread_name>: Add argument.
5936 * target.c (target_thread_name): Add argument.
5937 (update_current_target): Update.
5938 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
5939
5940 2014-02-19 Tom Tromey <tromey@redhat.com>
5941
5942 * target.h (struct target_ops) <to_extra_thread_info>: Add
5943 argument.
5944 (target_extra_thread_info): Add argument.
5945 * target.c (update_current_target): Update.
5946 * remote.c (remote_threads_extra_info): Add 'self' argument.
5947 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
5948 argument.
5949 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
5950 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
5951 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
5952 argument.
5953 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
5954 argument.
5955 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
5956 argument.
5957 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
5958 argument.
5959
5960 2014-02-19 Tom Tromey <tromey@redhat.com>
5961
5962 * target.h (struct target_ops) <to_program_signals>: Add argument.
5963 * target.c (target_program_signals): Add argument.
5964 * remote.c (remote_program_signals): Add 'self' argument.
5965
5966 2014-02-19 Tom Tromey <tromey@redhat.com>
5967
5968 * target.h (struct target_ops) <to_pass_signals>: Add argument.
5969 * target.c (target_pass_signals): Add argument.
5970 * remote.c (remote_pass_signals): Add 'self' argument.
5971 (remote_start_remote): Update.
5972 * procfs.c (procfs_pass_signals): Add 'self' argument.
5973 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
5974 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
5975 (linux_nat_create_inferior, linux_nat_attach): Update.
5976
5977 2014-02-19 Tom Tromey <tromey@redhat.com>
5978
5979 * windows-nat.c (windows_can_run): Add 'self' argument.
5980 * target.h (struct target_ops) <to_can_run>: Add argument.
5981 (target_can_run): Add argument.
5982 * target.c (debug_to_can_run): Add argument.
5983 (update_current_target): Update.
5984 * nto-procfs.c (procfs_can_run): Add 'self' argument.
5985 * inf-child.c (inf_child_can_run): Add 'self' argument.
5986 * go32-nat.c (go32_can_run): Add 'self' argument.
5987
5988 2014-02-19 Tom Tromey <tromey@redhat.com>
5989
5990 * target.h (struct target_ops) <to_has_exited>: Add argument.
5991 (target_has_exited): Add argument.
5992 * target.c (debug_to_has_exited): Add argument.
5993 (update_current_target): Update.
5994
5995 2014-02-19 Tom Tromey <tromey@redhat.com>
5996
5997 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
5998 argument.
5999 (target_set_syscall_catchpoint): Add argument.
6000 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
6001 argument.
6002 * target.c (update_current_target): Update.
6003
6004 2014-02-19 Tom Tromey <tromey@redhat.com>
6005
6006 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
6007 argument.
6008 (target_remove_exec_catchpoint): Add argument.
6009 * target.c (debug_to_remove_exec_catchpoint): Add argument.
6010 (update_current_target): Update.
6011 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
6012 argument.
6013
6014 2014-02-19 Tom Tromey <tromey@redhat.com>
6015
6016 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
6017 argument.
6018 (target_insert_exec_catchpoint): Add argument.
6019 * target.c (debug_to_insert_exec_catchpoint): Add argument.
6020 (update_current_target): Update.
6021 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
6022 argument.
6023
6024 2014-02-19 Tom Tromey <tromey@redhat.com>
6025
6026 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
6027 argument.
6028 (target_remove_vfork_catchpoint): Add argument.
6029 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
6030 (update_current_target): Update.
6031 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
6032 argument.
6033
6034 2014-02-19 Tom Tromey <tromey@redhat.com>
6035
6036 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
6037 argument.
6038 (target_insert_vfork_catchpoint): Add argument.
6039 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
6040 (update_current_target): Update.
6041 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
6042 argument.
6043
6044 2014-02-19 Tom Tromey <tromey@redhat.com>
6045
6046 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
6047 argument.
6048 (target_remove_fork_catchpoint): Add argument.
6049 * target.c (debug_to_remove_fork_catchpoint): Add argument.
6050 (update_current_target): Update.
6051 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
6052 argument.
6053
6054 2014-02-19 Tom Tromey <tromey@redhat.com>
6055
6056 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
6057 argument.
6058 (target_insert_fork_catchpoint): Add argument.
6059 * target.c (debug_to_insert_fork_catchpoint): Add argument.
6060 (update_current_target): Update.
6061 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
6062 argument.
6063
6064 2014-02-19 Tom Tromey <tromey@redhat.com>
6065
6066 * target.h (struct target_ops) <to_post_startup_inferior>: Add
6067 argument.
6068 (target_post_startup_inferior): Add argument.
6069 * target.c (debug_to_post_startup_inferior): Add argument.
6070 (update_current_target): Update.
6071 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
6072 argument.
6073 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
6074 argument.
6075 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
6076 argument.
6077 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
6078 argument.
6079 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
6080 'self' argument.
6081 (super_post_startup_inferior): Likewise.
6082 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
6083 'self' argument.
6084 (super_post_startup_inferior): Likewise.
6085 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
6086 Add 'self' argument.
6087 (super_post_startup_inferior): Likewise.
6088
6089 2014-02-19 Tom Tromey <tromey@redhat.com>
6090
6091 * target.h (struct target_ops) <to_load>: Add argument.
6092 * target.c (target_load): Add argument.
6093 (debug_to_load): Add argument.
6094 (update_current_target): Update.
6095 * remote.c (remote_load): Add 'self' argument.
6096 * remote-sim.c (gdbsim_load): Add 'self' argument.
6097 * remote-mips.c (mips_load): Add 'self' argument.
6098 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
6099 * monitor.c (monitor_load): Add 'self' argument.
6100 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
6101
6102 2014-02-19 Tom Tromey <tromey@redhat.com>
6103
6104 * target.h (struct target_ops) <to_terminal_info>: Add argument.
6105 (target_terminal_info): Add argument.
6106 * target.c (debug_to_terminal_info): Add argument.
6107 (default_terminal_info): Likewise.
6108 * inflow.c (child_terminal_info): Add 'self' argument.
6109 * inferior.h (child_terminal_info): Add 'self' argument.
6110 * go32-nat.c (go32_terminal_info): Add 'self' argument.
6111
6112 2014-02-19 Tom Tromey <tromey@redhat.com>
6113
6114 * target.h (struct target_ops) <to_terminal_save_ours>: Add
6115 argument.
6116 (target_terminal_save_ours): Add argument.
6117 * target.c (debug_to_terminal_save_ours): Add argument.
6118 (update_current_target): Update.
6119 * inflow.c (terminal_save_ours): Add 'self' argument.
6120 * inferior.h (terminal_save_ours): Add 'self' argument.
6121
6122 2014-02-19 Tom Tromey <tromey@redhat.com>
6123
6124 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
6125 (target_terminal_ours): Add argument.
6126 * target.c (debug_to_terminal_ours): Add argument.
6127 (update_current_target): Update.
6128 * remote.c (remote_terminal_ours): Add 'self' argument.
6129 (remote_close): Update.
6130 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
6131 * inflow.c (terminal_ours): Add 'self' argument.
6132 * inferior.h (terminal_ours): Add 'self' argument.
6133 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
6134
6135 2014-02-19 Pedro Alves <palves@redhat.com>
6136 Tom Tromey <tromey@redhat.com>
6137
6138 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
6139 argument.
6140 (target_terminal_ours_for_output): Add argument.
6141 * target.c (debug_to_terminal_ours_for_output): Add argument.
6142 (update_current_target): Update.
6143 * inflow.c (terminal_ours_for_output): Add 'self' argument.
6144 * inferior.h (terminal_ours_for_output): Add 'self' argument.
6145 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
6146
6147 2014-02-19 Tom Tromey <tromey@redhat.com>
6148
6149 * target.h (struct target_ops) <to_terminal_inferior>: Add
6150 argument.
6151 * target.c (target_terminal_inferior): Add argument.
6152 (update_current_target): Update.
6153 * remote.c (remote_terminal_inferior): Add 'self' argument.
6154 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
6155 * inflow.c (terminal_inferior): Add 'self' argument.
6156 * inferior.h (terminal_inferior): Add 'self' argument.
6157 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
6158 (go32_terminal_inferior): Add 'self' argument.
6159
6160 2014-02-19 Tom Tromey <tromey@redhat.com>
6161
6162 * target.h (struct target_ops) <to_terminal_init>: Add argument.
6163 (target_terminal_init): Add argument.
6164 * target.c (debug_to_terminal_init): Add argument.
6165 (update_current_target): Update.
6166 * inflow.c (terminal_init_inferior): Add 'self' argument.
6167 * inferior.h (terminal_init_inferior): Add 'self' argument.
6168 * go32-nat.c (go32_terminal_init): Add 'self' argument.
6169 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
6170
6171 2014-02-19 Tom Tromey <tromey@redhat.com>
6172
6173 * target.h (struct target_ops)
6174 <to_can_accel_watchpoint_condition>: Add argument.
6175 (target_can_accel_watchpoint_condition): Add argument.
6176 * target.c (debug_to_can_accel_watchpoint_condition): Add
6177 argument.
6178 (update_current_target): Update.
6179 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
6180 'self' argument.
6181
6182 2014-02-19 Tom Tromey <tromey@redhat.com>
6183
6184 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
6185 Add argument.
6186 (target_region_ok_for_hw_watchpoint): Add argument.
6187 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
6188 (default_region_ok_for_hw_watchpoint): Add argument.
6189 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
6190 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
6191 argument.
6192 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
6193 argument.
6194 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
6195 argument.
6196 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
6197 'self' argument.
6198 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
6199 'self' argument.
6200 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
6201 'self' argument.
6202 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
6203 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
6204 'self' argument.
6205 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
6206 Add 'self' argument.
6207
6208 2014-02-19 Tom Tromey <tromey@redhat.com>
6209
6210 * target.h (struct target_ops) <to_insert_watchpoint>: Add
6211 argument.
6212 (target_insert_watchpoint): Add argument.
6213 * target.c (debug_to_insert_watchpoint): Add argument.
6214 (update_current_target): Update.
6215 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
6216 * remote.c (remote_insert_watchpoint): Add 'self' argument.
6217 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
6218 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
6219 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
6220 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
6221 argument.
6222 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
6223 (procfs_insert_hw_watchpoint): Add 'self' argument.
6224 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
6225 argument.
6226 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
6227 argument.
6228 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
6229 argument.
6230 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
6231 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
6232 argument.
6233 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
6234 'self' argument.
6235
6236 2014-02-19 Tom Tromey <tromey@redhat.com>
6237
6238 * target.h (struct target_ops) <to_remove_watchpoint>: Add
6239 argument.
6240 (target_remove_watchpoint): Add argument.
6241 * target.c (debug_to_remove_watchpoint): Add argument.
6242 (update_current_target): Update.
6243 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
6244 * remote.c (remote_remove_watchpoint): Add 'self' argument.
6245 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
6246 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
6247 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
6248 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
6249 argument.
6250 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
6251 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
6252 argument.
6253 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
6254 argument.
6255 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
6256 argument.
6257 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
6258 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
6259 argument.
6260 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
6261 'self' argument.
6262
6263 2014-02-19 Tom Tromey <tromey@redhat.com>
6264
6265 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
6266 argument.
6267 (target_remove_hw_breakpoint): Add argument.
6268 * target.c (debug_to_remove_hw_breakpoint): Add argument.
6269 (update_current_target): Update.
6270 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
6271 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
6272 argument.
6273 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
6274 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
6275 argument.
6276 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
6277 'self' argument.
6278
6279 2014-02-19 Tom Tromey <tromey@redhat.com>
6280
6281 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
6282 argument.
6283 (target_insert_hw_breakpoint): Add argument.
6284 * target.c (debug_to_insert_hw_breakpoint): Add argument.
6285 (update_current_target): Update.
6286 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
6287 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
6288 argument.
6289 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
6290 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
6291 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
6292 argument.
6293 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
6294 'self' argument.
6295
6296 2014-02-19 Tom Tromey <tromey@redhat.com>
6297
6298 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
6299 argument.
6300 (target_can_use_hardware_watchpoint): Add argument.
6301 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
6302 (update_current_target): Update.
6303 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
6304 argument.
6305 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
6306 argument.
6307 * remote.c (remote_check_watch_resources): Add 'self' argument.
6308 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
6309 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
6310 argument.
6311 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
6312 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
6313 argument.
6314 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
6315 argument.
6316 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
6317 argument.
6318 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
6319 argument.
6320 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
6321 argument.
6322 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
6323 argument.
6324 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
6325 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
6326 argument.
6327 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
6328 'self' argument.
6329
6330 2014-02-19 Tom Tromey <tromey@redhat.com>
6331
6332 * target.h (struct target_ops) <to_post_attach>: Add argument.
6333 (target_post_attach): Add argument.
6334 * target.c (debug_to_post_attach): Add argument.
6335 (update_current_target): Update.
6336 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
6337 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
6338 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
6339 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
6340 * inf-child.c (inf_child_post_attach): Add 'self' argument.
6341
6342 2014-02-19 Tom Tromey <tromey@redhat.com>
6343
6344 * windows-nat.c (windows_close): Add 'self' argument.
6345 * tracepoint.c (tfile_close): Add 'self' argument.
6346 * target.h (struct target_ops) <to_close>: Add argument.
6347 * target.c (target_close): Add argument.
6348 (update_current_target): Update.
6349 * remote.c (remote_close): Add 'self' argument.
6350 * remote-sim.c (gdbsim_close): Add 'self' argument.
6351 * remote-mips.c (mips_close): Add 'self' argument.
6352 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
6353 * record-full.c (record_full_close): Add 'self' argument.
6354 * record-btrace.c (record_btrace_close): Add 'self' argument.
6355 * monitor.h (monitor_close): Add 'self' argument.
6356 * monitor.c (monitor_close): Add 'self' argument.
6357 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
6358 * linux-nat.c (linux_nat_close): Add argument.
6359 * go32-nat.c (go32_close): Add 'self' argument.
6360 * exec.c (exec_close_1): Add 'self' argument.
6361 * ctf.c (ctf_close): Add 'self' argument.
6362 * corelow.c (core_close): Add 'self' argument.
6363 (core_close_cleanup): Update.
6364 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
6365 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
6366
6367 2014-02-19 Tom Tromey <tromey@redhat.com>
6368
6369 * remote.c (remote_load): New function.
6370 (init_remote_ops): Use it.
6371
6372 2014-02-19 Tom Tromey <tromey@redhat.com>
6373
6374 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
6375 argument.
6376 * common/linux-btrace.h (linux_supports_btrace): Update.
6377 * remote.c (remote_supports_btrace): Add "self" argument.
6378 * target-delegates.c: Rebuild.
6379 * target.c (target_supports_btrace): Remove.
6380 * target.h (struct target_ops) <to_supports_btrace>: Add
6381 target_ops argument.
6382 (target_supports_btrace): New define.
6383
6384 2014-02-19 Tom Tromey <tromey@redhat.com>
6385
6386 * record-full.c (record_full_beneath_to_resume_ops)
6387 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
6388 (record_full_beneath_to_wait)
6389 (record_full_beneath_to_store_registers_ops)
6390 (record_full_beneath_to_store_registers)
6391 (record_full_beneath_to_xfer_partial_ops)
6392 (record_full_beneath_to_xfer_partial)
6393 (record_full_beneath_to_insert_breakpoint_ops)
6394 (record_full_beneath_to_insert_breakpoint)
6395 (record_full_beneath_to_remove_breakpoint_ops)
6396 (record_full_beneath_to_remove_breakpoint)
6397 (record_full_beneath_to_stopped_by_watchpoint)
6398 (record_full_beneath_to_stopped_data_address)
6399 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
6400 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
6401 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
6402 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
6403 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
6404 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
6405 (tmp_to_stopped_data_address, tmp_to_async): Remove.
6406 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
6407 (record_full_resume, record_full_wait_1)
6408 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
6409 (record_full_store_registers, record_full_xfer_partial)
6410 (record_full_insert_breakpoint, record_full_remove_breakpoint)
6411 (record_full_async, record_full_core_xfer_partial): Use target
6412 delegation.
6413 * target-delegates.c: Rebuild.
6414 * target.c (current_xfer_partial): Remove.
6415 (update_current_target): Do not INHERIT or de_fault
6416 to_insert_breakpoint, to_remove_breakpoint,
6417 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
6418 to_is_async_p, to_async. Do not set to_xfer_partial field.
6419 (default_xfer_partial): Simplify.
6420 (current_xfer_partial): Remove.
6421 (target_wait, target_resume): Simplify.
6422 (find_default_can_async_p, find_default_is_async_p): Update.
6423 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
6424 to_xfer_partial, to_stopped_by_watchpoint,
6425 to_stopped_data_address.
6426 (target_store_registers): Simplify.
6427 (forward_target_remove_breakpoint)
6428 (forward_target_insert_breakpoint): Remove.
6429 (target_remove_breakpoint, target_insert_breakpoint)
6430 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
6431 * target.h (struct target_ops) <to_resume, to_wait,
6432 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
6433 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
6434 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
6435 markup.
6436 (forward_target_remove_breakpoint)
6437 (forward_target_insert_breakpoint): Remove.
6438 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
6439 directly.
6440 (record_btrace_insert_breakpoint): Delegate directly.
6441
6442 2014-02-19 Tom Tromey <tromey@redhat.com>
6443
6444 PR build/7701:
6445 * target-delegates.c: New file.
6446 * target.c: Include target-delegates.c.
6447 (init_dummy_target): Call install_dummy_methods.
6448 (complete_target_initialization): Call install_delegators.
6449 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
6450 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
6451 * make-target-delegates: New file.
6452
6453 2014-02-19 Tom Tromey <tromey@redhat.com>
6454
6455 * record.c (find_record_target): Use find_target_at.
6456 * target.c (find_target_at): New function.
6457 * target.h (find_target_at): Declare.
6458
6459 2014-02-19 Tom Tromey <tromey@redhat.com>
6460
6461 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
6462 Add 'ops' argument.
6463 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
6464 'ops' argument.
6465 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
6466 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
6467 'ops' argument.
6468 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
6469 argument.
6470 * linux-nat.c (save_sigtrap): Update.
6471 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
6472 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
6473 (linux_nat_close): Update.
6474 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
6475 argument.
6476 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
6477 argument.
6478 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
6479 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
6480 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
6481 (tmp_to_async): Add 'ops' argument.
6482 (record_full_stopped_by_watchpoint, record_full_async)
6483 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
6484 argument.
6485 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
6486 (m32r_stopped_by_watchpoint): Add 'ops' argument.
6487 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
6488 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
6489 (remote_is_async_p, remote_async): Add 'ops' argument.
6490 (remote_stopped_data_address): Update.
6491 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
6492 * target.c (update_current_target)
6493 (find_default_can_async_p, find_default_is_async_p): Update.
6494 (init_dummy_target): Update.
6495 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
6496 * target.h (struct target_ops) <to_stopped_by_watchpoint,
6497 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
6498 (target_can_async_p, target_is_async_p, target_async)
6499 (target_stopped_by_watchpoint): Update.
6500
6501 2014-02-19 Yao Qi <yao@codesourcery.com>
6502
6503 PR gdb/16220
6504 * gdbarch.sh: Remove startup_gdbarch.
6505 * gdbarch.c: Regenerated.
6506 * gdbarch.h: Likewise.
6507
6508 2014-02-17 Kevin Buettner <kevinb@redhat.com>
6509
6510 * rl78-tdep.c (rl78_g10_register_name): New function.
6511 (rl78_return_value): Add g10 support.
6512 (rl78_gdbarch_init): Register rl78_g10_register_name for the
6513 g10.
6514
6515 2014-02-17 Doug Evans <xdje42@gmail.com>
6516
6517 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
6518 (SUBDIR_GUILE_SRCS): Ditto.
6519 (scm-gsmob.o): Ditto.
6520
6521 2014-02-17 Yao Qi <yao@codesourcery.com>
6522
6523 * gnu-nat.c (ILL_RPC): Declare defined function.
6524
6525 2014-02-17 Yao Qi <yao@codesourcery.com>
6526
6527 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
6528 mach_msg_type_number_t.
6529 (gnu_write_inferior): Likewise.
6530
6531 2014-02-17 Yao Qi <yao@codesourcery.com>
6532
6533 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
6534 in format string.
6535 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
6536 (inf_validate_procs, inf_signal): Likewise.
6537 (S_exception_raise_request): Likewise.
6538 (do_mach_notify_dead_name): Likewise.
6539 (steal_exc_port): Likewise.
6540 (gnu_read_inferior): Change 'copy_count''s type to
6541 mach_msg_type_number_t.
6542 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
6543 format string.
6544
6545 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
6546
6547 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
6548 flag. Adjust all users; in particular...
6549 (gnu_wait): ..., don't decrement its value in here...
6550 (gnu_create_inferior): ..., and instead set the flag in here,
6551 around the startup_inferior call, and call that one with
6552 START_INFERIOR_TRAPS_EXPECTED.
6553
6554 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
6555 (ILL_RPC): ... new macro.
6556 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
6557 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
6558 (do_mach_notify_send_once, S_proc_setmsgport_reply)
6559 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
6560 functions with ILL_RPC macro.
6561 (S_proc_pid2task_reply, S_proc_task2pid_reply)
6562 (S_proc_task2proc_reply, S_proc_proc2task_reply)
6563 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
6564 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
6565 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
6566 (S_proc_getlogin_reply, S_proc_getsid_reply)
6567 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
6568 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
6569 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
6570 (S_proc_getnports_reply, S_proc_is_important_reply)
6571 (S_proc_get_code_reply): New stub functions, generated with
6572 ILL_RPC macro.
6573
6574 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
6575 collected the type check structures.
6576
6577 * reply_mig_hack.awk: Don't expect to see the auto keyword.
6578
6579 2014-02-14 Doug Evans <dje@google.com>
6580
6581 * target.c (target_write_partial): Fix result type.
6582
6583 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
6584
6585 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
6586 the proper offsets to access fpregset_t.
6587
6588 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
6589
6590 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
6591 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
6592 * h8300-tdep.c (setmachinelist): Remove global.
6593 * hppa-tdep.c (hppa_sigtramp): Remove global.
6594 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
6595 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
6596 * ravenscar-thread.c (update_target_observer): Remove global.
6597 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
6598
6599 2014-02-12 Tom Tromey <tromey@redhat.com>
6600
6601 * common/rsp-low.c: Update comments.
6602 * common/rsp-low.h: Update comments.
6603
6604 2014-02-12 Tom Tromey <tromey@redhat.com>
6605
6606 * common/rsp-low.c (convert_ascii_to_int): Remove.
6607 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
6608
6609 2014-02-12 Tom Tromey <tromey@redhat.com>
6610
6611 * common/rsp-low.h (unhexify): Don't declare.
6612 * common/rsp-low.c (unhexify): Remove.
6613
6614 2014-02-12 Tom Tromey <tromey@redhat.com>
6615
6616 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
6617 * common/rsp-low.c (convert_int_to_ascii): Remove.
6618
6619 2014-02-12 Tom Tromey <tromey@redhat.com>
6620
6621 * common/rsp-low.h (hexify): Don't declare.
6622 * common/rsp-low.c (hexify): Remove.
6623
6624 2014-02-12 Tom Tromey <tromey@redhat.com>
6625
6626 * common/rsp-low.c (hexify): Never take strlen of argument.
6627
6628 2014-02-12 Tom Tromey <tromey@redhat.com>
6629
6630 * common/rsp-low.c (bin2hex): Never take strlen of argument.
6631 * remote.c (extended_remote_run, remote_rcmd)
6632 (remote_download_trace_state_variable, remote_save_trace_data)
6633 (remote_set_trace_notes): Update.
6634 * tracepoint.c (encode_source_string, tfile_write_status)
6635 (tfile_write_uploaded_tsv): Update.
6636
6637 2014-02-12 Tom Tromey <tromey@redhat.com>
6638
6639 * tracepoint.c: Include rsp-low.h.
6640 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
6641 * remote.c: Include rsp-low.h.
6642 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
6643 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
6644 (remote_unescape_input): Move to common/rsp-low.c.
6645 * common/rsp-low.h: New file.
6646 * common/rsp-low.c: New file.
6647 * Makefile.in (SFILES): Add common/rsp-low.c.
6648 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
6649 (COMMON_OBS): Add rsp-low.o.
6650 (rsp-low.o): New target.
6651
6652 2014-02-12 Tom Tromey <tromey@redhat.com>
6653
6654 * utils.h: Include print-utils.h.
6655 (host_address_to_string, plongest, pulongest, phex, phex_nz)
6656 (int_string, core_addr_to_string, core_addr_to_string_nz)
6657 (hex_string, hex_string_custom): Don't declare.
6658 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
6659 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
6660 (hex_string_custom, int_string, core_addr_to_string)
6661 (core_addr_to_string_nz, host_address_to_string): Move to
6662 common/print-utils.c.
6663 * common/print-utils.h: New file.
6664 * common/print-utils.c: New file
6665 * Makefile.in (SFILES): Add common/print-utils.c.
6666 (HFILES_NO_SRCDIR): Add common/print-utils.h.
6667 (COMMON_OBS): Add print-utils.o.
6668 (print-utils.o): New target.
6669
6670 2014-02-12 Tom Tromey <tromey@redhat.com>
6671
6672 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
6673
6674 2014-02-12 Mark Kettenis <kettenis@gnu.org>
6675
6676 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
6677
6678 2014-02-12 Mark Kettenis <kettenis@gnu.org>
6679
6680 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
6681 if a PT_IO ptrace request returns sucessfully but indicates that 0
6682 bytes were transferred.
6683
6684 2014-02-12 Pedro Alves <palves@redhat.com>
6685 Kevin Buettner <kevinb@redhat.com>
6686
6687 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
6688 TYPE_INSTANCE_FLAG_CODE_SPACE.
6689
6690 2014-02-12 Pedro Alves <palves@redhat.com>
6691
6692 * h8300-tdep.c (pseudo_from_raw_register)
6693 (raw_from_pseudo_register): New functions.
6694 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
6695 them.
6696
6697 2014-02-12 Pedro Alves <palves@redhat.com>
6698
6699 * h8300-tdep.c (h8300_register_sim_regno): New function.
6700 (h8300_gdbarch_init): Install h8300_register_sim_regno as
6701 gdbarch_register_sim_regno hook.
6702
6703 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
6704
6705 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
6706
6707 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
6708
6709 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
6710
6711 2014-02-12 Mark Kettenis <kettenis@gnu.org>
6712
6713 * obsd-tdep.h (obsd_init_abi): New prototype.
6714 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
6715 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
6716 (obsd_init_abi): New functions.
6717 * i386obsd-tdep.c: Include "obsd-tdep.h".
6718 (i386obsd_init_abi): Call obsd_init_abi.
6719 * amd64obsd-tdep.c: Include "obsd-tdep.h".
6720 (amd64obsd_init_abi): Call obsd_init_abi.
6721 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
6722 obsd-tdep.c to gdb_target_obs.
6723
6724 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
6725
6726 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
6727 double float arguments to 16-byte in the argument slots.
6728
6729 2014-02-11 Doug Evans <xdje42@gmail.com>
6730
6731 * configure.ac: Don't crash if pkg-config is not found and guile
6732 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
6733 in guile checks.
6734 * configure: Regenerate.
6735
6736 2014-02-11 Yao Qi <yao@codesourcery.com>
6737
6738 * aix-thread.c (aix_thread_xfer_partial): Update comments.
6739 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
6740 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
6741 * gnu-nat.c (gnu_xfer_memory): Likewise.
6742 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
6743 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
6744 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
6745 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
6746
6747 2014-02-11 Yao Qi <yao@codesourcery.com>
6748
6749 * target.h (enum target_xfer_error): Rename to ...
6750 (enum target_xfer_status): ... it. New. All users updated.
6751 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
6752 New.
6753 (TARGET_XFER_STATUS_ERROR_P): New macro.
6754 (target_xfer_error_to_string): Remove declaration.
6755 (target_xfer_status_to_string): Declare.
6756 (target_xfer_partial_ftype): Adjust it.
6757 (struct target_ops) <to_xfer_partial>: Return
6758 target_xfer_status. Add argument xfered_len. Update
6759 comments.
6760 * target.c (target_xfer_error_to_string): Rename to ...
6761 (target_xfer_status_to_string): ... it. New. All callers
6762 updated.
6763 (target_read_live_memory): Likewise. Call target_xfer_partial
6764 instead of target_read.
6765 (memory_xfer_live_readonly_partial): Return
6766 target_xfer_status. Add argument xfered_len.
6767 (raw_memory_xfer_partial): Likewise.
6768 (memory_xfer_partial_1): Likewise.
6769 (memory_xfer_partial): Likewise.
6770 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
6771 properly. Update debug message.
6772 (default_xfer_partial, current_xfer_partial): Likewise.
6773 (target_write_partial): Likewise.
6774 (target_read_partial): Likewise. All callers updated.
6775 (read_whatever_is_readable): Likewise.
6776 (target_write_with_progress): Likewise.
6777 (target_read_alloc_1): Likewise.
6778
6779 * aix-thread.c (aix_thread_xfer_partial): Likewise.
6780 * auxv.c (procfs_xfer_auxv): Likewise.
6781 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
6782 * bfd-target.c (target_bfd_xfer_partial): Likewise.
6783 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
6784 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
6785 * corefile.c (read_memory): Adjust.
6786 * corelow.c (core_xfer_partial): Likewise.
6787 * ctf.c (ctf_xfer_partial): Likewise.
6788 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
6789 updated.
6790 (darwin_xfer_partial): Likewise.
6791 * exec.c (section_table_xfer_memory_partial): Likewise. All
6792 callers updated.
6793 (exec_xfer_partial): Likewise.
6794 * exec.h (section_table_xfer_memory_partial): Update
6795 declaration.
6796 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
6797 negative.
6798 (gnu_xfer_partial): Likewise.
6799 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
6800 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
6801 (ia64_hpux_xfer_solib_got): Likewise.
6802 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
6803 type of 'partial_len' to ULONGEST.
6804 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
6805 * linux-nat.c (linux_xfer_siginfo ): Likewise.
6806 (linux_nat_xfer_partial): Likewise.
6807 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
6808 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
6809 * monitor.c (monitor_xfer_memory): Likewise.
6810 (monitor_xfer_partial): Likewise.
6811 * procfs.c (procfs_xfer_partial): Likewise.
6812 * record-btrace.c (record_btrace_xfer_partial): Likewise.
6813 * record-full.c (record_full_xfer_partial): Likewise.
6814 (record_full_core_xfer_partial): Likewise.
6815 * remote-sim.c (gdbsim_xfer_memory): Likewise.
6816 (gdbsim_xfer_partial): Likewise.
6817 * remote.c (remote_write_bytes_aux): Likewise. All callers
6818 updated.
6819 (remote_write_bytes, remote_read_bytes): Likewise. All
6820 callers updated.
6821 (remote_flash_erase): Likewise. All callers updated.
6822 (remote_write_qxfer): Likewise. All callers updated.
6823 (remote_read_qxfer): Likewise. All callers updated.
6824 (remote_xfer_partial): Likewise.
6825 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
6826 (rs6000_xfer_shared_libraries): Likewise.
6827 * sol-thread.c (sol_thread_xfer_partial): Likewise.
6828 (sol_thread_xfer_partial): Likewise.
6829 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
6830 (sparc_xfer_partial): Likewise.
6831 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
6832 updated.
6833 (spu_xfer_partial): Likewise.
6834 * spu-multiarch.c (spu_xfer_partial): Likewise.
6835 * tracepoint.c (tfile_xfer_partial): Likewise.
6836 * windows-nat.c (windows_xfer_memory): Likewise.
6837 (windows_xfer_shared_libraries): Likewise.
6838 (windows_xfer_partial): Likewise.
6839 * valprint.c: Replace 'target_xfer_error' with
6840 'target_xfer_status' in comments.
6841
6842 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
6843
6844 Checked in by Joel Brobecker <brobecker@adacore.com>.
6845 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
6846
6847 2014-02-11 Joel Brobecker <brobecker@adacore.com>
6848
6849 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
6850 function parameters.
6851
6852 2014-02-10 Will Newton <will.newton@linaro.org>
6853
6854 * elfread.c (elf_rel_plt_read): Look for a .got section if
6855 looking up .got.plt fails.
6856 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
6857 on address passed to elf_gnu_ifunc_record_cache.
6858 (elf_gnu_ifunc_resolve_addr): Likewise.
6859 (elf_gnu_ifunc_resolver_return_stop): Likewise.
6860
6861 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
6862
6863 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
6864 (X_RETTURN): New macro.
6865 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
6866
6867 * sparc64-tdep.c (sparc64_init_abi): Hook
6868 sparc_in_function_epilogue_p.
6869
6870 2014-02-10 Gary Benson <gbenson@redhat.com>
6871
6872 * symfile-debug.c (debug_qf_expand_symtabs_matching):
6873 Rename name_matcher to symbol_matcher.
6874
6875 2014-02-10 Gary Benson <gbenson@redhat.com>
6876
6877 * symfile-debug.c (debug_qf_expand_symtabs_matching):
6878 Use expand_symtabs_file_matcher_ftype and
6879 expand_symtabs_symbol_matcher_ftype.
6880
6881 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6882
6883 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
6884 (struct ada_symbol_cache): New.
6885 (ada_free_symbol_cache): Forward declare.
6886 (struct ada_pspace_data): New.
6887 (ada_pspace_data_handle): New static global.
6888 (get_ada_pspace_data, ada_pspace_data_cleanup)
6889 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
6890 (cache_space, cache): Delete, now folded inside struct
6891 ada_pspace_data.
6892 (ada_get_symbol_cache): New function.
6893 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
6894 implementation.
6895 (_initialize_ada_language): Remove initialization of cache_space.
6896 Move call to observer_attach_inferior_exit up, grouping it
6897 with the other observer registrations inside this function.
6898 Rename command to be more general. Add call to
6899 register_program_space_data_with_cleanup.
6900
6901 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6902
6903 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
6904 ada_new_objfile_observer.
6905 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
6906 (_initialize_tasks): Update uses of ada_new_objfile_observer
6907 and ada_tasks_normal_stop_observer.
6908
6909 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6910
6911 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
6912 returned by the 'Length attribute to integer.
6913
6914 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6915
6916 * ada-lang.c (_initialize_ada_language): Initialize
6917 cache_space obstack.
6918
6919 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6920
6921 * ada-lang.c (HASH_SIZE): New macro.
6922 (struct cache_entry): New type.
6923 (cache_space, cache): New static globals.
6924 (ada_clear_symbol_cache, find_entry): New functions.
6925 (lookup_cached_symbol, cache_symbol): Implement.
6926 (ada_new_objfile_observer, ada_free_objfile_observer): New.
6927 (_initialize_ada_language): Attach ada_new_objfile_observer
6928 and ada_free_objfile_observer.
6929
6930 2014-02-10 Joel Brobecker <brobecker@adacore.com>
6931
6932 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
6933 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
6934 struct block * parameter.
6935 (ada_lookup_symbol_list_worker): Constify local variable "block".
6936 Remove cast which is no longer necessary.
6937
6938 2014-02-10 Doug Evans <xdje42@gmail.com>
6939
6940 Add Guile as an extension language.
6941 * NEWS: Mention Guile scripting.
6942 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
6943 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
6944 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
6945 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
6946 (CLIBS): Add GUILE_LIBS.
6947 (install-guile): New rule.
6948 (guile.o): New rule.
6949 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
6950 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
6951 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
6952 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
6953 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
6954 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
6955 (scm-type.o, scm-utils.o, scm-value.o): New rules.
6956 * configure.ac: New option --with-guile.
6957 * configure: Regenerate.
6958 * config.in: Regenerate.
6959 * auto-load.c: Remove #include "python/python.h". Add #include
6960 "gdb/section-scripts.h".
6961 (source_section_scripts): Handle Guile scripts.
6962 (_initialize_auto_load): Add name of Guile objfile script to
6963 scripts-directory help text.
6964 * breakpoint.c (condition_command): Tweak comment to include Scheme.
6965 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
6966 (struct breakpoint): New member scm_bp_object.
6967 * defs.h (enum command_control_type): New value guile_control.
6968 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
6969 "extension.h".
6970 (show_user): Update comment.
6971 (_initialize_cli_cmds): Update help text for "show user". Update help
6972 text for max-user-call-depth.
6973 * cli/cli-script.c: Remove #include "python/python.h". Add #include
6974 "extension.h".
6975 (multi_line_command_p): Add guile_control.
6976 (print_command_lines): Handle guile_control.
6977 (execute_control_command, recurse_read_control_structure): Ditto.
6978 (process_next_line): Recognize "guile" commands.
6979 * disasm.c (gdb_disassemble_info): Make non-static.
6980 * disasm.h: #include "dis-asm.h".
6981 (struct gdbarch): Add forward decl.
6982 (gdb_disassemble_info): Declare.
6983 * extension.c: #include "guile/guile.h".
6984 (extension_languages): Add guile.
6985 (get_ext_lang_defn): Handle EXT_LANG_GDB.
6986 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
6987 * gdbtypes.c (get_unsigned_type_max): New function.
6988 (get_signed_type_minmax): New function.
6989 * gdbtypes.h (get_unsigned_type_max): Declare.
6990 (get_signed_type_minmax): Declare.
6991 * guile/README: New file.
6992 * guile/guile-internal.h: New file.
6993 * guile/guile.c: New file.
6994 * guile/guile.h: New file.
6995 * guile/scm-arch.c: New file.
6996 * guile/scm-auto-load.c: New file.
6997 * guile/scm-block.c: New file.
6998 * guile/scm-breakpoint.c: New file.
6999 * guile/scm-disasm.c: New file.
7000 * guile/scm-exception.c: New file.
7001 * guile/scm-frame.c: New file.
7002 * guile/scm-gsmob.c: New file.
7003 * guile/scm-iterator.c: New file.
7004 * guile/scm-lazy-string.c: New file.
7005 * guile/scm-math.c: New file.
7006 * guile/scm-objfile.c: New file.
7007 * guile/scm-ports.c: New file.
7008 * guile/scm-pretty-print.c: New file.
7009 * guile/scm-safe-call.c: New file.
7010 * guile/scm-string.c: New file.
7011 * guile/scm-symbol.c: New file.
7012 * guile/scm-symtab.c: New file.
7013 * guile/scm-type.c: New file.
7014 * guile/scm-utils.c: New file.
7015 * guile/scm-value.c: New file.
7016 * guile/lib/gdb.scm: New file.
7017 * guile/lib/gdb/boot.scm: New file.
7018 * guile/lib/gdb/experimental.scm: New file.
7019 * guile/lib/gdb/init.scm: New file.
7020 * guile/lib/gdb/iterator.scm: New file.
7021 * guile/lib/gdb/printing.scm: New file.
7022 * guile/lib/gdb/types.scm: New file.
7023 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
7024 (VPATH): Add $(GUILE_SRCDIR).
7025 (GUILE_DIR): New variable.
7026 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
7027 (all): Add stamp-guile dependency.
7028 (stamp-guile): New rule.
7029 (clean-guile, install-guile, uninstall-guile): New rules.
7030 (install-only): Add install-guile dependency.
7031 (uninstall): Add uninstall-guile dependency.
7032 (clean): Add clean-guile dependency.
7033
7034 2014-02-09 Doug Evans <xdje42@gmail.com>
7035
7036 Revert this patch (which I approved, mea culpa).
7037
7038 2014-02-08 Mark Kettenis <kettenis@gnu.org>
7039
7040 * Makefile.in (all-lib): Remove.
7041 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
7042
7043 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7044
7045 Fix Python stack corruption.
7046 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
7047 gdb_py_longest.
7048
7049 2014-02-08 Mark Kettenis <kettenis@gnu.org>
7050
7051 * Makefile.in (all-lib): Remove.
7052 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
7053
7054 2014-02-07 Doug Evans <dje@google.com>
7055
7056 * extension-priv.h (extension_language_script_ops): Add comment.
7057 (extension_language_ops): Add comment.
7058 (active_ext_lang_state): Fix typo in comment.
7059
7060 2014-02-07 Pedro Alves <palves@redhat.com>
7061
7062 PR breakpoints/16292
7063 * infrun.c (handle_signal_stop) <signal arrives while stepping
7064 over a breakpoint>: Switch back to the stepping thread.
7065
7066 2014-02-07 Yao Qi <yao@codesourcery.com>
7067
7068 * target.c (target_xfer_partial): Return zero if LEN is zero.
7069
7070 2014-02-07 Yao Qi <yao@codesourcery.com>
7071
7072 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
7073 (ld_so_xfer_auxv): Likewise.
7074 * bfd-target.c (target_bfd_xfer_partial): Likewise.
7075 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
7076 * corelow.c (core_xfer_partial): Likewise.
7077 * ctf.c (ctf_xfer_partial): Likewise.
7078 * darwin-nat.c (darwin_read_dyld_info): Likewise.
7079 (darwin_xfer_partial): Likewise.
7080 * exec.c (exec_xfer_partial): Likewise.
7081 * gnu-nat.c (gnu_xfer_partial): Likewise.
7082 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
7083 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
7084 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
7085 * linux-nat.c (linux_xfer_siginfo): Likewise.
7086 (linux_proc_xfer_spu): Likewise.
7087 * procfs.c (procfs_xfer_partial): Likewise.
7088 * record-full.c (record_full_xfer_partial): Likewise.
7089 (record_full_core_xfer_partial): Likewise.
7090 * remote-sim.c (gdbsim_xfer_partial): Likewise.
7091 * remote.c (remote_write_qxfer): Likewise.
7092 (remote_write_qxfer, remote_read_qxfer): Likewise.
7093 (remote_xfer_partial): Likewise.
7094 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
7095 (rs6000_xfer_shared_libraries): Likewise.
7096 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
7097 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
7098 (spu_xfer_partial): Likewise.
7099 * target.c (memory_xfer_partial_1): Likewise.
7100 * tracepoint.c (tfile_xfer_partial): Likewise.
7101 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
7102 (windows_xfer_partial): Likewise.
7103
7104 2014-02-07 Yao Qi <yao@codesourcery.com>
7105
7106 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
7107 comments.
7108 (core_xfer_shared_libraries_aix): Likewise.
7109 * gdbarch.c, gdbarch.h: Regenerated.
7110 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
7111 ULONGEST. Change 'len_avail' type to ULONGEST.
7112 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
7113 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
7114 declaration.
7115 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
7116
7117 2014-02-07 Yao Qi <yao@codesourcery.com>
7118
7119 * corefile.c (memory_error): Get 'exception' from ERR and pass
7120 'exception' to throw_error.
7121
7122 2014-02-06 Doug Evans <xdje42@gmail.com>
7123
7124 * configure.ac (libpython checking): Remove all but python.o from
7125 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
7126 * configure: Regenerate.
7127
7128 * Makefile.in (SFILES): Add extension.c.
7129 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
7130 (COMMON_OBS): Add extension.o.
7131 * extension.h: New file.
7132 * extension-priv.h: New file.
7133 * extension.c: New file.
7134
7135 * python/python-internal.h: #include "extension.h".
7136 (gdbpy_auto_load_enabled): Declare.
7137 (gdbpy_apply_val_pretty_printer): Declare.
7138 (gdbpy_apply_frame_filter): Declare.
7139 (gdbpy_preserve_values): Declare.
7140 (gdbpy_breakpoint_cond_says_stop): Declare.
7141 (gdbpy_breakpoint_has_cond): Declare.
7142 (void source_python_script_for_objfile): Delete.
7143 * python/python.c: #include "extension-priv.h".
7144 Delete inclusion of "observer.h".
7145 (extension_language_python): Moved here and renamed from
7146 script_language_python in py-auto-load.c.
7147 Redefined to be of type extension_language_defn.
7148 (python_extension_script_ops): New global.
7149 (python_extension_ops): New global.
7150 (struct python_env): New member previous_active.
7151 (restore_python_env): Call restore_active_ext_lang.
7152 (ensure_python_env): Call set_active_ext_lang.
7153 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
7154 New arg extlang.
7155 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
7156 New arg extlang.
7157 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
7158 New arg extlang.
7159 (gdbpy_eval_from_control_command): Renamed from
7160 eval_python_from_control_command, made static. New arg extlang.
7161 (gdbpy_source_script) Renamed from source_python_script, made static.
7162 New arg extlang.
7163 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
7164 result to int. New arg extlang.
7165 (gdbpy_source_objfile_script): Renamed from
7166 source_python_script_for_objfile, made static. New arg extlang.
7167 (gdbpy_start_type_printers): Renamed from start_type_printers, made
7168 static. New args extlang, extlang_printers. Change result type to
7169 "void".
7170 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
7171 static. New arg extlang. Rename arg printers to extlang_printers
7172 and change type to ext_lang_type_printers *.
7173 (gdbpy_free_type_printers): Renamed from free_type_printers, made
7174 static. Replace argument arg with extlang, extlang_printers.
7175 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
7176 (!HAVE_PYTHON, source_python_script): Delete.
7177 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
7178 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
7179 (!HAVE_PYTHON, start_type_printers): Delete.
7180 (!HAVE_PYTHON, apply_type_printers): Delete.
7181 (!HAVE_PYTHON, free_type_printers): Delete.
7182 (_initialize_python): Delete call to observer_attach_before_prompt.
7183 (finalize_python): Set/restore active extension language.
7184 (gdbpy_finish_initialization) Renamed from
7185 finish_python_initialization, made static. New arg extlang.
7186 (gdbpy_initialized): New function.
7187 * python/python.h: #include "extension.h". Delete #include
7188 "value.h", "mi/mi-cmds.h".
7189 (extension_language_python): Declare.
7190 (GDBPY_AUTO_FILE_NAME): Delete.
7191 (enum py_bt_status): Moved to extension.h and renamed to
7192 ext_lang_bt_status.
7193 (enum frame_filter_flags): Moved to extension.h.
7194 (enum py_frame_args): Moved to extension.h and renamed to
7195 ext_lang_frame_args.
7196 (finish_python_initialization): Delete.
7197 (eval_python_from_control_command): Delete.
7198 (source_python_script): Delete.
7199 (apply_val_pretty_printer): Delete.
7200 (apply_frame_filter): Delete.
7201 (preserve_python_values): Delete.
7202 (gdbpy_script_language_defn): Delete.
7203 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
7204 (start_type_printers, apply_type_printers, free_type_printers): Delete.
7205
7206 * auto-load.c: #include "extension.h".
7207 (GDB_AUTO_FILE_NAME): Delete.
7208 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
7209 (script_language_gdb): Delete, moved to extension.c and renamed to
7210 extension_language_gdb.
7211 (source_gdb_script_for_objfile): Delete.
7212 (auto_load_pspace_info): New member unsupported_script_warning_printed.
7213 (loaded_script): Change type of language member to
7214 struct extension_language_defn *.
7215 (init_loaded_scripts_info): Initialize
7216 unsupported_script_warning_printed.
7217 (maybe_add_script): Make static. Change type of language arg to
7218 struct extension_language_defn *.
7219 (clear_section_scripts): Reset unsupported_script_warning_printed.
7220 (auto_load_objfile_script_1): Rewrite to use extension language API.
7221 (auto_load_objfile_script): Make public. Remove support-compiled-in
7222 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
7223 (source_section_scripts): Rewrite to use extension language API.
7224 (load_auto_scripts_for_objfile): Rewrite to use
7225 auto_load_scripts_for_objfile.
7226 (collect_matching_scripts_data): Change type of language member to
7227 struct extension_language_defn *.
7228 (auto_load_info_scripts): Change type of language arg to
7229 struct extension_language_defn *.
7230 (unsupported_script_warning_print): New function.
7231 (script_not_found_warning_print): Make static.
7232 (_initialize_auto_load): Rewrite construction of scripts-directory
7233 help.
7234 * auto-load.h (struct objfile): Add forward decl.
7235 (struct script_language): Delete.
7236 (struct auto_load_pspace_info): Add forward decl.
7237 (struct extension_language_defn): Add forward decl.
7238 (maybe_add_script): Delete.
7239 (auto_load_objfile_script): Declare.
7240 (script_not_found_warning_print): Delete.
7241 (auto_load_info_scripts): Update prototype.
7242 (auto_load_gdb_scripts_enabled): Declare.
7243 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
7244 auto_load_python_scripts_enabled and made public.
7245 (script_language_python): Delete, moved to python.c.
7246 (gdbpy_script_language_defn): Delete.
7247 (info_auto_load_python_scripts): Update to use
7248 extension_language_python.
7249
7250 * breakpoint.c (condition_command): Replace call to
7251 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
7252 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
7253 with call to breakpoint_ext_lang_cond_says_stop.
7254 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
7255 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
7256 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
7257 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
7258 New arg slang.
7259 (local_setattro): Print name of extension language with existing
7260 stop condition.
7261
7262 * valprint.c (val_print, value_print): Update to call
7263 apply_ext_lang_val_pretty_printer.
7264 * cp-valprint.c (cp_print_value): Update call to
7265 apply_ext_lang_val_pretty_printer.
7266 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
7267 (gdbpy_apply_val_pretty_printer): Renamed from
7268 apply_val_pretty_printer. New arg extlang.
7269 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
7270
7271 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
7272 extension language API.
7273 * cli/cli-script.c (execute_control_command): Update to call
7274 eval_ext_lang_from_control_command.
7275
7276 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
7277 enum ext_lang_bt_status values. Update call to
7278 apply_ext_lang_frame_filter.
7279 (mi_cmd_stack_list_locals): Ditto.
7280 (mi_cmd_stack_list_args): Ditto.
7281 (mi_cmd_stack_list_variables): Ditto.
7282 * mi/mi-main.c: Delete #include "python/python-internal.h".
7283 Add #include "extension.h".
7284 (mi_cmd_list_features): Replace reference to python internal variable
7285 gdb_python_initialized with call to ext_lang_initialized_p.
7286
7287 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
7288 Update to use enum ext_lang_frame_args. Update to call
7289 apply_ext_lang_frame_filter.
7290 * python/py-framefilter.c (extract_sym): Update to use enum
7291 ext_lang_bt_status.
7292 (extract_value, py_print_type, py_print_value): Ditto.
7293 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
7294 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
7295 (py_print_frame): Ditto.
7296 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
7297 New arg extlang. Update to use enum ext_lang_bt_status.
7298
7299 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
7300 finish_python_initialization. Replace with call to
7301 finish_ext_lang_initialization.
7302
7303 * typeprint.c (do_free_global_table): Update to call
7304 free_ext_lang_type_printers.
7305 (create_global_typedef_table): Update to call
7306 start_ext_lang_type_printers.
7307 (find_global_typedef): Update to call apply_ext_lang_type_printers.
7308 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
7309 (type_print_options): Change type of global_printers from "void *"
7310 to "struct ext_lang_type_printers *".
7311
7312 * value.c (preserve_values): Update to call preserve_ext_lang_values.
7313 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
7314 (gdbpy_preserve_values): Renamed from preserve_python_values.
7315 New arg extlang.
7316 (!HAVE_PYTHON, preserve_python_values): Delete.
7317
7318 * utils.c (quit_flag): Delete, moved to extension.c.
7319 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
7320 extension.c.
7321
7322 * eval.c: Delete #include "python/python.h".
7323 * main.c: Delete #include "python/python.h".
7324
7325 * defs.h: Update comment.
7326
7327 2014-02-06 Joel Brobecker <brobecker@adacore.com>
7328
7329 GDB 7.7 released.
7330
7331 2014-02-05 Mark Kettenis <kettenis@gnu.org>
7332
7333 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
7334 defined.
7335
7336 2014-02-05 Yao Qi <yao@codesourcery.com>
7337
7338 * remote.c (remote_pass_signals): Remove local 'buf' and use
7339 rs->buf.
7340 (remote_program_signals): Likewise.
7341
7342 2014-02-05 Yao Qi <yao@codesourcery.com>
7343
7344 * ctf.c: Include "inferior.h" and "gdbthread.h".
7345 (CTF_PID): A new macro.
7346 (ctf_open): Call inferior_appeared and add_thread_silent.
7347 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
7348 (ctf_thread_alive): New function.
7349 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
7350
7351 2014-02-05 Yao Qi <yao@codesourcery.com>
7352
7353 Revert this patch:
7354
7355 2013-05-24 Yao Qi <yao@codesourcery.com>
7356
7357 * tracepoint.c (TFILE_PID): Remove.
7358 (tfile_open): Don't add thread and inferior.
7359 (tfile_close): Don't set 'inferior_ptid'. Don't call
7360 exit_inferior_silent.
7361 (tfile_thread_alive): Remove.
7362 (init_tfile_ops): Don't set field 'to_thread_alive' of
7363 tfile_ops.
7364
7365 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
7366
7367 * remote.c (remote_start_remote): Call remote_check_symbols even
7368 if only symbol-file (not file) has been given.
7369
7370 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7371
7372 * gdbarch.sh (skip_entrypoint): New callback.
7373 * gdbarch.c, gdbarch.h: Regenerate.
7374 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
7375 * infrun.c (fill_in_stop_func): Likewise.
7376 * ppc-linux-tdep.c: Include "elf/ppc64.h".
7377 (ppc_elfv2_elf_make_msymbol_special): New function.
7378 (ppc_elfv2_skip_entrypoint): Likewise.
7379 (ppc_linux_init_abi): Install them for ELFv2.
7380
7381 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7382
7383 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
7384 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
7385 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
7386 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
7387 structures returned in GPRs.
7388
7389 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7390
7391 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
7392 offset to the stack parameter list for the ELFv2 ABI.
7393
7394 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7395
7396 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
7397 set_gdbarch_convert_from_func_ptr_addr and
7398 set_gdbarch_elf_make_msymbol_special for ELFv1.
7399 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
7400 function descriptors on ELFv1.
7401 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
7402 set up r12 at function entry.
7403
7404 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7405
7406 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
7407 (struct gdbarch_tdep): New member elf_abi.
7408
7409 * rs6000-tdep.c: Include "elf/ppc64.h".
7410 (rs6000_gdbarch_init): Detect ELF ABI version.
7411
7412 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7413
7414 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
7415 within a register pair holding a DFP 128-bit value on little-endian.
7416 (ppc64_sysv_abi_return_value_base): Likewise.
7417 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
7418 (dfp_pseudo_register_write): Likewise.
7419
7420 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7421
7422 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
7423 offset on little-endian when passing _Decimal32.
7424 (ppc64_sysv_abi_return_value_base): Likewise for return values.
7425
7426 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7427
7428 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
7429 of the overlapped FP register within the VSX register on little-
7430 endian platforms.
7431 (efpr_pseudo_register_write): Likewise.
7432
7433 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7434
7435 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
7436 offset on little-endian when passing small structures.
7437
7438 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7439
7440 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
7441 (struct ppc64_sysv_argpos): New data structure.
7442 (ppc64_sysv_abi_push_float): Remove.
7443 (ppc64_sysv_abi_push_val): New function.
7444 (ppc64_sysv_abi_push_integer): Likewise.
7445 (ppc64_sysv_abi_push_freg): Likewise.
7446 (ppc64_sysv_abi_push_vreg): Likewise.
7447 (ppc64_sysv_abi_push_param): Likewise.
7448 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
7449 (ppc64_sysv_abi_return_value_base): New function.
7450 (ppc64_sysv_abi_return_value): Refactor to use it.
7451
7452 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
7453
7454 * NEWS: Document new target powerpc64le-*-linux*.
7455
7456 2014-02-04 Mark Kettenis <kettenis@gnu.org>
7457
7458 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
7459 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
7460 core dumps.
7461 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
7462 register set used in ELF core dumps. Add floating-point register set.
7463
7464 2014-02-03 Kevin Buettner <kevinb@redhat.com>
7465
7466 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
7467 dwarf2_to_gdb[] table using symbolic constants. Adjust
7468 penultimate entry from number representing the PC register
7469 to symbolic constant representing the MDR register. Add
7470 constant for the PC register to the end of the table.
7471
7472 2014-02-03 Mark Kettenis <kettenis@gnu.org>
7473
7474 * bsd-kvm.c: Include <sys/param.h>
7475
7476 2014-02-03 Mark Kettenis <kettenis@gnu.org>
7477
7478 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
7479
7480 2014-01-31 Joel Brobecker <brobecker@adacore.com>
7481
7482 * ada-lang.h (clear_ada_sym_cache): Delete.
7483
7484 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
7485
7486 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
7487
7488 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7489
7490 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
7491 the sigreturn register save area only if the syscall is
7492 sigreturn.
7493
7494 2014-01-29 Joel Brobecker <brobecker@adacore.com>
7495
7496 * valops.c (value_slice): Minor reformatting.
7497
7498 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
7499
7500 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
7501
7502 2014-01-28 Joel Brobecker <brobecker@adacore.com>
7503
7504 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
7505 New static globals.
7506 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
7507 (ada_ignore_descriptive_types_p): New static global.
7508 (find_parallel_type_by_descriptive_type): Return immediately
7509 if ada_ignore_descriptive_types_p is set.
7510 (_initialize_ada_language): Register new commands "maintenance
7511 set ada", "maintenance show ada", "maintenance set ada
7512 ignore-descriptive-types" and "maintenance show ada
7513 ignore-descriptive-types".
7514 * NEWS: Add entry for new "maint ada set/show
7515 ignore-descriptive-types" commands.
7516
7517 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
7518
7519 * record-btrace.c (record_btrace_close): Call btrace_teardown
7520 for all threads.
7521
7522 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7523
7524 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
7525 "ui-out.h".
7526
7527 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7528
7529 * ada-typeprint (type_is_full_subrange_of_target_type):
7530 New function.
7531 (print_range): Add parameter bounds_prefered_p. If not set,
7532 try printing range types using the name of their base type.
7533 (print_range_type): Add parameter bounds_prefered_p.
7534 Use it in call to print_range.
7535 (print_array_type, ada_print_type): Update calls to print_range
7536 and print_range_type.
7537
7538 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7539
7540 * ada-typeprint.c (print_array_type, print_choices, print_range)
7541 (print_range_bound, print_dynamic_range_bound, print_range_type):
7542 Remove declaration.
7543
7544 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7545
7546 * ada-typeprint.c (print_range): Add missing empty line
7547 after local declaration.
7548
7549 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7550
7551 * ada-valprint.c (print_optional_low_bound): Get index_type's
7552 target type for as long as it is a TYPE_CODE_RANGE.
7553
7554 2014-01-27 Joel Brobecker <brobecker@adacore.com>
7555
7556 * procfs.c (procfs_make_note_section): Remove assertion and
7557 associated comment.
7558
7559 2014-01-24 Yao Qi <yao@codesourcery.com>
7560
7561 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
7562 * corelow.c (get_core_siginfo): Likewise.
7563
7564 2014-01-24 Yao Qi <yao@codesourcery.com>
7565
7566 * remote.c (remote_write_bytes_aux): Change type of 'len' to
7567 ULONGEST. Don't check 'len' is negative.
7568 (remote_write_bytes): Change type of 'len' to ULONGEST.
7569
7570 2014-01-23 Tom Tromey <tromey@redhat.com>
7571
7572 PR python/16485:
7573 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
7574 Handle exception from frame.block.
7575 (FrameVars.fetch_frame_locals): Likewise.
7576
7577 2014-01-23 Tom Tromey <tromey@redhat.com>
7578
7579 PR python/16487:
7580 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
7581 on a NULL pointer. Move "goto error" to correct place.
7582
7583 2014-01-23 Tom Tromey <tromey@redhat.com>
7584
7585 PR python/16491:
7586 * python/py-framefilter.c (apply_frame_filter): Call
7587 ensure_python_env after computing gdbarch.
7588
7589 2014-01-23 Yao Qi <yao@codesourcery.com>
7590
7591 * target.c (raw_memory_xfer_partial): Change argument type
7592 from void * to gdb_byte *.
7593 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
7594
7595 2014-01-22 Doug Evans <dje@google.com>
7596
7597 New gdbserver option --debug-format=timestamp.
7598 * NEWS: Mention it.
7599
7600 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7601
7602 * syscalls/s390x-linux.xml: New file.
7603 * syscalls/s390-linux.xml: New file.
7604 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
7605 (XML_SYSCALL_FILENAME_S390X): Likewise.
7606 (op_svc): New enum value for SVC opcode.
7607 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
7608 (s390_linux_get_syscall_number): New function.
7609 (s390_gdbarch_init): Register '*get_syscall_number' and the
7610 syscall xml file name.
7611 * data-directory/Makefile.in (SYSCALLS_FILES): Add
7612 "s390-linux.xml" and "s390x-linux.xml".
7613 * NEWS: Announce new feature.
7614
7615 2014-01-22 Baruch Siach <baruch@tkos.co.il>
7616
7617 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
7618
7619 2014-01-22 Pedro Alves <palves@redhat.com>
7620
7621 * xtensa-config.c: Include defs.h.
7622
7623 2014-01-22 Joel Brobecker <brobecker@adacore.com>
7624
7625 * common/common-utils.h: Add "ARI:" comment beside __func__
7626 reference.
7627
7628 2014-01-22 Joel Brobecker <brobecker@adacore.com>
7629
7630 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
7631 documentation a bit.
7632
7633 2014-01-21 Roland McGrath <mcgrathr@google.com>
7634
7635 * configure.ac: Call AM_PROG_INSTALL_STRIP.
7636 * configure: Regenerate.
7637 * aclocal.m4: Regenerate.
7638 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
7639 New substituted variables.
7640 (install-strip): New target.
7641 (INSTALL_SCRIPT): New substituted variable.
7642 (FLAGS_TO_PASS): Add it.
7643 (install-only): Use $(INSTALL_SCRIPT) rather than
7644 $(INSTALL_PROGRAM) for gcore.
7645
7646 2014-01-20 Tom Tromey <tromey@redhat.com>
7647
7648 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
7649 together.
7650
7651 2014-01-20 Tom Tromey <tromey@redhat.com>
7652
7653 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
7654 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
7655 (deprecated_cmd_warning, complete_on_cmdlist): Update.
7656 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
7657 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
7658 (struct cmd_list_element) <flags>: Remove.
7659 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
7660 doc_allocated>: New fields.
7661 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
7662 bitfields.
7663 * maint.c (maintenance_do_deprecate): Update.
7664 * top.c (execute_command): Update.
7665
7666 2014-01-20 Baruch Siach <baruch@tkos.co.il>
7667
7668 * xtensa-linux-nat.c: Include asm/ptrace.h.
7669
7670 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7671
7672 * Makefile.in (SFILES): Add d-support.c.
7673 (COMMON_OBS): Add d-support.o.
7674 * d-lang.h (d_parse_symbol): Add comment, now defined in
7675 d-support.c.
7676 * d-lang.c (parse_call_convention)
7677 (parse_attributes, parse_function_types)
7678 (parse_function_args, parse_type, parse_identifier)
7679 (call_convention_p, d_parse_symbol): Move functions to ...
7680 * d-support.c: ... New file.
7681
7682 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7683
7684 * d-lang.h (d_parse_symbol): Add declaration.
7685 * d-lang.c (extract_identifiers)
7686 (extract_type_info): Remove functions.
7687 (parse_call_convention, parse_attributes)
7688 (parse_function_types, parse_function_args)
7689 (parse_type, parse_identifier, call_convention_p)
7690 (d_parse_symbol): New functions.
7691 (d_demangle): Use d_parse_symbol to demangle D symbols.
7692
7693 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7694
7695 * d-lang.h (struct builtin_d_type): New data type.
7696 (builtin_d_type): Add declaration.
7697 * d-lang.c (d_language_arch_info, build_d_types)
7698 (builtin_d_type): New functions.
7699 (enum d_primitive_types): New data type.
7700 (d_language_defn): Change c_language_arch_info to
7701 d_language_arch_info.
7702 (d_type_data): New static variable.
7703 (_initialize_d_language): Initialize d_type_data.
7704
7705 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7706
7707 * d-lang.h (d_main_name): Add declaration.
7708 * d-lang.c (d_main_name): New function.
7709 * symtab.c (find_main_name): Add call to d_main_name.
7710
7711 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7712
7713 * d-lang.c (d_language_defn): Change macro_expansion_c to
7714 macro_expansion_no.
7715
7716 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7717
7718 * MAINTAINERS: Add myself as a write-after-approval maintainer.
7719
7720 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
7721
7722 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
7723 gdb_exception" declaration.
7724 * remote.c (getpkt_or_notif_sane): Likewise.
7725
7726 2014-01-17 Doug Evans <dje@google.com>
7727
7728 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
7729 function, contents of dirnames_to_char_ptr_vec_append moved here.
7730 (delim_string_to_char_ptr_vec): New function.
7731 (dirnames_to_char_ptr_vec_append): Rewrite.
7732 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
7733
7734 2014-01-17 Doug Evans <dje@google.com>
7735
7736 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
7737 and moved here ...
7738 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
7739 #include "common-utils.h".
7740 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
7741 * common/vec.h (VEC_ASSERT_PASS): Update.
7742 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
7743 (MACH_CHECK_ERROR): Update.
7744
7745 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
7746
7747 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
7748 comments.
7749 * gdbarch.h: Regenerate.
7750
7751 2014-01-16 Tom Tromey <tromey@redhat.com>
7752
7753 * value.c (struct value) <regnum>: Move earlier.
7754
7755 2014-01-16 Tom Tromey <tromey@redhat.com>
7756
7757 * remote.c (extended_remote_create_inferior): Rename from
7758 extended_remote_create_inferior_1. Add "ops" argument. Remove
7759 old implementation.
7760
7761 2014-01-16 Pedro Alves <palves@redhat.com>
7762
7763 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
7764 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
7765 the backchain.
7766
7767 2014-01-16 Doug Evans <dje@google.com>
7768
7769 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
7770
7771 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7772
7773 * btrace.h (btrace_thread_flag): New.
7774 (struct btrace_thread_info) <flags>: New.
7775 * record-btrace.c (record_btrace_resume_thread)
7776 (record_btrace_find_thread_to_move, btrace_step_no_history)
7777 (btrace_step_stopped, record_btrace_start_replaying)
7778 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
7779 (record_btrace_find_resume_thread): New.
7780 (record_btrace_resume, record_btrace_wait): Extend.
7781 (record_btrace_can_execute_reverse): New.
7782 (record_btrace_open): Fail in non-stop mode.
7783 (record_btrace_set_replay): Split into this, ...
7784 (record_btrace_stop_replaying): ... this, ...
7785 (record_btrace_clear_histories): ... and this.
7786 (init_record_btrace_ops): Init to_can_execute_reverse.
7787 * NEWS: Announce it.
7788
7789 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7790
7791 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
7792 (forward_target_decr_pc_after_break)
7793 (target_decr_pc_after_break): New.
7794 * target.c (forward_target_decr_pc_after_break)
7795 (target_decr_pc_after_break): New.
7796 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
7797 instead of gdbarch_decr_pc_after_break.
7798 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
7799 instead of gdbarch_decr_pc_after_break.
7800 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
7801 instead of gdbarch_decr_pc_after_break.
7802 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
7803 instead of gdbarch_decr_pc_after_break.
7804 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
7805 instead of gdbarch_decr_pc_after_break.
7806 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
7807 instead of gdbarch_decr_pc_after_break.
7808
7809 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7810
7811 * btrace.c: Include regcache.h.
7812 (btrace_add_pc): New.
7813 (btrace_enable): Call btrace_add_pc.
7814 (btrace_is_empty): New.
7815 * btrace.h (btrace_is_empty): New.
7816 * record-btrace.c (require_btrace, record_btrace_info): Call
7817 btrace_is_empty.
7818
7819 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7820
7821 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
7822 Support delta reads.
7823 (linux_disable_btrace): Change return type.
7824 * common/linux-btrace.h (linux_read_btrace): Change parameters
7825 and return type to allow error reporting. Update users.
7826 (linux_disable_btrace): Change return type. Update users.
7827 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
7828 New.
7829 (btrace_error): New.
7830 (btrace_block) <begin>: Comment on BEGIN == 0.
7831 * btrace.c (btrace_compute_ftrace): Start from the end of
7832 the current trace.
7833 (btrace_stitch_trace, btrace_clear_history): New.
7834 (btrace_fetch): Read delta trace, return if replaying.
7835 (btrace_clear): Move clear history code to btrace_clear_history.
7836 (parse_xml_btrace): Throw an error if parsing failed.
7837 * target.h (struct target_ops) <to_read_btrace>: Change parameters
7838 and return type to allow error reporting.
7839 (target_read_btrace): Change parameters and return type to allow
7840 error reporting.
7841 * target.c (target_read_btrace): Update.
7842 * remote.c (remote_read_btrace): Support delta reads. Pass
7843 errors on.
7844 * NEWS: Announce it.
7845
7846 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7847
7848 * record.h (record_btrace_frame_unwind)
7849 (record_btrace_tailcall_frame_unwind): New declarations.
7850 * dwarf2-frame: Include record.h
7851 (dwarf2_frame_cfa): Throw an error for btrace frames.
7852 * record-btrace.c: Include hashtab.h.
7853 (btrace_get_bfun_name): New.
7854 (btrace_call_history): Call btrace_get_bfun_name.
7855 (struct btrace_frame_cache): New.
7856 (bfcache): New.
7857 (bfcache_hash, bfcache_eq, bfcache_new): New.
7858 (btrace_get_frame_function): New.
7859 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
7860 (record_btrace_frame_this_id): Compute own id.
7861 (record_btrace_frame_prev_register): Provide PC, throw_error
7862 for all other registers.
7863 (record_btrace_frame_sniffer): Detect btrace frames.
7864 (record_btrace_tailcall_frame_sniffer): New.
7865 (record_btrace_frame_dealloc_cache): New.
7866 (record_btrace_frame_unwind): Add new functions.
7867 (record_btrace_tailcall_frame_unwind): New.
7868 (_initialize_record_btrace): Allocate cache.
7869 * btrace.c (btrace_clear): Call reinit_frame_cache.
7870 * NEWS: Announce it.
7871
7872 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7873
7874 * record-btrace.c (record_btrace_set_replay)
7875 (record_btrace_goto_begin, record_btrace_goto_end)
7876 (record_btrace_goto): New.
7877 (init_record_btrace_ops): Initialize them.
7878 * NEWS: Announce it.
7879
7880 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7881
7882 * record-btrace.c (record_btrace_find_new_threads)
7883 (record_btrace_thread_alive): New.
7884 (init_record_btrace_ops): Initialize to_find_new_threads and
7885 to_thread_alive.
7886
7887 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7888
7889 * record-btrace.c (record_btrace_resume): New.
7890 (record_btrace_wait): New.
7891 (init_record_btrace_ops): Initialize to_wait and to_resume.
7892
7893 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7894
7895 * record-btrace.c (record_btrace_xfer_partial)
7896 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
7897 (record_btrace_allow_memory_access): New.
7898 (init_record_btrace_ops): Initialize new methods.
7899 * target.c (raw_memory_xfer_partial): Bail out if target reports
7900 that this memory is not available.
7901
7902 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7903
7904 * target.h (target_ops) <to_insert_breakpoint>
7905 <to_remove_breakpoint>: Add target_ops parameter.
7906 (forward_target_insert_breakpoint): New.
7907 (forward_target_remove_breakpoint): New.
7908 (memory_remove_breakpoint, memory_insert_breakpoint):
7909 Add target_ops parameter.
7910 * target.c (target_insert_breakpoint): Split into this and ...
7911 (forward_target_insert_breakpoint): ... this.
7912 (target_remove_breakpoint): Split into this and ...
7913 (forward_target_remove_breakpoint): ... this.
7914 (debug_to_insert_breakpoint): Add target_ops parameter.
7915 Call forward_target_insert_breakpoint.
7916 (debug_to_remove_breakpoint): Add target_ops parameter.
7917 Call forward_target_remove_breakpoint.
7918 (update_current_target): Do not inherit or default to_insert_breakpoint
7919 and to_remove_breakpoint.
7920 * corelow.c (ignore): Add target_ops parameter.
7921 * exec.c (ignore): Add target_ops parameter.
7922 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
7923 Add target_ops parameter.
7924 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
7925 Add target_ops parameter.
7926 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
7927 Add target_ops parameter.
7928 * record-full.c (record_full_beneath_to_insert_breakpoint)
7929 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
7930 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
7931 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
7932 (record_full_core_remove_breakpoint): Add target_ops parameter.
7933 Update users.
7934 (record_full_beneath_to_insert_breakpoint_ops)
7935 (record_full_beneath_to_remove_breakpoint_ops)
7936 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
7937 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
7938 tmp_to_remove_breakpoint_ops,
7939 record_full_beneath_to_insert_breakpoint_ops, and
7940 record_full_beneath_to_remove_breakpoint_ops.
7941 * remote-m32r-sdi.c (m32r_insert_breakpoint)
7942 (m32r_remove_breakpoint): Add target_ops parameter.
7943 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
7944 Add target_ops parameter.
7945 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
7946 Add target_ops parameter.
7947
7948 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7949 Markus Metzger <markus.t.metzger@intel.com>
7950
7951 * record-btrace.c: Include frame-unwind.h.
7952 (record_btrace_frame_unwind_stop_reason)
7953 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
7954 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
7955 New.
7956 (init_record_btrace_ops): Install it.
7957
7958 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7959
7960 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
7961 get_prev_frame_1.
7962
7963 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7964
7965 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
7966 earlier.
7967
7968 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7969
7970 * frame-unwind.c: Include target.h.
7971 (frame_unwind_try_unwinder): New function with code from ...
7972 (frame_unwind_find_by_frame): ... here. New variable
7973 unwinder_from_target, call also target_get_unwinder)
7974 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
7975 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
7976 * target.h (struct target_ops): New fields to_get_unwinder and
7977 to_get_tailcall_unwinder.
7978 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
7979
7980 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7981
7982 * record-btrace.c (record_btrace_fetch_registers)
7983 (record_btrace_store_registers)
7984 (record_btrace_to_prepare_to_store): New.
7985 (init_record_btrace_ops): Add the above.
7986
7987 2014-01-16 Tom Tromey <tromey@redhat.com>
7988
7989 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
7990 * target.h (struct target_ops) <to_prepare_to_store>: Add
7991 argument.
7992 (target_prepare_to_store): Add argument.
7993 * target.c (debug_to_prepare_to_store): Add argument.
7994 (update_current_target): Update.
7995 * remote.c (remote_prepare_to_store): Add 'self' argument.
7996 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
7997 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
7998 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
7999 * record-full.c (record_full_core_prepare_to_store): Add 'self'
8000 argument.
8001 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
8002 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
8003 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
8004 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
8005 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
8006
8007 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8008
8009 * btrace.h (replay) <replay>: New.
8010 (btrace_is_replaying): New.
8011 * btrace.c (btrace_clear): Free replay iterator.
8012 (btrace_is_replaying): New.
8013 * record-btrace.c (record_btrace_is_replaying): New.
8014 (record_btrace_info): Print insn number if replaying.
8015 (record_btrace_insn_history): Start at replay position.
8016 (record_btrace_call_history): Start at replay position.
8017 (init_record_btrace_ops): Init to_record_is_replaying.
8018
8019 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8020
8021 * record-btrace.c (record_btrace_insn_history_range): Include
8022 end.
8023 (record_btrace_insn_history_from): Adjust range.
8024 (record_btrace_call_history_range): Include
8025 end.
8026 (record_btrace_call_history_from): Adjust range.
8027 * NEWS: Announce changes.
8028
8029 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8030
8031 * record.h (enum record_print_flag)
8032 <record_print_indent_calls>: New.
8033 * record.c (get_call_history_modifiers): Recognize /c modifier.
8034 (_initialize_record): Document /c modifier.
8035 * record-btrace.c (btrace_call_history): Add btinfo parameter.
8036 Reorder fields. Optionally indent the function name. Update
8037 all users.
8038 * NEWS: Announce changes.
8039
8040 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8041
8042 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
8043
8044 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8045
8046 * btrace.c (ftrace_new_function): Start counting at one.
8047 * record-btrace.c (record_btrace_info): Adjust number of calls
8048 and insns.
8049 * NEWS: Announce it.
8050
8051 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8052
8053 * record-btrace.c (btrace_call_history_insn_range): Print
8054 insn range as [begin, end].
8055
8056 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8057
8058 * btrace.h (struct btrace_func_link): New.
8059 (enum btrace_function_flag): New.
8060 (struct btrace_inst): Rename to ...
8061 (struct btrace_insn): ...this. Update all users.
8062 (struct btrace_func) <ibegin, iend>: Remove.
8063 (struct btrace_func_link): New.
8064 (struct btrace_func): Rename to ...
8065 (struct btrace_function): ...this. Update all users.
8066 (struct btrace_function) <segment, flow, up, insn, insn_offset)
8067 (number, level, flags>: New.
8068 (struct btrace_insn_iterator): Rename to ...
8069 (struct btrace_insn_history): ...this.
8070 Update all users.
8071 (struct btrace_insn_iterator, btrace_call_iterator): New.
8072 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
8073 (struct btrace_target_info) <begin, end, level>
8074 <insn_history, call_history>: New.
8075 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
8076 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
8077 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
8078 (btrace_call_number, btrace_call_begin, btrace_call_end)
8079 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
8080 (btrace_find_function_by_number, btrace_set_insn_history)
8081 (btrace_set_call_history): New.
8082 * btrace.c (btrace_init_insn_iterator)
8083 (btrace_init_func_iterator, compute_itrace): Remove.
8084 (ftrace_print_function_name, ftrace_print_filename)
8085 (ftrace_skip_file): Change
8086 parameter to const.
8087 (ftrace_init_func): Remove.
8088 (ftrace_debug): Use new btrace_function fields.
8089 (ftrace_function_switched): Also consider gaining and
8090 losing symbol information).
8091 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
8092 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
8093 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
8094 New.
8095 (ftrace_new_function): Move. Remove debug print.
8096 (ftrace_update_lines, ftrace_update_insns): New.
8097 (ftrace_update_function): Check for call, ret, and jump.
8098 (compute_ftrace): Renamed to ...
8099 (btrace_compute_ftrace): ...this. Rewritten to compute call
8100 stack.
8101 (btrace_fetch, btrace_clear): Updated.
8102 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
8103 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
8104 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
8105 (btrace_call_number, btrace_call_begin, btrace_call_end)
8106 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
8107 (btrace_find_function_by_number, btrace_set_insn_history)
8108 (btrace_set_call_history): New.
8109 * record-btrace.c (require_btrace): Use new btrace thread
8110 info fields.
8111 (record_btrace_info, btrace_insn_history)
8112 (record_btrace_insn_history, record_btrace_insn_history_range):
8113 Use new btrace thread info fields and new iterator.
8114 (btrace_func_history_src_line): Rename to ...
8115 (btrace_call_history_src_line): ...this. Use new btrace
8116 thread info fields.
8117 (btrace_func_history): Rename to ...
8118 (btrace_call_history): ...this. Use new btrace thread info
8119 fields and new iterator.
8120 (record_btrace_call_history, record_btrace_call_history_range):
8121 Use new btrace thread info fields and new iterator.
8122
8123 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8124
8125 * frame.h (frame_id_build_unavailable_stack_special): New.
8126 * frame.c (frame_id_build_unavailable_stack_special): New.
8127
8128 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8129
8130 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
8131 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
8132 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
8133 to gdbarch.
8134 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
8135 (i386_insn_is_jump, i386_jmp_p): New.
8136 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
8137 insn_is_jump to gdbarch.
8138 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
8139 * gdbarch.h: Regenerated.
8140 * gdbarch.c: Regenerated.
8141 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
8142 (default_insn_is_jump): New.
8143 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
8144 (default_insn_is_jump): New.
8145
8146 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8147
8148 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
8149 Change to ...
8150 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
8151 (btrace_read_type) <btrace_read_new>: Change to ...
8152 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
8153
8154 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8155
8156 * common/linux-btrace.c (linux_read_btrace): Free trace from
8157 previous iteration.
8158
8159 2014-01-15 Doug Evans <dje@google.com>
8160
8161 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
8162 uint32_t.
8163
8164 2014-01-15 Tom Tromey <tromey@redhat.com>
8165
8166 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
8167 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
8168 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
8169 (set_objfile_main_name): New function.
8170 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
8171 language_of_main>: New fields.
8172 (set_objfile_main_name): Declare.
8173 * symtab.c (find_main_name): Loop over objfiles to find the main
8174 name and language.
8175 (set_main_name): Now static.
8176 (get_main_info): Add comment.
8177 * symtab.h (set_main_name): Don't declare.
8178
8179 2014-01-15 Tom Tromey <tromey@redhat.com>
8180
8181 * symtab.c (main_progspace_key): New global.
8182 (struct main_info): New.
8183 (name_of_main, language_of_main): Remove.
8184 (get_main_info, main_info_cleanup): New function.
8185 (set_main_name, main_name, main_language): Use get_main_info.
8186 (_initialize_symtab): Initialize main_progspace_key.
8187
8188 2014-01-15 Tom Tromey <tromey@redhat.com>
8189
8190 * dbxread.c (process_one_symbol): Update.
8191 * dwarf2read.c (read_partial_die): Update.
8192 * symfile.c (set_initial_language): Call main_language.
8193 * symtab.c (language_of_main): Now static.
8194 (set_main_name): Add 'lang' parameter.
8195 (find_main_name): Update.
8196 (main_language): New function.
8197 (symtab_observer_executable_changed): Update.
8198 * symtab.h (set_main_name): Update.
8199 (language_of_main): Remove.
8200 (main_language): Declare.
8201
8202 2014-01-15 Tom Tromey <tromey@redhat.com>
8203
8204 * symfile.c (init_entry_point_info): Use new "initialized" field.
8205 Update.
8206 * objfiles.h (struct entry_point) <initialized>: New field.
8207 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
8208 (struct objfile) <ei>: ...here. Remove.
8209 * objfiles.c (entry_point_address_query): Update.
8210
8211 2014-01-15 Tom Tromey <tromey@redhat.com>
8212
8213 * objfiles.c (entry_point_address_query): Relocate entry point
8214 address.
8215 (objfile_relocate1): Do not relocate entry point address.
8216 * objfiles.h (struct entry_info) <entry_point>: Update comment.
8217 <the_bfd_section_index>: New field.
8218 * symfile.c (init_entry_point_info): Find the entry point's
8219 section.
8220
8221 2014-01-15 Tom Tromey <tromey@redhat.com>
8222
8223 * solib-frv.c (enable_break): Use entry_point_address_query.
8224
8225 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8226
8227 * NEWS: Add note on improved process record-replay on
8228 arm*-linux* targets.
8229
8230 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8231
8232 * arm-tdep.c (enum arm_record_result): New enum.
8233 (arm_record_unsupported_insn): New function.
8234 (arm_record_coproc_data_proc): Removed.
8235 (thumb2_record_ld_st_multiple): New function.
8236 (thumb2_record_ld_st_dual_ex_tbb): New function.
8237 (thumb2_record_data_proc_sreg_mimm): New function.
8238 (thumb2_record_ps_dest_generic): New function.
8239 (thumb2_record_branch_misc_cntrl): New function.
8240 (thumb2_record_str_single_data): New function.
8241 (thumb2_record_ld_mem_hints): New function.
8242 (thumb2_record_ld_word): New function.
8243 (thumb2_record_lmul_lmla_div): New function.
8244 (thumb2_record_decode_insn_handler): New function.
8245 (decode_insn): Add thumb32 instruction handlers.
8246
8247 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8248
8249 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
8250 (struct arm_linux_record_tdep): Declare.
8251 (arm_canonicalize_syscall): New function.
8252 (arm_all_but_pc_registers_record): New function.
8253 (arm_linux_syscall_record): New function.
8254 (arm_linux_init_abi): Add syscall recording constructs.
8255 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
8256 decoding. (arm_record_coproc_data_proc): Update arm syscall
8257 decoding.
8258 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
8259 <arm_syscall_record>: New field.
8260 * configure.tgt (arm*-*-linux*): Add linux-record.o to
8261 gdb_target_obs.
8262
8263 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8264
8265 * arm-tdep.c (thumb_record_misc): Update to use sp as base
8266 register for push instruction recording.
8267
8268 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8269
8270 * arm-tdep.c (thumb_record_misc): Update to correct logical
8271 error while recording ldm, ldmia and pop instructions.
8272
8273 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8274
8275 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
8276
8277 2014-01-15 Pedro Alves <palves@redhat.com>
8278
8279 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
8280 (go32_resume, go32_fetch_registers, store_register)
8281 (go32_store_registers, go32_prepare_to_store)
8282 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
8283 (go32_create_inferior, go32_can_run, go32_terminal_init)
8284 (go32_terminal_inferior, go32_terminal_ours): Delete forward
8285 declarations.
8286
8287 2014-01-15 Tom Tromey <tromey@redhat.com>
8288
8289 * target.h (async_callback_ftype): New typedef.
8290 (struct target_ops) <to_async>: Use it.
8291
8292 2014-01-15 Joel Brobecker <brobecker@adacore.com>
8293
8294 * python/py-value.c (get_field_type): Remove unnecessary curly
8295 braces for single-statement if block.
8296
8297 2014-01-15 Joel Brobecker <brobecker@adacore.com>
8298
8299 * python/py-type.c (convert_field): Add missing empty line
8300 after declarations.
8301
8302 2014-01-14 Doug Evans <dje@google.com>
8303
8304 * symfile.h (expand_symtabs_matching): Renamed from
8305 expand_partial_symbol_names. Update prototype.
8306 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
8307 * symfile.c (expand_symtabs_matching): Renamed from
8308 expand_partial_symbol_names. New args file_matcher, kind.
8309 Rename arg fun to symbol_matcher.
8310 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
8311 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
8312 ada_expand_partial_symbol_name.
8313 (ada_make_symbol_completion_list): Update to call
8314 expand_symtabs_matching.
8315 (ada_add_global_exceptions): Call expand_symtabs_matching.
8316 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
8317 call map_symbol_filenames.
8318 * symtab.c (sources_info): Update to call map_symbol_filenames.
8319 (search_symbols): Call expand_symtabs_matching.
8320 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
8321 (default_make_symbol_completion_list_break_on): Update to call
8322 expand_symtabs_matching.
8323 (make_source_files_completion_list): Update to call
8324 map_symbol_filenames.
8325
8326 2014-01-14 Doug Evans <dje@google.com>
8327
8328 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
8329 (expand_symtabs_symbol_matcher_ftype): New typedef.
8330 (quick_symbol_functions.expand_symtabs_matching): Update to use.
8331 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
8332 * symfile.c (expand_partial_symbol_names): Update to use
8333 expand_symtabs_symbol_matcher_ftype.
8334 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
8335 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
8336 Arg name_matcher renamed to symbol_matcher.
8337 * psymtab.c (recursively_search_psymtabs): Update to use
8338 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
8339 sym_matcher.
8340 (expand_symtabs_matching_via_partial): Update to use
8341 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
8342 Arg name_matcher renamed to symbol_matcher.
8343
8344 2014-01-14 Doug Evans <dje@google.com>
8345
8346 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
8347 (map_partial_symbol_filenames): Ditto.
8348 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
8349 (map_partial_symbol_filenames): Ditto.
8350 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
8351 (map_partial_symbol_filenames): Ditto.
8352 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
8353 (map_partial_symbol_filenames): Ditto.
8354 * symtab.c: Delete #include "psymtab.h".
8355
8356 2014-01-14 Pedro Alves <palves@redhat.com>
8357 Tom Tromey <tromey@redhat.com>
8358
8359 * infrun.c (use_displaced_stepping): Use find_record_target
8360 instead of RECORD_IS_USED.
8361 (adjust_pc_after_break): Use record_full_is_used instead of
8362 RECORD_IS_USED.
8363 * record-btrace.c (record_btrace_open): Call record_preopen
8364 instead of checking RECORD_IS_USED.
8365 * record-full.c (record_full_shortname)
8366 (record_full_core_shortname): New globals.
8367 (record_full_is_used): New function.
8368 (find_full_open): Call record_preopen instead of checking
8369 RECORD_IS_USED.
8370 (init_record_full_ops): Set the target's shortname to
8371 record_full_shortname.
8372 (init_record_full_core_ops): Set the target's shortname to
8373 record_full_core_shortname.
8374 * record-full.h (record_full_is_used): Declare.
8375 * record.c (find_record_target): Make extern.
8376 (record_preopen): New function.
8377 * record.h (RECORD_IS_USED): Delete macro.
8378 (find_record_target, record_preopen): Declare functions.
8379
8380 2014-01-14 Yao Qi <yao@codesourcery.com>
8381
8382 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
8383 'len''s type to ULONGEST.
8384 (core_xfer_shared_libraries_aix): Likewise.
8385 * gdbarch.c, gdbarch.h: Regenerated.
8386 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
8387 Change type of 'len' to ULONGEST.
8388 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
8389 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
8390
8391 2014-01-14 Yao Qi <yao@codesourcery.com>
8392
8393 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
8394 type of 'len' to ULONGEST.
8395 (linux_xfer_osdata_processgroups): Likewise.
8396 (linux_xfer_osdata_threads): Likewise.
8397 (linux_xfer_osdata_fds): Likewise.
8398 (linux_xfer_osdata_isockets): Likewise.
8399 (linux_xfer_osdata_shm): Likewise.
8400 (linux_xfer_osdata_sem): Likewise.
8401 (linux_xfer_osdata_msg): Likewise.
8402 (linux_common_xfer_osdata): Likewise.
8403 (struct osdata_type) <getter>: Likewise.
8404 * common/linux-osdata.h (linux_common_xfer_osdata): Update
8405 the declaration.
8406
8407 2014-01-14 Yao Qi <yao@codesourcery.com>
8408
8409 * target.h (target_xfer_partial_ftype): Update.
8410 (struct target_ops) <to_xfer_partial>: Change 'len' type to
8411 ULONGEST.
8412 * aix-thread.c (aix_thread_xfer_partial): Change type of
8413 argument 'len' to ULONGEST.
8414 * auxv.c (procfs_xfer_auxv): Likewise.
8415 (ld_so_xfer_auxv): Likewise.
8416 (memory_xfer_auxv): Likewise.
8417 * bfd-target.c (target_bfd_xfer_partial): Likewise.
8418 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
8419 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
8420 * corelow.c (core_xfer_partial): Likewise.
8421 * ctf.c (ctf_xfer_partial): Likewise.
8422 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
8423 '%u'.
8424 (darwin_read_dyld_info): Likewise.
8425 (darwin_xfer_partial): Likewise.
8426 * exec.c (section_table_xfer_memory_partial): Likewise.
8427 (exec_xfer_partial): Likewise.
8428 * exec.h (section_table_xfer_memory_partial): Update
8429 declaration.
8430 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
8431 instead of plongest.
8432 (gnu_xfer_partial): Likewise.
8433 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
8434 (ia64_hpux_xfer_solib_got): Likewise.
8435 (ia64_hpux_xfer_partial): Likewise.
8436 * ia64-linux-nat.c (ia64_linux_xfer_partial):
8437 * inf-ptrace.c (inf_ptrace_xfer_partial):
8438 * inf-ttrace.c (inf_ttrace_xfer_partial):
8439 * linux-nat.c (linux_xfer_siginfo): Likewise.
8440 (linux_nat_xfer_partial): Likewise.
8441 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
8442 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
8443 * monitor.c (monitor_xfer_memory): Likewise.
8444 (monitor_xfer_partial): Likewise.
8445 * procfs.c (procfs_xfer_partial): Likewise.
8446 * record-full.c (record_full_xfer_partial): Likewise.
8447 (record_full_core_xfer_partial): Likewise.
8448 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
8449 instead of plongest.
8450 (gdbsim_xfer_partial): Likewise.
8451 * remote.c (remote_xfer_partial): Likewise.
8452 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
8453 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
8454 declaration.
8455 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
8456 (rs6000_xfer_shared_libraries): Likewise.
8457 * sol-thread.c (sol_thread_xfer_partial): Likewise.
8458 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
8459 (sparc_xfer_partial): Likewise.
8460 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
8461 (spu_xfer_partial): Likewise.
8462 * spu-multiarch.c (spu_xfer_partial): Likewise.
8463 * target.c (target_read_live_memory): Likewise.
8464 (memory_xfer_live_readonly_partial): Likewise.
8465 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
8466 (target_xfer_partial, default_xfer_partial): Likewise.
8467 (current_xfer_partial): Likewise.
8468 * tracepoint.c (tfile_xfer_partial): Likewise.
8469 * windows-nat.c (windows_xfer_memory): Likewise. Call
8470 pulongest instead of plongest.
8471 (windows_xfer_partial): Likewise.
8472 (windows_xfer_shared_libraries): Likewise.
8473
8474 2014-01-14 Yao Qi <yao@codesourcery.com>
8475
8476 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
8477 target_xfer_partial_ftype.
8478
8479 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8480
8481 PR python/15464
8482 PR python/16113
8483 * valops.c (value_struct_elt_bitpos): New function
8484 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
8485 object to 'None' if the field name is an empty string ("").
8486 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
8487 attribute to look for a field when 'name' is 'None'.
8488 (get_field_type): New function
8489
8490 2014-01-13 Doug Evans <dje@google.com>
8491
8492 PR symtab/16426
8493 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
8494 (try_open_dwop_file): Ditto.
8495 * gdb_bfd.c: #include "vec.h".
8496 (bfdp): New typedef.
8497 (struct gdb_bfd_data): New member included_bfds.
8498 (gdb_bfd_unref): Unref all included bfds.
8499 (gdb_bfd_record_inclusion): New function.
8500 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
8501
8502 2014-01-13 Tom Tromey <tromey@redhat.com>
8503
8504 * gdbcore.h (deprecated_core_resize_section_table): Remove.
8505
8506 2014-01-13 Tom Tromey <tromey@redhat.com>
8507
8508 * defs.h (use_windows): Remove.
8509 * gdb.c (main): Update.
8510 * main.c (captured_main, gdb_main): Update.
8511 * main.h (struct captured_main_args) <use_windows>: Remove.
8512 * top.c (use_windows): Remove.
8513
8514 2014-01-13 Tom Tromey <tromey@redhat.com>
8515
8516 * defs.h (deprecated_flush_hook): Remove.
8517
8518 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8519
8520 PR threads/16216
8521 * linux-thread-db.c (try_thread_db_load): Add parameter
8522 check_auto_load_safe. Move here the file_is_auto_load_safe call.
8523 (try_thread_db_load_from_pdir_1): Move it there from here.
8524 (try_thread_db_load_from_sdir): Update caller.
8525 (try_thread_db_load_from_dir): Move it there from here.
8526
8527 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
8528
8529 * regformats/regdat.sh: Always rewrite the register file.
8530
8531 2014-01-13 Pedro Alves <palves@redhat.com>
8532
8533 * Makefile.in (CHECK_HEADERS): New variable.
8534 (check-headers:): New rule.
8535
8536 2014-01-13 Tom Tromey <tromey@redhat.com>
8537
8538 * cli/cli-setshow.c (do_set_command): Update.
8539 * defs.h (deprecated_set_hook): Remove.
8540 * top.c (deprecated_set_hook): Remove.
8541
8542 2014-01-13 Pedro Alves <palves@redhat.com>
8543
8544 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
8545 the tracepoint if the PC is a pseudo-register.
8546
8547 2014-01-13 Tom Tromey <tromey@redhat.com>
8548
8549 * defs.h (XCALLOC): Remove.
8550 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
8551 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
8552 * dwarf2loc.c (allocate_piece_closure): Likewise.
8553 * elfread.c (elf_symfile_segments): Likewise.
8554 (elf_symfile_segments): Likewise.
8555 * gdbtypes.c (copy_type_recursive): Likewise.
8556 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
8557 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
8558 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
8559 XCALLOC.
8560 * mt-tdep.c (mt_gdbarch_init): Likewise.
8561 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
8562 XCALLOC.
8563 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
8564 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
8565 * registry.c (registry_alloc_data): Likewise.
8566 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
8567 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
8568 * serial.c (serial_fdopen_ops): Likewise.
8569 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
8570 XCALLOC.
8571 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
8572 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
8573 not XCALLOC.
8574
8575 2014-01-13 Tom Tromey <tromey@redhat.com>
8576
8577 * defs.h (XMALLOC): Remove.
8578 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
8579 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
8580 * cli-out.c (struct ui_out *): Likewise.
8581 * cli/cli-dump.c (add_dump_command): Likewise.
8582 (add_dump_command): Likewise.
8583 * complaints.c (get_complaints): Likewise.
8584 (find_complaint): Likewise.
8585 * dwarf2-frame.c (execute_cfa_program): Likewise.
8586 * dwarf2read.c (abbrev_table_read_table): Likewise.
8587 * gdbarch.sh: Likewise.
8588 * gdbarch.c: Rebuild.
8589 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
8590 * interps.c (interp_new): Likewise.
8591 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
8592 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
8593 * mi/mi-console.c (mi_console_file_new): Likewise.
8594 * mi/mi-interp.c (mi_interpreter_init): Likewise.
8595 * mi/mi-out.c (mi_out_new): Likewise.
8596 * mi/mi-parse.c (mi_parse): Likewise.
8597 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
8598 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
8599 * observer.c (xalloc_observer_list_node): Likewise.
8600 * regcache.c (regcache_xmalloc_1): Likewise.
8601 * reggroups.c (reggroup_new): Likewise.
8602 (_initialize_reggroup): Likewise.
8603 * registry.c (register_data_with_cleanup): Likewise.
8604 * remote.c (remote_notif_stop_alloc_reply): Likewise.
8605 * ser-base.c (serial_ttystate): Likewise.
8606 * ser-mingw.c (make_pipe_state): Likewise.
8607 * ser-pipe.c (pipe_open): Likewise.
8608 * serial.c (serial_open): Likewise.
8609 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
8610 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
8611 (tui_alloc_win_info): Likewise.
8612 (tui_add_content_elements): Likewise.
8613 * tui/tui-file.c (tui_file_new): Likewise.
8614 * tui/tui-out.c (tui_out_new): Likewise.
8615 * ui-file.c (mem_file_new): Likewise.
8616 * ui-out.c (push_level): Likewise.
8617 (make_cleanup_ui_out_end): Likewise.
8618 (append_header_to_list): Likewise.
8619 (ui_out_new): Likewise.
8620 * user-regs.c (user_reg_add_builtin): Likewise.
8621
8622 2014-01-13 Tom Tromey <tromey@redhat.com>
8623
8624 * defs.h (XZALLOC): Remove.
8625 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
8626 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
8627 (get_ada_tasks_inferior_data): Likewise.
8628 * auto-load.c (get_auto_load_pspace_data): Likewise.
8629 * auxv.c (get_auxv_inferior_data): Likewise.
8630 * bfd-target.c (target_bfd_reopen): Likewise.
8631 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
8632 (deprecated_insert_raw_breakpoint): Likewise.
8633 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
8634 * corelow.c (core_open): Likewise.
8635 * darwin-nat.c (darwin_check_new_threads): Likewise.
8636 (darwin_attach_pid): Likewise.
8637 * dummy-frame.c (dummy_frame_push): Likewise.
8638 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
8639 * dwarf2loc.c (allocate_piece_closure): Likewise.
8640 * elfread.c (elf_symfile_segments): Likewise.
8641 * eval.c (ptrmath_type_p): Likewise.
8642 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
8643 * gdbtypes.c (alloc_type_arch): Likewise.
8644 (alloc_type_instance): Likewise.
8645 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
8646 * inf-child.c (inf_child_can_use_agent): Likewise.
8647 * inflow.c (get_inflow_inferior_data): Likewise.
8648 * infrun.c (save_infcall_suspend_state): Likewise.
8649 * jit.c (jit_reader_load): Likewise.
8650 (get_jit_objfile_data): Likewise.
8651 (get_jit_program_space_data): Likewise.
8652 (jit_object_open_impl): Likewise.
8653 (jit_symtab_open_impl): Likewise.
8654 (jit_block_open_impl): Likewise.
8655 (jit_frame_sniffer): Likewise.
8656 * linux-fork.c (add_fork): Likewise.
8657 * maint.c (make_command_stats_cleanup): Likewise.
8658 * objfiles.c (get_objfile_pspace_data): Likewise.
8659 * opencl-lang.c (struct lval_closure): Likewise.
8660 * osdata.c (osdata_start_osdata): Likewise.
8661 * progspace.c (new_address_space): Likewise.
8662 (add_program_space): Likewise.
8663 * remote-sim.c (get_sim_inferior_data): Likewise.
8664 * sh-tdep.c (sh_gdbarch_init): Likewise.
8665 * skip.c (Ignore): Likewise.
8666 (skip_delete_command): Likewise.
8667 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
8668 (library_list_start_library): Likewise.
8669 (solib_aix_current_sos): Likewise.
8670 * solib-darwin.c (get_darwin_info): Likewise.
8671 (darwin_current_sos): Likewise.
8672 * solib-dsbt.c (get_dsbt_info): Likewise.
8673 * solib-ia64-hpux.c (new_so_list): Likewise.
8674 (ia64_hpux_get_solib_linkage_addr): Likewise.
8675 * solib-spu.c (append_ocl_sos): Likewise.
8676 (spu_current_sos): Likewise.
8677 * solib-svr4.c (get_svr4_info): Likewise.
8678 (svr4_keep_data_in_core): Likewise.
8679 (library_list_start_library): Likewise.
8680 (svr4_default_sos): Likewise.
8681 (svr4_read_so_list): Likewise.
8682 * solib-target.c (library_list_start_library): Likewise.
8683 (solib_target_current_sos): Likewise.
8684 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
8685 * symfile-debug.c (install_symfile_debug_logging): Likewise.
8686 * symfile.c (default_symfile_segments): Likewise.
8687 * target-descriptions.c (tdesc_data_init): Likewise.
8688 (tdesc_create_reg): Likewise.
8689 (struct tdesc_type *): Likewise.
8690 (tdesc_create_vector): Likewise.
8691 (tdesc_set_struct_size): Likewise.
8692 (struct tdesc_type *): Likewise.
8693 (tdesc_free_feature): Likewise.
8694 (tdesc_create_feature): Likewise.
8695 * windows-nat.c (windows_add_thread): Likewise.
8696 (windows_make_so): Likewise.
8697 * xml-support.c (gdb_xml_body_text): Likewise.
8698 (gdb_xml_create_parser_and_cleanup): Likewise.
8699 (xml_process_xincludes): Likewise.
8700 * xml-syscall.c (allocate_syscalls_info): Likewise.
8701 (syscall_create_syscall_desc): Likewise.
8702
8703 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
8704
8705 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
8706 function, with code from i386_stap_parse_special_token.
8707 (i386_stap_parse_special_token_three_arg_disp): Likewise.
8708 (i386_stap_parse_special_token): Move code to the two functions
8709 above; simplify it.
8710
8711 2014-01-09 Pedro Alves <palves@redhat.com>
8712 Hui Zhu <hui@codesourcery.com>
8713
8714 PR gdb/16101
8715 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
8716 bp_err_string. Don't mark the location shlib_disabled if the
8717 error thrown wasn't a generic or memory error. Catch errors
8718 thrown while inserting breakpoints in overlayed code. Output
8719 error message of software breakpoints.
8720 * remote.c (remote_insert_breakpoint): If this breakpoint has
8721 target-side commands but this stub doesn't support Z0 packets,
8722 throw NOT_SUPPORTED_ERROR error.
8723 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
8724 * target.h (target_insert_breakpoint): Extend comment.
8725 (target_insert_hw_breakpoint): Add comment.
8726
8727 2014-01-08 Pedro Alves <palves@redhat.com>
8728
8729 * remote.c (remote_add_thread): Add threads silently if starting
8730 up.
8731 (remote_notice_new_inferior): If in all-stop, and starting up,
8732 don't call notice_new_inferior.
8733 (get_current_thread): New function, factored out from ...
8734 (add_current_inferior_and_thread): ... this. Adjust.
8735 (remote_start_remote) <all-stop>: Fetch the thread list. If we
8736 found any thread, then select the remote's current thread as GDB's
8737 current thread too.
8738
8739 2014-01-08 Joel Brobecker <brobecker@adacore.com>
8740
8741 * NEWS: Create a new section for the next release branch.
8742 Rename the section of the current branch, now that it has
8743 been cut.
8744
8745 2014-01-08 Joel Brobecker <brobecker@adacore.com>
8746
8747 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
8748 * version.in: Bump version to 7.7.50.DATE-cvs.
8749
8750 2014-01-08 Yao Qi <yao@codesourcery.com>
8751
8752 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
8753 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
8754 (spu_xfer_partial): Cast 'buf' to 'const char *'.
8755
8756 2014-01-08 Yao Qi <yao@codesourcery.com>
8757
8758 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
8759 return value of bfd_get_filename to symbol_file_add_from_bfd.
8760
8761 2014-01-08 Pierre Muller <muller@sourceware.org>
8762
8763 Fix PR16201.
8764 * coff-pe-read.c (struct read_pe_section_data): Add index field.
8765 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
8766 to prim_record_mininal_symbol_and_info.
8767 (add_pe_forwarded_sym): Use known section number of forwarded symbol
8768 in call to prim_record_minimal_symbol_and_info.
8769 (read_pe_exported_syms): Set index field of section_data.
8770
8771 2014-01-07 Andrew Pinski <apinski@cavium.com>
8772
8773 * features/aarch64-core.xml (cpsr): Change to be 64bit.
8774 * features/aarch64.c: Regenerate.
8775
8776 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
8777
8778 * target.c (return_null): Define.
8779 (update_current_target): Use it instead of return_zero for
8780 functions that return a pointer.
8781
8782 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8783
8784 * source.c (add_path): Fix check for duplicated paths in the previously
8785 included paths.
8786
8787 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
8788
8789 * ada-lang.c: Remove duplicated include statements.
8790 * alphabsd-nat.c: Ditto.
8791 * amd64-darwin-tdep.c: Ditto.
8792 * amd64fbsd-nat.c: Ditto.
8793 * auto-load.c: Ditto.
8794 * ax-gdb.c: Ditto.
8795 * breakpoint.c: Ditto.
8796 * dbxread.c: Ditto.
8797 * fork-child.c: Ditto.
8798 * gdb_usleep.c: Ditto.
8799 * i386-darwin-tdep.c: Ditto.
8800 * i386fbsd-nat.c: Ditto.
8801 * infcmd.c: Ditto.
8802 * inferior.c: Ditto.
8803 * jv-lang.c: Ditto.
8804 * linux-nat.c: Ditto.
8805 * linux-tdep.c: Ditto.
8806 * m68kbsd-nat.c: Ditto.
8807 * m68klinux-nat.c: Ditto.
8808 * microblaze-tdep.c: Ditto.
8809 * mips-linux-tdep.c: Ditto.
8810 * mn10300-tdep.c: Ditto.
8811 * nto-tdep.c: Ditto.
8812 * opencl-lang.c: Ditto.
8813 * osdata.c: Ditto.
8814 * printcmd.c: Ditto.
8815 * regcache.c: Ditto.
8816 * remote-m32r-sdi.c: Ditto.
8817 * remote.c: Ditto.
8818 * symfile.c: Ditto.
8819 * symtab.c: Ditto.
8820 * tilegx-linux-nat.c: Ditto.
8821 * tilegx-tdep.c: Ditto.
8822 * tracepoint.c: Ditto.
8823 * valops.c: Ditto.
8824 * vaxbsd-nat.c: Ditto.
8825 * windows-nat.c: Ditto.
8826 * xtensa-tdep.c: Ditto.
8827
8828 2014-01-07 Yao Qi <yao@codesourcery.com>
8829
8830 * spu-linux-nat.c (_initialize_spu_nat): Declare.
8831
8832 2014-01-07 Yao Qi <yao@codesourcery.com>
8833 Joel Brobecker <brobecker@adacore.com>
8834
8835 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
8836 (pdc_write_regs): Likewise.
8837 (fetch_regs_kernel_thread): Likewise.
8838 (store_regs_kernel_thread): Likewise.
8839
8840 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8841
8842 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
8843 tagged type objects to their actual type.
8844
8845 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8846
8847 * ada-valprint.c (print_field_values): Add "language" parameter.
8848 Update calls to print_field_values and print_variant_part.
8849 Pass new parameter "language" in call to val_print instead
8850 of "current_language". Replace call to ada_val_print by call
8851 to val_print.
8852 (print_variant_part): Add "language" parameter.
8853 (ada_val_print_struct_union): Update call to print_field_values.
8854
8855 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8856
8857 * ada-valprint.c (ui_memcpy): Delete.
8858 (ada_print_floating): Update documentation. Add empty line
8859 between between function documentation and implementation.
8860 Delete variable "buffer". Use ui_file_xstrdup in place of
8861 ui_file_put. Minor adjustments following this change.
8862
8863 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8864
8865 * ada-valprint.c (ada_val_print_string): New function,
8866 extracted from ada_val_print_array.
8867 (ada_val_print_array): Replace extracted code by call
8868 to ada_val_print_string followed by a return. Move
8869 "else" branch to the function's top block.
8870
8871 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8872
8873 * ada-valprint.c (ada_val_print_array): Move implementation
8874 down. Rename parameter "offset" and "val" into "offset_aligned"
8875 and "original_value" respectively. Add parameter "offset".
8876
8877 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8878
8879 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
8880 re-organizing the code. Change the "???" message printed
8881 when target type is a TYPE_CODE_UNDEF into
8882 "<ref to undefined type>".
8883
8884 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8885
8886 * ada-valprint.c (print_record): Delete, implementation inlined...
8887 (ada_val_print_struct_union): ... here. Remove call to
8888 ada_check_typedef in inlined implementation.
8889
8890 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8891
8892 * ada-valprint.c (ada_val_print_gnat_array): New function,
8893 extracted from ada_val_print_1;
8894 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
8895 (ada_val_print_flt, ada_val_print_struct_union)
8896 (ada_val_print_ref): Likewise.
8897 (ada_val_print_1): Delete variables i and elttype.
8898 Replace extracted-out code by call to corresponding
8899 new functions.
8900
8901 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8902
8903 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
8904
8905 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8906
8907 * ada-valprint.c (ada_val_print_1): Replace calls to
8908 ada_val_print_1 by calls to val_print.
8909
8910 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8911
8912 * ada-valprint.c (ada_val_print_1): Add parameter "language".
8913 Update calls to self accordingly. Replace calls to c_val_print
8914 by calls to val_print.
8915
8916 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8917
8918 * ada-valprint.c (print_record): Delete declaration.
8919 (adjust_type_signedness, ada_val_print_1): Likewise.
8920 (ada_val_print): Move function implementation down.
8921 (print_variant_part, print_field_values, print_record):
8922 Move function implementation up.
8923
8924 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8925
8926 * python/py-type.c (typy_get_name): New function.
8927 (type_object_getset): Add entry for attribute "name".
8928 * NEWS: Add entry mentioning this new attribute.
8929
8930 2014-01-07 Yao Qi <yao@codesourcery.com>
8931
8932 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
8933 statement.
8934
8935 2014-01-07 Yao Qi <yao@codesourcery.com>
8936
8937 * gnu-nat.c (info_port_rights): Add qualifier const to
8938 argument args.
8939
8940 2014-01-07 Yao Qi <yao@codesourcery.com>
8941
8942 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
8943
8944 2014-01-07 Yao Qi <yao@codesourcery.com>
8945
8946 * gnu-nat.c (make_inf) Update declaration.
8947 (make_inf): Make it static.
8948 (inf_set_traced): Likewise.
8949 (inf_port_to_thread, inf_task_died_status): Likewise.
8950
8951 2014-01-07 Yao Qi <yao@codesourcery.com>
8952
8953 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
8954
8955 2014-01-07 Yao Qi <yao@codesourcery.com>
8956
8957 * gnu-nat.c (_initialize_gnu_nat): Declare.
8958
8959 2014-01-07 Yao Qi <yao@codesourcery.com>
8960
8961 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
8962 'enum bfd_endian'.
8963 (struct gdbarch_info) <byte_order>: Change type to
8964 'enum bfd_endian'.
8965 <byte_order_for_code>: Likewise.
8966 * gdbarch.c, gdbarch.h: Regenerated.
8967
8968 2014-01-06 Sasha Smundak <asmundak@google.com>
8969
8970 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
8971
8972 2014-01-06 Tom Tromey <tromey@redhat.com>
8973
8974 * doublest.c (convert_doublest_to_floatformat): Use const, not
8975 CONST.
8976 * somread.c (som_symtab_read): Likewise.
8977
8978 2014-01-07 Hui Zhu <hui@codesourcery.com>
8979
8980 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
8981 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
8982 (gdb_bfd_fopen): Ditto.
8983 (gdb_bfd_openr): Ditto.
8984 (gdb_bfd_openw): Ditto.
8985 (gdb_bfd_openr_iovec): Ditto.
8986 (gdb_bfd_fdopenr): Ditto.
8987 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
8988 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
8989 with xstrdup.
8990 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
8991 with xstrdup.
8992 * symfile-mem.c (symbol_file_add_from_memory): Removed
8993 gdb_bfd_stash_filename.
8994
8995 2014-01-03 Doug Evans <dje@google.com>
8996
8997 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
8998 output.
8999
9000 2014-01-01 Joel Brobecker <brobecker@adacore.com>
9001
9002 Update year range in copyright notice of all files.
9003
9004 2014-01-01 Joel Brobecker <brobecker@adacore.com>
9005
9006 * top.c (print_gdb_version): Set copyright year to 2014.
9007
9008 2014-01-01 Joel Brobecker <brobecker@adacore.com>
9009
9010 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
9011
9012 For older changes see ChangeLog-2013.
9013 \f
9014 Local Variables:
9015 mode: change-log
9016 left-margin: 8
9017 fill-column: 74
9018 version-control: never
9019 coding: utf-8
9020 End:
This page took 0.219626 seconds and 4 git commands to generate.