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