cleanup: constify "struct attribute" function parameter
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 0af3b6c17f6977fe07441ce92c4407761f3a26c7..43c2783e85b2faff45612c5634c538e24dcd8f17 100644 (file)
@@ -1,3 +1,178 @@
+2013-07-30  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * dwarf2read.c (dwarf2_get_ref_die_offset): Constify struct
+       attribute parameter.
+       (dwarf2_const_value_data): Constify struct attribute parameter.
+       (dwarf2_const_value): Constify struct attribute parameter.
+       (dwarf2_const_value_attr): Constify struct attribute parameter.
+       (lookup_die_type): Constify struct attribute parameter.
+       (dwarf2_get_attr_constant_value): Constify struct attribute parameter.
+       (follow_die_ref_or_sig): Constify struct attribute parameter.
+       (follow_die_ref): Constify struct attribute parameter.
+       (follow_die_sig): Constify struct attribute parameter.
+       (get_DW_AT_signature_type): Constify struct attribute parameter.
+       (get_type_unit_group): Constify struct attribute parameter.
+       (fill_in_loclist_baton): Constify struct attribute parameter.
+       (dwarf2_symbol_mark_computed): Constify struct attribute parameter.
+       (type_unit_group): Constify struct attribute parameter.
+
+2013-07-30  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * dwarf2read.c (attr_form_is_block): Make argument const.
+       (attr_form_is_section_offset): Make argument const.
+       (attr_form_is_constant): Make argument const.
+       (attr_form_is_ref): Make argument const.
+
+2013-07-30  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * dwarf2read.c (attr_is_ref): Rename to attr_form_is_ref.
+       All uses updated.
+       (attr_form_is_ref): Moved below attr_form_is_constant.
+
+2013-07-29  Doug Evans  <dje@google.com>
+
+       * main.c (captured_command_loop): Tweak comment.
+
+       * target.c (target_async_permitted_1): Fix comment.
+
+       * symtab.c (iterate_over_some_symtabs): Add comment.
+
+       * symtab.c (iterate_over_some_symtabs): Fix indentation.
+
+2013-07-27  Yao Qi  <yao@codesourcery.com>
+
+       * NEWS: Mention that GDBserver now supports hardware
+       watchpoints on the MIPS GNU/Linux target.
+
+2013-07-27  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Add
+       common/mips-linux-watch.h.
+       (mips-linux-watch.o): New rule.
+       * common/mips-linux-watch.c: New.
+       * common/mips-linux-watch.h: New.
+       * config/mips/linux.mh (NATDEPFILES): Add mips-linux-watch.o
+       * mips-linux-nat.c: Include mips-linux-watch.h.
+       (W_BIT, R_BIT, I_BIT, W_MASK, R_MASK, I_MASK, IRW_MASK): Move
+       to common/mips-linux-watch.h.
+       (MAX_DEBUG_REGISTER): Likewise.
+       (enum pt_watch_style): Likewise.
+       (struct mips32_watch_regs): Likewise.
+       (struct mips64_watch_regs): Likewise.
+       (struct pt_watch_regs): Likewise.
+       (struct mips_watchpoint): Likewise.
+       (mips_linux_watch_get_irw_mask): Move to
+       common/mips-linux-watch.c.
+       (get_reg_mask, mips_linux_watch_get_num_valid): Likewise.
+       (mips_linux_watch_get_watchlo): Likewise.
+       (mips_linux_watch_set_watchlo): Likewise.
+       (mips_linux_watch_get_watchhi): Likewise.
+       (mips_linux_watch_set_watchhi): Likewise.
+       (mips_linux_read_watch_registers): Likewise.
+       (mips_linux_watch_type_to_irw): Likewise.
+       (mips_linux_stopped_data_address, fill_mask): Likewise.
+       (mips_linux_watch_try_one_watch): Likewise.
+       (mips_linux_watch_populate_regs): Likewise.
+
+2013-07-27  Yao Qi  <yao@codesourcery.com>
+
+       * mips-linux-nat.c (get_irw_mask): Rename to ...
+       (mips_linux_watch_get_irw_mask): ... this.  Rename parameter
+       'set' to 'n'.  Update function comment.  All callers changed.
+       (get_reg_mask): Rename parameter 'set' to 'n'.  Update
+       function comment.  All callers changed.
+       (get_num_valid): Rename to ...
+       (mips_linux_watch_get_num_valid): ... this.  Rename parameter
+       'set' to 'n'.  Update function comment.  All callers changed.
+       (get_watchlo): Rename to ...
+       (mips_linux_watch_get_watchlo): ... this.  Rename parameter
+       'set' to 'n'.  Update function comment.  All callers changed.
+       (set_watchlo): Rename to ...
+       (mips_linux_watch_set_watchlo): ... this.  Rename parameter
+       'set' to 'n'.  Update function comment.  All callers changed.
+       (get_watchhi): Rename to ...
+       (mips_linux_watch_get_watchhi): ... this.  Update function
+       comment.  All callers changed.
+       (set_watchhi): Rename to ...
+       (mips_linux_watch_set_watchhi): ... this.  Update function
+       comment.  All callers changed.
+       (mips_linux_read_watch_registers): Update function comment.
+       Add new parameters 'lwpid', 'watch_readback', and
+       'watch_readback_valid'.  Update.
+       (type_to_irw): Rename to ...
+       (mips_linux_watch_type_to_irw): ... this.  Update function
+       comment.  All callers changed.
+       (fill_mask): Update function comment.
+       (try_one_watch): Rename to ...
+       (mips_linux_watch_try_one_watch): ... this.  Change the type
+       of parameter 'irw' from 'unsigned' to 'uint32_t'.
+       (populate_regs_from_watches): Rename to ...
+       (mips_linux_watch_populate_regs): ... this.  Add parameter
+       'current_watches'.  All callers changed.
+
+2013-07-27  Yao Qi  <yao@codesourcery.com>
+
+       * mips-linux-nat.c (MAX_DEBUG_REGISTER): Move it earlier in
+       the code.
+       (PTRACE_SET_WATCH_REGS, enum pt_watch_style): Remove.
+       (struct mips32_watch_regs, struct mips64_watch_regs): Remove.
+       (struct pt_watch_regs): Likewise.
+       [!PTRACE_GET_WATCH_REGS] (PTRACE_SET_WATCH_REGS): New macro.
+       [!PTRACE_GET_WATCH_REGS] (enum pt_watch_style): New.
+       [!PTRACE_GET_WATCH_REGS] (struct mips32_watch_regs): New.
+       [!PTRACE_GET_WATCH_REGS] (struct mips64_watch_regs): New.
+       [!PTRACE_GET_WATCH_REGS] (struct pt_watch_regs): New.
+
+2013-07-27  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.h: Include break-common.h.
+       (enum target_hw_bp_type): Move to ...
+       * common/break-common.h: ... here.  New.
+
+2013-07-26  Cyril Nikolaev  <cyril@nichtverstehen.de>
+
+       * inflow.c (terminal_init_inferior_with_pgrp): Save inferior
+       process group regardless of having tty on stdin.
+
+2013-07-25  Doug Evans  <dje@google.com>
+
+       * linux-fork.h (detach_fork): Delete.
+
+2013-07-25  Tom Tromey  <tromey@redhat.com>
+
+       PR remote/15256, PR remote/15266:
+       * bfd-target.c (target_bfd_reopen): Initialize to_magic.
+       * monitor.c (monitor_detach): Use unpush_target.
+       * remote-m32r-sdi.c (m32r_detach): Use unpush_target.
+       * remote-mips.c (mips_detach): Use unpush_target.  Don't
+       call mips_close.
+       * remote-sim.c (gdbsim_detach): Use unpush_target.
+       * target.c (pop_target): Remove.
+       (pop_all_targets_above): Don't call target_close.
+       (target_close): Assert that the target is unpushed.
+       * target.h (pop_target): Don't declare.
+       * tracepoint.c (tfile_open): Use unpush_target.
+
+2013-07-25  Tom Tromey  <tromey@redhat.com>
+
+       * linux-thread-db.c (init_thread_db_ops): Call
+       complete_target_initialization.
+       (_initialize_thread_db): Don't call add_target.
+       * target.c (complete_target_initialization): New function.
+       (add_target_with_completer): Call it.
+       * target.h (complete_target_initialization): Declare.
+
+2013-07-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * hppa-tdep.h (enum hppa_regnum): Add members for all space registers.
+       * hppaobsd-tdep.c (HPPAOBSD_SIZEOF_GREGS): Add comment.
+       (HPPANBSD_SIZEOF_GREGS): New define.
+       (hppaobsd_supply_gregset): Handle additional registers.
+       * hppabsd-nat.c (hppabsd_gregset_supplies_p): Adjust to indicate
+       we provide more registers now.
+       (hppabsd_supply_gregset): Supply additional registers.
+       (hppabsd_collect_gregset): Collect additional registers.
+
 2013-07-25  Mark Kettenis  <kettenis@gnu.org>
 
        * hppabsd-tdep.c: Include "dwarf2-frame.h".
This page took 0.029587 seconds and 4 git commands to generate.