2013-09-30 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 71602a0a752413622ad70882dae5220ada8bd918..bcf01692decb40408eaad849220177685cde4c18 100644 (file)
@@ -1,6 +1,218 @@
+2013-09-30  Tristan Gingold  <gingold@adacore.com>
+
+       * i386-darwin-nat.c (darwin_complete_target): Install methods for
+       hardware watchpoint.
+       (i386_darwin_dr_set): Support 32 and 64 bit states.
+       (i386_darwin_dr_get): Likewise.
+       (i386_darwin_dr_set_control): Make static.
+       (i386_darwin_dr_set_addr, i386_darwin_dr_get_addr)
+       (i386_darwin_dr_get_status, i386_darwin_dr_get_control): Likewise.
+
+2013-09-30  Luis Machado  <lgustavo@codesourcery.com>
+
+       * aarch64-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       Replace GET_LWP with ptid_get_lwp.
+       * aix-thread.c (BUILD_THREAD, BUILD_LWP): Remove.
+       Replace BUILD_THREAD with ptid_build.
+       Replace BUILD_LWP with ptid_build.
+       Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       * alphabsd-nat.c: Replace PIDGET with ptid_get_pid.
+       * amd64-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       * amd64bsd-nat.c: Replace PIDGET with ptid_get_pid.
+       * arm-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       Replace GET_LWP with ptid_get_lwp.
+       * armnbsd-nat.c: Replace PIDGET with ptid_get_pid.
+       * auxv.c: Likewise.
+       * breakpoint.c: Likewise.
+       * common/ptid.c (ptid_is_pid): Condense check for
+       null_ptid and minus_one_ptid.
+       (ptid_lwp_p): New function.
+       (ptid_tid_p): New function.
+       * common/ptid.h: Update comments for accessors.
+       (ptid_lwp_p): New prototype.
+       (ptid_tid_p): New prototype.
+       * defs.h (PIDGET, TIDGET, MERGEPID): Do not define.
+       * gcore.c: Replace PIDGET with ptid_get_pid.
+       * gdbthread.h: Likewise.
+       * gnu-nat.c: Likewise.
+       * hppa-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       * hppabsd-nat.c: Replace PIDGET with ptid_get_pid.
+       * hppanbsd-nat.c: Likewise.
+       * i386-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace TIDGET with ptid_get_lwp.
+       * i386bsd-nat.c: Replace PIDGET with ptid_get_pid.
+       * ia64-linux-nat.c: Replace PIDGET with ptid_get_pid.
+       * infcmd.c: Likewise.
+       * inferior.h: Likewise.
+       * inflow.c: Likewise.
+       * infrun.c: Likewise.
+       * linux-fork.c: Likewise.
+       * linux-nat.c: Replace PIDGET with ptid_get_pid.
+       Replace GET_PID with ptid_get_pid.
+       Replace is_lwp with ptid_lwp_p.
+       Replace GET_LWP with ptid_get_lwp.
+       Replace BUILD_LWP with ptid_build.
+
+2013-09-28  Mike Frysinger  <vapier@gentoo.org>
+
+       * common/linux-btrace.c: Move sys/syscall.h out of the
+       HAVE_LINUX_PERF_EVENT_H check and wrap it in HAVE_SYS_SYSCALL_H.
+       Also check for SYS_perf_event_open before attempting to buid.
+
+2013-09-27  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf2_section_info): Add comment.
+       (dwp_file): Split loaded_cutus into loaded_cus, loaded_tus.
+       All uses updated.
+       (dwarf2_section_empty_p): Rename arg from "info" to "section".
+       (dwarf2_read_section): Delete unused local "header".  Add section
+       name to error message.
+       (create_dwo_in_dwp): Tweak comment.
+       (MAX_NR_DWO_SECTIONS): Combine count of .debug_macro + .debug_macinfo.
+
+       * dwarf2read.c (die_reader_specs): Tweak comment.
+       (get_section_bfd_owner, get_section_bfd_section): New functions.
+       (get_section_name, get_section_file_name): New functions.
+       (get_section_id, get_section_flags): New functions.
+       (*): Use new functions to access section fields.
+
+       * dwarf2read.c (struct dwo_file): Add/tweak comments.
+       (lookup_dwo_unit_in_dwp): Renamed from lookup_dwo_in_dwp.  Remove
+       arg "htab".  All callers updated.
+       (create_debug_types_hash_table): Remove redundant copy of
+       abbrev_section.
+       (create_dwo_in_dwp): Tweak comments.
+       (read_str_index): Tweak comment.  Record dwarf form name in static
+       local.
+
+2013-09-27  Pedro Alves  <palves@redhat.com>
+
+       * remote.h (REMOTE_SYSROOT_PREFIX): New define.
+       (remote_filename_p): Add comment.
+       * remote.c (remote_filename_p): Adjust to use
+       REMOTE_SYSROOT_PREFIX.
+       * solib.c (solib_find): When deciding whether we need to add a
+       directory separator, check whether the sysroot is "remote:"
+       instead of checking whether the patch has a drive spec.  Add
+       comments.
+
+2013-09-27  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (struct stop_reply) <solibs_changed, replay_event>:
+       Delete fields.
+       (remote_parse_stop_reply): Adjust, setting event->ws.kind
+       directly.
+
+2013-09-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix set debug frame output.
+       * frame.c (fprint_frame_type): Add TAILCALL_FRAME entry.  Move
+       SENTINEL_FRAME entry lower to match enum frame_type order.
+
+2013-09-26  Pierre Muller  <muller@sourceware.org>
+
+       Replace constant values 8 to 15 by AMD64_R8_REGNUM to
+       AMD64_R15_REGNUM when a register index is expected.
+       * amd64-windows-tdep.c (amd64_windows_dummy_call_integer_regs):
+       Substitute in array.
+       * amd64-tdep.c (amd64_dwarf_regmap): Ditto.
+       (amd64_push_arguments): Substitute in integer_regnum array.
+
+2013-09-25  Doug Evans  <dje@google.com>
+
+       * objfiles.c (allocate_objfile): Move comment to better place.
+
+       New option "set debug symfile on".
+       * NEWS: Mention "set debug symfile".
+       * Makefile.in (SFILES): Add symfile-debug.c.
+       (COMMON_OBS): Add symfile-debug.o.
+       * elfread.c (elf_symfile_read): Use objfile_set_sym_fns to set the
+       objfile's symbol functions.
+       * objfiles.h (objfile_set_sym_fns): Declare.
+       * symfile-debug.c: New file.
+       * symfile.c (syms_from_objfile_1): Use objfile_set_sym_fns to set the
+       objfile's symbol functions.
+       (reread_symbols): Ditto.
+
+       * symfile.h (struct sym_fns): Delete member "sym_flavour".
+       All uses updated.
+       (add_symtab_fns): Update prototype.
+       * symfile.c (sym_fns_ptr): Delete.  Replace with ...
+       (registered_sym_fns): ... this.
+       (symtab_fns): Update.
+       (add_symtab_fns): New arg "flavour".  All callers updated.
+       (find_sym_fns): Rewrite to use new sym_fns registry.
+
+       * symfile.h (struct sym_fns): Add "objfile" argument to
+       sym_read_linetable.  All uses updated.
+
+       * symtab.c (domain_name, search_domain_name): New functions.
+       * symtab.h (domain_name, search_domain_name): Declare.
+
+       * symfile.h (struct quick_symbol_functions): Reorg arg list of
+       map_matching_symbols so objfile is first.  All uses updated.
+       * dwarf2read.c (dw2_map_matching_symbols): Update signature.
+       * psymtab.c (map_matching_symbols_psymtab): Update signature.
+
+2013-09-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       PR shlibs/8882
+       * solib-svr4.c (svr4_read_so_list): Skip the vDSO when reading
+       link map entries.
+
+2013-09-24  Doug Evans  <dje@google.com>
+
+       * objfiles.c (free_objfile): Move comment.
+
+2013-09-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-exp.y (string_to_operator): Delete.
+       (dummy_string_to_ada_operator): Delete.
+
+2013-09-24  Joel Brobecker  <brobecker@adacore.com>
+
+       Revert:
+       * i386-tdep.h (enum amd64_reg_class): New, moved here from
+       amd64-tdep.c.
+       (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs,
+       call_dummy_integer_regs, and classify.
+       * amd64-tdep.h (amd64_classify): Add declaration.
+       * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant.
+       (amd64_reg_class): Delete, moved to i386-tdep.h.
+       (amd64_classify): Make non-static.  Move declaration to amd64-tdep.h.
+       Replace call to amd64_classify by call to tdep->classify.
+       (amd64_push_arguments): Get the list of registers to use for
+       passing integer parameters from the gdbarch tdep structure,
+       rather than using a hardcoded one.  Replace calls to amd64_classify
+       by calls to tdep->classify.
+       (amd64_push_dummy_call): Get the register number used for
+       the "hidden" argument from tdep->call_dummy_integer_regs.
+       (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs
+       and tdep->call_dummy_integer_regs.  Set tdep->classify.
+
+2013-09-24  Joel Brobecker  <brobecker@adacore.com>
+
+       Revert:
+       * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer.
+       * amd64-tdep.c (amd64_push_arguments): Add handling of architectures
+       where tdep->memory_args_by_pointer is non-zero.
+
+2013-09-24  Joel Brobecker  <brobecker@adacore.com>
+
+       Revert:
+       * i386-tdep.h (struct gdbarch_tdep): Add new field
+       integer_param_regs_saved_in_caller_frame.
+       * amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on
+       stack if tdep->integer_param_regs_saved_in_caller_frame is set.
+
 2013-09-24  Joel Brobecker  <brobecker@adacore.com>
 
-       * amd64-tdep.c: #include "value.h"
+       * amd64-windows-tdep.c: #include "value.h"
        (amd64_windows_classify): Delete.
        (amd64_windows_passed_by_integer_register)
        (amd64_windows_passed_by_xmm_register)
This page took 0.027516 seconds and 4 git commands to generate.