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