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