Include strings.h where available
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 981ccf4d8f5f478b680142f66978340aae2857fc..045bdc8db442f6162f117bf4f6899ef0aa90b022 100644 (file)
@@ -1,3 +1,174 @@
+2016-10-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * common/common-defs.h [HAVE_STRINGS_H]: Include strings.h if
+       available, to get prototypes of 'strcasecmp' and 'strncasecmp'.
+
+2016-10-13  Pedro Alves  <palves@redhat.com>
+
+       * contrib/ari/gdb_ari.sh (boolean): Suggest bool instead.
+       (false, true): Remove checks.
+
+2016-10-12  Tom Tromey  <tom@tromey.com>
+
+       * machoread.c (macho_symfile_read_all_oso): Use std::string.
+
+2016-10-12  Tom Tromey  <tom@tromey.com>
+
+       * tracepoint.c (trace_dump_command): Remove unnecessary
+       null_cleanup.
+
+2016-10-12  Tom Tromey  <tom@tromey.com>
+
+       * valprint.c (generic_emit_char, count_next_character)
+       (generic_printstr): Update.
+       * charset.c (struct wchar_iterator): Move to charset.h.
+       (wchar_iterator::wchar_iterator): Rename from
+       make_wchar_iterator, turn into a constructor.
+       (wchar_iterator::~wchar_iterator): Rename from
+       do_cleanup_iterator, turn into a destructor.
+       (make_cleanup_wchar_iterator): Remove.
+       (wchar_iterator::iterate): Rename from wchar_iterate.  Remove
+       "iter" argument.  Update.
+       * charset.h: Include <vector>.
+       (class wchar_iterator): New class, from old struct
+       wchar_iterator.
+       (make_wchar_iterator, make_cleanup_wchar_iterator): Don't
+       declare.
+
+2016-10-12  Tom Tromey  <tom@tromey.com>
+
+       * selftest.c: Include <vector>, not "vec.h".
+       (self_test_function_ptr): Remove.
+       (tests): Now a std::vector.
+       (register_self_test, run_self_tests): Update.
+
+2016-10-13  Pedro Alves  <palves@redhat.com>
+           Tom Tromey  <tom@tromey.com>
+
+       * tid-parse.h (tid_range_parser): New class.
+       (enum tid_range_state): Move into tid_range_parser's scope.
+       Remove TID_RANGE_ prefix from all values.
+       (tid_range_parser_get_tid, tid_range_parser_get_tid_range)
+       (tid_range_parser_star_range, tid_range_parser_finished)
+       (tid_range_parser_skip, tid_range_parser_qualified): Don't
+       declare.
+       (tid_is_in_list): Update comment.
+       * tid-parse.c (tid_range_parser::tid_range_parser): New.
+       (init, finished, get_string, skip, tid_is_qualified)
+       (get_tid_or_range, get_tid_range, get_tid, star_range): Rename;
+       turn into methods.
+       (tid_is_in_list): Adjust.
+       * cli/cli-utils.h (number_or_range_parser): New class.
+       (init_number_or_range, get_number_or_range)
+       (number_range_setup_range): Don't declare.
+       * cli/cli-utils.c
+       (number_or_range_parser::number_or_range_parser): New.
+       (init_number_or_range, get_number_or_range)
+       (number_range_setup_range): Rename; turn into methods.
+       (number_is_in_list): Adjust.
+       * breakpoint.c (map_breakpoint_numbers): Adjust.  Use bool.
+       (trace_pass_command, get_tracepoint_by_number): Adjust.
+       * breakpoint.h (get_tracepoint_by_number): Adjust.
+       * inferior.c (detach_inferior_command, kill_inferior_command)
+       (remove_inferior_command): Adjust.
+       * linespec.c (decode_line_2): Adjust.
+       * memattr.c (mem_enable_command, mem_disable_command)
+       (mem_delete_command): Adjust.
+       * printcmd.c (map_display_numbers): Adjust.
+       * reverse.c (delete_bookmark_command, bookmarks_info): Adjust.
+       * thread.c (thread_apply_command): Adjust.
+
+2016-10-12  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * arc-newlib-tdep.c: New file.
+       * configure.tgt: Add newlib support for ARC.
+
+2016-10-12  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * arc-tdep.h (struct gdbarch_tdep) <jb_pc>: New field.
+       * arc-tdep.c (arc_get_longjmp_target): New function.
+       (arc_gdbarch_init): Set get_longjmp_target if jb_pc is non-negative.
+       (arc_dump_tdep): Print jb_pc.
+
+2016-10-12  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * arc-tdep.h (struct gdbarch_tdep): New.
+       * arc-tdep.c (arc_gdbarch_init): Allocate gdbarch_tdep.
+
+2016-10-12  Yao Qi  <yao.qi@linaro.org>
+
+       PR tdep/20682
+       * aarch64-tdep.c: Replace 32 with AARCH64_D_REGISTER_COUNT.
+       (aarch64_analyze_prologue): Extend array 'regs' for D registers.
+       Assert that operand 0 and 1 can be X or D registers.  Update
+       register number for D registers.  Update registers in frame
+       cache.
+       * aarch64-tdep.h (AARCH64_D_REGISTER_COUNT): New macro.
+
+2016-10-10  Yao Qi  <yao.qi@linaro.org>
+
+       * arch/arm.h (enum arm_breakpoint_kinds): New.
+       * arm-tdep.c (arm_remote_breakpoint_from_pc): Use
+       ARM_BP_KIND_THUMB2.
+
+2016-10-10  Yao Qi  <yao.qi@linaro.org>
+
+       * m32c-tdep.c (m32c_gdbarch_init): Rename local 'arch' by
+       'gdbarch'.
+
+2016-10-10  Yao Qi  <yao.qi@linaro.org>
+
+       * v850-tdep.c (v850_breakpoint_from_pc): Use the right
+       breakpoint instruction.
+       (v850_dbtrap_breakpoint_from_pc): Remove.
+       (v850_gdbarch_init): Update.
+
+2016-10-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * ui-out.c (push_level): Remove "id" parameter.
+       (ui_out_begin): Update call.
+
+2016-10-07  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.12 released.
+
+2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * python/python.c (gdbpy_decode_line): Call
+       string_to_event_location_basic instead of new_linespec_location.
+
+2016-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * target.c (target_supports_multi_process): New function, moved
+       from...
+       * target.h (target_supports_multi_process): ... here.  Remove
+       macro.
+       * target/target.h (target_supports_multi_process): New prototype.
+
+2016-10-06  Pedro Alves  <palves@redhat.com>
+
+       * cp-valprint.c (vtbl_ptr_name): Write "extern const" instead of
+       EXPORTED_CONST.
+       * stub-termcap.c: Remove __cplusplus checks.
+       * common/common-defs.h [!__cplusplus] (EXTERN_C, EXTERN_C_PUSH,
+       EXTERN_C_POP): Delete.
+       * common/common-exceptions.h (GDB_XCPT_SJMP): Update comments.
+       (GDB_XCPT) [!__cplusplus]: Delete.
+       (throw_exception, throw_exception_sjlj): Update comments.
+       * guile/guile-internal.h (as_a_scm_t_subr) [!__cplusplus]: Delete.
+       * guile/guile.c (extension_language_guile): Write "extern const"
+       instead of EXPORTED_CONST.
+       * features/feature_to_c.sh: Don't emit !__cplusplus code.  Write
+       "extern const" instead of EXPORTED_CONST.
+
+2016-10-06  Doug Evans  <dje@google.com>
+
+       * python/py-value.c (valpy_long): Handle unsigned values.
+
+2016-10-06  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * frame.h: Forward-declare struct ui_out.
+
 2016-10-06  Tom Tromey  <tom@tromey.com>
 
        * MAINTAINERS: Remove Java test maintainer.
This page took 0.025273 seconds and 4 git commands to generate.