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