breakpoint.isa (10474:799c8ee4ecba) | breakpoint.isa (12234:78ece221f9f5) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 66 unchanged lines hidden (view full) --- 75 Breakpoint::generateDisassembly(Addr pc, const SymbolTable *symtab) const 76 { 77 return csprintf("%-10s (inst 0x%x)", "Breakpoint", machInst); 78 } 79}}; 80 81output exec {{ 82 Fault | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 66 unchanged lines hidden (view full) --- 75 Breakpoint::generateDisassembly(Addr pc, const SymbolTable *symtab) const 76 { 77 return csprintf("%-10s (inst 0x%x)", "Breakpoint", machInst); 78 } 79}}; 80 81output exec {{ 82 Fault |
83 Breakpoint::execute(CPU_EXEC_CONTEXT *xc, 84 Trace::InstRecord *traceData) const | 83 Breakpoint::execute(ExecContext *xc, Trace::InstRecord *traceData) const |
85 { 86 return std::make_shared<PrefetchAbort>(xc->pcState().pc(), 87 ArmFault::DebugEvent); 88 } 89}}; 90 91def format Breakpoint() {{ 92 decode_block = 'return new Breakpoint(machInst);\n' 93}}; 94 | 84 { 85 return std::make_shared<PrefetchAbort>(xc->pcState().pc(), 86 ArmFault::DebugEvent); 87 } 88}}; 89 90def format Breakpoint() {{ 91 decode_block = 'return new Breakpoint(machInst);\n' 92}}; 93 |