debug.hh (9554:406fbcf60223) debug.hh (9960:501c7384a5bc)
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;

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

35
36/** @file This file provides the definitions for some useful debugging
37 * functions. These are intended to be called from a debugger such as
38 * gdb.
39 */
40
41
42/** Cause the simulator to execute a breakpoint
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;

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

35
36/** @file This file provides the definitions for some useful debugging
37 * functions. These are intended to be called from a debugger such as
38 * gdb.
39 */
40
41
42/** Cause the simulator to execute a breakpoint
43 * @param when the cycle to break
43 * @param when the tick to break
44 */
44 */
45void schedBreakCycle(Tick when);
45void schedBreak(Tick when);
46
47/** Cause the simulator to return to python to create a checkpoint
48 * @param when the cycle to break
49 */
50void takeCheckpoint(Tick when);
51
52/** Dump all the events currently on the event queue
53 */
54void eventqDump();
55
56void py_interact();
57
58int getRemoteGDBPort();
59// Remote gdb base port. 0 disables remote gdb.
60void setRemoteGDBPort(int port);
61
62#endif // __SIM_DEBUG_HH__
46
47/** Cause the simulator to return to python to create a checkpoint
48 * @param when the cycle to break
49 */
50void takeCheckpoint(Tick when);
51
52/** Dump all the events currently on the event queue
53 */
54void eventqDump();
55
56void py_interact();
57
58int getRemoteGDBPort();
59// Remote gdb base port. 0 disables remote gdb.
60void setRemoteGDBPort(int port);
61
62#endif // __SIM_DEBUG_HH__