diff options
author | hjk <hjk121@nokiamail.com> | 2013-09-09 16:23:57 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2013-09-10 16:36:15 +0200 |
commit | 8bffed4d104e0fe8d3aaf00f33bd74a39d4db9b2 (patch) | |
tree | 25d699679c9dbf16563d7ef359a26afe30dacf2b /src/plugins/debugger/gdb/localplaingdbadapter.h | |
parent | ed1483741e54d3c2303322cea92861ca68f272f7 (diff) | |
download | qt-creator-8bffed4d104e0fe8d3aaf00f33bd74a39d4db9b2.tar.gz |
Debugger: Merge {Abstract,Local}PlainAdapter to GdbPlainEngine
Change-Id: Idb2197e429df2fb166f042649d3e95e88c28203e
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/debugger/gdb/localplaingdbadapter.h')
-rw-r--r-- | src/plugins/debugger/gdb/localplaingdbadapter.h | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/src/plugins/debugger/gdb/localplaingdbadapter.h b/src/plugins/debugger/gdb/localplaingdbadapter.h deleted file mode 100644 index 6e600afbe5..0000000000 --- a/src/plugins/debugger/gdb/localplaingdbadapter.h +++ /dev/null @@ -1,73 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** This file is part of Qt Creator. -** -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -****************************************************************************/ - -#ifndef LOCALPLAINGDBADAPTER_H -#define LOCALPLAINGDBADAPTER_H - -#include "abstractplaingdbadapter.h" -#include "localgdbprocess.h" -#include <debugger/outputcollector.h> - -namespace Debugger { -namespace Internal { - -/////////////////////////////////////////////////////////////////////// -// -// PlainGdbAdapter -// -/////////////////////////////////////////////////////////////////////// - -class GdbLocalPlainEngine : public GdbAbstractPlainEngine -{ - Q_OBJECT - -public: - explicit GdbLocalPlainEngine(const DebuggerStartParameters &startParameters); - -private: - void setupEngine(); - void handleGdbStartFailed(); - void interruptInferior2(); - void shutdownEngine(); - - DumperHandling dumperHandling() const; - AbstractGdbProcess *gdbProc() { return &m_gdbProc; } - - QByteArray execFilePath() const; - QByteArray toLocalEncoding(const QString &s) const; - QString fromLocalEncoding(const QByteArray &b) const; - - OutputCollector m_outputCollector; - LocalGdbProcess m_gdbProc; -}; - -} // namespace Internal -} // namespace Debugger - -#endif // LOCALPLAINGDBADAPTER_H |