Add psymbols for nested types
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 1ed88247af91e3c5bd827890645c036a3790b1b3..b543904db2bb511b3026d405f5625fb285079fc5 100644 (file)
@@ -1,3 +1,105 @@
+2018-03-23  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/22968
+       * dwarf2read.c (scan_partial_symbols): Scan structs/classes for
+       nested type definitions for C++, too.
+
+2018-03-23  Tom Tromey  <tom@tromey.com>
+
+       * machoread.c (struct oso_el): Add a constructor.  Don't define as
+       a typedef.
+       (macho_register_oso): Remove.
+       (macho_symtab_read): Take a std::vector.
+       (oso_el_compare_name): Now a std::sort comparator.
+       (macho_symfile_read_all_oso): Take a std::vector.
+       (macho_symfile_read): Use std::vector.  Remove cleanups.
+
+2018-03-22  Tom Tromey  <tom@tromey.com>
+
+       * record-full.c (record_full_exec_insn): Use gdb::byte_vector.
+       (record_full_goto_bookmark): Use std::string.
+
+2018-03-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
+
+       PR tdep/18295
+       * rs6000-tdep.c (skip_prologue): Match both stwux and stdux
+       a single mask.
+
+2018-03-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
+
+       * rs6000-tdep.c (store_insn_p): New function.
+       (skip_prologue): New variable alloca_reg_offset. Set lr_reg
+       and cr_reg to their unshifted values. Use store_insn_p to
+       match LR saves using either R1 or fdata->alloca_reg. Use
+       store_insn_p to match CR saves. Set alloca_reg_offset
+       when alloca_reg and framep are set. Remove lr_reg shift
+       when assigning to fdata->lr_register.
+
+2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * linux-tdep.c (linux_info_proc): For "info proc cmdline", print
+       command line args instead of emitting a warning.
+
+2018-03-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * tracepoint.h (struct static_tracepoint_marker): Initialize
+       fields, define default constructor, move constructor and move
+       assignment, disable the rest.
+       <str_id, extra>: Make std::string.
+       (release_static_tracepoint_marker): Remove.
+       (free_current_marker): Remove.
+       * tracepoint.c (free_current_marker): Remove.
+       (parse_static_tracepoint_marker_definition): Adjust to
+       std::string, use new hex2str overload.
+       (release_static_tracepoint_marker): Remove.
+       (print_one_static_tracepoint_marker): Get marker by reference
+       and adjust to std::string.
+       (info_static_tracepoint_markers_command): Adjust to std::vector
+       changes
+       * target.h (static_tracepoint_marker_p): Remove typedef.
+       (DEF_VEC_P(static_tracepoint_marker_p)): Remove.
+       (struct target_ops) <to_static_tracepoint_marker_at>: Return
+       bool.
+       <to_static_tracepoint_markers_by_strid>: Return std::vector.
+       * target-debug.h
+       (target_debug_print_VEC_static_tracepoint_marker_p_p): Remove.
+       (target_debug_print_std_vector_static_tracepoint_marker): New.
+       (target_debug_print_struct_static_tracepoint_marker_p): Rename
+       to...
+       (target_debug_print_static_tracepoint_marker_p): ... this.
+       * target-delegates.c: Re-generate.
+       * breakpoint.h (struct tracepoint) <static_trace_marker_id>:
+       Make std::string.
+       * breakpoint.c (init_breakpoint_sal): Adjust to std::string.
+       (decode_static_tracepoint_spec): Adjust to std::vector.
+       (tracepoint_print_one_detail): Adjust to std::string.
+       (strace_marker_decode_location): Adjust to std::string.
+       (update_static_tracepoint): Adjust to std::string, remove call
+       to release_static_tracepoint_marker.
+       * linux-nat.c (linux_child_static_tracepoint_markers_by_strid):
+       Adjust to std::vector.
+       * remote.c (remote_static_tracepoint_marker_at): Return bool.
+       (remote_static_tracepoint_markers_by_strid): Adjust to
+       std::vector.
+       * common/rsp-low.h (hex2str): New overload with explicit count
+       of bytes.
+       * common/rsp-low.c (hex2str): New overload with explicit count
+       of bytes.
+       * unittests/rsp-low-selftests.c (test_hex2str): New function.
+       (_initialize_rsp_low_selftests): Add test_hex2str test.
+       * unittests/tracepoint-selftests.c
+       (test_parse_static_tracepoint_marker_definition): Adjust to
+       std::string.
+
+2018-03-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * tracepoint.c (parse_static_tracepoint_marker_definition):
+       Consider case where the definition is followed by more
+       definitions.
+       * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+       tracepoint-selftests.c.
+       * unittests/tracepoint-selftests.c: New.
+
 2018-03-21  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
 
        * MAINTAINERS (Write After Approval): Add Pedro Franco de
This page took 0.023935 seconds and 4 git commands to generate.