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