breakpoint.isa (7426:5da64155a605) breakpoint.isa (7720:65d338a8dba4)
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

--- 69 unchanged lines hidden (view full) ---

78 }
79}};
80
81output exec {{
82 Fault
83 Breakpoint::execute(%(CPU_exec_context)s *xc,
84 Trace::InstRecord *traceData) const
85 {
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

--- 69 unchanged lines hidden (view full) ---

78 }
79}};
80
81output exec {{
82 Fault
83 Breakpoint::execute(%(CPU_exec_context)s *xc,
84 Trace::InstRecord *traceData) const
85 {
86 return new PrefetchAbort(xc->readPC(), ArmFault::DebugEvent);
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
87 }
88}};
89
90def format Breakpoint() {{
91 decode_block = 'return new Breakpoint(machInst);\n'
92}};
93