forked from qt-creator/qt-creator
Fix typo in enum name
Change-Id: I5de645197318062f2174e0205bfffc98413f911e Reviewed-on: http://codereview.qt.nokia.com/3997 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -316,7 +316,7 @@ bool MemoryAgent::isBigEndian(const ProjectExplorer::Abi &a)
|
||||
case ProjectExplorer::Abi::ItaniumArchitecture: // Configureable
|
||||
case ProjectExplorer::Abi::ArmArchitecture: // Configureable
|
||||
break;
|
||||
case ProjectExplorer::Abi::MipsArcitecture: // Configureable
|
||||
case ProjectExplorer::Abi::MipsArchitecture: // Configureable
|
||||
case ProjectExplorer::Abi::PowerPCArchitecture: // Configureable
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ static QList<Abi> parseCoffHeader(const QByteArray &data)
|
||||
width = 32;
|
||||
break;
|
||||
case 0x0166: // MIPS, little endian
|
||||
arch = Abi::MipsArcitecture;
|
||||
arch = Abi::MipsArchitecture;
|
||||
width = 32;
|
||||
break;
|
||||
case 0x0200: // ia64
|
||||
@@ -176,7 +176,7 @@ static QList<Abi> abiOf(const QByteArray &data)
|
||||
result.append(Abi(Abi::X86Architecture, os, flavor, Abi::ElfFormat, 32));
|
||||
break;
|
||||
case 8: // EM_MIPS
|
||||
result.append(Abi(Abi::MipsArcitecture, os, flavor, Abi::ElfFormat, 32));
|
||||
result.append(Abi(Abi::MipsArchitecture, os, flavor, Abi::ElfFormat, 32));
|
||||
break;
|
||||
case 20: // EM_PPC
|
||||
result.append(Abi(Abi::PowerPCArchitecture, os, flavor, Abi::ElfFormat, 32));
|
||||
@@ -282,7 +282,7 @@ Abi::Abi(const QString &abiString) :
|
||||
else if (abiParts.at(0) == QLatin1String("x86"))
|
||||
m_architecture = X86Architecture;
|
||||
else if (abiParts.at(0) == QLatin1String("mips"))
|
||||
m_architecture = MipsArcitecture;
|
||||
m_architecture = MipsArchitecture;
|
||||
else if (abiParts.at(0) == QLatin1String("ppc"))
|
||||
m_architecture = PowerPCArchitecture;
|
||||
else if (abiParts.at(0) == QLatin1String("itanium"))
|
||||
@@ -440,7 +440,7 @@ QString Abi::toString(const Architecture &a)
|
||||
return QLatin1String("arm");
|
||||
case X86Architecture:
|
||||
return QLatin1String("x86");
|
||||
case MipsArcitecture:
|
||||
case MipsArchitecture:
|
||||
return QLatin1String("mips");
|
||||
case PowerPCArchitecture:
|
||||
return QLatin1String("ppc");
|
||||
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
ArmArchitecture,
|
||||
X86Architecture,
|
||||
ItaniumArchitecture,
|
||||
MipsArcitecture,
|
||||
MipsArchitecture,
|
||||
PowerPCArchitecture,
|
||||
UnknownArchitecture
|
||||
};
|
||||
|
||||
@@ -198,7 +198,7 @@ static QList<ProjectExplorer::Abi> guessGccAbi(const QString &m)
|
||||
arch = ProjectExplorer::Abi::ArmArchitecture;
|
||||
width = 32;
|
||||
} else if (p == QLatin1String("mipsel")) {
|
||||
arch = ProjectExplorer::Abi::MipsArcitecture;
|
||||
arch = ProjectExplorer::Abi::MipsArchitecture;
|
||||
width = 32;
|
||||
} else if (p == QLatin1String("x86_64")) {
|
||||
arch = ProjectExplorer::Abi::X86Architecture;
|
||||
|
||||
Reference in New Issue
Block a user