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