Deleted Added
sdiff udiff text old ( 7680:f4eda002333b ) new ( 7720:65d338a8dba4 )
full compact
1/*
2 * Copyright (c) 2001-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;

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

67 if (IsOn(ExecSpeculative))
68 outs << (misspeculating ? "-" : "+") << " ";
69
70 if (IsOn(ExecThread))
71 outs << "T" << thread->threadId() << " : ";
72
73 std::string sym_str;
74 Addr sym_addr;
75 Addr cur_pc = PC;
76#if THE_ISA == ARM_ISA
77 cur_pc &= ~PcModeMask;
78#endif
79 if (debugSymbolTable
80 && IsOn(ExecSymbol)
81#if FULL_SYSTEM
82 && !inUserMode(thread)
83#endif
84 && debugSymbolTable->findNearestSymbol(cur_pc, sym_str, sym_addr)) {
85 if (cur_pc != sym_addr)
86 sym_str += csprintf("+%d",cur_pc - sym_addr);
87 outs << "@" << sym_str;
88 }
89 else {
90 outs << "0x" << hex << cur_pc;
91 }
92
93 if (inst->isMicroop()) {
94 outs << "." << setw(2) << dec << upc;
95 } else {
96 outs << " ";
97 }
98
99 outs << " : ";
100
101 //
102 // Print decoded instruction

--- 70 unchanged lines hidden ---