* symtab.c (iterate_over_some_symtabs): Fix indentation.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a64706dae0e3a28017c870757b42515ecb94be7b..678af3d5ec49e0984bff473584d3f21c7f326a70 100644 (file)
@@ -1,3 +1,861 @@
+2013-07-29  Doug Evans  <dje@google.com>
+
+       * 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".
+       (hppabsd_dwarf2_frame_init_reg): New function.
+       (hppabsd_init_abi): Hook in the DWARF CFI frame unwinder.
+
+2013-07-25  Andrew Burgess  <aburgess@broadcom.com>
+
+       * mi/mi-main.c (output_register): Make MI 'r' format use standard
+       'z' format code.  Remove error for optimized out values, standard
+       code will handle these fine.
+
+2013-07-25  Andrew Burgess  <aburgess@broadcom.com>
+
+       * NEWS: Mention new 'z' formatter.
+       * printcmd.c (print_scalar_formatted): Add new 'z' formatter.
+       (_initialize_printcmd): Mention 'z' formatter in help text of the
+       'x' command.
+
+2013-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (micromips_deal_with_atomic_sequence): Correct
+       formatting.
+
+2013-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * breakpoint.c (create_longjmp_master_breakpoint): Check if probe
+       interface can evaluate arguments.  Fallback to the old mode if it
+       cannot.
+       (create_exception_master_breakpoint): Likewise.
+       * elfread.c (elf_can_evaluate_probe_arguments): New function.
+       (struct sym_probe_fns elf_probe_fns): Export function above to the
+       probe interface.
+       * probe.c (can_evaluate_probe_arguments): New function.
+       * probe.h (struct probe_ops) <can_evaluate_probe_arguments>: New
+       function pointer.
+       (can_evaluate_probe_arguments): New function prototype.
+       * solib-svr4.c (svr4_create_solib_event_breakpoints): Check if
+       probe interface can evaluate arguments.  Fallback to the old mode
+       if it cannot.
+       * stap-probe.c (stap_get_probe_argument_count): Check if probe
+       interface can evaluate arguments.  Warning the user if it cannot.
+       (stap_can_evaluate_probe_arguments): New function.
+       (struct probe_ops stap_probe_ops): Export function above to the
+       probe interface.
+       * symfile.h (struct sym_probe_fns) <can_evaluate_probe_arguments>:
+       New function pointer.
+
+2013-07-24  Luis Machado  <lgustavo@codesourcery.com>
+
+       * Makefile.in (SFILES): Add common/target-common.c.
+       Add common/target-common.h to headers.
+       (COMMON_OBS): Add target-common.o.
+       (target-common.o): New target.
+       * linux-nat.h (resume_kind): Move to common/target-common.h.
+       * target.c (target_waitstatus_to_string): Move to
+       common/target-common.c.
+       * target.h: Include target-common.h.
+       (target_waitkind): Move to common/target-common.h.
+       (target_waitstatus): Likewise.
+       (TARGET_WNOHANG): Likewise.
+       * common/target-common.c: New file.
+       * common/target-common.h: New file.
+
+2013-07-24  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (lookup_dwo_cutu): Change missing DWO complaint to
+       a warning.
+
+2013-07-23  Yao Qi  <yao@codesourcery.com>
+
+       * i386-tdep.c (i386_in_stack_tramp_p): Remove unused
+       parameter 'gdbarch'.
+       (i386_stack_tramp_frame_sniffer): Caller update.
+       * i386-linux-tdep.c (i386_linux_core_read_xcr0): Remove
+       parameter 'gdbarch' and 'target'.
+       (i386_linux_core_read_description): Caller update.
+       * amd64-linux-tdep.c (amd64_linux_core_read_description):
+       Likewise.
+       * i386-linux-tdep.h (i386_linux_core_read_xcr0): Update
+       declaration.
+
+2013-07-23  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (init_cutu_and_read_dies): Revert patch from
+       2013-07-22.
+
+2013-07-22  Doug Evans  <dje@google.com>
+
+       * exec.h (remove_target_sections): Delete arg abfd.
+       * exec.c (exec_close): Update call to remove_target_sections.
+       (remove_target_sections): Delete arg abfd.
+       * solib.c (update_solib_list): Ditto.
+       (reload_shared_libraries_1): Ditto.
+       (clear_solib): Ditto, and unconditionally call remove_target_sections.
+       * target.h (struct target_section): Rename key to owner.
+       All uses updated.
+
+2013-07-22  Tom Tromey  <tromey@redhat.com>
+
+       * solib-som.c (som_open_symbol_file_object): Call do_cleanups.
+
+2013-07-22  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (init_cutu_and_read_dies): Remove 'free_cu_cleanup'.
+       Simplify cleanup handling.
+
+2013-07-22  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf_decode_line_header): Call do_cleanups
+       on all return paths.
+
+2013-07-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
+
+       * ppc-linux-nat.c (PPC_DEBUG_FEATURE_DATA_BP_DAWR): New define.
+       (ppc_linux_region_ok_for_hw_watchpoint): Add checking to use the new
+       DAWR interface for longer ranges hardware watchpoint (up to 512 bytes).
+
+2013-07-22  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * top.c (print_gdb_version): Add help, apropos description and
+       url to online documentation.
+
+2013-07-19  Hui Zhu  <hui@codesourcery.com>
+
+       PR gdb/15692
+       * mi/mi-cmd-break.c (mi_argv_to_format): Handle double quotes.
+
+2013-07-19  Yao Qi  <yao@codesourcery.com>
+
+       * target.c (update_current_target): Change the default action
+       of 'to_traceframe_info' from tcomplain to return_zero.
+       * target.h (struct target_ops) <to_traceframe_info>: Add more
+       comments.
+       * valops.c (read_value_memory): Call
+       traceframe_available_memory unconditionally.
+
+2013-07-18  Yao Qi  <yao@codesourcery.com>
+
+       * coffread.c (coff_symfile_read): Iterate over minimal symbols,
+       if the name is prefixed by "__imp_" or "_imp_", look for minimal
+       symbol without prefix.  If found, set its type to
+       'mst_solib_trampoline'.
+
+2013-07-17  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention "set print raw frame-arguments".
+       * gdbcmd.h (setprintrawlist, showprintrawlist): Declare.
+       * stack.c (print_raw_frame_arguments): New static global.
+       (print_frame_arg): Set opts.raw from print_raw_frame_arguments.
+       (_initialize_stack): New command "set/show print raw frame-arguments".
+       * valprint.c (setprintrawlist, showprintrawlist): New globals.
+       (set_print_raw, show_print_raw): New functions.
+       (_initialize_valprint): New prefix command "set/show print raw".
+       * valprint.h (value_print_options): Improve comments.
+
+       * cli/cli-cmds.c (init_cmd_lists): Delete unnecessary initialization
+       of all *list variables.
+
+       * gdbcmd.h (togglelist): Delete.
+       * cli/cli-cmds.c (togglelist): Delete.
+       (init_cmd_lists): Update.
+       * cli/cli-cmds.h (togglelist): Delete.
+
+2013-07-17  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf2_per_objfile_free): Clear
+       dwarf2_per_objfile.
+
+2013-07-16  Doug Evans  <dje@google.com>
+
+       * nto-tdep.c (nto_relocate_section_addresses): Update,
+       target_section.bfd deleted.
+       * ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Ditto.
+       * s390-tdep.c (s390_load): Ditto.
+       * solib-aix.c (solib_aix_relocate_section_addresses): Ditto.
+
+2013-07-16  Andrew Burgess  <aburgess@broadcom.com>
+
+       * common/format.c (parse_format_string): Add checks for NULL
+       character before calling strchr.
+
+2013-07-16  Doug Evans  <dje@google.com>
+
+       * solist.h (target_so_ops.find_and_open_solib): Clarify usage of
+       temp_pathname argument.
+       * nto-tdep.c (nto_find_and_open_solib): Fix setting of temp_pathname
+       when opening the file fails.
+
+       * target.h (struct target_section): Delete member bfd.
+       All users updated to use the_bfd_section->owner instead.
+       * exec.c (add_to_section_table): Assert bfd is expected value.
+       Remove initialization of target_section.bfd.
+       (remove_target_sections): Update.
+       (section_table_available_memory): Update.
+       (section_table_xfer_memory_partial): Update.
+       (print_section_info): Update.
+       (exec_set_section_address): Update.
+       * record-full.c (record_full_core_xfer_partial): Update.
+       * solib-svr4.c (svr4_relocate_section_addresses): Update.
+       * solib-target.c (solib_target_relocate_section_addresses): Update.
+       * symfile.c (build_section_addr_info_from_section_table): Update.
+       * target.c (memory_xfer_live_readonly_partial): Update.
+       (memory_xfer_partial_1): Update.
+
+2013-07-15  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
+
+       * ppc-linux-nat.c: Since the new PowerPC specific ptrace interface is
+       now available for embedded (BookE) and server (BookS) processors,
+       correct mentions of 'booke' and adjust comments accordingly in order to
+       avoid confusion. Rename struct 'booke_debug_info' to 'hwdebug_info'.
+       (have_ptrace_booke_interface): Rename function and variable
+       'have_ptrace_booke_interface' to 'have_ptrace_hwdebug_interface'.
+       Rename struct 'booke_debug_info' to 'hwdebug_info'. Update all uses.
+       (booke_cmp_hw_point): Rename function 'booke_cmp_hw_point' to
+       'hwdebug_point_cmp'. Update all uses.
+       (booke_find_thread_points_by_tid): Rename function
+       'booke_find_thread_points_by_tid' to
+       'hwdebug_find_thread_points_by_tid'. Update all uses.
+       (booke_insert_point): Rename function 'booke_insert_point' to
+       'hwdebug_insert_point'. Update all uses.
+       (booke_remove_point): Rename function 'booke_remove_point' to
+       'hwdebug_remove_point'. Update all uses.
+
+2013-07-15  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (mips_gdbarch_init): Replace hardcoded magic
+       numbers with enum values.
+
+2013-07-15  Ali Anwar  <ali_anwar@codesourcery.com>
+
+       PR threads/13217
+       * thread.c (thread_apply_all_command): Check for valid threads
+       and thread count.
+       (thread_array_cleanup): New struct.
+       (set_thread_refcount): New function.
+
+2013-07-11  Andrew Burgess  <aburgess@broadcom.com>
+
+       * infcmd.c (default_print_one_register_info): Reuse function
+       print_hex_chars.
+
+2013-07-10  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (GDB_WARN_CFLAGS_NO_DEFS, ADA_EXP_C): New macros.
+       (ada-exp.o): New target.
+
+2013-07-10  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * mt-tdep.c (mt_registers_info): Call
+       get_no_prettyformat_print_options instead of
+       get_raw_print_options (regression by last patch from Doug
+       Evans).
+
+2013-07-09  Pedro Alves  <palves@redhat.com>
+
+       Checked in by Joel Brobecker  <brobecker@adacore.com>.
+       * ada-lang.c (coerce_unspec_val_to_type): Use
+       value_optimized_out_const.
+       * value.c (value_optimized_out_const): New function.
+       * value.h (value_optimized_out_const): New declaration.
+
+2013-07-09  Doug Evans  <dje@google.com>
+
+       * defs.h (enum val_prettyformat): Renamed from val_prettyprint.
+       Enum values rename as well.  All uses updated.
+       * valprint.h (value_print_options): Rename member pretty to
+       pretty format.  Rename member prettyprint_arrays to
+       prettyformat_arrays.  Rename member prettyprint_structs to
+       prettyformat_structs.  All uses updated.
+       (get_no_prettyformat_print_options): Renamed from
+       get_raw_print_options.
+       * valprint.c (get_no_prettyformat_print_options): Renamed from
+       get_raw_print_options.  All callers updated.
+       (show_prettyformat_structs): Renamed from show_prettyprint_structs.
+       All callers updated.
+       (show_prettyformat_arrays): Renamed from show_prettyprint_arrays.
+       All callers updated.
+       (_initialize_valprint): Improve help text for "set print pretty" and
+       "set print arrays".
+
+2013-07-09  Andrew Burgess  <aburgess@broadcom.com>
+
+       * value.c (value_bits_valid): Revert previous change, and change
+       by Pedro on 2013-07-04, due to regressions in
+       gdb.dwarf2/implptr.exp and gdb.dwarf2/pieces.exp.
+
+2013-07-08  Andrew Burgess  <aburgess@broadcom.com>
+            Pedro Alves  <palves@redhat.com>
+
+       * value.c (value_bits_valid): If the value is not lval_computed
+       or has no check validity handler then the answer is the
+       optimized_out flag, otherwise defer to the handler.
+
+2013-07-06  Eli Zaretskii  <eliz@gnu.org>
+
+       * top.c (print_gdb_configuration): Explain in output of
+       --configuration what does "relocatable" mean.
+
+       * main.c (print_gdb_help): Regroup options in the --help text.
+       See http://sourceware.org/ml/gdb-patches/2013-04/msg00362.html for
+       the relevant discussions.
+
+2013-07-06  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.h (struct breakpoint_ops) <create_breakpoints_sal>:
+       Remove parameter 'lsal'.
+       * breakpoint.c (create_breakpoint): Move local variable 'lsal'
+       to inner block.  Caller update.
+       (base_breakpoint_create_breakpoints_sal): Update.
+       (bkpt_create_breakpoints_sal): Likewise.
+       (tracepoint_create_breakpoints_sal): Likewise.
+       (strace_marker_create_breakpoints_sal): Get 'lsal' from the
+       element 0 of vector 'canonical->sals'.
+
+2013-07-05  Luis Machado  <lgustavo@codesourcery.com>
+
+       * rs6000-tdep.c (rs6000_stab_reg_to_regnum): Return the real
+       register number instead of the pseudo register one.
+       (rs6000_dwarf2_reg_to_regnum): Likewise.
+
+2013-07-04  Pedro Alves  <palves@redhat.com>
+
+       * findvar.c (value_of_register): Use allocate_optimized_out_value
+       if the register has been optimized out, instead of
+       set_value_optimized_out.
+       * frame-unwind.c (frame_unwind_got_optimized): Use
+       allocate_optimized_out_value.
+
+2013-07-04  Pedro Alves  <palves@redhat.com>
+
+       * value.c (value_bits_valid): If the value is not lval_computed,
+       or doesn't have a check_validity hook, assume the value is entirely
+       valid.
+
+2013-07-04  Andrew Burgess  <aburgess@broadcom.com>
+
+       * stack.c (read_frame_arg): No longer fetch lazy values.
+       * value.c (value_optimized_out): If the value is not already
+       marked optimized out, and is lazy then fetch it.
+       (value_primitive_field): Move optimized out check to later in the
+       function, after we have loaded any lazy values.
+       (value_fetch_lazy): Use optimized out flag directly rather than
+       calling optimized_out method.
+
+2013-07-04  Andrew Burgess  <aburgess@broadcom.com>
+
+       * valops.c: Don't include "user-regs.h".
+       (value_fetch_lazy): Moved to value.c.
+       * value.c: Include "user-regs.h".
+       (value_fetch_lazy): Moved from valops.c.
+
+2013-07-04  Yao Qi  <yao@codesourcery.com>
+
+       Revert:
+       2013-06-27  Yao Qi  <yao@codesourcery.com>
+
+       * common/create-version.sh: Update comments.  Handle the case
+       that TARGET_ALIAS is empty.
+
+2013-07-03  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (config.status): Depend on development.sh.
+       (aclocal_m4_deps): Add libmcheck.m4.
+       * acinclude.m4: Include libmcheck.m4.
+       * configure.ac: Source development.sh instead of setting
+       'development' here.  --enable-libmcheck/--disable-libmcheck code
+       factored out to GDB_AC_LIBMCHECK.  Run it.
+       * development.sh: New file.
+       * libmcheck.m4: New file.
+       * configure: Regenerate.
+
+2013-07-02  Tom Tromey  <tromey@redhat.com>
+
+       * contrib/ari/update-web-ari.sh: Update for version.in change.
+
+2013-07-02  Tom Tromey  <tromey@redhat.com>
+
+       * common/ptid.h: Comment fixes.
+
+2013-07-01  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf2_get_dwz_file): Return NULL if
+       .gnu_debugaltlink not found.  Use bfd_get_alt_debug_link_info.
+       (dwarf2_read_index, create_all_comp_units): Update.
+
+2013-07-01  Tom Tromey  <tromey@redhat.com>
+
+       * configure.ac (build_warnings): Add -Wold-style-definition.
+       * configure: Rebuild.
+       * machoread.c (_initialize_machoread): Use "(void)".
+       * macrocmd.c (macro_inform_no_debuginfo): Fix formatting;
+       use "(void)".
+
+2013-07-01  Tom Tromey  <tromey@redhat.com>
+
+       * configure.ac (build_warnings): Add -Wold-style-declaration.
+       * configure: Rebuild.
+       * dsrec.c (make_srec): Use "static const", not "const static".
+       * h8300-tdep.c (h8300_breakpoint_from_pc): Use "static const",
+       not "const static".
+       * mi/mi-parse.c (mi_no_values, mi_simple_values, mi_all_values):
+       Use "static const", not "const static".
+       * mn10300-tdep.c (mn10300_breakpoint_from_pc): Use "static const",
+       not "const static".
+       * moxie-tdep.c (moxie_breakpoint_from_pc): Use "static const",
+       not "const static".
+       * rs6000-tdep.c (rs6000_breakpoint_from_pc): Use "static const",
+       not "const static".
+       * v850-tdep.c (v850_breakpoint_from_pc): Use "static const",
+       not "const static".
+       (v850_dbtrap_breakpoint_from_pc): Likewise.
+       * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Use "static const",
+       not "const static".
+
+2013-07-01  Tom Tromey  <tromey@redhat.com>
+
+       * configure.ac (build_warnings): Add -Wmissing-parameter-type.
+       * configure: Rebuild.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * defs.h: Include "pathmax.h".
+       * utils.c: Don't include sys/param.h.
+       (gdb_realpath): Remove code that checks for MAXPATHLEN.
+       * solib-ia64-hpux.c (ia64_hpux_handle_load_event): Use PATH_MAX
+       instead of MAXPATHLEN.
+       * solib-sunos.c: Don't include sys/param.h.
+       * xcoffread.c: Don't include sys/param.h.
+       * bsd-kvm.c: Don't include sys/param.h.
+       * darwin-nat.c: Don't include sys/param.h.
+       (darwin_pid_to_exec_file): Use PATH_MAX instead of MAXPATHLEN.
+       * darwin-nat-info.c: Don't include sys/param.h.
+       * fbsd-nat.c (fbsd_pid_to_exec_file): Use PATH_MAX instead of
+       MAXPATHLEN.
+       * i386obsd-nat.c: Don't include sys/param.h.
+       * inf-child.c: Don't include sys/param.h.
+       (inf_child_fileio_readlink): Use PATH_MAX instead of MAXPATHLEN.
+       * linux-fork.c: Don't include sys/param.h.
+       (fork_save_infrun_state): Use PATH_MAX instead of MAXPATHLEN.
+       * linux-nat.c: Don't include sys/param.h.
+       (linux_child_pid_to_exec_file, linux_proc_pending_signals)
+       (linux_proc_pending_signals): Use PATH_MAX instead of MAXPATHLEN.
+       * m68klinux-nat.c: Don't include sys/param.h.
+       * nbsd-nat.c: Don't include sys/param.h.
+       (nbsd_pid_to_exec_file): Use PATH_MAX instead of MAXPATHLEN.
+       * ppc-linux-nat.c: Don't include sys/param.h.
+       * rs6000-nat.c: Don't include sys/param.h.
+       * spu-linux-nat.c. Don't include sys/param.h.
+       * windows-nat.c: Don't include sys/param.h.
+       * xtensa-linux-nat.c: Don't include sys/param.h.
+       * config/i386/nm-fbsd.h: Don't include sys/param.h.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add pathmax.
+       * gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/pathmax.m4.
+       * gnulib/aclocal.m4: Regenerate.
+       * gnulib/config.in: Regenerate.
+       * gnulib/configure: Regenerate.
+       * gnulib/import/pathmax.h: New file.
+       * gnulib/import/Makefile.am: Regenerate.
+       * gnulib/import/Makefile.in: Regenerate.
+       * gnulib/import/m4/gnulib-cache.m4: Regenerate.
+       * gnulib/import/m4/gnulib-comp.m4: Regenerate.
+       * gnulib/import/m4/pathmax.m4: New file.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * configure.ac (GDBINIT): Define, depending on host.
+       * go32-nat.c (init_go32_ops): Don't override gdbinit here.
+       * top.c (PATH_MAX): Delete fallback definition.
+       (GDBINIT_FILENAME): Delete.
+       (gdbinit): Reimplement as const char array set to the GDBINIT
+       string constant.
+       * top.h (gdbinit): Make const.
+       * configure, config.in: Regenerate.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-cmds.c (source_script): Make 'file' parameter const.
+       * cli/cli-cmds.h (source_script): Likewise.
+       * exceptions.c (catch_command_errors_const): New function.
+       * exceptions.h (catch_command_errors_const): Declare.
+       * main.c (get_init_files): Make parameters const, and adjust.
+       (captured_main): Make 'system_gdbinit', 'home_gdbinit' and
+       'local_gdbinit' locals const.  Adjust to use
+       catch_command_errors_const.
+       (print_gdb_help): Make 'system_gdbinit', 'home_gdbinit' and
+       'local_gdbinit' locals const.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * defs.h: Don't check HAVE_UNISTD_H before including <unistd.h>.
+       (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Delete.
+       * tracepoint.c: Don't check HAVE_UNISTD_H before including
+       <unistd.h>.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       Import the "unistd" gnulib module.
+       * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add "unistd".
+       * gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/off_t.m4,
+       import/m4/ssize_t.m4, import/m4/sys_types_h.m4 and
+       import/m4/unistd_h.m4.
+       * gnulib/aclocal.m4: Renenerate.
+       * gnulib/config.in: Renenerate.
+       * gnulib/configure: Renenerate.
+       * gnulib/import/Makefile.am: Renenerate.
+       * gnulib/import/Makefile.in: Renenerate.
+       * gnulib/import/m4/gnulib-cache.m4: Renenerate.
+       * gnulib/import/m4/gnulib-comp.m4: Renenerate.
+       * gnulib/import/m4/off_t.m4: New file.
+       * gnulib/import/m4/ssize_t.m4: New file.
+       * gnulib/import/m4/sys_types_h.m4: New file.
+       * gnulib/import/m4/unistd_h.m4: New file.
+       * gnulib/import/sys_types.in.h: New file.
+       * gnulib/import/unistd.c: New file.
+       * gnulib/import/unistd.in.h: New file.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * utils.c <pathconf/_PC_PATH_MAX use>: Check if _PC_PATH_MAX is
+       defined instead of checking HAVE_UNISTD_H.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       Reimport gnulib from scratch.
+       * gnulib/Makefile.in (aclocal_m4_deps): Remove reference to
+       import/m4/onceonly.m4.
+       * gnulib/aclocal.m4: Renegerate.
+       * gnulib/config.in: Renegerate.
+       * gnulib/configure: Renegerate.
+       * gnulib/import/Makefile.in: Renegerate.
+       * gnulib/import/extra/update-copyright: Renegerate.
+       * gnulib/import/m4/onceonly.m4: Delete.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * tui/tui-regs.c (pagination_enabled): Delete declaration.
+
+2013-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * remote.c (async_remote_interrupt_twice): Make it static.
+       * remote.h (async_remote_interrupt_twice): Remove the declaration.
+
+2013-06-29  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * ia64-linux-tdep.c: Include <ctype.h>.
+       (ia64_linux_stap_is_single_operand): New function.
+       (ia64_linux_init_abi): Initialize SystemTap related attributes.
+
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (version.c): Use version.in, not
+       common/version.in.
+       * common/create-version.sh: Likewise.
+       * common/version.in: Move...
+       * version.in: ...here.
+
+2013-06-28  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (set_observer_mode): Don't declare pagination_enabled
+       here.
+       * utils.h (pagination_enabled): Declare.
+
+2013-06-28  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (non_stop, non_stop_1, set_non_stop, show_non_stop):
+       Move higher up in file.
+
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.c (deprecated_readline_begin_hook)
+       (deprecated_readline_hook, deprecated_readline_end_hook): Don't
+       declare.
+
+2013-06-28  Pedro Alves  <palves@redhat.com>
+
+       PR tui/14880
+       * tui/tui-regs.c (tui_get_register): Fetch value contents before
+       checking if they're available.
+       * value.c (value_available_contents_eq): Change comment.
+       * value.h (value_available_contents_eq): Expand comment.
+
+2013-06-27  Tom Tromey  <tromey@redhat.com>
+
+       * target.c (find_run_target): Remove.
+       * target.h (find_run_target): Remove.
+
+2013-06-27  Tom Tromey  <tromey@redhat.com>
+
+       * corelow.c (core_gdbarch): Now static.
+
+2013-06-27  Tom Tromey  <tromey@redhat.com>
+
+       * target.c (target_struct_index): Remove.
+
+2013-06-27  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c: Remove comment describing the 'stepping over runtime
+       loader dynamic symbol resolution code' mechanism; moved to
+       gdbint.texinfo.
+
+2013-06-27  Pedro Alves  <palves@redhat.com>
+
+       * exceptions.c (catch_command_errors): Remove spurious space.
+       * exceptions.h (catch_command_errors): Second parameter is "arg",
+       not "command".
+
+2013-06-27  Yao Qi  <yao@codesourcery.com>
+
+       * common/create-version.sh: Update comments.  Handle the case
+       that TARGET_ALIAS is empty.
+
+2013-06-26  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Delete macro and describing
+       comment.
+
+2013-06-26  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c: Update comments on stepping over runtime loader
+       dynamic symbol resolution code.
+
+2013-06-26  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * ax-gdb.h (union exp_element): Forward declare.
+       * parser-defs.h: Include expression.h.
+
+2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (fetch_mips_16): Use unmake_compact_addr.
+
+2013-06-26  Dmitry Kozlov <ddk@codesourcery.com>
+
+       * tracepoint.c (trace_save): Extend tsave to save starttime, stoptime.
+
+2013-06-26  Dmitry Kozlov <ddk@codesourcery.com>
+
+       Fix trace-status to output proper start-time and stop-time.
+       * tracepoint.c (trace_status_command): Fix type of printf arg to
+       prevent improper type conversion.
+       (trace_status_mi): Likewise.
+
+2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (mips_next_pc): Fix a typo.
+
+2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (micromips_scan_prologue): Fix a typo.
+
+2013-06-26  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-cmds.c (mi_cmds): Register -trace-frame-collected.
+       * mi/mi-cmds.h (mi_cmd_trace_frame_collected): Declare.
+       * mi/mi-main.c (print_variable_or_computed): New function.
+       (mi_cmd_trace_frame_collected): New function.
+       * tracepoint.c (find_trace_state_variable_by_number): New.
+       (struct traceframe_info): Move to tracepoint.h
+       (struct collection_list): Likewise.
+       (do_collect_symbol): Include locals and arguments in the
+       collected variables list.
+       (clear_collection_list): Clear wholly collected variables list
+       and computed variables list.
+       (append_exp): New function.
+       (encode_actions_1): Include variables in the wholly
+       collected variables list.  Include memory ranges and
+       full-fledged expressions in the computed expressions list.
+       (encode_actions): Move some code to ...
+       Return the cleanup chain.
+       (encode_actions_rsp): ... here.  New function.
+       (get_traceframe_location, get_traceframe_info): Remove static.
+       * tracepoint.h (struct memrange): Moved from tracepoint.c.
+       (struct collection_list): Moved from tracepoint.c.  Add two
+       new fields 'wholly_collected' and 'computed'.
+       (find_trace_state_variable_by_number): Declare.
+       (encode_actions): Adjust declaration.
+       (encode_actions_rsp): Declare.
+       (get_traceframe_info, get_traceframe_location): Declare.
+
+       * NEWS: Mention new MI command -trace-frame-collected.
+
+2013-06-26  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * ctf.c (ctf_traceframe_info): Push trace state variables
+       present in the trace data into the traceframe info object.
+       * breakpoint.c (DEF_VEC_I): Remove.
+       * common/filestuff.c (DEF_VEC_I): Likewise.
+       * dwarf2loc.c (DEF_VEC_I): Likewise.
+       * mi/mi-main.c (DEF_VEC_I): Likewise.
+       * common/gdb_vecs.h (DEF_VEC_I): Define vector for int.
+       * features/traceframe-info.dtd: Add tvar element and its
+       attributes.
+       * tracepoint.c (free_traceframe_info): Free vector 'tvars'.
+       (build_traceframe_info): Push trace state variables present in
+       the trace data into the traceframe info object.
+       (traceframe_info_start_tvar): New function.
+       (tvar_attributes): New.
+       (traceframe_info_children): Add "tvar" element.
+       * tracepoint.h (struct traceframe_info) <tvars>: New field.
+
+       * NEWS: Mention the change in GDB and GDBserver.
+
+2013-06-26  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (trace_dump_command): Move code to ...
+       (get_traceframe_location): ... here.  New.
+
+2013-06-26  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (trace_dump_command): GDB emits an error
+        instead of a warning when a traceframe is not selected.
+
 2013-06-26  Pedro Alves  <pedro@codesourcery.com>
            Yao Qi  <yao@codesourcery.com>
 
This page took 0.032806 seconds and 4 git commands to generate.