X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=gdb%2FChangeLog;h=f9a2b30b6d6196a96d146684a76ed9bbbe1e6996;hb=a58e2656df4e2a614bc276159ef9b20368cdb8ca;hp=465bdce529c75c1e0e0371ccb64fb43b3aeab55c;hpb=586cf74920aadc3bb0c4fb1de26135b3fcdead9c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 465bdce529..f9a2b30b6d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,422 @@ +2013-07-04 Andrew Burgess + + * 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 + + Revert: + 2013-06-27 Yao Qi + + * common/create-version.sh: Update comments. Handle the case + that TARGET_ALIAS is empty. + +2013-07-03 Pedro Alves + + * 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 + + * contrib/ari/update-web-ari.sh: Update for version.in change. + +2013-07-02 Tom Tromey + + * common/ptid.h: Comment fixes. + +2013-07-01 Tom Tromey + + * 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 + + * 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 + + * 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 + + * configure.ac (build_warnings): Add -Wmissing-parameter-type. + * configure: Rebuild. + +2013-07-01 Pedro Alves + + * 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 + + * 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 + + * 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 + + * 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 + + * defs.h: Don't check HAVE_UNISTD_H before including . + (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Delete. + * tracepoint.c: Don't check HAVE_UNISTD_H before including + . + +2013-07-01 Pedro Alves + + 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 + + * utils.c : Check if _PC_PATH_MAX is + defined instead of checking HAVE_UNISTD_H. + +2013-07-01 Pedro Alves + + 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 + + * tui/tui-regs.c (pagination_enabled): Delete declaration. + +2013-06-30 Jan Kratochvil + + 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 + + * ia64-linux-tdep.c: Include . + (ia64_linux_stap_is_single_operand): New function. + (ia64_linux_init_abi): Initialize SystemTap related attributes. + +2013-06-28 Tom Tromey + + * 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 + + * infrun.c (set_observer_mode): Don't declare pagination_enabled + here. + * utils.h (pagination_enabled): Declare. + +2013-06-28 Pedro Alves + + * infrun.c (non_stop, non_stop_1, set_non_stop, show_non_stop): + Move higher up in file. + +2013-06-28 Tom Tromey + + * tracepoint.c (deprecated_readline_begin_hook) + (deprecated_readline_hook, deprecated_readline_end_hook): Don't + declare. + +2013-06-28 Pedro Alves + + 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 + + * target.c (find_run_target): Remove. + * target.h (find_run_target): Remove. + +2013-06-27 Tom Tromey + + * corelow.c (core_gdbarch): Now static. + +2013-06-27 Tom Tromey + + * target.c (target_struct_index): Remove. + +2013-06-27 Pedro Alves + + * infrun.c: Remove comment describing the 'stepping over runtime + loader dynamic symbol resolution code' mechanism; moved to + gdbint.texinfo. + +2013-06-27 Pedro Alves + + * exceptions.c (catch_command_errors): Remove spurious space. + * exceptions.h (catch_command_errors): Second parameter is "arg", + not "command". + +2013-06-27 Yao Qi + + * common/create-version.sh: Update comments. Handle the case + that TARGET_ALIAS is empty. + +2013-06-26 Pedro Alves + + * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Delete macro and describing + comment. + +2013-06-26 Pedro Alves + + * infrun.c: Update comments on stepping over runtime loader + dynamic symbol resolution code. + +2013-06-26 Sergio Durigan Junior + + * ax-gdb.h (union exp_element): Forward declare. + * parser-defs.h: Include expression.h. + +2013-06-26 Maciej W. Rozycki + + * mips-tdep.c (fetch_mips_16): Use unmake_compact_addr. + +2013-06-26 Dmitry Kozlov + + * tracepoint.c (trace_save): Extend tsave to save starttime, stoptime. + +2013-06-26 Dmitry Kozlov + + 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 + + * mips-tdep.c (mips_next_pc): Fix a typo. + +2013-06-26 Maciej W. Rozycki + + * mips-tdep.c (micromips_scan_prologue): Fix a typo. + +2013-06-26 Pedro Alves + Yao Qi + + * 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 + Yao Qi + + * 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) : New field. + + * NEWS: Mention the change in GDB and GDBserver. + +2013-06-26 Pedro Alves + Yao Qi + + * tracepoint.c (trace_dump_command): Move code to ... + (get_traceframe_location): ... here. New. + +2013-06-26 Pedro Alves + Yao Qi + + * tracepoint.c (trace_dump_command): GDB emits an error + instead of a warning when a traceframe is not selected. + +2013-06-26 Pedro Alves + Yao Qi + + * tracepoint.c (tracepoint_list, stepping_list): Remove. + (clear_collection_list): Free fields 'aexpre_list' and 'list' + in collection_list. + (do_clear_collection_list, init_collection_list): New. + (encode_actions): Add local variables 'tracepoint_list' and + 'stepping_list'. Call init_collection_list and make cleanup + which calls do_clear_collection_list. Don't call + clear_collection_list. + (_initialize_tracepoint): Delete references to + 'tracepoint_list' and 'stepping_list'. + +2013-06-25 Tom Tromey + + * common/create-version.sh (date): Use "$", not "$$" in sed + expression. + +2013-06-25 Kevin Buettner + + * NEWS (New targets): Add entry for TI MSP430. + +2013-06-25 Yao Qi + + * remote.c (remote_start_remote): Move code to upload tsv + earlier. + +2013-06-25 Yao Qi + Hui Zhu + Pedro Alves + + PR breakpoints/15075 + PR breakpoints/15434 + * breakpoint.c (bpstat_stop_status): Call + b->ops->after_condition_true. + (update_dprintf_command_list): Don't append "continue" command + to the command list of dprintf breakpoint. + (base_breakpoint_after_condition_true): New function. + (base_breakpoint_ops): Add base_breakpoint_after_condition_true. + (dprintf_after_condition_true): New function. + (initialize_breakpoint_ops): Set dprintf_after_condition_true. + * breakpoint.h (breakpoint_ops): Add after_condition_true. + 2013-06-24 Kevin Buettner * Makefile.in (ALL_TARGET_OBS): Add msp430-tdep.o.