ada-lang.c:coerce_unspec_val_to_type: Preserve laziness.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index fa1da5adcdf1e78a21480d4ba5a7bd7f8f23843c..b24b9884366522a16b46ad93704dc5b57dcd2d9a 100644 (file)
@@ -1,3 +1,296 @@
+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>.
This page took 0.028953 seconds and 4 git commands to generate.