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_symb.h] - Rev 2

Go to most recent revision | Compare with Previous | Blame | View Log

/**
 * @file
 * @copyright  Copyright 2017 GNSS Sensor Ltd. All right reserved.
 * @author     Sergey Khabarov - sergeykhbr@gmail.com
 * @brief      Browse symbols command.
 */
 
#ifndef __DEBUGGER_CMD_SYMB_H__
#define __DEBUGGER_CMD_SYMB_H__
 
#include "api_core.h"
#include "coreservices/itap.h"
#include "coreservices/isocinfo.h"
#include "coreservices/icommand.h"
 
namespace debugger {
 
class CmdSymb : public ICommand  {
public:
    explicit CmdSymb(ITap *tap, ISocInfo *info);
 
    /** ICommand */
    virtual bool isValid(AttributeType *args);
    virtual void exec(AttributeType *args, AttributeType *res);
 
private:
    void applyFilter(const char *filt, AttributeType *in, AttributeType *out);
    bool filt_pass(const char *filt, const char *symbname);
};
 
}  // namespace debugger
 
#endif  // __DEBUGGER_CMD_SYMB_H__
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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