* i386-tdep.c (i386_epilogue_frame_cache): Simplify code. Call
authorMark Kettenis <kettenis@gnu.org>
Sun, 12 Jun 2011 20:46:11 +0000 (20:46 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 12 Jun 2011 20:46:11 +0000 (20:46 +0000)
commit0d6c213503188564f72d657dbe44aa2200ce6dfc
tree6ebac27079087c27b6b600d7b897271d7150a35c
parent8bbdd3f4631f74565ffa27111d5c19c56cd87926
* i386-tdep.c (i386_epilogue_frame_cache): Simplify code.  Call
get_frame_func instead of get_frame_pc to determine the code
address used to construct the frame ID.
(i386_epilogue_frame_unwind_stop_reason): Fix coding style.
(i386_epilogue_frame_this_id): Likewise.
(i386_epilogue_frame_prev_register): New function.
(i386_epilogue_frame_unwind): Use i386_epilogue_frame_prev_register.
(i386_stack_tramp_frame_sniffer): Fix coding style.
(i386_stack_tramp_frame_unwind): Use i386_epilogue_frame_prev_register.
(i386_gdbarch_init): Fix comments.
gdb/ChangeLog
gdb/i386-tdep.c