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