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