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