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