1
#ifndef DEBUGGER_DISASM_H
2
#define DEBUGGER_DISASM_H
4
#include "Core/MIPS/MIPSStackWalk.h"
5
#include "Core/HLE/sceKernelThread.h"
6
#include "Core/Debugger/DebugInterface.h"
7
#include "debugger_vfpu.h"
9
#include <QListWidgetItem>
10
#include <QTreeWidgetItem>
15
class Debugger_Disasm;
18
class Debugger_Disasm : public QDialog
23
explicit Debugger_Disasm(DebugInterface *_cpu, MainWindow* mainWindow_, QWidget *parent = 0);
25
void SetDebugMode(bool _bDebug);
37
void NotifyMapLoaded();
39
void ShowMemory(u32 addr);
41
void UpdateCallstack();
42
void UpdateBreakpoints();
44
void UpdateDisplayList();
47
void UpdateCallstack_();
48
void UpdateDisplayList_();
49
void UpdateBreakpoints_();
54
void RemoveBreakpoint();
55
void GotoThreadEntryPoint();
58
void UpdateCallstackGUI();
59
void UpdateDisplayListGUI();
60
void UpdateBreakpointsGUI();
61
void UpdateThreadGUI();
63
void on_GotoPc_clicked();
65
void on_Stop_clicked();
66
void on_StepInto_clicked();
67
void on_StepOver_clicked();
68
void on_Skip_clicked();
69
void on_NextHLE_clicked();
70
void on_GotoLr_clicked();
71
void on_GotoInt_currentIndexChanged(int index);
72
void on_Address_textChanged(const QString &arg1);
73
void on_DisasmView_customContextMenuRequested(const QPoint &pos);
75
void on_RegList_customContextMenuRequested(const QPoint &pos);
76
void on_vfpu_clicked();
77
void on_FuncList_itemClicked(QListWidgetItem *item);
78
void on_breakpointsList_itemClicked(QTreeWidgetItem *item, int column);
79
void on_breakpointsList_customContextMenuRequested(const QPoint &pos);
80
void on_clearAllBP_clicked();
81
void on_threadList_itemClicked(QTreeWidgetItem *item, int column);
82
void on_threadList_customContextMenuRequested(const QPoint &pos);
84
void SetThreadStatusRun();
85
void SetThreadStatusWait();
86
void SetThreadStatusSuspend();
87
void on_displayList_customContextMenuRequested(const QPoint &pos);
90
void SetThreadStatus(ThreadStatus status);
92
Ui::Debugger_Disasm *ui;
94
MainWindow* mainWindow;
95
Debugger_VFPU* vfpudlg;
97
QTreeWidgetItem* threadRowSelected;
98
QTreeWidgetItem* displayListRowSelected;
99
std::vector<MIPSStackWalk::StackFrame> stackTraceModel;
102
#endif // DEBUGGER_DISASM_H