pc_event.cc (8229:78bf55f23338) | pc_event.cc (8231:51cf7f3cf9ac) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 118 unchanged lines hidden (view full) --- 127{ 128} 129 130void 131BreakPCEvent::process(ThreadContext *tc) 132{ 133 StringWrap name(tc->getCpuPtr()->name() + ".break_event"); 134 DPRINTFN("break event %s triggered\n", descr()); | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 118 unchanged lines hidden (view full) --- 127{ 128} 129 130void 131BreakPCEvent::process(ThreadContext *tc) 132{ 133 StringWrap name(tc->getCpuPtr()->name() + ".break_event"); 134 DPRINTFN("break event %s triggered\n", descr()); |
135 debug_break(); | 135 Debug::breakpoint(); |
136 if (remove) 137 delete this; 138} 139 140#if FULL_SYSTEM 141void 142sched_break_pc_sys(System *sys, Addr addr) 143{ --- 13 unchanged lines hidden --- | 136 if (remove) 137 delete this; 138} 139 140#if FULL_SYSTEM 141void 142sched_break_pc_sys(System *sys, Addr addr) 143{ --- 13 unchanged lines hidden --- |