Deleted Added
sdiff udiff text old ( 10453:d0365cc3d05f ) new ( 11157:bc07f3764129 )
full compact
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;

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

33#include <vector>
34
35#include "base/debug.hh"
36#include "sim/debug.hh"
37#include "sim/eventq_impl.hh"
38#include "sim/global_event.hh"
39#include "sim/sim_events.hh"
40#include "sim/sim_exit.hh"
41
42using namespace std;
43
44//
45// Debug event: place a breakpoint on the process function and
46// schedule the event to break at a particular cycle
47//
48struct DebugBreakEvent : public GlobalEvent

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

82//
83void
84schedBreak(Tick when)
85{
86 new DebugBreakEvent(when);
87 warn("need to stop all queues");
88}
89
90///
91/// Function to cause the simulator to take a checkpoint from the debugger
92///
93void
94takeCheckpoint(Tick when)
95{
96 if (!when)
97 when = curTick() + 1;

--- 27 unchanged lines hidden ---