amd64 - function returning record with field straddling 2 registers
authorJoel Brobecker <brobecker@gnat.com>
Fri, 29 Jan 2010 14:39:04 +0000 (14:39 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 29 Jan 2010 14:39:04 +0000 (14:39 +0000)
commite4e2711a4aea4b4c12347d12ad9987432ff4b21f
treeef3cc5cd9585f1470781ee74ff6d56d681a0b885
parentcba6fab54a80261d8f1e6831bc5c560481cfc107
amd64 - function returning record with field straddling 2 registers

gdb/ChangeLog:

        From Paul Hilfinger  <hilfinger@adacore.com>
        * amd64-tdep.c (amd_classify_aggregate): Handle the case of
        a record of length <= 16 in which a field straddles the two
        eightbytes.

gdb/testsuite/ChangeLog:

        * gdb.ada/rec_return: New testcase.
gdb/ChangeLog
gdb/amd64-tdep.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/rec_return.exp [new file with mode: 0644]
gdb/testsuite/gdb.ada/rec_return/foo.adb [new file with mode: 0644]
gdb/testsuite/gdb.ada/rec_return/pck.adb [new file with mode: 0644]
gdb/testsuite/gdb.ada/rec_return/pck.ads [new file with mode: 0644]