Fix lrealpath memory leak in build_id_to_debug_bfd
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 4769bada6243e5f9b1ebb41174dcdf672991a552..a52624b4538099fa14fbaeacd2f99a97fbb1e130 100644 (file)
@@ -1,3 +1,250 @@
+2015-06-24  Keith Seitz  <keiths@redhat.com>
+
+       * build-id.c (build_id_to_debug_bfd): Add cleanup to free
+       return value from lrealpath.
+
+2015-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * remote-sim.c (gdbsim_open): Move sysroot update to the top.
+
+2015-06-24  Mike Frysinger  <vapier@gentoo.org>
+
+       * remote-sim.c: Include gdb_bfd.h.
+       (gdbsim_open): Declare new local sysroot pointing to gdb_sysroot.
+       Skip TARGET_SYSROOT_PREFIX in gdb_sysroot when it is active.
+
+2015-06-24  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-linux-tdep.c (aarch64_linux_init_abi): Don't call
+       set_gdbarch_get_siginfo_type.
+       * amd64-linux-tdep.c (amd64_linux_init_abi_common): Likewise.
+       * arm-linux-tdep.c (arm_linux_init_abi): Likewise.
+       * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
+       * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
+       * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise.
+       * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
+       * tilegx-linux-tdep.c (tilegx_linux_init_abi): Likewise.
+       * linux-tdep.c (linux_get_siginfo_type): Change it to static.
+       (linux_init_abi): Call set_gdbarch_get_siginfo_type.
+       * linux-tdep.h (linux_get_siginfo_type): Remove the declaration.
+
+2015-06-24  Gary Benson  <gbenson@redhat.com>
+
+       * common/buffer.c (stdint.h): Do not include.
+       * common/print-utils.c (stdint.h): Likewise.
+       * compile/compile-c-symbols.c (gdb_assert.h): Likewise.
+       * compile/compile-c-types.c (gdb_assert.h): Likewise.
+       * ft32-tdep.c (gdb_assert.h): Likewise.
+       * guile/scm-utils.c (stdint.h): Likewise.
+       * i386-linux-tdep.c (stdint.h): Likewise.
+       * i386-tdep.c (stdint.h): Likewise.
+       * nat/linux-btrace.c (stdint.h): Likewise.
+       * nat/linux-btrace.h (stdint.h): Likewise.
+       * nat/linux-ptrace.c (stdint.h): Likewise.
+       * nat/mips-linux-watch.h (stdint.h): Likewise.
+       * ppc-linux-nat.c (stdint.h): Likewise.
+       * python/python-internal.h (stdint.h): Likewise.
+       * stub-termcap.c (stdlib.h): Likewise.
+       * target/target.h (stdint.h): Likewise.
+       * xtensa-linux-nat.c (stdint.h): Likewise.
+
+2015-06-23  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * top.c (init_history): Look at errno after calling strtol to
+       properly map large GDBHISTSIZE values to infinity.
+
+2015-06-23  Doug Evans  <dje@google.com>
+
+       * inferior.h (struct inferior_suspend_state): Delete, unused.
+       All references deleted.
+
+2015-06-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * microblaze-tdep.c (microblaze_push_dummy_code): Delete.
+       (microblaze_push_dummy_call): Likewise.
+       (microblaze_gdbarch_init): Delete calls to set_gdbarch_push_dummy_code
+       and set_gdbarch_push_dummy_call.
+
+2015-06-23  Yao Qi  <yao.qi@linaro.org>
+
+       * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers):
+       Check whether have_ptrace_getregset is TRIBOOL_TRUE explicitly.
+       (amd64_linux_store_inferior_registers): Likewise.
+       * arm-linux-nat.c (fetch_fpregister): Likewise.
+       (fetch_fpregs, store_fpregister): Likewise.
+       (store_fpregister, store_fpregs): Likewise.
+       (fetch_register, fetch_regs): Likewise.
+       (store_register, store_regs): Likewise.
+       (fetch_vfp_regs, store_vfp_regs): Likewise.
+       (arm_linux_read_description): Check have_ptrace_getregset is
+       TRIBOOL_UNKNOWN.  Set have_ptrace_getregset to TRIBOOL_TRUE
+       or TRIBOOL_FALSE.
+       * i386-linux-nat.c (fetch_xstateregs): Check
+       have_ptrace_getregset is not TRIBOOL_TRUE.
+       (store_xstateregs): Likewise.
+       * linux-nat.c (have_ptrace_getregset): Change its type to
+       enum tribool.
+       * linux-nat.h (tribool): New enum.
+       * x86-linux-nat.c (x86_linux_read_description): Use enum tribool.
+       Check whether have_ptrace_getregset is TRIBOOL_TRUE.
+
+2015-06-19  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention Sun's version of stabs is no longer supported.
+       * elfread.c (free_elfinfo): Delete.  All uses updated.
+       (elfstab_offset_sections): Delete.  All uses updated.
+       * gdb-stabs.h (stab_section_info): Delete.  All uses updated.
+       * psympriv.h (partial_symtab) <section_offsets>: Delete.
+       All uses updated.
+       * psymtab.c (start_psymtab_common): Delete arg section_offsets.
+       All callers updated.
+
+2015-06-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/rsp-low.c (needs_escaping): New.
+       (remote_escape_output): Add unit_size parameter. Refactor to
+       support multi-byte addressable units.  Rename parameters.
+       * common/rsp-low.h (remote_escape_output): Add unit_size
+       parameter and rename others. Update doc.
+       * remote.c (align_for_efficient_write): New.
+       (remote_write_bytes_aux): Add unit_size parameter and use it.
+       Rename some variables.  Update doc.
+       (remote_xfer_partial): Get unit size and use it.
+       (remote_read_bytes_1): Add unit_size parameter and use it.
+       Rename some variables. Update doc.
+       (remote_write_bytes): Same.
+       (remote_xfer_live_readonly_partial): Same.
+       (remote_read_bytes): Same.
+       (remote_flash_write): Update call to remote_write_bytes_aux.
+       (remote_write_qxfer): Update call to remote_escape_output.
+       (remote_search_memory): Same.
+       (remote_hostio_pwrite): Same.
+
+2015-06-17  Luis Machado  <lgustavo@codesourcery.com>
+
+       * breakpoint.c (add_location_to_breakpoint): Don't mark permanent
+       locations as inserted.
+       Update and expand comment about permanent locations.
+       (bp_loc_is_permanent): Don't return 0 for bp_call_dummy.
+       Move comment to add_location_to_breakpoint.
+       (update_global_location_list): Don't error out if a permanent
+       breakpoint is not marked inserted.
+       Don't error out if a non-permanent breakpoint location is inserted on
+       top of a permanent breakpoint.
+
+2015-06-17  Luis Machado  <lgustavo@codesourcery.com>
+
+       * breakpoint.c (make_breakpoint_permanent): Remove unused
+       function.
+       * breakpoint.h (make_breakpoint_permanent): Remove declaration.
+
+2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
+
+       PR gdb/16999
+       * NEWS: Mention new GDBHISTSIZE behavior.
+       * top.c (init_history): For null or out-of-range GDBHISTSIZE,
+       set history size to unlimited.  Ignore non-numeric GDBHISTSIZE.
+
+2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * NEWS: Mention that GDBHISTSIZE is read instead of HISTSIZE.
+       * top.c (init_history): Read from GDBHISTSIZE instead of
+       HISTSIZE.
+       (init_main): Refer to GDBHISTSIZE instead of HISTSIZE.
+
+2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * top.c (gdb_safe_append_history): Do not call
+       history_truncate_file if the history is not stifled.
+
+2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * syscalls/s390-linux.xml: Add syscalls 344 through 354.
+       * syscalls/s390x-linux.xml: Likewise.
+
+2015-06-16  Michael Eager  <eager@eagercon.com>
+
+       * nat/linux-namespaces.c (MSG_CMSG_CLOEXEC): Define if not defined.
+
+2015-06-16  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Call
+       target_terminal_ours_for_output() before calling
+       tui_show_frame_info(), and restore the original terminal
+       settings afterwards.
+
+2015-06-16  Martin Simmons  <martin@lispworks.com>  (tiny patch)
+
+       * arm-linux-nat.c: Include nat/linux-ptrace.h.
+
+2015-06-15  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * mi/mi-main.c (mi_cmd_data_read_memory_bytes): Consider addressable
+       memory unit size.
+       (mi_cmd_data_write_memory_bytes): Same.
+
+2015-06-15  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * corefile.c (write_memory): Update doc.
+       * gdbcore.h (write_memory): Same.
+
+2015-06-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linux-tdep.c (enum filterflags): Make it from anonymous enum.
+       (dump_mapping_p): Use it for parameter filterflags.
+       (linux_find_memory_regions_full): Use it for variable filterflags.
+
+2015-06-15  Aleksandar Ristovski  <aristovski@qnx.com
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Merge multiple hex conversions.
+       * monitor.c: Include rsp-low.h.
+       (fromhex): Remove definition.
+
+2015-06-15  Aleksandar Ristovski  <aristovski@qnx.com
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Move utility functions to common/.
+       * cli/cli-utils.c (skip_spaces, skip_spaces_const, skip_to_space_const):
+       Move defs to common/common-utils.c.
+       * cli/cli-utils.h (skip_spaces, skip_spaces_const, skip_to_space)
+       (skip_to_space_const): Move decls to common/common-utils.h.
+       * common/common-defs.h: Move include of common-types.h before
+       common-utils.h.
+       * common/common-utils.c: Include host-defs.h and ctype.h.
+       (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int, strtoulst): Move
+       from utils.c.
+       (skip_spaces, skip_spaces_const, skip_to_space_const): Move from
+       cli/cli-utils.c.
+       * common/common-utils.h (strtoulst): Move decl from utils.h.
+       (skip_spaces, skip_spaces_const, skip_to_space, skip_to_space_const):
+       Move from cli/cli-utils.h.
+       * common/host-defs.h: Include limits.h.
+       (TARGET_CHAR_BIT, HOST_CHAR_BIT): Moved from defs.h.
+       (skip_spaces, skip_spaces_const): Move decls from cli/cli-utils.h.
+       * defs.h (TARGET_CHAR_BIT, HOST_CHAR_BIT): Move to
+       common/common-utils.h.
+       * utils.c (HIGH_BYTE_POSN, is_digit_in_base, digit_to_int)
+       (strtoulst): Move to common/common-utils.c.
+       * utils.h (strtoulst): Moved decl to common/common-utils.h.
+
+2015-06-15  Yao Qi  <yao.qi@linaro.org>
+
+       * data-directory/Makefile.in (SYSCALLS_FILES): Add aarch64-linux.xml.
+
+2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * build-id.c: Don't include elf-bfd.h.
+       (build_id_bfd_get): Use bfd_build_id.
+       (build_id_verify): Ditto.
+       * build-id.h: Ditto.
+       (find_separate_debug_file_by_buildid): Ditto.
+       * python/py-objfile.c: Don't include elf-bfd.h.
+       (objfpy_get_build_id) Use bfd_build_id.
+       (objfpy_build_id_matches, objfpy_lookup_objfile_by_build_id): Ditto.
+       * coffread.c: Include build-id.h.
+       (coff_symfile_read): Try find_separate_debug_file_by_buildid.
+
 2015-06-03  Jon Turney  <jon.turney@dronecode.org.uk>
 
        * windows-nat.c (do_windows_fetch_inferior_registers)
        rename variables, adjust formatting.
        * target.h (read_memory_robust): Constify parameters.
 
-2015-05-12 Ulrich Weigand  <uweigand@de.ibm.com>
+2015-06-12  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value_base): Handle short
        synthetic (non-AltiVec) vector types.
This page took 0.028019 seconds and 4 git commands to generate.