Skip to content

Commit a2542f1

Browse files
committed
Typo fix
1 parent 66f0fa3 commit a2542f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qiling/debugger/gdb/xmlregs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
)
1616

1717
from qiling.arch.cortex_m_const import (
18-
reg_map as coretx_m_regs
18+
reg_map as cortex_m_regs
1919
)
2020

2121
from qiling.arch.arm64_const import (
@@ -140,7 +140,7 @@ def __load_regsmap(archtype: QL_ARCH, xmltree: ElementTree.ElementTree) -> Seque
140140
QL_ARCH.X86: dict(**x86_regs_32, **x86_regs_misc, **x86_regs_cr, **x86_regs_st, **x86_regs_xmm),
141141
QL_ARCH.X8664: dict(**x86_regs_64, **x86_regs_misc, **x86_regs_cr, **x86_regs_st, **x86_regs_xmm, **x86_regs_ymm),
142142
QL_ARCH.ARM: dict(**arm_regs, **arm_regs_vfp, **arm_regs_q, **arm_regs_s),
143-
QL_ARCH.CORTEX_M: dict(**coretx_m_regs),
143+
QL_ARCH.CORTEX_M: dict(**cortex_m_regs),
144144
QL_ARCH.ARM64: dict(**arm64_regs, **arm64_regs_v, **arm64_reg_map_fp),
145145
QL_ARCH.MIPS: dict(**mips_regs_gpr)
146146
}[archtype]

0 commit comments

Comments
 (0)