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:
Tobias Hunger
2011-08-31 09:55:34 +00:00
parent 188156977c
commit f44c9e26ed
4 changed files with 7 additions and 7 deletions

View File

@@ -316,7 +316,7 @@ bool MemoryAgent::isBigEndian(const ProjectExplorer::Abi &a)
case ProjectExplorer::Abi::ItaniumArchitecture: // Configureable case ProjectExplorer::Abi::ItaniumArchitecture: // Configureable
case ProjectExplorer::Abi::ArmArchitecture: // Configureable case ProjectExplorer::Abi::ArmArchitecture: // Configureable
break; break;
case ProjectExplorer::Abi::MipsArcitecture: // Configureable case ProjectExplorer::Abi::MipsArchitecture: // Configureable
case ProjectExplorer::Abi::PowerPCArchitecture: // Configureable case ProjectExplorer::Abi::PowerPCArchitecture: // Configureable
return true; return true;
} }

View File

@@ -93,7 +93,7 @@ static QList<Abi> parseCoffHeader(const QByteArray &data)
width = 32; width = 32;
break; break;
case 0x0166: // MIPS, little endian case 0x0166: // MIPS, little endian
arch = Abi::MipsArcitecture; arch = Abi::MipsArchitecture;
width = 32; width = 32;
break; break;
case 0x0200: // ia64 case 0x0200: // ia64
@@ -176,7 +176,7 @@ static QList<Abi> abiOf(const QByteArray &data)
result.append(Abi(Abi::X86Architecture, os, flavor, Abi::ElfFormat, 32)); result.append(Abi(Abi::X86Architecture, os, flavor, Abi::ElfFormat, 32));
break; break;
case 8: // EM_MIPS 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; break;
case 20: // EM_PPC case 20: // EM_PPC
result.append(Abi(Abi::PowerPCArchitecture, os, flavor, Abi::ElfFormat, 32)); 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")) else if (abiParts.at(0) == QLatin1String("x86"))
m_architecture = X86Architecture; m_architecture = X86Architecture;
else if (abiParts.at(0) == QLatin1String("mips")) else if (abiParts.at(0) == QLatin1String("mips"))
m_architecture = MipsArcitecture; m_architecture = MipsArchitecture;
else if (abiParts.at(0) == QLatin1String("ppc")) else if (abiParts.at(0) == QLatin1String("ppc"))
m_architecture = PowerPCArchitecture; m_architecture = PowerPCArchitecture;
else if (abiParts.at(0) == QLatin1String("itanium")) else if (abiParts.at(0) == QLatin1String("itanium"))
@@ -440,7 +440,7 @@ QString Abi::toString(const Architecture &a)
return QLatin1String("arm"); return QLatin1String("arm");
case X86Architecture: case X86Architecture:
return QLatin1String("x86"); return QLatin1String("x86");
case MipsArcitecture: case MipsArchitecture:
return QLatin1String("mips"); return QLatin1String("mips");
case PowerPCArchitecture: case PowerPCArchitecture:
return QLatin1String("ppc"); return QLatin1String("ppc");

View File

@@ -50,7 +50,7 @@ public:
ArmArchitecture, ArmArchitecture,
X86Architecture, X86Architecture,
ItaniumArchitecture, ItaniumArchitecture,
MipsArcitecture, MipsArchitecture,
PowerPCArchitecture, PowerPCArchitecture,
UnknownArchitecture UnknownArchitecture
}; };

View File

@@ -198,7 +198,7 @@ static QList<ProjectExplorer::Abi> guessGccAbi(const QString &m)
arch = ProjectExplorer::Abi::ArmArchitecture; arch = ProjectExplorer::Abi::ArmArchitecture;
width = 32; width = 32;
} else if (p == QLatin1String("mipsel")) { } else if (p == QLatin1String("mipsel")) {
arch = ProjectExplorer::Abi::MipsArcitecture; arch = ProjectExplorer::Abi::MipsArchitecture;
width = 32; width = 32;
} else if (p == QLatin1String("x86_64")) { } else if (p == QLatin1String("x86_64")) {
arch = ProjectExplorer::Abi::X86Architecture; arch = ProjectExplorer::Abi::X86Architecture;