forked from qt-creator/qt-creator
Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -386,7 +386,7 @@ QByteArray GdbResponse::stringFromResultClass(GdbResultClass resultClass)
|
||||
case GdbResultExit: return "exit";
|
||||
default: return "unknown";
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
QByteArray GdbResponse::toString() const
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -91,7 +91,7 @@ private slots:
|
||||
private:
|
||||
enum State {
|
||||
Inactive, Connecting, CreatingFifo, StartingFifoReader,
|
||||
StartingGdb, RunningGdb,
|
||||
StartingGdb, RunningGdb
|
||||
};
|
||||
|
||||
static QByteArray readerCmdLine(const QByteArray &file);
|
||||
|
||||
@@ -84,7 +84,7 @@ namespace Symbian {
|
||||
enum CodeMode
|
||||
{
|
||||
ArmMode = 0,
|
||||
ThumbMode,
|
||||
ThumbMode
|
||||
};
|
||||
|
||||
enum TargetConstants
|
||||
|
||||
Reference in New Issue
Block a user