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