X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=7611dbb68f541cb5a29949813e1be8f078ef967a;hb=c2853f3d99797a321c37948297441ca6021f719a;hp=940c6a223e7a0c2b6290603c7db2b4b3cc52a86a;hpb=f0c5f9b2b8438e44abc30d18574a4d2ea44d2f67;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 940c6a223e..7611dbb68f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,350 @@ +2014-02-14 Jose E. Marchesi + + * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register + the proper offsets to access fpregset_t. + +2014-02-13 Sanimir Agovic + + * cris-tdep.c (cris_supply_gregset): Remove zerobuf. + (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. + * h8300-tdep.c (setmachinelist): Remove global. + * hppa-tdep.c (hppa_sigtramp): Remove global. + * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb + RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. + * ravenscar-thread.c (update_target_observer): Remove global. + * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. + +2014-02-12 Tom Tromey + + * common/rsp-low.c: Update comments. + * common/rsp-low.h: Update comments. + +2014-02-12 Tom Tromey + + * common/rsp-low.c (convert_ascii_to_int): Remove. + * common/rsp-low.h (convert_ascii_to_int): Don't declare. + +2014-02-12 Tom Tromey + + * common/rsp-low.h (unhexify): Don't declare. + * common/rsp-low.c (unhexify): Remove. + +2014-02-12 Tom Tromey + + * common/rsp-low.h (convert_int_to_ascii): Don't declare. + * common/rsp-low.c (convert_int_to_ascii): Remove. + +2014-02-12 Tom Tromey + + * common/rsp-low.h (hexify): Don't declare. + * common/rsp-low.c (hexify): Remove. + +2014-02-12 Tom Tromey + + * common/rsp-low.c (hexify): Never take strlen of argument. + +2014-02-12 Tom Tromey + + * common/rsp-low.c (bin2hex): Never take strlen of argument. + * remote.c (extended_remote_run, remote_rcmd) + (remote_download_trace_state_variable, remote_save_trace_data) + (remote_set_trace_notes): Update. + * tracepoint.c (encode_source_string, tfile_write_status) + (tfile_write_uploaded_tsv): Update. + +2014-02-12 Tom Tromey + + * tracepoint.c: Include rsp-low.h. + * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. + * remote.c: Include rsp-low.h. + (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) + (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) + (remote_unescape_input): Move to common/rsp-low.c. + * common/rsp-low.h: New file. + * common/rsp-low.c: New file. + * Makefile.in (SFILES): Add common/rsp-low.c. + (HFILES_NO_SRCDIR): Add common/rsp-low.h. + (COMMON_OBS): Add rsp-low.o. + (rsp-low.o): New target. + +2014-02-12 Tom Tromey + + * utils.h: Include print-utils.h. + (host_address_to_string, plongest, pulongest, phex, phex_nz) + (int_string, core_addr_to_string, core_addr_to_string_nz) + (hex_string, hex_string_custom): Don't declare. + * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) + (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) + (hex_string_custom, int_string, core_addr_to_string) + (core_addr_to_string_nz, host_address_to_string): Move to + common/print-utils.c. + * common/print-utils.h: New file. + * common/print-utils.c: New file + * Makefile.in (SFILES): Add common/print-utils.c. + (HFILES_NO_SRCDIR): Add common/print-utils.h. + (COMMON_OBS): Add print-utils.o. + (print-utils.o): New target. + +2014-02-12 Tom Tromey + + * nios2-tdep.c (nios2_stub_frame_base_address): Remove. + +2014-02-12 Mark Kettenis + + * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. + +2014-02-12 Mark Kettenis + + * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF + if a PT_IO ptrace request returns sucessfully but indicates that 0 + bytes were transferred. + +2014-02-12 Pedro Alves + Kevin Buettner + + * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with + TYPE_INSTANCE_FLAG_CODE_SPACE. + +2014-02-12 Pedro Alves + + * h8300-tdep.c (pseudo_from_raw_register) + (raw_from_pseudo_register): New functions. + (h8300_pseudo_register_read, h8300_pseudo_register_write): Use + them. + +2014-02-12 Pedro Alves + + * h8300-tdep.c (h8300_register_sim_regno): New function. + (h8300_gdbarch_init): Install h8300_register_sim_regno as + gdbarch_register_sim_regno hook. + +2014-02-12 Sanimir Agovic + + * nios2-tdep.c (nios2_stub_frame_base): Remove global. + +2014-02-12 Sanimir Agovic + + * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. + +2014-02-12 Mark Kettenis + + * obsd-tdep.h (obsd_init_abi): New prototype. + * obsd-tdep.c: Define enum with OpenBSD signal numbers. + (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) + (obsd_init_abi): New functions. + * i386obsd-tdep.c: Include "obsd-tdep.h". + (i386obsd_init_abi): Call obsd_init_abi. + * amd64obsd-tdep.c: Include "obsd-tdep.h". + (amd64obsd_init_abi): Call obsd_init_abi. + * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add + obsd-tdep.c to gdb_target_obs. + +2014-02-11 Jose E. Marchesi + + * sparc64-tdep.c (sparc64_store_arguments): Do not align complex + double float arguments to 16-byte in the argument slots. + +2014-02-11 Doug Evans + + * configure.ac: Don't crash if pkg-config is not found and guile + wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR + in guile checks. + * configure: Regenerate. + +2014-02-11 Yao Qi + + * aix-thread.c (aix_thread_xfer_partial): Update comments. + * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. + * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. + * gnu-nat.c (gnu_xfer_memory): Likewise. + * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. + * rs6000-nat.c (rs6000_xfer_partial): Likewise. + * sparc-nat.c (sparc_xfer_wcookie): Likewise. + * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. + +2014-02-11 Yao Qi + + * target.h (enum target_xfer_error): Rename to ... + (enum target_xfer_status): ... it. New. All users updated. + (enum target_xfer_status) , : + New. + (TARGET_XFER_STATUS_ERROR_P): New macro. + (target_xfer_error_to_string): Remove declaration. + (target_xfer_status_to_string): Declare. + (target_xfer_partial_ftype): Adjust it. + (struct target_ops) : Return + target_xfer_status. Add argument xfered_len. Update + comments. + * target.c (target_xfer_error_to_string): Rename to ... + (target_xfer_status_to_string): ... it. New. All callers + updated. + (target_read_live_memory): Likewise. Call target_xfer_partial + instead of target_read. + (memory_xfer_live_readonly_partial): Return + target_xfer_status. Add argument xfered_len. + (raw_memory_xfer_partial): Likewise. + (memory_xfer_partial_1): Likewise. + (memory_xfer_partial): Likewise. + (target_xfer_partial): Likewise. Check *XFERED_LEN is set + properly. Update debug message. + (default_xfer_partial, current_xfer_partial): Likewise. + (target_write_partial): Likewise. + (target_read_partial): Likewise. All callers updated. + (read_whatever_is_readable): Likewise. + (target_write_with_progress): Likewise. + (target_read_alloc_1): Likewise. + + * aix-thread.c (aix_thread_xfer_partial): Likewise. + * auxv.c (procfs_xfer_auxv): Likewise. + (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. + * bfd-target.c (target_bfd_xfer_partial): Likewise. + * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. + * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. + * corefile.c (read_memory): Adjust. + * corelow.c (core_xfer_partial): Likewise. + * ctf.c (ctf_xfer_partial): Likewise. + * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers + updated. + (darwin_xfer_partial): Likewise. + * exec.c (section_table_xfer_memory_partial): Likewise. All + callers updated. + (exec_xfer_partial): Likewise. + * exec.h (section_table_xfer_memory_partial): Update + declaration. + * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not + negative. + (gnu_xfer_partial): Likewise. + * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. + (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. + (ia64_hpux_xfer_solib_got): Likewise. + * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change + type of 'partial_len' to ULONGEST. + * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. + * linux-nat.c (linux_xfer_siginfo ): Likewise. + (linux_nat_xfer_partial): Likewise. + (linux_proc_xfer_partial, linux_xfer_partial): Likewise. + (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. + * monitor.c (monitor_xfer_memory): Likewise. + (monitor_xfer_partial): Likewise. + * procfs.c (procfs_xfer_partial): Likewise. + * record-btrace.c (record_btrace_xfer_partial): Likewise. + * record-full.c (record_full_xfer_partial): Likewise. + (record_full_core_xfer_partial): Likewise. + * remote-sim.c (gdbsim_xfer_memory): Likewise. + (gdbsim_xfer_partial): Likewise. + * remote.c (remote_write_bytes_aux): Likewise. All callers + updated. + (remote_write_bytes, remote_read_bytes): Likewise. All + callers updated. + (remote_flash_erase): Likewise. All callers updated. + (remote_write_qxfer): Likewise. All callers updated. + (remote_read_qxfer): Likewise. All callers updated. + (remote_xfer_partial): Likewise. + * rs6000-nat.c (rs6000_xfer_partial): Likewise. + (rs6000_xfer_shared_libraries): Likewise. + * sol-thread.c (sol_thread_xfer_partial): Likewise. + (sol_thread_xfer_partial): Likewise. + * sparc-nat.c (sparc_xfer_wcookie): Likewise. + (sparc_xfer_partial): Likewise. + * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers + updated. + (spu_xfer_partial): Likewise. + * spu-multiarch.c (spu_xfer_partial): Likewise. + * tracepoint.c (tfile_xfer_partial): Likewise. + * windows-nat.c (windows_xfer_memory): Likewise. + (windows_xfer_shared_libraries): Likewise. + (windows_xfer_partial): Likewise. + * valprint.c: Replace 'target_xfer_error' with + 'target_xfer_status' in comments. + +2014-02-11 Simon Marchi (tiny patch) + + Checked in by Joel Brobecker . + * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. + +2014-02-11 Joel Brobecker + + * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat + function parameters. + +2014-02-10 Will Newton + + * elfread.c (elf_rel_plt_read): Look for a .got section if + looking up .got.plt fails. + (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove + on address passed to elf_gnu_ifunc_record_cache. + (elf_gnu_ifunc_resolve_addr): Likewise. + (elf_gnu_ifunc_resolver_return_stop): Likewise. + +2014-02-10 Jose E. Marchesi + + * sparc-tdep.c (sparc_in_function_epilogue_p): New function. + (X_RETTURN): New macro. + * sparc-tdep.h: sparc_in_function_epilogue_p prototype. + + * sparc64-tdep.c (sparc64_init_abi): Hook + sparc_in_function_epilogue_p. + +2014-02-10 Gary Benson + + * symfile-debug.c (debug_qf_expand_symtabs_matching): + Rename name_matcher to symbol_matcher. + +2014-02-10 Gary Benson + + * symfile-debug.c (debug_qf_expand_symtabs_matching): + Use expand_symtabs_file_matcher_ftype and + expand_symtabs_symbol_matcher_ftype. + +2014-02-10 Joel Brobecker + + * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. + (struct ada_symbol_cache): New. + (ada_free_symbol_cache): Forward declare. + (struct ada_pspace_data): New. + (ada_pspace_data_handle): New static global. + (get_ada_pspace_data, ada_pspace_data_cleanup) + (ada_init_symbol_cache, ada_free_symbol_cache): New functions. + (cache_space, cache): Delete, now folded inside struct + ada_pspace_data. + (ada_get_symbol_cache): New function. + (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust + implementation. + (_initialize_ada_language): Remove initialization of cache_space. + Move call to observer_attach_inferior_exit up, grouping it + with the other observer registrations inside this function. + Rename command to be more general. Add call to + register_program_space_data_with_cleanup. + +2014-02-10 Joel Brobecker + + * ada-tasks.c (ada_tasks_new_objfile_observer): Renames + ada_new_objfile_observer. + (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. + (_initialize_tasks): Update uses of ada_new_objfile_observer + and ada_tasks_normal_stop_observer. + +2014-02-10 Joel Brobecker + + * ada-lang.c (ada_evaluate_subexp): Set the type of the value + returned by the 'Length attribute to integer. + +2014-02-10 Joel Brobecker + + * ada-lang.c (_initialize_ada_language): Initialize + cache_space obstack. + +2014-02-10 Joel Brobecker + + * ada-lang.c (HASH_SIZE): New macro. + (struct cache_entry): New type. + (cache_space, cache): New static globals. + (ada_clear_symbol_cache, find_entry): New functions. + (lookup_cached_symbol, cache_symbol): Implement. + (ada_new_objfile_observer, ada_free_objfile_observer): New. + (_initialize_ada_language): Attach ada_new_objfile_observer + and ada_free_objfile_observer. + 2014-02-10 Joel Brobecker * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)