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