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