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