2009-08-17 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Mon, 17 Aug 2009 18:23:45 +0000 (18:23 +0000)
committerMichael Snyder <msnyder@vmware.com>
Mon, 17 Aug 2009 18:23:45 +0000 (18:23 +0000)
commit872761f485e2b7d1a0c76fa7aab96b4c13ae941b
treed9471e9830d3632459efb2a6e42bb7d45bb2de77
parent987499b2425ad953bf823e03b75e45381a4e0b4a
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