disassemblydlg.h

来自「非常好用的可移植的多平台C/C++源代码编辑器」· C头文件 代码 · 共 34 行

H
34
字号
#ifndef DISASSEMBLYDLG_H
#define DISASSEMBLYDLG_H

#include <wx/dialog.h>

class DebuggerGDB;
struct StackFrame;

class DisassemblyDlg : public wxDialog
{
	public:
        static wxString Registers[];

		DisassemblyDlg(wxWindow* parent, DebuggerGDB* debugger);
		virtual ~DisassemblyDlg();

        void Clear(const StackFrame& frame);
        void ClearRegisters();
		void AddAssemblerLine(unsigned long int addr, const wxString& line);
		void SetActiveAddress(unsigned long int addr);
		void AddRegisterValue(int idx, long int value);
		void SetRegisterValue(int idx, long int value);
	protected:
        void OnSave(wxCommandEvent& event);
        void OnRefresh(wxCommandEvent& event);

        DebuggerGDB* m_pDbg;
        unsigned long int m_LastActiveAddr;
	private:
        DECLARE_EVENT_TABLE();
};

#endif // DISASSEMBLYDLG_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?