OSDN Git Service

2009-08-17 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@specifix.com>
Mon, 17 Aug 2009 18:23:45 +0000 (18:23 +0000)
committerMichael Snyder <msnyder@specifix.com>
Mon, 17 Aug 2009 18:23:45 +0000 (18:23 +0000)
commit2d2cca06c04577fedc2547a9d22213bf2ce5944b
tree82ba7cb603890f455db7bf51f3f2c41c4a85f812
parent7b89e85c0e6ec79862388fffa7f37097023ff996
2009-08-17  Michael Snyder  <msnyder@vmware.com>

* amd64-tdep.c: Add a frame unwinder for function epilogues.
(amd64_in_function_epilogue_p): New function.
(amd64_epilogue_frame_sniffer): New function.
(amd64_epilogue_frame_cache): New function.
(amd64_epilogue_frame_this_id): New function.
(amd64_epilogue_frame_unwind): New struct frame_unwind.
(amd64_init_abi): Hook the new unwinder.

* amd64-linux-tdep.c (amd64_linux_init_abi): Set gdbarch to use
SVR4 method for skip_trampoline_code.
gdb/ChangeLog
gdb/amd64-linux-tdep.c
gdb/amd64-tdep.c