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