« Previous | Next » 

Revision 7c2c3ea3

ID7c2c3ea3fd9e108a1c174a5db021ac1d33b1a22d

Added by Eric Johnson over 11 years ago

target-mips: Fix seg fault for LUI when MIPS_DEBUG_DISAS==1.

The call to gen_logic_imm for OPC_LUI passes -1 for rs. This
causes the MIPS_DEBUG statement to seg fault due to the deference
of regnames[rs]. This patch fixes that.

Signed-off-by: Eric Johnson <>
Signed-off-by: Aurelien Jarno <>
(aurel32: replaced static string formating by a static string)

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences