Deleted Added
sdiff udiff text old ( 4167:ce5d0f62f13b ) new ( 4212:0d50e6c98d13 )
full compact
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;

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

133 StringWrap name(tc->getCpuPtr()->name() + ".break_event");
134 DPRINTFN("break event %s triggered\n", descr());
135 debug_break();
136 if (remove)
137 delete this;
138}
139
140#if FULL_SYSTEM
141extern "C"
142void
143sched_break_pc_sys(System *sys, Addr addr)
144{
145 new BreakPCEvent(&sys->pcEventQueue, "debug break", addr, true);
146}
147
148extern "C"
149void
150sched_break_pc(Addr addr)
151{
152 for (vector<System *>::iterator sysi = System::systemList.begin();
153 sysi != System::systemList.end(); ++sysi) {
154 sched_break_pc_sys(*sysi, addr);
155 }
156
157}
158#endif