nativetrace.cc (6365:a3037fa327a0) nativetrace.cc (6409:6eaa041d043e)
1/*
2 * Copyright (c) 2006-2009 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 "cpu/static_inst.hh"
34#include "params/NativeTrace.hh"
35
36using namespace std;
37
38namespace Trace {
39
40NativeTrace::NativeTrace(const Params *p)
1/*
2 * Copyright (c) 2006-2009 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 "cpu/static_inst.hh"
34#include "params/NativeTrace.hh"
35
36using namespace std;
37
38namespace Trace {
39
40NativeTrace::NativeTrace(const Params *p)
41 : InstTracer(p)
41 : ExeTracer(p)
42{
43 if (ListenSocket::allDisabled())
44 fatal("All listeners are disabled!");
45
46 int port = 8000;
47 while(!native_listener.listen(port, true))
48 {
49 DPRINTF(GDBMisc, "Can't bind port %d\n", port);

--- 16 unchanged lines hidden ---
42{
43 if (ListenSocket::allDisabled())
44 fatal("All listeners are disabled!");
45
46 int port = 8000;
47 while(!native_listener.listen(port, true))
48 {
49 DPRINTF(GDBMisc, "Can't bind port %d\n", port);

--- 16 unchanged lines hidden ---