Patch 2176985 by riccardom to fix compilation when gdb stub
is enabled.
This commit is contained in:
parent
40aea15810
commit
d5d434133c
|
@ -367,6 +367,9 @@ static u32
|
||||||
armcpu_prefetch()
|
armcpu_prefetch()
|
||||||
{
|
{
|
||||||
armcpu_t* armcpu = &ARMPROC;
|
armcpu_t* armcpu = &ARMPROC;
|
||||||
|
#ifdef GDB_STUB
|
||||||
|
u32 temp_instruction;
|
||||||
|
#endif
|
||||||
|
|
||||||
if(armcpu->CPSR.bits.T == 0)
|
if(armcpu->CPSR.bits.T == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue