This is the mail archive of the gdb-cvs@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]

gdb and binutils branch master updated. 817e0957a556d241be6f8c5e0e649ac53b1fb020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  817e0957a556d241be6f8c5e0e649ac53b1fb020 (commit)
      from  2974be626b5e40033b9a259a072b2fe123469126 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=817e0957a556d241be6f8c5e0e649ac53b1fb020

commit 817e0957a556d241be6f8c5e0e649ac53b1fb020
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Aug 11 19:02:58 2014 +0800

    Support _Complex in hard-VFP abi
    
    Hi,
    When we pass "-mfloat-abi=hard" flag in the GDB testing, we see the
    following fails,
    
    FAIL: gdb.base/callfuncs.exp: p t_float_complex_values(fc1, fc2)
    FAIL: gdb.base/callfuncs.exp: p t_float_complex_many_args(fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4, fc1, fc2, fc3, fc4)
    FAIL: gdb.base/callfuncs.exp: p t_double_complex_values(dc1, dc2)
    FAIL: gdb.base/callfuncs.exp: p t_double_complex_many_args(dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4, dc1, dc2, dc3, dc4)
    FAIL: gdb.base/callfuncs.exp: p t_long_double_complex_values(ldc1, ldc2)
    FAIL: gdb.base/callfuncs.exp: p t_long_double_complex_many_args(ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4, ldc1, ldc2, ldc3, ldc4)
    FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns float _Complex
    FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns double _Complex
    
    The hard-VFP ABI was supported by GDB overal, done by this patch
    https://sourceware.org/ml/gdb-patches/2009-07/msg00686.html but
    "vectors and complex types are not currently supported", mentioned in
    the patch.  As a result, these tests fail.
    
    This patch is to support _Complex types in hard-VFP abi.  As specified
    in "7.1.1, Procedure Call Standard for the ARM Arch", the layout of
    _Complex types is a struct, which is identical to the layout on amd64,
    so I copy Mark's comments to amd64 support.
    
    Regression tested on arm-none-eabi target.  OK to apply?
    
    gdb:
    
    2014-08-19  Yao Qi  <yao@codesourcery.com>
    
    	* arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
    	types.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog  |    5 +++++
 gdb/arm-tdep.c |   34 ++++++++++++++++++++++++++++++++--
 2 files changed, 37 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
gdb and binutils


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