debug.cc (4762:c94e103c83ad) | debug.cc (5336:c7e21f4e5a2e) |
---|---|
1/* 2 * Copyright (c) 2003-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; --- 49 unchanged lines hidden (view full) --- 58// 59class DebugBreakEvent : public Event 60{ 61 public: 62 63 DebugBreakEvent(EventQueue *q, Tick _when); 64 65 void process(); // process event | 1/* 2 * Copyright (c) 2003-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; --- 49 unchanged lines hidden (view full) --- 58// 59class DebugBreakEvent : public Event 60{ 61 public: 62 63 DebugBreakEvent(EventQueue *q, Tick _when); 64 65 void process(); // process event |
66 virtual const char *description(); | 66 virtual const char *description() const; |
67}; 68 69// 70// constructor: schedule at specified time 71// 72DebugBreakEvent::DebugBreakEvent(EventQueue *q, Tick _when) 73 : Event(q, Debug_Break_Pri) 74{ --- 7 unchanged lines hidden (view full) --- 82void 83DebugBreakEvent::process() 84{ 85 debug_break(); 86} 87 88 89const char * | 67}; 68 69// 70// constructor: schedule at specified time 71// 72DebugBreakEvent::DebugBreakEvent(EventQueue *q, Tick _when) 73 : Event(q, Debug_Break_Pri) 74{ --- 7 unchanged lines hidden (view full) --- 82void 83DebugBreakEvent::process() 84{ 85 debug_break(); 86} 87 88 89const char * |
90DebugBreakEvent::description() | 90DebugBreakEvent::description() const |
91{ 92 return "debug break"; 93} 94 95// 96// handy function to schedule DebugBreakEvent on main event queue 97// (callable from debugger) 98// --- 12 unchanged lines hidden --- | 91{ 92 return "debug break"; 93} 94 95// 96// handy function to schedule DebugBreakEvent on main event queue 97// (callable from debugger) 98// --- 12 unchanged lines hidden --- |