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