summaryrefslogtreecommitdiffstats
path: root/src/coff/base/coff_object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/coff/base/coff_object.cpp')
-rw-r--r--src/coff/base/coff_object.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/coff/base/coff_object.cpp b/src/coff/base/coff_object.cpp
index ee49a95..98f8f3b 100644
--- a/src/coff/base/coff_object.cpp
+++ b/src/coff/base/coff_object.cpp
@@ -205,7 +205,7 @@ Coff::Symbol::Symbol(const Object &object, const TQByteArray &data, uint start,
if ( v==sclass.data().id ) { _sclass = sclass; break; }
if ( !getULong(data, offset, 1, log, v) ) return;
uint nbAux = v;
- //qDebug("symbol: %s value=%s type=%i dtype=%i class=%i nbAux=%i section=%i", _name.latin1(), toHexLabel(_value, 4).latin1(), _type, _dtype, _class, nbAux, _section);
+ //tqDebug("symbol: %s value=%s type=%i dtype=%i class=%i nbAux=%i section=%i", _name.latin1(), toHexLabel(_value, 4).latin1(), _type, _dtype, _class, nbAux, _section);
AuxSymbolType auxType = AuxSymbolType::Nb_Types;
if ( _name==".direct" ) auxType = AuxSymbolType::Direct;
@@ -262,7 +262,7 @@ Coff::Relocation::Relocation(const Object &object, const Section &section,
}
if ( !getULong(data, offset, 2, log, v) ) return;
_type = v;
- //qDebug("reloc %s: address=%s offset=%i type=%i", _symbol->_name.latin1(), toHexLabel(_address, 4).latin1(), _offset, _type);
+ //tqDebug("reloc %s: address=%s offset=%i type=%i", _symbol->_name.latin1(), toHexLabel(_address, 4).latin1(), _offset, _type);
}
//----------------------------------------------------------------------------
@@ -280,7 +280,7 @@ Coff::CodeLine::CodeLine(const Object &object, const Section &section,
if ( _line!=0 ) {
_address = tmp;
_filename = lastFilename;
- //qDebug("code line %i: %s", _line, toHexLabel(_address, nbChars(_address)).latin1());
+ //tqDebug("code line %i: %s", _line, toHexLabel(_address, nbChars(_address)).latin1());
} else {
if ( tmp>=object.nbSymbols() ) {
log.log(Log::LineType::Error, i18n("Codeline has unknown symbol: %1").arg(tmp));
@@ -292,7 +292,7 @@ Coff::CodeLine::CodeLine(const Object &object, const Section &section,
}
_symbol = static_cast<const Symbol *>(object.symbol(tmp));
_filename = _symbol->filename();
- //qDebug("code line %i: %s", _line, _symbol->_name.latin1());
+ //tqDebug("code line %i: %s", _line, _symbol->_name.latin1());
}
} else {
if ( tmp>=object.nbSymbols() ) {
@@ -314,7 +314,7 @@ Coff::CodeLine::CodeLine(const Object &object, const Section &section,
// flags
if ( !getULong(data, offset, 4, log, v) ) return;
// function index
- //qDebug("code line %i: %s", _line, toHexLabel(_address, nbChars(_address)).latin1());
+ //tqDebug("code line %i: %s", _line, toHexLabel(_address, nbChars(_address)).latin1());
}
// if ( _symbol && _symbol->_class!=Symbol::CFile )
// log.log(Log::LineType::Warning, i18n("Line without file symbol associated (%1:%2 %3).")
@@ -362,7 +362,7 @@ Coff::Section::Section(const Device::Data &device, const Object &object,
// read data
Q_ASSERT ( device.group().name()=="pic" );
const Pic::Data &pdata = static_cast<const Pic::Data &>(device);
- //qDebug("section %s: address=%s size=%i flags=%i", _name.data(), toHexLabel(_address, 4).latin1(), _size, int(_flags));
+ //tqDebug("section %s: address=%s size=%i flags=%i", _name.data(), toHexLabel(_address, 4).latin1(), _size, int(_flags));
if ( _size!=0 && dataOffset!=0 ) {
uint inc = 1;
uint nbWords = _size;
@@ -392,7 +392,7 @@ Coff::Section::Section(const Device::Data &device, const Object &object,
_instructions[address+inc].opcode = toHex(op2, pdata.nbCharsWord(Pic::MemoryRangeType::Code));
i++;
}
- //qDebug(" %s: %s (%s %s)", toHex(address, 4).data(), _data[address].disasm.data(), _data[address].opcode.data(), (nbop==2 ? _data[address+inc].opcode.data() : ""));
+ //tqDebug(" %s: %s (%s %s)", toHex(address, 4).data(), _data[address].disasm.data(), _data[address].opcode.data(), (nbop==2 ? _data[address+inc].opcode.data() : ""));
} else if ( _flags & FDataRom ) _instructions[address].opcode = toHex(op, 4);
else if ( _flags & FData ) _instructions[address].opcode = toHex(op.maskWith(0xFF), 2);
}