remote_gdb.cc (7723:ee4ac00d0774) remote_gdb.cc (7823:dac01f14f20f)
1/*
2 * Copyright (c) 2002-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;

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

212
213#ifndef NDEBUG
214 gdb->number = debuggers.size();
215 debuggers.push_back(gdb);
216#endif
217
218#ifndef NDEBUG
219 ccprintf(cerr, "%d: %s: listening for remote gdb #%d on port %d\n",
1/*
2 * Copyright (c) 2002-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;

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

212
213#ifndef NDEBUG
214 gdb->number = debuggers.size();
215 debuggers.push_back(gdb);
216#endif
217
218#ifndef NDEBUG
219 ccprintf(cerr, "%d: %s: listening for remote gdb #%d on port %d\n",
220 curTick, name(), gdb->number, port);
220 curTick(), name(), gdb->number, port);
221#else
222 ccprintf(cerr, "%d: %s: listening for remote gdb on port %d\n",
221#else
222 ccprintf(cerr, "%d: %s: listening for remote gdb on port %d\n",
223 curTick, name(), port);
223 curTick(), name(), port);
224#endif
225}
226
227void
228GDBListener::accept()
229{
230 if (!listener.islistening())
231 panic("GDBListener::accept(): cannot accept if we're not listening!");

--- 792 unchanged lines hidden ---
224#endif
225}
226
227void
228GDBListener::accept()
229{
230 if (!listener.islistening())
231 panic("GDBListener::accept(): cannot accept if we're not listening!");

--- 792 unchanged lines hidden ---