This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/21222] A function with VEX encoded SSE instructions and a particular number of arguments corrupts a value calculated on the stack when stepping through the function


https://sourceware.org/bugzilla/show_bug.cgi?id=21222

--- Comment #24 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Pedro Alves <palves@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=23a8d1862b7e5b95f0fe9d724c6be326e545e6d1

commit 23a8d1862b7e5b95f0fe9d724c6be326e545e6d1
Author: Adam Stylinski <adam.stylinski@etegent.com>
Date:   Thu Dec 7 12:51:03 2017 -0500

    Fix build with g++ 6.3.1

    With g++ 6.3.1:

     target-descriptions.c: In member function ‘virtual void
     print_c_tdesc::visit_pre(const target_desc*)’:
     target-descriptions.c:1836:16: error: types may not be defined in a
     for-range-declaration [-Werror]
          for (const struct bfd_arch_info *compatible : e->compatible)
                 ^~~~~~

    I think at some point the forward declaration of this struct had been
    removed and declared as a typedef.  This fixes that.

    gdb/ChangeLog:
    2017-12-07  Adam Stylinski  <adam.stylinski@etegent.com>

        PR c++/21222
        * target-descriptions.c (print_c_tdesc::visit_pre): Change type of
        range-for variable.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]