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