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