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