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