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