[PING][PATCH] microMIPS support (Linux signal trampolines)

Maciej W. Rozycki macro@codesourcery.com
Mon Oct 6 00:46:00 GMT 2014


On Sun, 28 Sep 2014, Maciej W. Rozycki wrote:

>  I'd like to get back to this change and review.  Here's the same code 
> regenerated against current trunk.  Can we please get consensus on changes 
> to tramp-frame.[ch]?
> 
>  Regression-tested with the mips-linux-gnu target and the following 
> multilibs:
> 
> -EB
> -EB -msoft-float
> -EB -mips16
> -EB -mips16 -msoft-float
> -EB -mmicromips
> -EB -mmicromips -msoft-float
> -EB -mabi=n32
> -EB -mabi=n32 -msoft-float
> -EB -mabi=64
> -EB -mabi=64 -msoft-float
> 
> and the -EL variants of same with no regressions.
> 
> 2014-09-28  Maciej W. Rozycki  <macro@codesourcery.com>
> 
> 	gdb/
> 	* tramp-frame.h (tramp_frame): Add validate member.
> 	* tramp-frame.c (tramp_frame_start): Validate trampoline before
> 	scanning.
> 	* mips-linux-tdep.c (MICROMIPS_INST_LI_V0): New macro.
> 	(MICROMIPS_INST_POOL32A, MICROMIPS_INST_SYSCALL): Likewise.
> 	(mips_linux_o32_sigframe): Initialize validate member.
> 	(mips_linux_o32_rt_sigframe): Likewise.
> 	(mips_linux_n32_rt_sigframe): Likewise.
> 	(mips_linux_n64_rt_sigframe): Likewise.
> 	(micromips_linux_o32_sigframe): New variable.
> 	(micromips_linux_o32_rt_sigframe): Likewise.
> 	(micromips_linux_n32_rt_sigframe): Likewise.
> 	(micromips_linux_n64_rt_sigframe): Likewise.
> 	(mips_linux_o32_sigframe_init): Handle microMIPS trampolines.
> 	(mips_linux_n32n64_sigframe_init): Likewise.
> 	(mips_linux_sigframe_validate): New function.
> 	(micromips_linux_sigframe_validate): Likewise.
> 	(mips_linux_init_abi): Install microMIPS trampoline unwinders.

 Ping!

  Maciej



More information about the Gdb-patches mailing list