system.cc (3536:89aa06409e4d) | system.cc (3567:76b849656311) |
---|---|
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; --- 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: Ali Saidi 29 * Nathan Binkert 30 */ 31 | 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; --- 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: Ali Saidi 29 * Nathan Binkert 30 */ 31 |
32#include <sys/signal.h> 33 |
|
32#include "arch/alpha/ev5.hh" 33#include "arch/alpha/system.hh" 34#include "arch/alpha/remote_gdb.hh" 35#include "arch/vtophys.hh" 36#include "base/loader/object_file.hh" 37#include "base/loader/symtab.hh" 38#include "base/trace.hh" 39#include "mem/physical.hh" --- 151 unchanged lines hidden (view full) --- 191 virtPort.write(addr, htog(EV5::Phys2K0Seg(access))); 192 } else 193 panic("could not find m5AlphaAccess\n"); 194} 195 196bool 197AlphaSystem::breakpoint() 198{ | 34#include "arch/alpha/ev5.hh" 35#include "arch/alpha/system.hh" 36#include "arch/alpha/remote_gdb.hh" 37#include "arch/vtophys.hh" 38#include "base/loader/object_file.hh" 39#include "base/loader/symtab.hh" 40#include "base/trace.hh" 41#include "mem/physical.hh" --- 151 unchanged lines hidden (view full) --- 193 virtPort.write(addr, htog(EV5::Phys2K0Seg(access))); 194 } else 195 panic("could not find m5AlphaAccess\n"); 196} 197 198bool 199AlphaSystem::breakpoint() 200{ |
199 return remoteGDB[0]->trap(ALPHA_KENTRY_INT); | 201 return remoteGDB[0]->trap(SIGTRAP); |
200} 201 202void 203AlphaSystem::serialize(std::ostream &os) 204{ 205 System::serialize(os); 206 consoleSymtab->serialize("console_symtab", os); 207 palSymtab->serialize("pal_symtab", os); --- 73 unchanged lines hidden --- | 202} 203 204void 205AlphaSystem::serialize(std::ostream &os) 206{ 207 System::serialize(os); 208 consoleSymtab->serialize("console_symtab", os); 209 palSymtab->serialize("pal_symtab", os); --- 73 unchanged lines hidden --- |