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