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