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