2012-05-07 Chung-Lin Tang <cltang@codesourcery.com>
authorChung-Lin Tang <cltang@codesourcery.com>
Mon, 7 May 2012 13:17:29 +0000 (13:17 +0000)
committerChung-Lin Tang <cltang@codesourcery.com>
Mon, 7 May 2012 13:17:29 +0000 (13:17 +0000)
commit1e1f659128ccffb5681f566fcd3ecd626dcecd46
treec53ef52767a8cb815bf522a9a22516ef2902b04f
parentdaac165e459810a330219663271dbc372767980a
2012-05-07  Chung-Lin Tang  <cltang@codesourcery.com>

* sh-linux-tdep.c: Include trad-frame.h and tramp-frame.h.
(sh_linux_sigtramp_cache): New function.
(sh_linux_sigreturn_init): New function.
(sh_linux_rt_sigreturn_init): New function.
(SH_MOVW,SH_TRAP,SH_OR_R0_R0): New symbols for instruction
patterns.
(SH_NR_SIGRETURN,SH_NR_RT_SIGRETURN): New symbols for sigreturn
syscall codes.
(sh_linux_sigreturn_tramp_frame): New tramp_frame definition.
(sh_linux_rt_sigreturn_tramp_frame): Likewise.
(sh_linux_init_abi): Add init calls to register new tramp_frame
definitions under 32-bit SH, update comments.
gdb/ChangeLog
gdb/sh-linux-tdep.c