OpenCores
URL https://opencores.org/ocsvn/riscv_vhdl/riscv_vhdl/trunk

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [debugger/] [src/] [libdbg64g/] [services/] [exec/] [cmd/] [cmd_disas.h] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 sergeykhbr
/**
2
 * @file
3
 * @copyright  Copyright 2016 GNSS Sensor Ltd. All right reserved.
4
 * @author     Sergey Khabarov - sergeykhbr@gmail.com
5
 * @brief      Disassemble data block command.
6
 */
7
 
8
#ifndef __DEBUGGER_CMD_DISAS_H__
9
#define __DEBUGGER_CMD_DISAS_H__
10
 
11
#include "api_core.h"
12
#include "iservice.h"
13
#include "coreservices/itap.h"
14
#include "coreservices/isocinfo.h"
15
#include "coreservices/icommand.h"
16
#include "coreservices/isrccode.h"
17
 
18
namespace debugger {
19
 
20
class CmdDisas : public ICommand  {
21
public:
22
    explicit CmdDisas(ITap *tap, ISocInfo *info);
23
 
24
    /** ICommand */
25
    virtual bool isValid(AttributeType *args);
26
    virtual void exec(AttributeType *args, AttributeType *res);
27
 
28
private:
29
    void format(AttributeType *asmbuf, AttributeType *fmtstr);
30
 
31
private:
32
    ISourceCode *isrc_;
33
};
34
 
35
}  // namespace debugger
36
 
37
#endif  // __DEBUGGER_CMD_DISAS_H__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.