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