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