1 Star 0 Fork 33

河溪/LinkScope

forked from 兰博文/LinkScope 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
gdbprocess.h 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
#ifndef GDBPROCESS_H
#define GDBPROCESS_H
#include <QObject>
#include <QProcess>
#include <qcoreapplication.h>
#include <qfile.h>
#include <qregexp.h>
#include <qdebug.h>
#include <QTime>
class GDBProcess : public QObject
{
Q_OBJECT
public:
explicit GDBProcess(QObject *parent = nullptr);
~GDBProcess();
QString runCmd(const QString &cmd);
void start();
void stop();
void connectToRemote(const QString &addr);
void disconnectFromRemote();
void setTempSymbolFileName(const QString &name);
void loadSymbolFile(const QString &path);
void unloadSymbolFile();
void setDisplayList(QStringList &list);
QString captureValueFromDisplay(const QString &rawDisplay,const QString &name);
bool getDoubleFromDisplayValue(const QString &rawValue,double &result);
QList<uint> getUintArrayFromDisplay(const QString &rawDisplay);
void setVarValue(const QString &varFullName,double value);
bool checkExpandableType(const QString &varFullName);
QStringList getVarListFromRawOutput(const QString &rawVarList);
void removeInnerSection(QString &raw,int offset);
private:
QProcess *process;
QString tempSymbolFileName;
};
#endif // GDBPROCESS_H
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/accesscontrol/link-scope.git
git@gitee.com:accesscontrol/link-scope.git
accesscontrol
link-scope
LinkScope
master

搜索帮助