Deleted Added
sdiff udiff text old ( 5606:6da7a58b0bc8 ) new ( 5619:4b50a0d875da )
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;

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

24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Authors: Nathan Binkert
29 * Steve Reinhardt
30 */
31
32#include <sys/types.h>
33#include <signal.h>
34#include <unistd.h>
35
36#include <string>
37#include <vector>
38
39#include "sim/debug.hh"

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

101
102void
103eventqDump()
104{
105 mainEventQueue.dump();
106 warn("need to dump all queues");
107}
108
109
110int remote_gdb_base_port = 7000;
111
112int
113getRemoteGDBPort()
114{
115 return remote_gdb_base_port;
116}
117
118// Set remote GDB base port. 0 means disable remote GDB.
119// Callable from python.
120void
121setRemoteGDBPort(int port)
122{
123 remote_gdb_base_port = port;
124}
125