Remove cleanup from xstormy16-tdep.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7de454209985ed65a127c9414957706ae67bdb90..989c12718f5d0bb7f5ee5702486b177d992e32ee 100644 (file)
@@ -1,3 +1,124 @@
+2017-09-29  Tom Tromey  <tom@tromey.com>
+
+       * xstormy16-tdep.c (xstormy16_push_dummy_call): Use
+       gdb::byte_vector.
+
+2017-09-29  Tom Tromey  <tom@tromey.com>
+
+       * complaints.c (vcomplaint): Use std::string.
+
+2017-09-29  Tom Tromey  <tom@tromey.com>
+
+       * tracepoint.c (trace_variable_command): Use std::string.
+       (encode_actions_1): Remove unused declarations.
+       (create_tsv_from_upload): Use std::string.
+
+2017-09-29  Tom Tromey  <tom@tromey.com>
+
+       * cp-support.c (gdb_demangle): Use std::string.
+
+2017-09-29  Tom Tromey  <tom@tromey.com>
+
+       * stack.c (parse_frame_specification): Use std::string
+       (info_frame_command): Use gdb::unique_xmalloc_ptr.
+
+2017-09-29  Tom Tromey  <tom@tromey.com>
+
+       * tilegx-tdep.c (tilegx_push_dummy_call): Use gdb::byte_vector.
+
+2017-09-29  Tom Tromey  <tom@tromey.com>
+
+       * utils.c (vfprintf_maybe_filtered): Use std::string.
+       (vfprintf_unfiltered): Likewise.
+
+2017-09-29  Tom Tromey  <tom@tromey.com>
+
+       * event-top.c (top_level_prompt): Return std::string.
+       (display_gdb_prompt): Update.
+
+2017-09-29  Tom Tromey  <tom@tromey.com>
+
+       * unittests/common-utils-selftests.c (format): New function.
+       (string_vprintf_tests): New function.
+       (_initialize_common_utils_selftests): Register new tests.
+       * common/common-utils.c (string_vprintf): New function.
+       * common/common-utils.h (string_vprintf): Declare.
+
+2017-09-29  Pedro Alves  <palves@redhat.com>
+
+       * common/rsp-low.c (unpack_varlen_hex): Constify.
+       * common/rsp-low.h (unpack_varlen_hex): Constify.
+       * linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
+       Constify.
+       * remote.c (remote_set_permissions, read_ptid)
+       (remote_current_thread, remote_get_threads_with_qthreadinfo)
+       (remote_static_tracepoint_marker_at)
+       (remote_static_tracepoint_markers_by_strid)
+       (stop_reply_extract_thread, remote_parse_stop_reply): Constify.
+       * tracepoint.c (parse_trace_status, parse_tracepoint_status)
+       (parse_tracepoint_definition, parse_tsv_definition)
+       (parse_static_tracepoint_marker_definition): Constify.
+       * tracepoint.h (parse_static_tracepoint_marker_definition)
+       (parse_trace_status, parse_tracepoint_status)
+       (parse_tracepoint_definition, parse_tsv_definition): Constify.
+
+2017-09-29  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (target_buf, target_buf_size): Delete.
+       (remote_get_noisy_reply): Remove buf_p and sizeof_buf parameters.
+       Use the connection's packet buffer instead.
+       All callers adjusted.
+       (_initialize_remote): Remove references to target_buf and
+       target_buf_size.
+
+2017-09-28  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+       unittests/common-utils-selftests.c.
+       (SUBDIR_UNITTESTS_OBS): Add common-utils-selftests.o.
+       (COMMON_OBS): Remove utils-selftests.o.
+       * utils-selftests.c: Move to ...
+       * unittests/common-utils-selftests.c: ... here and rename self
+       test to "string_printf".
+
+2017-09-28  Alexander Shaposhnikov <alexander.v.shaposhnikov@gmail.com> (tiny patch)
+
+       * dwarf2read.c (open_and_init_dwp_file): Protect against dwp_file
+       having NULL cus or tus.
+
+2017-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * arm-tdep.c: (convert_from_extended): Remove.
+       (convert_to_extended): Likewise.
+       (arm_extract_return_value): Use convert_typed_floating.
+       (arm_store_return_value): Likewise.
+
+       * sh-tdep.h (struct gdbarch_tdep): Add sh_littlebyte_bigword_type.
+       * sh-tdep.c: Do not include "floatformat.h".
+       (sh_littlebyte_bigword_type): New function.
+       (sh_register_convert_to_virtual): Use convert_typed_floating.
+       (sh_register_convert_to_raw): Likewise.
+       * sh64-tdep.c: (struct gdbarch_tdep): Add sh_littlebyte_bigword_type.
+       (sh64_littlebyte_bigword_type): New function.
+       (sh64_extract_return_value): Use convert_typed_floating.
+       (sh64_register_convert_to_virtual): Likewise.
+       (sh64_register_convert_to_raw): Likewise.
+
+2017-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * doublest.h (floatformat_from_type): Move to gdbtypes.h.
+       * doublest.c (floatformat_from_type): Move to gdbtypes.c.
+
+       * gdbtypes.h (union type_specific): Make field floatformat hold
+       just a single struct floatformat, not an array.
+       (floatformat_from_type): Move here.
+       * gdbtypes.c (floatformat_from_type): Move here.  Update to
+       changed TYPE_FLOATFORMAT definition.
+       (verify_floatformat): Update to changed TYPE_FLOATFORMAT.
+       (recursive_dump_type): Likewise.
+       (init_float_type): Install correct floatformat for byte order.
+       (arch_float_type): Likewise.
+
 2017-09-27  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * gdbtypes.c (init_type): Change incoming argument from
This page took 0.028469 seconds and 4 git commands to generate.