Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
QHyodaGdb.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7#ifndef Q_HYODA_GDB_H
8#define Q_HYODA_GDB_H
9
10#include <QObject>
11#include <QQueue>
12#include <QProcess>
13
14class QHyodaJob;
15class QHyodaMachine;
16
17class QHyodaGdb:public QObject{
18 Q_OBJECT
19public:
20 enum QHyodaGdbCommand{
21 None=0,
22 Quit,
23 Detach,
24 Interrupt,
25 Step,
26 Continue,
27 Untack,
28 Retack,
29 TargetCell
30 };
31 QHyodaGdb(QHyodaJob*,QHyodaMachine*,quint32,quint32,quint32);
32 ~QHyodaGdb(void);
33public:
34 bool launch(void);
35 void enqueue(const QString & t);
36 void dequeue(void);
37public slots:
38 void gdbmi(void);
39public:
40 void showViaEmacsClient(QString, QString);
41public:
42 QHyodaJob *job;
43 QHyodaMachine *tab;
44 quint32 tcpAdrs;
45 quint32 tcpPort;
46 quint32 tcpPyld;
47 QProcess *process;
48 QString cmdline;
49 QQueue<QString> commands;
50 QQueue<QString> outputs;
51 QHyodaGdbCommand state;
52 QString data_read_memory;
53 QList<QString> entryPoints;
54 QList<QString> entryPointsFile;
55 QList<QString> entryPointsLine;
56};
57
58#endif // Q_HYODA_GDB_H
void gdbmi(void)
Definition QHyodaGdb.cc:95