[AArch64] Implement gdbarch_gen_return_address gdbarch method
authorPierre Langlois <pierre.langlois@arm.com>
Thu, 9 Jul 2015 15:35:11 +0000 (16:35 +0100)
committerPierre Langlois <pierre.langlois@arm.com>
Thu, 9 Jul 2015 15:35:11 +0000 (16:35 +0100)
commitea873d8ea64281250434e198b57373f308c3bddb
treed8bb50606015ae905bb2bc3eab47a417fe8a6f1c
parent02a2a705aa71646a47c955388491523a989516c5
[AArch64] Implement gdbarch_gen_return_address gdbarch method

This patch implements the 'collect $_ret' command to collect the return
address of a function in a tracepoint.  It marks the LR register for
collection.

gdb/ChangeLog:

* aarch64-tdep.c: Add ax.h and ax-gdb.h includes.
(aarch64_gen_return_address): New function.
(aarch64_gdbarch_init): Hook it.
gdb/ChangeLog
gdb/aarch64-tdep.c