exetrace.cc (5866:303e409d88d9) | exetrace.cc (5947:3305e17db621) |
---|---|
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; --- 57 unchanged lines hidden (view full) --- 66 67 if (IsOn(ExecThread)) 68 outs << "T" << thread->threadId() << " : "; 69 70 std::string sym_str; 71 Addr sym_addr; 72 if (debugSymbolTable 73 && IsOn(ExecSymbol) | 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; --- 57 unchanged lines hidden (view full) --- 66 67 if (IsOn(ExecThread)) 68 outs << "T" << thread->threadId() << " : "; 69 70 std::string sym_str; 71 Addr sym_addr; 72 if (debugSymbolTable 73 && IsOn(ExecSymbol) |
74#if FULL_SYSTEM 75 && !inUserMode(thread) 76#endif |
|
74 && debugSymbolTable->findNearestSymbol(PC, sym_str, sym_addr)) { 75 if (PC != sym_addr) 76 sym_str += csprintf("+%d", PC - sym_addr); 77 outs << "@" << sym_str; 78 } 79 else { 80 outs << "0x" << hex << PC; 81 } --- 77 unchanged lines hidden --- | 77 && debugSymbolTable->findNearestSymbol(PC, sym_str, sym_addr)) { 78 if (PC != sym_addr) 79 sym_str += csprintf("+%d", PC - sym_addr); 80 outs << "@" << sym_str; 81 } 82 else { 83 outs << "0x" << hex << PC; 84 } --- 77 unchanged lines hidden --- |