nativetrace.cc (7720:65d338a8dba4) nativetrace.cc (7741:340b6f01d69b)
1/*
2 * Copyright (c) 2006 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 "arch/sparc/nativetrace.hh"
34#include "cpu/thread_context.hh"
35#include "params/SparcNativeTrace.hh"
36#include "sim/byteswap.hh"
37
38namespace Trace {
39
40static const char *intRegNames[SparcISA::NumIntArchRegs] = {
1/*
2 * Copyright (c) 2006 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 "arch/sparc/nativetrace.hh"
34#include "cpu/thread_context.hh"
35#include "params/SparcNativeTrace.hh"
36#include "sim/byteswap.hh"
37
38namespace Trace {
39
40static const char *intRegNames[SparcISA::NumIntArchRegs] = {
41 //Global registers
41 // Global registers
42 "g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7",
42 "g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7",
43 //Output registers
43 // Output registers
44 "o0", "o1", "o2", "o3", "o4", "o5", "o6", "o7",
44 "o0", "o1", "o2", "o3", "o4", "o5", "o6", "o7",
45 //Local registers
45 // Local registers
46 "l0", "l1", "l2", "l3", "l4", "l5", "l6", "l7",
46 "l0", "l1", "l2", "l3", "l4", "l5", "l6", "l7",
47 //Input registers
47 // Input registers
48 "i0", "i1", "i2", "i3", "i4", "i5", "i6", "i7",
49};
50
51void
52Trace::SparcNativeTrace::check(NativeTraceRecord *record)
53{
54 ThreadContext *tc = record->getThread();
55

--- 45 unchanged lines hidden ---
48 "i0", "i1", "i2", "i3", "i4", "i5", "i6", "i7",
49};
50
51void
52Trace::SparcNativeTrace::check(NativeTraceRecord *record)
53{
54 ThreadContext *tc = record->getThread();
55

--- 45 unchanged lines hidden ---