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