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