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 85 { 86 return new PrefetchAbort(xc->pcState().pc(), ArmFault::DebugEvent); 87 } 88}}; 89 90def format Breakpoint() {{ 91 decode_block = 'return new Breakpoint(machInst);\n' 92}}; 93 |