Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers.

This commit is contained in:
Roberto Raggi
2010-12-16 12:05:48 +01:00
parent 63522a04e5
commit b4e421062f
83 changed files with 135 additions and 135 deletions

View File

@@ -72,7 +72,7 @@ enum DebuggingHelperState
DebuggingHelperUninitialized,
DebuggingHelperLoadTried,
DebuggingHelperAvailable,
DebuggingHelperUnavailable,
DebuggingHelperUnavailable
};
@@ -182,7 +182,7 @@ private: ////////// Gdb Command Management //////////
enum GdbCommandFlag {
NoFlags = 0,
// The command needs a stopped inferior.
NeedsStop = 1,
NeedsStop = 1,
// No need to wait for the reply before continuing inferior.
Discardable = 2,
// Trigger watch model rebuild when no such commands are pending anymore.
@@ -201,7 +201,7 @@ private: ////////// Gdb Command Management //////////
// This command needs to be send immediately.
Immediate = 256,
// This is a command that needs to be wrapped into -interpreter-exec console
ConsoleCommand = 512,
ConsoleCommand = 512
};
Q_DECLARE_FLAGS(GdbCommandFlags, GdbCommandFlag)
private:
@@ -524,7 +524,7 @@ private: ////////// View & Data Stuff //////////
QtDumperHelper m_dumperHelper;
QString m_gdb;
//
//
// Convenience Functions
//
QString errorMessage(QProcess::ProcessError error);

View File

@@ -386,7 +386,7 @@ QByteArray GdbResponse::stringFromResultClass(GdbResultClass resultClass)
case GdbResultExit: return "exit";
default: return "unknown";
}
};
}
QByteArray GdbResponse::toString() const
{

View File

@@ -100,7 +100,7 @@ public:
Invalid,
Const,
Tuple,
List,
List
};
Type m_type;
@@ -152,7 +152,7 @@ enum GdbResultClass
GdbResultRunning,
GdbResultConnected,
GdbResultError,
GdbResultExit,
GdbResultExit
};
class GdbResponse

View File

@@ -91,7 +91,7 @@ private slots:
private:
enum State {
Inactive, Connecting, CreatingFifo, StartingFifoReader,
StartingGdb, RunningGdb,
StartingGdb, RunningGdb
};
static QByteArray readerCmdLine(const QByteArray &file);

View File

@@ -84,7 +84,7 @@ namespace Symbian {
enum CodeMode
{
ArmMode = 0,
ThumbMode,
ThumbMode
};
enum TargetConstants