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