target: e2k: Reading %ilcr for gdb.
This commit is contained in:
parent
39fec245f6
commit
7c8bfe6e24
@ -199,6 +199,7 @@ typedef enum {
|
||||
#define LSR_STRMD_END 59
|
||||
#define LSR_STRMD_LEN (LSR_STRMD_END - LSR_STRMD_OFF + 1)
|
||||
#define LSR_SEMC_OFF /* side effects manual control */
|
||||
#define LSR_ILCR_MASK 0x1f001fffffffffUL
|
||||
|
||||
#define UPSR_FE_OFF 0 /* floating point enable */
|
||||
#define UPSR_FE_BIT 1
|
||||
|
@ -175,7 +175,7 @@ int e2k_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n)
|
||||
case 345: return gdb_get_reg64(mem_buf, 0); // cuir
|
||||
case 346: return gdb_get_reg64(mem_buf, 0); // tsd
|
||||
case 347: return gdb_get_reg64(mem_buf, env->lsr); // lsr
|
||||
case 348: return gdb_get_reg64(mem_buf, 0); // ilcr
|
||||
case 348: return gdb_get_reg64(mem_buf, env->lsr & LSR_ILCR_MASK); // ilcr
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user